Get Pipeline Status
client.pipelines.getStatus(stringpipelineID, PipelineGetStatusParams { full_details } query?, RequestOptionsoptions?): ManagedIngestionStatusResponse { status, deployment_date, effective_at, 2 more }
GET/api/v1/pipelines/{pipeline_id}/status
Get the status of a pipeline by ID.
Parameters
pipelineID: string
Returns
Get Pipeline Status
import LlamaCloud from '@llamaindex/llama-cloud';
const client = new LlamaCloud({
apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});
const managedIngestionStatusResponse = await client.pipelines.getStatus(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(managedIngestionStatusResponse.job_id);{
"status": "NOT_STARTED",
"deployment_date": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error": [
{
"job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"message": "message",
"step": "MANAGED_INGESTION"
}
],
"job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}Returns Examples
{
"status": "NOT_STARTED",
"deployment_date": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error": [
{
"job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"message": "message",
"step": "MANAGED_INGESTION"
}
],
"job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}