Files
Enter your JWT token (without 'Bearer ' prefix)
Successful Response
uploadedValidation Error
GET /api/v1/projects/{project_id}/files HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text",
"file_id": 1,
"uploaded_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"profile": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]Enter your JWT token (without 'Bearer ' prefix)
Successful Response
uploadedValidation Error
POST /api/v1/projects/{project_id}/files HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 20
{
"files": [
"binary"
]
}[
{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text",
"file_id": 1,
"uploaded_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"profile": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]Enter your JWT token (without 'Bearer ' prefix)
Successful Response
uploadedValidation Error
GET /api/v1/projects/{project_id}/files/{file_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text",
"file_id": 1,
"uploaded_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"profile": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}Enter your JWT token (without 'Bearer ' prefix)
uploadedSuccessful Response
uploadedValidation Error
PUT /api/v1/projects/{project_id}/files/{file_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 192
{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text"
}{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text",
"file_id": 1,
"uploaded_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"profile": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}Enter your JWT token (without 'Bearer ' prefix)
Successful Response
Validation Error
DELETE /api/v1/projects/{project_id}/files/{file_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Re-run ingestion for a file stuck in 'failed' status (NCP-3810).
force=true also accepts 'completed' files, re-running profiling and re-indexing onto the current ingestion scheme (old chunks are replaced).
Enter your JWT token (without 'Bearer ' prefix)
falseSuccessful Response
uploadedValidation Error
POST /api/v1/projects/{project_id}/files/{file_id}/retry HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"project_id": 1,
"uploader_username": "text",
"filename": "text",
"storage_path": "text",
"file_type": "text",
"file_size_bytes": 1,
"processing_status": "uploaded",
"stage": "text",
"failure_reason": "text",
"file_id": 1,
"uploaded_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"profile": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}Enter your JWT token (without 'Bearer ' prefix)
Successful Response
No content
Validation Error
GET /api/v1/projects/{project_id}/files/{file_id}/download HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
