Upload Large Text

Upload a large text file for processing with infinite context. Returns a file_id that can be used in /responses endpoint. This is useful for extremely large files (100MB+) that are too big to send in a POST body. Headers: - Authorization: Bearer {api_key} - X-Organization-ID: Organization UUID Returns: - file_id: Reference to uploaded file - s3_uri: S3 URI for the file - expires_at: When the file will be auto-deleted (48h)

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response

Errors