Get Classify Job
GET/api/v1/classifier/jobs/{classify_job_id}
Get a classify job. Experimental: This endpoint is not yet ready for production use and is subject to change at any time.
Path Parameters
classify_job_id: string
Query Parameters
organization_id: optional string
project_id: optional string
Cookie Parameters
session: optional string
Returns
Get Classify Job
curl https://api.cloud.llamaindex.ai/api/v1/classifier/jobs/$CLASSIFY_JOB_ID \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"rules": [
{
"description": "contains invoice number, line items, and total amount",
"type": "invoice"
}
],
"status": "PENDING",
"user_id": "user_id",
"created_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_record_id": "job_record_id",
"mode": "FAST",
"parsing_configuration": {
"lang": "af",
"max_pages": 0,
"target_pages": [
0
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"rules": [
{
"description": "contains invoice number, line items, and total amount",
"type": "invoice"
}
],
"status": "PENDING",
"user_id": "user_id",
"created_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_record_id": "job_record_id",
"mode": "FAST",
"parsing_configuration": {
"lang": "af",
"max_pages": 0,
"target_pages": [
0
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}