Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/76453/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.immersivetranslate.com/api/translations/immersive-document-translation/immersive-translate-site/en/?format=api",
    "source": [
        "We currently use a \"translation quota\" based billing method, detailed as follows:<br/><br/><ul><li>Translation quotas are charged based on the number of <b>Tokens</b> used during the translation process.</li><li>The <b>GLM-4-Flash-250414</b> model is available to all users, and every BabelDOC user receives a monthly quota of 500,000 Tokens for free model translations within BabelDOC. (Actual availability depends on the supply from upstream suppliers, and quotas are dynamically adjusted based on server load)</li><li>Models such as <b>Qwen3.5-Plus/DeepSeek-V3.2/doubao-seed-2-0-lite/GPT-5-mini/Gemini-3-Flash/Kimi+Qwen/Kimi+DeepSeek/GLM-4.7</b> are exclusively for <b>Pro/Max</b> members, counted towards the members' general translation quota. Pro members enjoy up to <b>20 million Tokens</b> per month, while Max members can enjoy up to <b>50 million Tokens</b> per month. Failed translations are not counted towards the translation quota.</li></ul><br/>At the start of a translation task, the system will deduct the general translation quota in advance based on the calculation of \"3000 Tokens × number of pages\". Once the translation is complete, we will settle based on actual consumption, refunding any excess to your account, or requiring additional if insufficient. If any system errors occur during the translation, all deducted general translation quotas will be fully refunded to your account. When the automatic term extraction feature is not enabled, the deduction per page is 3000 Tokens/page. When the automatic term extraction feature is enabled, the deduction per page is 6000 Tokens/page.<br/><br/>From actual usage statistics, when automatic term extraction is enabled, the average consumption is about 7381.56 Tokens per page, with the P25–P75 range being 4215.42–9490.89 Tokens; when automatic term extraction is disabled, the average consumption is about 4702.98 Tokens per page, with the P25–P75 range being 2642.38–5797.40 Tokens. Here, P25 (the 25th percentile) indicates that 25% of the pages consume fewer Tokens than this value, and P75 (the 75th percentile) indicates that 75% of the pages consume fewer Tokens than this value. The P25–P75 range is used to describe the common consumption range for most pages, thereby reducing the impact of extreme samples on the overall assessment."
    ],
    "previous_source": "",
    "target": [
        "We currently use a \"translation quota\" based billing method, detailed as follows:<br/><br/><ul><li>Translation quotas are charged based on the number of <b>Tokens</b> used during the translation process.</li><li>The <b>GLM-4-Flash-250414</b> model is available to all users, and every BabelDOC user receives a monthly quota of 500,000 Tokens for free model translations within BabelDOC. (Actual availability depends on the supply from upstream suppliers, and quotas are dynamically adjusted based on server load)</li><li>Models such as <b>Qwen3.5-Plus/DeepSeek-V3.2/doubao-seed-2-0-lite/GPT-5-mini/Gemini-3-Flash/Kimi+Qwen/Kimi+DeepSeek/GLM-4.7</b> are exclusively for <b>Pro/Max</b> members, counted towards the members' general translation quota. Pro members enjoy up to <b>20 million Tokens</b> per month, while Max members can enjoy up to <b>50 million Tokens</b> per month. Failed translations are not counted towards the translation quota.</li></ul><br/>At the start of a translation task, the system will deduct the general translation quota in advance based on the calculation of \"3000 Tokens × number of pages\". Once the translation is complete, we will settle based on actual consumption, refunding any excess to your account, or requiring additional if insufficient. If any system errors occur during the translation, all deducted general translation quotas will be fully refunded to your account. When the automatic term extraction feature is not enabled, the deduction per page is 3000 Tokens/page. When the automatic term extraction feature is enabled, the deduction per page is 6000 Tokens/page.<br/><br/>From actual usage statistics, when automatic term extraction is enabled, the average consumption is about 7381.56 Tokens per page, with the P25–P75 range being 4215.42–9490.89 Tokens; when automatic term extraction is disabled, the average consumption is about 4702.98 Tokens per page, with the P25–P75 range being 2642.38–5797.40 Tokens. Here, P25 (the 25th percentile) indicates that 25% of the pages consume fewer Tokens than this value, and P75 (the 75th percentile) indicates that 75% of the pages consume fewer Tokens than this value. The P25–P75 range is used to describe the common consumption range for most pages, thereby reducing the impact of extreme samples on the overall assessment."
    ],
    "id_hash": -2796682089437400583,
    "content_hash": -1602206835697578726,
    "location": "",
    "context": "babelDoc.answer.quota",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 904,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 321,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/76453/?format=api",
    "priority": 100,
    "id": 76453,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-document-translation/immersive-translate-site/en/?checksum=593030750562f1f9",
    "url": "https://weblate.immersivetranslate.com/api/units/76453/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-10-31T07:16:15.202314Z"
}