Pipeline Items
Retrieve, inspect, and track the status of documents and entities in your pipelines.
List Pipeline Items
GET /api/v1/pipelines/{pipeline_id}/items
Retrieve all items (submitted documents and their associated entities) in a pipeline. Use this to enumerate everything in a pipeline and check overall progress.
Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer (path) |
Yes |
The pipeline to list items from |
|
|
integer (query) |
No |
Number of items to skip (default: 0) |
|
|
integer (query) |
No |
Maximum items to return (default: 100, max: 1000) |
|
|
string (query) |
No |
Column ID to sort by (e.g., |
|
|
string (query) |
No |
|
Response — 200 OK
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The pipeline identifier |
|
|
integer |
Total number of items in the pipeline |
|
|
array |
Array of pipeline item objects (see below) |
Each item in the items array contains:
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The pipeline identifier |
|
|
integer |
Unique identifier for the pipeline item |
|
|
string |
One of: |
|
|
integer or null |
Associated organization ID, if applicable |
|
|
integer or null |
Associated person ID, if applicable |
|
|
integer or null |
Associated document ID, if applicable |
|
|
object |
Column values keyed by column ID (see Values Object) |
Errors
|
Status |
Description |
|---|---|
|
|
Invalid |
|
|
Authentication required |
|
|
Authorization denied by policy chain |
|
|
Pipeline not found |
Get Pipeline Item Values
GET /api/v1/pipelines/{pipeline_id}/items/{pipeline_item_id}/values
Retrieve the extracted and enriched data for a specific pipeline item. This includes structured data pulled from the document, entity resolution results, and answers to your pipeline's qualifying questions.
Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer (path) |
Yes |
The pipeline identifier |
|
|
integer (path) |
Yes |
The specific pipeline item to retrieve values for |
Response — 200 OK
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The pipeline identifier |
|
|
integer |
The pipeline item identifier |
|
|
string |
One of: |
|
|
integer or null |
Associated organization ID, if applicable |
|
|
integer or null |
Associated person ID, if applicable |
|
|
integer or null |
Associated document ID, if applicable |
|
|
object |
Column values keyed by column ID (see Values Object) |
Errors
|
Status |
Description |
|---|---|
|
|
Item does not belong to the specified pipeline |
|
|
Authentication required |
|
|
Authorization denied by policy chain |
|
|
Item not found |
Get Pipeline Item Status
GET /api/v1/pipelines/{pipeline_id}/items/{pipeline_item_id}/status
Check the processing readiness of a specific pipeline item. Use this to poll for completion after submitting a document. The response reports whether each processing stage has finished, rather than a single status string.
Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer (path) |
Yes |
The pipeline identifier |
|
|
integer (path) |
Yes |
The specific pipeline item to check |
Response — 200 OK
|
Field |
Type |
Description |
|---|---|---|
|
|
integer |
The pipeline identifier |
|
|
integer |
The pipeline item identifier |
|
|
boolean |
|
|
|
boolean |
Whether the submitted document has been fully indexed |
|
|
boolean |
Whether all configured qualifying questions have reached a terminal state |
|
|
boolean |
Whether all required AlphaLens entity data for configured columns is available |
Errors
|
Status |
Description |
|---|---|
|
|
Item does not belong to the specified pipeline |
|
|
Authentication required |
|
|
Authorization denied by policy chain |
|
|
Item not found |
Values Object
The values field in item responses is a dictionary keyed by column ID (e.g., question.123 for a qualifying question, or an AlphaLens field path for entity data). Each value contains:
|
Field |
Type |
Description |
|---|---|---|
|
|
array |
List of extracted values (strings, numbers, etc.) |
|
|
string |
Value source: |
|
|
integer or null |
Confidence score (0–100). Null for entity data fields |
|
|
string or null |
Execution status for question columns: |
|
|
array |
List of source reference URLs |
|
|
string or null |
CRM sync status: |
|
|
string or null |
CRM provider name (e.g., |
|
|
string (ISO 8601) or null |
Timestamp of last successful sync. Null if never synced |
|
|
string or null |
Error message if the last sync attempt failed |