FileResponse
A stored file. The shape is negotiated per request — see the endpoint description.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
models.AnthropicFileconst value: models.AnthropicFile = {
shape: "anthropic",
createdAt: "2025-01-01T00:00:00Z",
downloadable: false,
filename: "document.pdf",
id: "or_file_011CNha8iCJcU1wXNR6q4V8w",
mimeType: "application/pdf",
sizeBytes: 1024000,
type: "file",
};
models.OpenAIFileconst value: models.OpenAIFile = {
shape: "openai",
bytes: 204764,
createdAt: 2025,
filename: "document.pdf",
id: "or_file_011CNha8iCJcU1wXNR6q4V8w",
object: "file",
purpose: "fine-tune",
status: "processed",
};
models.OpenRouterFileconst value: models.OpenRouterFile = {
shape: "openrouter",
createdAt: "2025-01-01T00:00:00Z",
downloadable: false,
filename: "document.pdf",
id: "or_file_011CNha8iCJcU1wXNR6q4V8w",
mimeType: "application/pdf",
sizeBytes: 1024000,
type: "file",
};