Upcoming change: Onyx is moving to group-based permissions. Curator and Global Curator roles will be removed. See what's changing
curl --request POST \
--url https://cloud.onyx.app/api/user/projects/file/statuses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"file_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"file_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "PROCESSING",
"last_accessed_at": "2023-11-07T05:31:56Z",
"file_type": "<string>",
"chat_file_type": "image",
"token_count": 123,
"chunk_count": 123,
"temp_id": "<string>",
"project_id": 123
}
]Fetch statuses for a set of user file IDs owned by the current user.
Includes files in any status so the client can detect transitions to FAILED.
curl --request POST \
--url https://cloud.onyx.app/api/user/projects/file/statuses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"file_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"file_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "PROCESSING",
"last_accessed_at": "2023-11-07T05:31:56Z",
"file_type": "<string>",
"chat_file_type": "image",
"token_count": 123,
"chunk_count": 123,
"temp_id": "<string>",
"project_id": 123
}
]Documentation Index
Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header with Bearer token
Successful Response
PROCESSING, COMPLETED, FAILED, CANCELED, DELETING image, document, plain_text, csv Was this page helpful?