> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.
# GenerationContentData
Stored prompt and completion content, plus the failure error when one was stored
## Fields
| Field | Type | Required | Description | Example |
| -------- | ----------------------------------------------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `error` | [Nullable\[components.GenerationContentError\]](../components/generationcontenterror.mdx) | :heavy\_check\_mark: | The stored failure for this generation, or null when it succeeded | \{
"message": "Timed out waiting for the provider",
"previous\_errors": \[
\{
"code": 429,
"message": "Provider returned error",
"provider\_name": "Google",
"raw": "\{"error":\{"code":429,"message":"Resource exhausted"}}"
}
],
"provider\_name": "Vertex",
"raw": "\{"error":\{"code":504,"message":"Deadline exceeded"}}",
"status": 504
} |
| `input` | [components.InputUnion](../components/inputunion.mdx) | :heavy\_check\_mark: | The input to the generation — either a prompt string or an array of messages | |
| `output` | [components.GenerationContentDataOutput](../components/generationcontentdataoutput.mdx) | :heavy\_check\_mark: | The output from the generation | |