> ## 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 Processors

> Platform processors + the team's own, with latest version, run counts
(split by plane), the windowed pass_rate, and the caller's proactive
``design_access`` capability flag (closed-beta allowlist).

Run/flag counts are the CALLER team's (platform processors are shared
definitions; their activity is always per-team).



## OpenAPI

````yaml https://www.datalab.to/openapi.json get /api/v1/agent-studio/processors
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:
    get:
      tags:
        - agent-studio
      summary: List Processors
      description: |-
        Platform processors + the team's own, with latest version, run counts
        (split by plane), the windowed pass_rate, and the caller's proactive
        ``design_access`` capability flag (closed-beta allowlist).

        Run/flag counts are the CALLER team's (platform processors are shared
        definitions; their activity is always per-team).
      operationId: list_processors_api_v1_agent_studio_processors_get
      parameters:
        - 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/ProcessorListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ProcessorListResponse:
      properties:
        processors:
          items:
            $ref: '#/components/schemas/ProcessorSummaryResponse'
          type: array
          title: Processors
        total:
          type: integer
          title: Total
        design_access:
          type: boolean
          title: Design Access
          description: >-
            Whether the CALLER's team may use the DESIGN plane (sessions /
            start-from-scratch) — the closed-beta allowlist
            (access.has_design_plane_access) exposed PROACTIVELY so the UI can
            hide design affordances instead of dead-ending on the 403. The
            session routes' gate stays the enforcement.
          default: true
      type: object
      required:
        - processors
        - total
      title: ProcessorListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProcessorSummaryResponse:
      properties:
        id:
          type: string
          title: Id
          description: Public processor id (slug) used in processor=<id>@<version>.
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        origin:
          type: string
          enum:
            - platform
            - team
          title: Origin
        base_profile:
          anyOf:
            - type: string
            - type: 'null'
          title: Base Profile
        output_shape:
          anyOf:
            - type: string
            - type: 'null'
          title: Output Shape
          description: Output shape of the latest version, if any.
        latest_version:
          anyOf:
            - $ref: '#/components/schemas/VersionResponse'
            - type: 'null'
        published_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Published Version
          description: Label of the newest published version, if any.
        run_count:
          type: integer
          title: Run Count
          description: >-
            The caller team's total run count across BOTH planes (kept as the
            pre-split total for compatibility).
          default: 0
        execution_run_count:
          type: integer
          title: Execution Run Count
          description: The caller team's execution-plane run count.
          default: 0
        design_run_count:
          type: integer
          title: Design Run Count
          description: The caller team's design-plane run count.
          default: 0
        pass_rate:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Pass Rate
          description: >-
            Fraction of the caller team's terminal execution-plane runs that
            passed, over the newest 50 terminal execution runs (the window
            matches the UI's hydrated runs page). A run passes when its status
            is 'done' — by the error taxonomy a finished run with a failing
            BLOCKING check terminalizes as a contract error, so 'done' means
            every blocking check passed. None (never fabricated) when the team
            has no terminal execution runs.
        open_flag_count:
          type: integer
          title: Open Flag Count
          default: 0
        created:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created
        updated:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated
      type: object
      required:
        - id
        - name
        - description
        - origin
      title: ProcessorSummaryResponse
    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
    VersionResponse:
      properties:
        label:
          type: string
          title: Label
        state:
          type: string
          enum:
            - draft
            - committed
            - published
          title: State
        contract:
          $ref: '#/components/schemas/ContractModel'
        checks:
          items:
            $ref: '#/components/schemas/CheckSpecModel'
          type: array
          title: Checks
        caused_by:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Caused By
        created:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created
      type: object
      required:
        - label
        - state
        - contract
        - checks
      title: VersionResponse
    ContractModel:
      properties:
        goal:
          type: string
          title: Goal
        output_shape:
          type: string
          enum:
            - parse
            - json
            - jats
            - wcag
            - segment
          title: Output Shape
        output_schema:
          anyOf:
            - type: string
            - type: 'null'
          title: Output Schema
        rules:
          items:
            $ref: '#/components/schemas/RuleFragmentModel'
          type: array
          title: Rules
        parse_params:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Parse Params
        knobs:
          anyOf:
            - $ref: '#/components/schemas/KnobsModel'
            - type: 'null'
      type: object
      required:
        - goal
        - output_shape
      title: ContractModel
      description: The freezable record a version snapshots (contract JSONB).
    CheckSpecModel:
      properties:
        id:
          type: string
          title: Id
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
          default: ''
        kind:
          type: string
          enum:
            - code
            - judge
          title: Kind
        blocking:
          type: boolean
          title: Blocking
          default: false
        source:
          type: string
          enum:
            - base
            - catalog
            - user
          title: Source
          default: base
        modified_from_base:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Modified From Base
      type: object
      required:
        - id
        - label
        - kind
      title: CheckSpecModel
      description: One verifier in the contract (frontend CheckSpec, snake_case).
    RuleFragmentModel:
      properties:
        id:
          type: string
          title: Id
        text:
          type: string
          title: Text
        source:
          type: string
          enum:
            - base
            - agent
            - user
          title: Source
          default: user
      type: object
      required:
        - id
        - text
      title: RuleFragmentModel
    KnobsModel:
      properties:
        max_turns:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Max Turns
        timeout_s:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Timeout S
        model:
          anyOf:
            - type: string
            - type: 'null'
          title: Model
      type: object
      title: KnobsModel
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````