Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Query Parameters

x-model-provider
enum<string>
required

Provider to list files for AI model provider identifier

Available options:
anthropic,
azure,
bedrock,
bedrock_mantle,
cerebras,
cohere,
deepseek,
gemini,
groq,
mistral,
ollama,
opencode-go,
opencode-zen,
openai,
parasail,
perplexity,
sgl,
vertex,
openrouter,
elevenlabs,
huggingface,
nebius,
xai,
replicate,
vllm,
runway,
runware,
fireworks,
sarvam,
wafer,
databricks
purpose
enum<string>

Filter by purpose

Available options:
batch,
assistants,
fine-tune,
vision,
batch_output,
user_data,
responses,
evals
limit
integer

Maximum number of files to return

Required range: x >= 1
after
string

Cursor for pagination

order
enum<string>

Sort order (asc/desc)

Available options:
asc,
desc

Response

Successful response

object
string
data
object[]
has_more
boolean
after
string
extra_fields
object

Additional fields included in responses