Skip to main content
POST
{base_url}
/
v1
/
files
Error
A valid request URL is required to generate request examples
{
  "bytes": 123,
  "created_at": 123,
  "filename": "<string>",
  "id": "<string>",
  "object": "<string>",
  "provider": "<string>",
  "purpose": "<string>",
  "status": "<string>",
  "status_details": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://gomodel-docs-providers-restructure.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

provider
string

Provider override when multiple providers are configured

Body

multipart/form-data
purpose
string
required

File purpose

file
file
required

File to upload

Response

OK

bytes
integer
created_at
integer
filename
string
id
string
object
string
provider
string

Gateway enrichment for multi-provider deployments.

purpose
string
status
string
status_details
string