Read Lorebook upload limits
GET
/open/v1/worldbook/limits
const url = 'https://api.harperharbor.com/open/v1/worldbook/limits';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.harperharbor.com/open/v1/worldbook/limitsReturns maxOpsPerCall (200 operations), trialMaxEntries (1000 entries), and entryContentMaxByLanguage (4000 characters for Chinese, 6000 for Japanese and Korean, 12000 for English). Limits count Unicode characters, not bytes. A document has no separate application-level byte limit; proxy limits may still apply. No authentication is required.
Responses
Section titled “Responses”Success
Media typeapplication/json
object
maxOpsPerCall
required
integer
trialMaxEntries
required
integer
entryContentMaxByLanguage
required
object
zh-Hant
integer
zh-Hans
integer
ja
integer
ko
integer
en
integer
Example
{ "maxOpsPerCall": 200, "trialMaxEntries": 1000, "entryContentMaxByLanguage": { "zh-Hant": 4000, "zh-Hans": 4000, "ja": 6000, "ko": 6000, "en": 12000 }}