Retrieve generation results
Retrieve a completed asynchronous generation.
Last updated
Retrieve a completed asynchronous generation.
GET /generate/{_id} retrieves a generation request.
Requires the X-Api-Key header.
_id
path
string
Yes
Generation identifier.
200
OK
GetGenerationResponse
400
Bad Request
ValidationError
401
The API key is missing or invalid.
500
Every input returns Invalid generation ID format, including the generationId from POST /generate. This endpoint is unusable. Use POST /generate/sync or a completion webhook instead. Known defect.
curl -X GET "https://<api-host>/generate/{_id}" \
-H "X-Api-Key: $DOCAI_API_KEY"Last updated

