Pular para o conteúdo principal
GET
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de consulta

after
string
Exemplo:

"file-abc123"

limit
integer
padrão:10000
Intervalo obrigatório: 1 <= x <= 10000
Exemplo:

100

order
enum<string>
padrão:desc
Opções disponíveis:
asc,
desc
Exemplo:

"desc"

purpose
enum<string>
Opções disponíveis:
assistants,
batch,
fine-tune,
vision,
user_data,
evals
Exemplo:

"assistants"

Resposta

200 - application/json

OK

object
any
obrigatório
data
object[]
obrigatório
has_more
boolean
obrigatório
first_id
string
last_id
string