For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog in
ProductAPI ReferenceChangelogModel Versioning
ProductAPI ReferenceChangelogModel Versioning
    • Authentication
    • API Versioning
  • Workflow Endpoints
    • Run Workflow
    • Workflow Run
    • List Workflow Runs
    • Update Workflow Run
    • Create Workflow
    • Batch Run Workflow
    • Correct Workflow Run (Deprecated)
  • Processor Endpoints
    • Run Processor
    • Get Processor Run
    • Batch Processor Run
    • Create Processor
    • Update Processor
    • Publish Processor Version
    • Processor Version
    • List Processor Versions
  • Parse Endpoints
    • Parse File
  • File Endpoints
    • Upload File
    • Get File
    • List Files
    • Create File (Deprecated)
  • Evaluation Set Endpoints
    • Create Evaluation Set
    • Create Evaluation Set Item
    • Update Evaluation Set Item
    • Bulk Create Evaluation Set Item
  • Objects
    • Block
    • Evaluation Set
    • Evaluation Set Item
    • File
    • Processor
    • Processor Run
    • Batch Processor Run
    • Processor Version
    • Workflow
    • Workflow Run
    • Workflow Run Summary
  • Guides
    • Processor Configs
    • Output Types
    • Bounding Boxes
    • Supported File Types
    • Rate Limits
    • User Roles and Permissions
  • Webhooks
    • Configuration
    • Events
LogoLogo
Book a demoLog in
Processor Endpoints

List Processor Versions

Retrieve all versions of a specific processor in Extend.
1curl --request GET \
2 --url https://api-prod.extend.app/processors/:id/versions \
3 --header 'Authorization: Bearer <token>'
Example Success Response
1{
2 "success": true,
3 "versions": [
4 {
5 "object": "document_processor_version",
6 "id": "processor_version_5678",
7 "processorId": "processor_1234",
8 "processorType": "EXTRACT",
9 "description": "Updated extraction rules for invoice processing",
10 "version": "1.2",
11 "config": {
12 // Config object - see “Processor configs” for details
13 },
14 "createdAt": "2024-03-01T14:00:00Z",
15 "updatedAt": "2024-03-01T14:00:00Z"
16 },
17 {
18 "object": "document_processor_version",
19 "id": "processor_version_5677",
20 "processorId": "processor_1234",
21 "processorType": "EXTRACT",
22 "description": "Initial version",
23 "version": "0.1",
24 "config": {
25 // Config object - see “Processor configs” for details
26 },
27 "createdAt": "2024-02-15T10:00:00Z",
28 "updatedAt": "2024-02-15T10:00:00Z"
29 }
30 ]
31}
Was this page helpful?
Previous

Parse File

Parse files to get cleaned, chunked target content (e.g. markdown).

Next
Built with

This endpoint allows you to fetch all versions of a given processor, including the current draft version.

  • Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation.
  • The draft version is the latest unpublished version of the processor, which can be published to create a new version. It might not have any changes from the last published version.

Path Parameters

id
stringRequired

The ID of the processor to retrieve versions for.

Response

success
boolean

A true or false value indicating whether the request was successful or not.

versions
array

An array of ProcessorVersion objects representing all versions of the specified processor. See the ProcessorVersion object for more details on the structure of each version.

Error Responses

success
boolean

Will be false if the request failed.

error
string

A description of the error that occurred.

Possible Errors

  • 404 Not Found: If the specified processor does not exist.