Get document indexing status
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/ \
--header 'Authorization: Bearer <token>'[
{
"document_id": "550e8400-e29b-41d4-a716-446655440000",
"extractor_type": "TagExtractor",
"extractor_id": "660e8400-e29b-41d4-a716-446655440001",
"extractor_version_id": "770e8400-e29b-41d4-a716-446655440002",
"status": "active"
}
]{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Documents
Get document indexing status
Returns the indexing status for each (document, extractor node) pair in the project.
Callers poll this endpoint until documents reach active (queryable by AI) or deleted.
States:
| Value | Meaning |
|---|---|
created | Document saved, processing not yet started |
indexing | Processing pipeline running |
ready_to_publish | Pipeline done, waiting for publish |
active | Published to search backends — queryable by AI |
failed | Document could not be parsed; will not be retried automatically |
pending_delete | Delete requested, blocking new pipeline steps |
deleting | Warehouse rows being cleared |
deleted | Fully removed from warehouse and search indexes |
GET
/
projects
/
{project_id}
/
documents
/
indexing-status
/
Get document indexing status
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/documents/indexing-status/ \
--header 'Authorization: Bearer <token>'[
{
"document_id": "550e8400-e29b-41d4-a716-446655440000",
"extractor_type": "TagExtractor",
"extractor_id": "660e8400-e29b-41d4-a716-446655440001",
"extractor_version_id": "770e8400-e29b-41d4-a716-446655440002",
"status": "active"
}
]{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Path Parameters
UUID of the project
Query Parameters
Comma-separated list of document UUIDs to filter the response. When omitted, returns statuses for all documents in the project.
Response
Indexing statuses for the requested documents