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

# Start New Run

> Start a new simulation run for a dataset.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/simulation/datasets/{dataset_id}/runs
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/simulation/datasets/{dataset_id}/runs:
    post:
      tags:
        - Simulation
      summary: Start New Run
      description: Start a new simulation run for a dataset.
      operationId: core_api_v1_controllers_simulation_start_new_run
      parameters:
        - in: path
          name: dataset_id
          schema:
            title: Dataset Id
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SimulationRunStartIn'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimulationRunOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    SimulationRunStartIn:
      description: Schema for starting a simulation run via the v1 API.
      properties:
        agent_id:
          title: Agent Id
          type: string
      required:
        - agent_id
      title: SimulationRunStartIn
      type: object
    SimulationRunOut:
      description: Response schema for simulation runs.
      properties:
        object:
          default: simulation_run
          title: Object
          type: string
        id:
          title: Id
          type: string
        dataset_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Dataset Id
        dataset_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Dataset Name
        agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Id
        agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Name
        status:
          title: Status
          type: string
        total_tests:
          default: 0
          title: Total Tests
          type: integer
        passed_tests:
          default: 0
          title: Passed Tests
          type: integer
        failed_tests:
          default: 0
          title: Failed Tests
          type: integer
        success_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Success Rate
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
      required:
        - id
        - status
      title: SimulationRunOut
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````