PaperOffice AI Document AI — Workflow Orchestration API

Workflow templates and workflow agents that run multi-step document processing.

GitHub OpenAPI

Operations 4

GET /workflow/system_list System templates #
POST /workflow_templates/delete Delete template #
POST /workflow_templates/get Get template #
GET /workflow_templates/list List Workflow Templates #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paperoffice-ai:paperoffice-ai-document-ai-workflow-orchestration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paperoffice-ai-document-ai-workflow-orchestration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PaperOffice AI Document AI — Workflow Orchestration API
  version: R20261120.1802
  summary: 'PaperOffice AI, the Document Operations Platform: OCR, IDP, DMS, PDF, e-signatures, anonymization, workflows, translation, voice.'
  description: 'Generated from the PaperOffice API SOT (release `R20261120.1802`). Agent documentation: llms.txt (index), integration guide and llms-full.txt. Check each response media type; downloads may be binary.


    JSON success envelopes commonly carry `status: "success"`; JSON errors commonly carry `status: "error"`, `code` and `message`. Job endpoints hold the connection while `client_wait=true` (default) and answer HTTP 202 with `poll_url` when the hold window ends — poll `GET /job/get/{job_id}`. Operations that share one method and path list their documented variants in `x-paperoffice-variants`.'
servers:
- url: https://api.paperoffice.ai/latest
security:
- bearerAuth: []
tags:
- name: Document AI — Workflow Orchestration
  description: Workflow templates and workflow agents that run multi-step document processing.
paths:
  /workflow/system_list:
    get:
      operationId: po-orchestration-list-system-templates
      summary: System templates
      tags:
      - Document AI — Workflow Orchestration
      description: List built-in system workflow templates (read-only catalog).
      externalDocs:
        url: https://api.paperoffice.ai/latest/docs/endpoints/po-orchestration-list-system-templates.md
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: System-Workflow-Templates auflisten
                properties:
                  status:
                    type: string
                    description: HTTP-Level Status
                    enum:
                    - success
                    - error
                  job_id:
                    type: string
                    pattern: ^poai-job_.*
                  message:
                    type: string
                    description: Menschenlesbare Statusmeldung
                  pipeline:
                    type: string
                  operation:
                    type: string
                    description: Ausgefuehrte Operation
                  processing_time:
                    type: string
                    description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
                  result:
                    type: object
                    description: Das eigentliche Verarbeitungsergebnis
                    properties:
                      status:
                        type: string
                        description: Job-Level Status
                        enum:
                        - completed
                        - failed
                        - timeout
                      message:
                        type: string
                        description: Pipeline-spezifische Statusmeldung
                      duration_ms:
                        type: string
                        description: Reine Pipeline-Verarbeitungszeit in ms
                      output:
                        type: object
                        properties:
                          templates:
                            type: array
                            items:
                              type: object
                          total:
                            type: number
                required:
                - status
                - job_id
                - result
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
  /workflow_templates/delete:
    post:
      operationId: po-workflow-templates-delete-template
      summary: Delete template
      tags:
      - Document AI — Workflow Orchestration
      description: Deactivate a user workflow template (soft delete).
      externalDocs:
        url: https://api.paperoffice.ai/latest/docs/endpoints/po-workflow-templates-delete-template.md
      requestBody:
        required: false
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  description: Workflow template UUID from po_workflow_templates_list_templates (preferred).
                template_id:
                  type: string
                  description: Alias for uuid.
                workflow_id:
                  type: string
                  description: Legacy alias for template uuid (not system workflow id). Mapped to uuid server-side.
                id:
                  type: string
                  description: Alias for uuid.
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  description: Workflow template UUID from po_workflow_templates_list_templates (preferred).
                template_id:
                  type: string
                  description: Alias for uuid.
                workflow_id:
                  type: string
                  description: Legacy alias for template uuid (not system workflow id). Mapped to uuid server-side.
                id:
                  type: string
                  description: Alias for uuid.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: HTTP-Level Status
                    enum:
                    - success
                    - error
                  job_id:
                    type: string
                    pattern: ^poai-job_.*
                  message:
                    type: string
                    description: Menschenlesbare Statusmeldung
                  pipeline:
                    type: string
                  operation:
                    type: string
                    description: Ausgefuehrte Operation
                  processing_time:
                    type: string
                    description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
                  result:
                    type: object
                    description: Das eigentliche Verarbeitungsergebnis
                    properties:
                      status:
                        type: string
                        description: Job-Level Status
                        enum:
                        - completed
                        - failed
                        - timeout
                      message:
                        type: string
                        description: Pipeline-spezifische Statusmeldung
                      duration_ms:
                        type: string
                        description: Reine Pipeline-Verarbeitungszeit in ms
                      output:
                        type: object
                        properties:
                          deleted:
                            type: boolean
                          uuid:
                            type: string
                required:
                - status
                - job_id
                - result
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
  /workflow_templates/get:
    post:
      operationId: po-workflow-templates-get-template
      summary: Get template
      tags:
      - Document AI — Workflow Orchestration
      description: Load one workflow template by ID.
      externalDocs:
        url: https://api.paperoffice.ai/latest/docs/endpoints/po-workflow-templates-get-template.md
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  description: Deprecated alias for workflow_id.
                template_id:
                  type: string
                  description: Deprecated alias for workflow_id.
                workflow_id:
                  type: string
                  description: System workflow ID from GET /workflow/system_list (canonical).
                id:
                  type: string
                  description: Deprecated alias for workflow_id.
              required:
              - workflow_id
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  description: Deprecated alias for workflow_id.
                template_id:
                  type: string
                  description: Deprecated alias for workflow_id.
                workflow_id:
                  type: string
                  description: System workflow ID from GET /workflow/system_list (canonical).
                id:
                  type: string
                  description: Deprecated alias for workflow_id.
              required:
              - workflow_id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: Einzelnes Workflow-Template laden
                properties:
                  status:
                    type: string
                    description: HTTP-Level Status
                    enum:
                    - success
                    - error
                  job_id:
                    type: string
                    pattern: ^poai-job_.*
                  message:
                    type: string
                    description: Menschenlesbare Statusmeldung
                  pipeline:
                    type: string
                  operation:
                    type: string
                    description: Ausgefuehrte Operation
                  processing_time:
                    type: string
                    description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
                  result:
                    type: object
                    description: Das eigentliche Verarbeitungsergebnis
                    properties:
                      status:
                        type: string
                        description: Job-Level Status
                        enum:
                        - completed
                        - failed
                        - timeout
                      message:
                        type: string
                        description: Pipeline-spezifische Statusmeldung
                      duration_ms:
                        type: string
                        description: Reine Pipeline-Verarbeitungszeit in ms
                      output:
                        type: object
                        properties:
                          uuid:
                            type: string
                          name:
                            type: string
                          nodes:
                            type: array
                          edges:
                            type: array
                          trigger_type:
                            type: string
                          is_active:
                            type: boolean
                          version:
                            type: number
                required:
                - status
                - job_id
                - result
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
  /workflow_templates/list:
    get:
      operationId: po-workflow-templates-list-templates
      summary: List Workflow Templates
      tags:
      - Document AI — Workflow Orchestration
      description: List user workflow templates (graph + agent templates) for the authenticated account.
      externalDocs:
        url: https://api.paperoffice.ai/latest/docs/endpoints/po-workflow-templates-list-templates.md
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: Workflow-Templates auflisten
                properties:
                  status:
                    type: string
                    description: HTTP-Level Status
                    enum:
                    - success
                    - error
                  job_id:
                    type: string
                    pattern: ^poai-job_.*
                  message:
                    type: string
                    description: Menschenlesbare Statusmeldung
                  pipeline:
                    type: string
                  operation:
                    type: string
                    description: Ausgefuehrte Operation
                  processing_time:
                    type: string
                    description: 'Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)'
                  result:
                    type: object
                    description: Das eigentliche Verarbeitungsergebnis
                    properties:
                      status:
                        type: string
                        description: Job-Level Status
                        enum:
                        - completed
                        - failed
                        - timeout
                      message:
                        type: string
                        description: Pipeline-spezifische Statusmeldung
                      duration_ms:
                        type: string
                        description: Reine Pipeline-Verarbeitungszeit in ms
                      output:
                        type: object
                        properties:
                          templates:
                            type: array
                            items:
                              type: object
                              properties:
                                uuid:
                                  type: string
                                name:
                                  type: string
                                trigger_type:
                                  type: string
                                is_active:
                                  type: boolean
                                version:
                                  type: number
                                deployed_version:
                                  type: number
                                created_at:
                                  type: string
                                  format: date-time
                          total:
                            type: number
                required:
                - status
                - job_id
                - result
        4XX:
          $ref: '#/components/responses/Error'
        5XX:
          $ref: '#/components/responses/Error'
components:
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        status:
          type: string
          const: error
        code:
          type: string
        message:
          type: string
        retryable:
          type: boolean
      required:
      - status
      - message
      additionalProperties: true
  securitySchemes:
    signingToken:
      type: apiKey
      in: query
      name: token
      description: Signer capability from the signing link. Protect it as a credential.
    bearerAuth:
      type: http
      scheme: bearer
      description: '`po_sk_` (secret key) or `po_ut_` (user token) server-side; `po_pk_` is public, scope/budget-capped and host-allowlisted. Origin can be forged outside browsers and is not caller authentication. Documentation routes under `/docs/` also answer without a Bearer (visitor tier).'
externalDocs:
  description: Agent documentation (llms.txt)
  url: https://api.paperoffice.ai/latest/docs/llms.txt