Skip to main content
A stored file. The shape is negotiated per request — see the endpoint description.

Supported Types

AnthropicFile

OpenAIFile

OpenRouterFile

Union Discrimination

Use the Type field to determine which variant is active, then access the corresponding field: