> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datris.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get job status

> Query job status by pipeline token or pipeline name. Returns detailed status when queried by token, or paginated summary when queried by pipeline name.



## OpenAPI

````yaml /openapi.yaml get /api/v1/pipeline/status
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.11.3
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/pipeline/status:
    get:
      tags:
        - Status
      summary: Get job status
      description: >-
        Query job status by pipeline token or pipeline name. Returns detailed
        status when queried by token, or paginated summary when queried by
        pipeline name.
      parameters:
        - name: publishertoken
          in: query
          schema:
            type: string
          description: >-
            Publisher token — returns status rows for every ingestion job
            sharing this token. Use this to watch a tap run (structured = 1 job,
            document = N jobs, all covered by one call). Wins over pipelinetoken
            if both supplied.
        - name: pipelinetoken
          in: query
          schema:
            type: string
          description: Pipeline token from upload
        - name: pipelinename
          in: query
          schema:
            type: string
          description: Pipeline name for summary view
        - name: page
          in: query
          schema:
            type: integer
            default: 1
          description: Page number for paginated results (pipelinename queries only)
        - name: withrollup
          in: query
          schema:
            type: string
            default: 'false'
          description: >-
            When "true" on a publishertoken or pipelinetoken query, wraps the
            response in `{rollup, events}`. `rollup.allDone` flips to true when
            every job reaches a terminal state; `rollup.status` is the aggregate
            outcome (success, warning, error, or processing); `rollup.jobs[]`
            carries per-job status (success, warning, error, processing, or
            timed_out) plus `lastError` on failures; `events` is the same raw
            entry array returned without the flag. Recommended for agents that
            need a single boolean to poll on. Ignored for pipelinename summary
            queries, which return their own rollup-equivalent shape.
      responses:
        '200':
          description: >-
            Job status information. An array of status entries by default; an
            object (`{rollup, events}` for token queries with withrollup=true,
            or the paginated summary shape for pipelinename queries) otherwise.
          content:
            application/json:
              schema:
                oneOf:
                  - type: array
                    items:
                      type: object
                  - type: object
        '500':
          description: Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````