Get a generation
GET/v1/projects/:project_id/generations/:generation_id
Returns one generation record. Flat rather than nested under the agent, because the ids that need resolving arrive on their own — a session reply carries a generation_id with no agent in hand.
A generation belonging to another project responds 404, not 403 — the API never confirms that an id exists elsewhere.
Request
Responses
- 200
- 401
- 404
- 502
The generation record.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).
The upstream runtime could not complete the operation.