generate
Poll a generation
Retrieves the current status of an asynchronous generation, and its results once complete. Use the generation_id returned by the async generation endpoint. While the generation is pending or has failed, the response contains only generation_id, status, and created. Once status is completed, the response includes response_type and data, and may include usage_cost_usd_micros when the request uses variable usage-based pricing.
get/v1/generations/{generation_id}
Path parameters
generation_idstring required
URL-safe base64 ID of the generation returned by the async generation endpoint.
Headers
Api-Keystring required
API key for access control. Use in the header with the name "Api-Key"
Response
Generation status retrieved successfully.