Sunbird AI · Schema
WorkerTranslationResponse
Translation worker output wrapped with job-execution metadata.
Artificial IntelligenceNon-ProfitSocial ImpactUgandaMachine Learning
Properties
| Name | Type | Description |
|---|---|---|
| delayTime | object | Time spent waiting in queue (ms) |
| executionTime | object | Time spent executing the job (ms) |
| id | object | Unique job identifier |
| output | object | The translation output data |
| status | object | Job status (e.g., COMPLETED, FAILED) |
| workerId | object | Identifier of the worker that processed the job |
| usage | object | Token usage for the Sunflower translation call |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sunbird-ai/json-schema/sunbird-ai-worker-translation-response-schema.json",
"title": "WorkerTranslationResponse",
"description": "Translation worker output wrapped with job-execution metadata.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/sunbird-ai-api-openapi.json#/components/schemas/WorkerTranslationResponse",
"properties": {
"delayTime": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Delaytime",
"description": "Time spent waiting in queue (ms)"
},
"executionTime": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Executiontime",
"description": "Time spent executing the job (ms)"
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Id",
"description": "Unique job identifier"
},
"output": {
"anyOf": [
{
"$ref": "#/$defs/WorkerTranslationOutput"
},
{
"type": "null"
}
],
"description": "The translation output data"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"description": "Job status (e.g., COMPLETED, FAILED)"
},
"workerId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Workerid",
"description": "Identifier of the worker that processed the job"
},
"usage": {
"anyOf": [
{
"$ref": "#/$defs/TokenUsage"
},
{
"type": "null"
}
],
"description": "Token usage for the Sunflower translation call"
}
},
"additionalProperties": true,
"type": "object",
"$defs": {
"TokenUsage": {
"properties": {
"prompt_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Prompt Tokens",
"description": "Tokens in the prompt/input"
},
"completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Tokens",
"description": "Tokens in the generated completion"
},
"total_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Tokens",
"description": "Total tokens consumed"
}
},
"type": "object",
"title": "TokenUsage",
"description": "Token usage statistics, OpenAI field names."
},
"WorkerTranslationOutput": {
"properties": {
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Text",
"description": "Translated text output"
},
"translated_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Translated Text",
"description": "Alternative translated text field"
},
"source_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Language",
"description": "Source language code if returned"
},
"target_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target Language",
"description": "Target language code if returned"
},
"Error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error",
"description": "Error message if translation failed"
}
},
"additionalProperties": true,
"type": "object",
"title": "WorkerTranslationOutput",
"description": "Output returned by the translation worker.\n\nWorkers differ in the field they use for the translated text, so both\n`text` and `translated_text` are accepted."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sunbird-ai-worker-translation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.