Saltar al contenido principal
GET
CSharp (SDK)

Autorizaciones

Authorization
string
header
requerido

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Encabezados

X-On-Behalf-Of
string

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

Parámetros de consulta

after
string
Ejemplo:

"file-abc123"

limit
integer
predeterminado:10000
Rango requerido: 1 <= x <= 10000
Ejemplo:

100

order
enum<string>
predeterminado:desc
Opciones disponibles:
asc,
desc
Ejemplo:

"desc"

purpose
enum<string>
Opciones disponibles:
assistants,
batch,
fine-tune,
vision,
user_data,
evals
Ejemplo:

"assistants"

sha256
string

Solo los archivos cuyo contenido tenga este SHA-256: encuentra las copias de un archivo antes de volver a subirlo o adjuntarlo.

Pattern: ^[0-9a-f]{64}$
Ejemplo:

"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"

Respuesta

200 - application/json

Está bien

object
any
requerido
data
object[]
requerido
has_more
boolean
requerido
first_id
string
last_id
string