## 5.4.1  Get Pipeline Status
See the list of all possible pipeline processing statuses and find out how to use the related Pipeline API endpoints to get the current status for pipelines, executions, and documents.
## Pipeline Status
The available statuses for pipelines are the following:
- NEW
- UNKNOWN
- INPROGRESS
- FINISHED
- FINISHEDWITHERRORS
- TIMEOUT
## Pipeline Status Endpoint
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/status
## Response Example
200 'Returns the pipeline status for a pipeline ID'
```
{ "lastStarted":"2024-02-15T12:45:00Z", "status":"INPROGRESS", "createdAt":"2024-02-15T12:45:00Z", "lastCompletedAt":"2024-02-15T12:45:00Z"
```
## Execution Status
The available statuses for executions are the following:
- NEW
- UNKNOWN
- INPROGRESS
- FINISHED
- FINISHEDWITHERRORS
- TIMEOUT
## Execution Status Endpoints
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/executions
```
 Tip The optional header parameter lastExecution is also available.
```
## Response Example
200 'Returns all executions in a specific pipeline'
```
{ "resources":[ { "id":"uuid", "status":"INPROGRESS", "createdAt":"2024-02-15T12:45:00Z", "modifiedAt":"2024-02-15T12:45:00Z" } ], "count":1 }
```
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/executions/{executionId}
## Response Example
200 'Returns the details for an execution ID in a specific pipeline'
```
{ "id":"uuid", "createdAt":"2024-02-15T12:45:00Z", "modifiedAt":"2024-02-15T12:45:00Z", "status":"INPROGRESS" }
```
## Document Status
The available statuses for documents are the following:
- TO\_BE\_PROCESSED
- INDEXED
- REINDEXED
- DEINDEXED
- FAILED
- FAILED\_TO\_BE\_RETRIED
- TO\_BE\_SCHEDULED
## Document Status Endpoints
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/executions/{executionId}/documents
##  Tip
For pagination support, use the optional header parameters $top and $skip .
The optional header parameter $count is also available.
## Response Example
200 'Returns the statuses for all documents in a specific pipeline and execution'
```
{ "resources":[ { "id":"uuid", "status":"INDEXED", "absoluteUrl":"string", "title":"string", "metadataId":"string", "createdTimestamp":"2024-02-15T12:45:00Z", "lastUpdatedTimestamp":"2024-02-15T12:45:00Z" } ], "count":1 }
```
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/executions/{executionId}/documents/ {documentId}
## Response Example
200 'Returns the details for a document ID in a specific pipeline and execution'
```
{ "id":"uuid", "viewLocation":"location", "downloadLocation":"location", "status":"INDEXED", "absoluteUrl":"string", "title":"string", "metadataId":"string",
```
```
"createdTimestamp":"2024-02-15T12:45:00Z", "lastUpdatedTimestamp":"2024-02-15T12:45:00Z" }
```
GET &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/documents
```
 Tip For pagination support, use the optional header parameters $top and $skip . The optional header parameter $count is also available.
```
## Response Example
200 'Returns the statuses for all documents in a specific pipeline'
```
{ "resources":[ { "id":"uuid", "status":"INDEXED", "absoluteUrl":"string", "title":"string", "metadataId":"string", "createdTimestamp":"2024-02-15T12:45:00Z", "lastUpdatedTimestamp":"2024-02-15T12:45:00Z" } ], "count":1 }
```
Get &lt;url&gt;/pipeline/api/v1/pipeline/{pipelineId}/documents/{documentId}
## Response Example
200 'Returns the details for a document ID in a specific pipeline'
```
{ "id":"uuid", "viewLocation":"location", "downloadLocation":"location", "status":"INDEXED", "absoluteUrl":"string", "title":"string", "metadataId":"string", "createdTimestamp":"2024-02-15T12:45:00Z", "lastUpdatedTimestamp":"2024-02-15T12:45:00Z" }
```