Skip to main content

List Assistant Files

Returns a list of assistant files.

Path Parameters
assistant_id Assistant Id REQUIRED
Query Parameters
limit Limit
order Order9

Possible values: [asc, desc]

An enumeration.

after After
before Before
Responses
200

Successful Response

Schema OPTIONAL
object Object
data object[]
_id Id OPTIONAL

MongoDB document ObjectID

id Id

The identifier, which can be referenced in API endpoints.

object Object28

Possible values: [assistant.file]

The object type, which is always assistant.file.

created_at Created At

The Unix timestamp (in seconds) for when the assistant file was created.

assistant_id Assistant Id

The assistant ID that the file is attached to.

first_id First Id
last_id Last Id
has_more Has More
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type