Get stored prompt and completion content for a generation
Generations
Get stored prompt and completion content for a generation
GET
Get stored prompt and completion content for a generation
Authorizations
API key as bearer token in Authorization header
Query Parameters
The generation ID
Minimum string length:
1Example:
"gen-1234567890"
Response
Returns the stored prompt and completion content
Stored prompt and completion content for a generation
Stored prompt and completion content
Example:
{
"input": {
"messages": [
{
"content": "What is the meaning of life?",
"role": "user"
}
]
},
"output": {
"completion": "The meaning of life is a philosophical question...",
"reasoning": null
}
}