Integrate Inveeze into your stack.
Programmatic access to pipelines and documents.
Welcome to the Inveeze REST API. This API allows you to programmatically ingest documents, trigger pipelines, and retrieve results.
All API requests should be made to:
https://api.inveeze.com/v1
(For local development, use http://localhost:3000/api)
Authenticate your requests by including your API Key in the Authorization header.
Authorization: Bearer <YOUR_API_KEY>
You can generate API Keys in the Dashboard under Settings > Integrations.
Upload a PDF or image for processing.
POST /documentsmultipart/form-data| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| file | File | Yes | The document file (PDF, PNG, JPG). |
| pipelineId | UUID | Yes | The ID of the pipeline to process this document. |
curl -X POST https://api.inveeze.com/v1/documents \
-H "Authorization: Bearer sk_live_..." \
-F "file=@invoice.pdf" \
-F "pipelineId=e5f7513d-..."
{
"id": "doc_12345",
"status": "ingested",
"originalFilename": "invoice.pdf",
"ingestedAt": "2024-12-08T10:00:00Z"
}
Manually trigger a pipeline run for an ingested document.
POST /pipelines/runapplication/json| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| pipelineId | UUID | Yes | The pipeline ID. |
| documentId | UUID | Yes | The document ID to process. |
curl -X POST https://api.inveeze.com/v1/pipelines/run \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"pipelineId": "e5f7513d-...",
"documentId": "doc_12345"
}'
Retrieve the status and extraction results of a document.
GET /documents/:id{
"id": "doc_12345",
"status": "review_required",
"results": {
"invoiceNumber": "INV-1001",
"total": 1500.00
}
}
The API is currently limited to 100 requests per minute per tenant.