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

# Get a run item

> Return the item status and references to input, output, and partial output field revisions. Returns 404 if the item does not belong to this run.



## OpenAPI

````yaml /api-reference/openapi.json get /runs/{runId}/items/{itemId}
openapi: 3.1.0
info:
  description: >-
    Manage projects, datasets, labeling pipelines, and model training. **Beta:**
    endpoints, request and response shapes, and error contracts can change
    without notice or a backward-compatibility promise.
  title: Toloka Platform API
  version: 2.0.0
servers:
  - url: https://platform.toloka.ai/api/v2-beta
security:
  - apiKeyAuth: []
  - scopedTokenAuth: []
tags:
  - description: The authenticated API key owner.
    name: Account
  - description: A project is the container for pipelines, datasets, and files.
    name: Projects
  - description: Rows and typed fields. Field schemas are immutable once created.
    name: Datasets
  - description: Append rows to a dataset from a file.
    name: Dataset uploads
  - description: Read a dataset out as a file.
    name: Dataset exports
  - description: A pipeline is a graph of nodes that processes each dataset item.
    name: Pipelines
  - description: The nodes, connections, fields, and version of a pipeline graph.
    name: Pipeline graph
  - description: Execute a pipeline over a dataset and inspect each item.
    name: Runs
  - description: Per-node checks that a pipeline must pass before deployment.
    name: Checks
  - description: Named credentials available to pipeline code.
    name: Secrets
  - description: Project files available to pipeline code and labeling interfaces.
    name: Files
  - description: >-
      Global, read-only catalog of the models a synthetic generation node can
      use, with their budget bounds.
    name: Generation models
  - description: >-
      Global, read-only catalog of the expert audience: the values a node
      `audience` filter can use.
    name: Audience
  - description: >-
      Project lists of experts a node can take its workforce from with
      `audienceMode: service`. Available only to teams with the audience service
      enabled.
    name: Expert lists
  - description: >-
      Experts banned in a project: they cannot be invited and are removed from
      the work they are in. Available only to teams with expert bans enabled.
    name: Expert ban list
  - description: Global, read-only base model catalog.
    name: Base models
  - description: Project-owned mutable model-training drafts.
    name: Trainings
  - description: Project-owned Models and immutable Model Versions.
    name: Models
  - name: Batch inference
paths:
  /runs/{runId}/items/{itemId}:
    get:
      tags:
        - Runs
      summary: Get a run item
      description: >-
        Return the item status and references to input, output, and partial
        output field revisions. Returns 404 if the item does not belong to this
        run.
      operationId: getPipelineRunItem
      parameters:
        - in: path
          name: runId
          required: true
          schema:
            $ref: '#/components/schemas/RunId'
        - in: path
          name: itemId
          required: true
          schema:
            $ref: '#/components/schemas/RunItemId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunItem'
          description: Run item
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
        '404':
          description: Run item not found
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
        '429':
          description: Rate limit exceeded
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
      x-codeSamples:
        - label: TypeScript SDK
          lang: typescript
          source: |
            import { createClient } from "@toloka-platform/sdk";

            const client = createClient({
              baseUrl: "https://platform.toloka.ai",
              apiKey: process.env.TOLOKA_API_KEY!,
            });

            const item = await client.runs.getItem({
              runId: "plr.019a0000-0000-7000-8000-000000000001",
              itemId: "plri.019a0000-0000-7000-8000-000000000001"
            });
            console.log(item);
components:
  schemas:
    RunId:
      description: Pipeline run ID with prefix `plr.`.
      pattern: >-
        ^plr\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
      type: string
    RunItemId:
      description: Run item ID with prefix `plri.`.
      pattern: >-
        ^plri\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
      type: string
    RunItem:
      description: One item processed by a pipeline run.
      properties:
        createdAt:
          description: Time the run item was created, as an ISO 8601 timestamp.
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
        datasetItemId:
          $ref: '#/components/schemas/DatasetItemId'
        id:
          $ref: '#/components/schemas/RunItemId'
        index:
          description: Index of this item within the run.
          maximum: 9007199254740991
          minimum: 0
          type: integer
        runId:
          $ref: '#/components/schemas/RunId'
        state:
          $ref: '#/components/schemas/RunItemState'
        updatedAt:
          description: Time the run item was last updated, as an ISO 8601 timestamp.
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          type: string
      required:
        - id
        - runId
        - datasetItemId
        - index
        - createdAt
        - updatedAt
        - state
      type: object
    DatasetItemId:
      description: Dataset item ID with prefix `di.`.
      pattern: >-
        ^di\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
      type: string
    RunItemState:
      description: >-
        The current state and pipeline-level input, output and partial output
        revision references for a run item.
      properties:
        error:
          description: >-
            Failure message when available; absent or null when no failure
            message is recorded.
          type:
            - string
            - 'null'
        finishedAt:
          anyOf:
            - format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
              type: string
            - type: 'null'
          description: >-
            Time processing ended, as an ISO 8601 timestamp, or null while
            unfinished.
        input:
          anyOf:
            - properties:
                fieldProxyRevisions:
                  additionalProperties:
                    type: string
                  description: >-
                    Dataset field revision IDs keyed by the field IDs used in
                    the pipeline graph.
                  propertyNames:
                    type: string
                  type: object
              required:
                - fieldProxyRevisions
              type: object
            - type: 'null'
          description: >-
            Input field revision IDs selected for this item, or null before
            inputs are available.
        output:
          anyOf:
            - properties:
                fieldProxyRevisions:
                  additionalProperties:
                    type: string
                  description: >-
                    Dataset field revision IDs keyed by the field IDs used in
                    the pipeline graph.
                  propertyNames:
                    type: string
                  type: object
              required:
                - fieldProxyRevisions
              type: object
            - type: 'null'
          description: >-
            The End field revisions of a completed item. Null for other
            statuses.
        partialOutput:
          anyOf:
            - properties:
                fieldProxyRevisions:
                  additionalProperties:
                    type: string
                  description: >-
                    Dataset field revision IDs keyed by the field IDs used in
                    the pipeline graph.
                  propertyNames:
                    type: string
                  type: object
              required:
                - fieldProxyRevisions
              type: object
            - type: 'null'
          description: >-
            For a canceled item, revisions of End-node fields with values at
            cancellation, including fields passed through from the input. Null
            for other statuses or when no node wrote an End-node field.
        startedAt:
          anyOf:
            - format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
              type: string
            - type: 'null'
          description: >-
            Time processing started, as an ISO 8601 timestamp, or null before it
            starts.
        status:
          description: >-
            Item state: `idle` before processing, `in_progress` while
            processing, `completed`, `failed`, `canceled`, or `paused`.
          enum:
            - idle
            - in_progress
            - completed
            - failed
            - canceled
            - paused
          type: string
      required:
        - status
        - startedAt
        - finishedAt
        - input
        - output
        - partialOutput
      type: object
  headers:
    RateLimit-Limit:
      description: The maximum number of requests allowed in the current window.
      schema:
        type: integer
    RateLimit-Policy:
      description: The rate limit policy (e.g., "60;w=60").
      schema:
        type: string
    RateLimit-Remaining:
      description: The number of requests remaining in the current window.
      schema:
        type: integer
    RateLimit-Reset:
      description: The number of seconds until the current window resets.
      schema:
        type: integer
    X-Request-Id:
      description: >-
        The request id: the X-Request-Id you sent when it is 1-128 characters of
        letters, digits, ".", "_" or "-", otherwise a generated UUID. Present on
        every response, including errors; quote it when reporting a problem.
      schema:
        type: string
  securitySchemes:
    apiKeyAuth:
      description: >-
        Enter `ApiKey <your-api-key>` in Authorization, including the `ApiKey `
        prefix. In cURL and Python samples, `<api-key>` means this full value.
        The TypeScript SDK adds the prefix for you.
      in: header
      name: Authorization
      type: apiKey
    scopedTokenAuth:
      description: >-
        Enter the project-scoped token as `pst_...` in X-Scoped-Token, without
        an `ApiKey ` prefix. Create a token with POST
        /projects/{projectId}/tokens.
      in: header
      name: X-Scoped-Token
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.