List collection files
GET/api/v1/collections/:collection-id/files
List files of a given collection.
Request
Path Parameters
Collection ID
Query Parameters
Default value: 0
Number of files to skip
Possible values: >= 1
and <= 500
Default value: 100
Number of files to return
Responses
- 200
- 401
- 403
- 404
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
result
object[]
required
List of files in the collection
File ID
File name
File's MIME type
Possible values: [pending
, indexed
, error
]
File status
Error message if the file indexing failed
Timestamp when the file was created
ID of creating user
File URL
File size in bytes
MD5 hash of the file
ID of the connector managing the file
connector
object
nullable
Possible values: [google
, onedrive
, dropbox
, web
, gmail
, jira
, confluence
, hubspot
, zendesk
, notion
, slack
, airtable
, github
, ext_web
]
{
"result": [
{
"id": "string",
"name": "string",
"type": "string",
"status": "pending",
"error": "string",
"created_at": "string",
"user_id": "string",
"url": "string",
"size": 0,
"md5_hash": "string",
"connector_id": "string",
"connector": {
"id": "string",
"name": "string",
"type": "google"
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error
object
required
Human readable error message
Further details on the error
{
"error": {
"message": "string"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error
object
required
Human readable error message
Further details on the error
{
"error": {
"message": "string"
}
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
error
object
required
Human readable error message
Further details on the error
{
"error": {
"message": "string"
}
}