Get generation
get_generationGet task status and results using the supplied model and task_id. task_id is the public APiXO ID; a valid connected identity may query a known task from another account or chat. For a schema declaring mode_media_types automatically carry speech/voice media_type from creation. It is needed when lifecycle fields are absent. Do not guess from task IDs or URLs. Read-only queries may retry finitely. Missing tasks, unavailable models, or query errors must not trigger model switching or generation resubmission. Missing session/Run references, progress, and completion times are not inferred. In user-facing replies, omit technical identifiers by default, including user/profile IDs, task_id, session_id, run_id, base_run_id, voice_id, and file IDs. Retain the exact returned identifiers for tool arguments, task queries, session continuation, version appends, and voice reuse; never redact, regenerate, or guess these references. Show an identifier only when the user explicitly asks for it or a specific troubleshooting step requires that exact value, and show only the reference needed. Prefer plain-language status, model names, result previews/download links, and Studio links built from the returned session_id. This changes reply presentation only; tool result fields remain available for the workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"model": "<model>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| task_id | Yes | Public APiXO task ID returned by creation or explicitly supplied by the user; no task_ prefix is required. Keep the corresponding model. | |
| media_type | No | For models declaring mode_media_types in schema.mcp.result, carry the creation media_type (speech or voice) when querying. Never infer it from task IDs or URLs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| model | Yes | ||
| state | Yes | ||
| run_id | No | ||
| task_id | Yes | ||
| progress | Yes | ||
| voice_id | Yes | ||
| created_at | Yes | ||
| media_type | Yes | ||
| session_id | No | ||
| completed_at | Yes | ||
| preview_urls | Yes | ||
| text_outputs | No | ||
| download_urls | Yes |