Search past generations
list_generationssearch the account generation history with the actual charged cost (cost_in_usd or cost_credits/cost_eur depending on the backend) per output. supports free-text search over prompts and model names, filters, and sorting. requires an authenticated (oauth) session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_generations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | page number (default 1) | |
| limit | No | results per page (default 50, max 200) | |
| search | No | free text matched against prompts and model names | |
| statuses | No | "finished" or "failed" | |
| sort_field | No | cost_in_usd, duration, favorited_at, generation_type, model_name, or id | |
| only_favorites | No | only favourited outputs | |
| sort_direction | No | asc or desc (default desc) | |
| generation_types | No | comma-separated (e.g. "text-to-image,text-to-video") |