get_generation
A generation's status; once it has succeeded, links to its results, and what it charged.
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": {
"generation_id": "<generation_id>"
},
"name": "get_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | ||
| text | No | ||
| error | No | ||
| model | Yes | ||
| prompt | No | ||
| status | Yes | queued, processing, succeeded, failed or unknown | |
| credits | Yes | ||
| outputs | No | ||
| modality | Yes | ||
| progress | Yes | ||
| created_at | Yes | ||
| generation_id | Yes |