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

# Get Run

> Get Run



## OpenAPI

````yaml /api-reference/openapi.json get /v1/jobs/runs/{run_id}
openapi: 3.1.0
info:
  title: Nimble SDK
  version: 1.0.0
  description: The AI-Native SDK for Real-Time Web Data at scale
servers:
  - url: https://sdk.nimbleway.com
security: []
paths:
  /v1/jobs/runs/{run_id}:
    get:
      tags:
        - Jobs
      summary: Get Run
      description: Get Run
      operationId: get_run_v1_jobs_runs__run_id__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
        - name: token
          in: cookie
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobRunDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    JobRunDetail:
      properties:
        id:
          type: string
          pattern: ^run_[1-9][0-9]*$
          title: Id
          description: Unique run identifier (run_<n>).
        status:
          type: string
          enum:
            - PENDING
            - RUNNING
            - SUCCESS
            - FAILED
            - CANCELLED
            - TIMEOUT
            - WARNING
          title: Status
          description: Current run status.
        triggered_by:
          type: string
          enum:
            - schedule
            - manual
          title: Triggered By
          description: 'What triggered the run: ''schedule'' or ''manual''.'
        job:
          $ref: '#/components/schemas/JobContext'
          description: Context of the job this run belongs to.
        summary:
          anyOf:
            - $ref: '#/components/schemas/JobRunSummary'
            - type: 'null'
          description: Aggregate metrics for the run.
        inputs_sample:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Inputs Sample
          description: Sample of the run's input records.
        error:
          anyOf:
            - $ref: '#/components/schemas/JobRunError'
            - type: 'null'
          description: Error details when the run failed.
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
          description: When the run started executing.
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
          description: When the run finished.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the run was created.
      type: object
      required:
        - id
        - status
        - triggered_by
        - job
        - created_at
      title: JobRunDetail
      description: Full detail for a single run.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JobContext:
      properties:
        id:
          type: string
          pattern: ^job_[1-9][0-9]*$
          title: Id
          description: Unique job identifier (job_<n>).
        name:
          type: string
          title: Name
          description: Internal job name.
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
          description: Human-friendly job name shown in the UI.
        agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Name
          description: Name of the agent this job runs.
        schedule:
          anyOf:
            - $ref: '#/components/schemas/JobSchedule'
            - type: 'null'
          description: Cron schedule controlling automatic runs.
      type: object
      required:
        - id
        - name
      title: JobContext
      description: Minimal job context embedded in a run detail.
    JobRunSummary:
      properties:
        input_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Input Count
          description: Number of input records processed.
        result_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Result Count
          description: Number of result records produced.
        match_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Match Rate
          description: >-
            Fraction of inputs that produced a result (result_count /
            input_count), from 0.0 to 1.0.
      type: object
      title: JobRunSummary
      description: Aggregate metrics for a run.
    JobRunError:
      properties:
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: Human-readable error message.
        step:
          anyOf:
            - type: string
            - type: 'null'
          title: Step
          description: Pipeline step where the error occurred.
        errors_sample:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Errors Sample
          description: Sample of individual error records from the run.
      type: object
      title: JobRunError
      description: Error details for a failed run.
    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
    JobSchedule:
      properties:
        cron:
          type: string
          title: Cron
          description: Cron expression defining when the job runs.
        enabled:
          type: boolean
          title: Enabled
          description: Whether the schedule is currently active.
      type: object
      required:
        - cron
        - enabled
      title: JobSchedule
      description: Cron-based schedule controlling when a job runs automatically.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````