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

# List Processor Runs

> The team's runs of this processor, newest first (version-groupable:
each run carries its pinned version label; plane-filterable).



## OpenAPI

````yaml https://www.datalab.to/openapi.json get /api/v1/agent-studio/processors/{processor_id}/runs
openapi: 3.1.0
info:
  title: Datalab API
  version: 0.0.1
servers:
  - url: https://www.datalab.to
    description: Datalab API
security: []
paths:
  /api/v1/agent-studio/processors/{processor_id}/runs:
    get:
      tags:
        - agent-studio
      summary: List Processor Runs
      description: |-
        The team's runs of this processor, newest first (version-groupable:
        each run carries its pinned version label; plane-filterable).
      operationId: >-
        list_processor_runs_api_v1_agent_studio_processors__processor_id__runs_get
      parameters:
        - name: processor_id
          in: path
          required: true
          schema:
            type: string
            title: Processor Id
        - name: version
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter to one version label, e.g. '1.0'.
            title: Version
          description: Filter to one version label, e.g. '1.0'.
        - name: plane
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^(design|execution)$
              - type: 'null'
            description: Filter to one plane (design | execution); default both.
            title: Plane
          description: Filter to one plane (design | execution); default both.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: wos-session
          in: cookie
          required: false
          schema:
            type: string
            title: Wos-Session
        - name: datalab_active_team
          in: cookie
          required: false
          schema:
            type: string
            title: Datalab Active Team
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    RunListResponse:
      properties:
        runs:
          items:
            $ref: '#/components/schemas/RunResponse'
          type: array
          title: Runs
        total:
          type: integer
          title: Total
      type: object
      required:
        - runs
        - total
      title: RunListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RunResponse:
      properties:
        id:
          type: integer
          title: Id
        processor_id:
          type: string
          title: Processor Id
          description: Public processor id (slug).
        version:
          type: string
          title: Version
          description: Pinned version label.
        plane:
          type: string
          enum:
            - design
            - execution
          title: Plane
        status:
          type: string
          enum:
            - queued
            - running
            - done
            - error
          title: Status
        error:
          anyOf:
            - $ref: '#/components/schemas/RunErrorResponse'
            - type: 'null'
        doc_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Doc Name
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
          description: APIRequest lookup key for the underlying inference request.
        scorecard:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Scorecard
        check_results:
          items:
            $ref: '#/components/schemas/CheckResultResponse'
          type: array
          title: Check Results
        flag_ids:
          items:
            type: integer
          type: array
          title: Flag Ids
        token_usage:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Token Usage
        turns:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Turns
          description: >-
            Agent-loop turns the run took (the substrate result's turn count,
            persisted at ingest). None for runs that never reached the loop or
            predate the column.
        started:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started
        finished:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished
        created:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created
      type: object
      required:
        - id
        - processor_id
        - version
        - plane
        - status
      title: RunResponse
      description: 'RunCard-shaped (snake_case): the drawer/board consume this.'
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    RunErrorResponse:
      properties:
        kind:
          type: string
          enum:
            - input
            - system
            - contract
          title: Kind
        message:
          type: string
          title: Message
      type: object
      required:
        - kind
        - message
      title: RunErrorResponse
    CheckResultResponse:
      properties:
        check_id:
          type: string
          title: Check Id
        name:
          type: string
          title: Name
        status:
          type: string
          enum:
            - pass
            - fail
            - warn
            - na
          title: Status
        blocking:
          type: boolean
          title: Blocking
        message:
          type: string
          title: Message
        locators:
          items:
            $ref: '#/components/schemas/Locator'
          type: array
          title: Locators
      type: object
      required:
        - check_id
        - name
        - status
        - blocking
        - message
      title: CheckResultResponse
    Locator:
      properties:
        run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Run Id
        doc_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Doc Name
        surface:
          anyOf:
            - $ref: '#/components/schemas/LocatorSurface'
            - type: 'null'
        block_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Block Id
          description: 'Path-shaped block id, production convention: /page/{n}/{type}/{i}.'
        cell:
          anyOf:
            - $ref: '#/components/schemas/LocatorCell'
            - type: 'null'
        word_range:
          anyOf:
            - prefixItems:
                - type: integer
                - type: integer
              type: array
              maxItems: 2
              minItems: 2
            - type: 'null'
          title: Word Range
        bbox:
          anyOf:
            - prefixItems:
                - type: number
                - type: number
                - type: number
                - type: number
              type: array
              maxItems: 4
              minItems: 4
            - type: 'null'
          title: Bbox
        field_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Field Path
          description: JSON pointer into the extraction result, e.g. /analytes/3/value.
        check_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Check Id
        rule_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Rule Id
        segment:
          anyOf:
            - type: string
            - type: 'null'
          title: Segment
        turn:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Turn
      additionalProperties: false
      type: object
      title: Locator
      description: |-
        The canonical reference shape (frontend spec §3, backend plan A3).

        Anchor (run_id/doc_name) → source chain (surface → block_id →
        cell/word_range/bbox) → semantic axis (field_path | check_id | rule_id |
        segment) → trace turn. Everything is optional; axes co-occur (an
        extraction citation = field_path + surface + block_id).
    LocatorSurface:
      properties:
        kind:
          type: string
          enum:
            - page
            - sheet
          title: Kind
        label:
          type: string
          title: Label
          description: Display label, e.g. 'page 3', 'Sheet1'.
        number:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Number
          description: >-
            0-indexed surface number at the API boundary (display convention is
            1-based — that belongs in `label`).
      additionalProperties: false
      type: object
      required:
        - kind
        - label
      title: LocatorSurface
      description: 'Source surface: a page (pdf/image) or a sheet (spreadsheet).'
    LocatorCell:
      properties:
        row:
          type: integer
          minimum: 0
          title: Row
        col:
          type: integer
          minimum: 0
          title: Col
      additionalProperties: false
      type: object
      required:
        - row
        - col
      title: LocatorCell
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````