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

# Get Suite

> Get one suite with its settings and its scenarios in run order.



## OpenAPI

````yaml https://api.usetuner.ai/public/openapi.json get /api/v1/workspaces/{workspace_id}/agents/{agent_id}/suites/{suite_id}
openapi: 3.1.0
info:
  title: Tuner API
  description: >-
    Send calls to Tuner and manage agents, evaluation settings, simulations and
    workspace settings.
  version: 1.0.0
servers:
  - url: https://api.usetuner.ai
security: []
tags:
  - name: calls
    description: Send call recordings and transcripts to Tuner and retrieve call details.
    x-group: Calls
  - name: workspaces
    description: >-
      Manage your workspaces, the API keys used to access them, and their PII
      redaction and data retention settings.
    x-group: Workspaces
  - name: simulation
    description: >-
      Run simulated calls against your agents, manage simulation profiles, and
      look up the caller personas and background-noise environments they can
      use.
    x-group: Simulation
  - name: scenarios
    description: Manage the test scenarios that simulated calls follow.
    x-group: Scenarios
  - name: replay-testing
    description: >-
      Replay recorded caller audio against a new version of your agent: upload
      or extract voice clips from real calls, then run them as replay runs.
    x-group: Replay Testing
  - name: agents
    description: Create, update and list the voice agents connected to your workspace.
    x-group: Agents
  - name: agent-settings
    description: >-
      Configure how Tuner evaluates an agent's calls, including evaluations,
      call outcomes, intents, data extraction, rules and alerts, plus the
      agent's SIP and outbound call configuration.
    x-group: Agent Settings
  - name: traces
    description: Send OpenTelemetry traces from your agent to Tuner.
    x-group: Traces
  - name: providers
    description: List the voice providers Tuner can connect to.
    x-group: Providers
paths:
  /api/v1/workspaces/{workspace_id}/agents/{agent_id}/suites/{suite_id}:
    get:
      tags:
        - simulation
      summary: Get Suite
      description: Get one suite with its settings and its scenarios in run order.
      operationId: >-
        get_suite_api_v1_workspaces__workspace_id__agents__agent_id__suites__suite_id__get
      parameters:
        - name: suite_id
          in: path
          required: true
          schema:
            type: integer
            description: ID of the suite.
            title: Suite Id
          description: ID of the suite.
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Tuner's numeric agent ID, or your Agent ID from Agent Settings >
              Agent Connection. Digits-only values are read as the numeric ID.
            title: Agent Id
          description: >-
            Tuner's numeric agent ID, or your Agent ID from Agent Settings >
            Agent Connection. Digits-only values are read as the numeric ID.
        - name: workspace_id
          in: path
          required: true
          schema:
            type: integer
            description: Workspace ID. Find this in Workspace > General Settings.
            title: Workspace Id
          description: Workspace ID. Find this in Workspace > General Settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuiteDetailResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              example:
                code: invalid_api_key
                detail: Not authenticated
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have access to this workspace.
          content:
            application/json:
              example:
                code: insufficient_access
                detail: User does not have access to workspace 42
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: >-
            The agent was not found, or the suite does not exist, was deleted,
            or belongs to another agent.
          content:
            application/json:
              examples:
                Agent not found:
                  summary: Agent not found
                  value:
                    code: agent_not_found
                    detail: Agent with ID 17 not found
                Suite not found:
                  summary: Suite not found
                  value:
                    code: suite_not_found
                    detail: Suite 9 not found for this agent.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Bearer: []
components:
  schemas:
    SuiteDetailResponse:
      properties:
        id:
          type: integer
          title: Id
          description: Suite ID.
          examples:
            - 5
        name:
          type: string
          title: Name
          description: Suite name.
          examples:
            - Smoke
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the suite was created.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: When the suite was last changed.
        scenario_count:
          type: integer
          title: Scenario Count
          description: Number of scenarios in the suite.
          examples:
            - 12
        settings:
          $ref: '#/components/schemas/SuiteSettingsResponse'
          description: Run settings the suite uses.
        profile_deleted:
          type: boolean
          title: Profile Deleted
          description: >-
            `true` when the suite's simulation profile has been deleted. Running
            the suite then fails until a different profile is set in the suite's
            settings in the Tuner dashboard.
        is_running:
          type: boolean
          title: Is Running
          description: '`true` while the suite''s latest run has not settled.'
        last_run:
          anyOf:
            - $ref: '#/components/schemas/SuiteLastRun'
            - type: 'null'
          description: The most recent run of this suite, or `null` if it has never run.
        scenarios:
          items:
            $ref: '#/components/schemas/SuiteScenarioItem'
          type: array
          title: Scenarios
          description: The suite's scenarios, in the order they run.
      type: object
      required:
        - id
        - name
        - created_at
        - updated_at
        - scenario_count
        - settings
        - profile_deleted
        - is_running
        - last_run
        - scenarios
      title: SuiteDetailResponse
      description: A suite with its scenarios in run order.
    ErrorResponse:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: Machine-readable error code. Branch on this, not on `detail`.
        detail:
          type: string
          title: Detail
          description: Human-readable description of what went wrong.
      type: object
      required:
        - code
        - detail
      title: ErrorResponse
      description: Error body returned when a request fails.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SuiteSettingsResponse:
      properties:
        max_call_duration_minutes:
          type: integer
          title: Max Call Duration Minutes
          description: Maximum length of each simulated call, in minutes.
          examples:
            - 3
        caller_persona_id:
          type: integer
          title: Caller Persona Id
          description: ID of the caller persona.
          examples:
            - 1
        caller_persona:
          anyOf:
            - $ref: '#/components/schemas/CallerPersonaResponse'
            - type: 'null'
          description: >-
            The caller persona: the language and accent the simulated caller
            uses.
        simulation_profile_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Simulation Profile Id
          description: ID of the simulation profile, or `null` when the suite uses none.
          examples:
            - 12
        simulation_profile_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Simulation Profile Name
          description: Name of the simulation profile, or `null` when the suite uses none.
          examples:
            - Returning customer
        noise_environment_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Noise Environment Id
          description: ID of the background-noise environment, or `null` for no noise.
          examples:
            - 2
        noise_environment:
          anyOf:
            - $ref: '#/components/schemas/NoiseEnvironmentResponse'
            - type: 'null'
          description: The background-noise environment, or `null` for no noise.
        noise_intensity:
          anyOf:
            - type: number
            - type: 'null'
          title: Noise Intensity
          description: Gain applied to the background noise (0.5, 1.0 or 1.5), or `null`.
          examples:
            - 1
      type: object
      required:
        - max_call_duration_minutes
        - caller_persona_id
        - caller_persona
        - simulation_profile_id
        - simulation_profile_name
        - noise_environment_id
        - noise_environment
        - noise_intensity
      title: SuiteSettingsResponse
      description: The run settings a suite uses every time it runs.
    SuiteLastRun:
      properties:
        id:
          type: integer
          title: Id
          description: ID of the run.
          examples:
            - 88
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the run was started.
        status:
          type: string
          title: Status
          description: >-
            Run status: `pending`, `running`, `analyzing`, `complete`,
            `partial`, `failed`, `unreported`, `analysis_failed` or `canceled`.
          examples:
            - complete
        in_progress:
          type: boolean
          title: In Progress
          description: >-
            `true` while the run has not settled (`pending`, `running` or
            `analyzing`).
        passed_count:
          type: integer
          title: Passed Count
          description: Number of scenarios that passed.
          examples:
            - 10
        failed_count:
          type: integer
          title: Failed Count
          description: Number of scenarios that failed.
          examples:
            - 2
        in_progress_count:
          type: integer
          title: In Progress Count
          description: Number of scenarios still waiting for results.
          examples:
            - 0
      type: object
      required:
        - id
        - created_at
        - status
        - in_progress
        - passed_count
        - failed_count
        - in_progress_count
      title: SuiteLastRun
      description: The most recent run started from a suite.
    SuiteScenarioItem:
      properties:
        id:
          type: integer
          title: Id
          description: Scenario ID.
          examples:
            - 31
        name:
          type: string
          title: Name
          description: Scenario name.
          examples:
            - Caller asks to reschedule
        type:
          type: string
          enum:
            - routine
            - pressure
          title: Type
          description: '`routine` or `pressure`.'
        last_result:
          anyOf:
            - $ref: '#/components/schemas/Verdict'
            - type: 'null'
          description: >-
            Outcome of this scenario in the suite's latest run: `passed`,
            `failed`, `not_connected`, `platform_error`, `unreported`,
            `analysis_failed`, `ran`, `pending` or `canceled`. Null if the suite
            has never run or the latest run did not include this scenario.
      type: object
      required:
        - id
        - name
        - type
        - last_result
      title: SuiteScenarioItem
      description: A scenario in a suite.
    ErrorCode:
      type: string
      enum:
        - invalid_api_key
        - insufficient_access
        - insufficient_credits
        - workspace_not_found
        - agent_not_found
        - scenario_not_found
        - suite_not_found
        - suite_name_taken
        - suite_full
        - suite_has_no_scenarios
        - suite_profile_deleted
        - run_not_found
        - no_scenarios_for_tag
        - run_too_large
        - unresolved_name
        - run_in_flight
        - simulation_not_configured
        - run_start_failed
        - rate_limited
        - validation_error
        - internal_error
      title: ErrorCode
      description: Machine-readable `code` on every error response.
    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
    CallerPersonaResponse:
      properties:
        id:
          type: integer
          title: Id
          description: >-
            Persona ID. Pass as `caller_persona_id` when creating a simulation
            run.
          examples:
            - 1
        name:
          type: string
          title: Name
          description: Display name of the persona.
          examples:
            - English (British)
        language:
          type: string
          title: Language
          description: Language name.
          examples:
            - English
        language_code:
          type: string
          title: Language Code
          description: Language code.
          examples:
            - en
        accent:
          type: string
          title: Accent
          description: Accent identifier.
          examples:
            - British
        label:
          type: string
          title: Label
          description: Short accent label for display.
          examples:
            - UK
        country_code:
          type: string
          title: Country Code
          description: ISO 3166-1 alpha-2 country code of the accent.
          examples:
            - GB
        code:
          type: string
          title: Code
          description: >-
            Persona code, `<language_code>-<country_code>`. Accepted as
            `language` when starting a run.
          readOnly: true
          examples:
            - en-GB
      type: object
      required:
        - id
        - name
        - language
        - language_code
        - accent
        - label
        - country_code
        - code
      title: CallerPersonaResponse
      description: >-
        A caller persona: the language and accent a simulated caller speaks
        with.
    NoiseEnvironmentResponse:
      properties:
        id:
          type: integer
          title: Id
          description: >-
            Environment ID. Pass as `noise_environment_id` when creating a
            simulation run.
          examples:
            - 1
        name:
          type: string
          title: Name
          description: Display name of the environment.
          examples:
            - Café
        slug:
          type: string
          title: Slug
          description: Stable text identifier of the environment.
          examples:
            - cafe
      type: object
      required:
        - id
        - name
        - slug
      title: NoiseEnvironmentResponse
      description: One selectable background environment.
    Verdict:
      type: string
      enum:
        - passed
        - failed
        - not_connected
        - setup_error
        - platform_error
        - unreported
        - analysis_failed
        - ran
        - pending
        - canceled
      title: Verdict
  securitySchemes:
    Bearer:
      type: http
      description: >-
        Use Tuner API key (tr_api_...) or user session token. Find your API key
        in Workspace Settings > API Keys.
      scheme: bearer

````

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