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

# Trigger Run



## OpenAPI

````yaml /api-reference/openapi.json post /v2/jobs/{job_id}/runs
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:
  /v2/jobs/{job_id}/runs:
    post:
      tags:
        - Jobs
      summary: Trigger Run
      operationId: trigger_job_run_public_v2_api_v2_public_jobs__job_id__runs_post
      parameters:
        - in: path
          name: job_id
          required: true
          schema:
            title: Job Id
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobRunPublicV2'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    JobRunPublicV2:
      description: A single execution of a job.
      properties:
        created_at:
          description: When the run was created.
          format: date-time
          title: Created At
          type: string
        finished_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When the run finished.
          title: Finished At
        id:
          description: Unique run identifier (run_<n>).
          pattern: ^run_[1-9][0-9]*$
          title: Id
          type: string
        input_count:
          anyOf:
            - type: integer
            - type: 'null'
          description: Number of input records processed.
          title: Input Count
        job_id:
          description: Identifier of the job this run belongs to.
          pattern: ^job_[1-9][0-9]*$
          title: Job Id
          type: string
        result_count:
          anyOf:
            - type: integer
            - type: 'null'
          description: Number of result records produced.
          title: Result Count
        started_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When the run started executing.
          title: Started At
        status:
          description: Current run status.
          enum:
            - PENDING
            - RUNNING
            - SUCCESS
            - FAILED
            - CANCELLED
            - TIMEOUT
            - WARNING
          title: Status
          type: string
        triggered_by:
          description: 'What triggered the run: ''schedule'' or ''manual''.'
          enum:
            - schedule
            - manual
          title: Triggered By
          type: string
      required:
        - id
        - job_id
        - status
        - triggered_by
        - created_at
      title: JobRunPublicV2
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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