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

# Update benchmark

> Update benchmark metadata or tasks.

Update the name, description, tasks, or environment reference of a benchmark.


## OpenAPI

````yaml PATCH /benchmarks/{id}
openapi: 3.1.0
info:
  title: Verial API
  version: 1.0.0
  description: >-
    Healthcare simulated environment and benchmark platform. Create simulated
    healthcare environments, run benchmarks against AI agents, and verify
    results across FHIR, HL7, fax, voice, and other clinical interfaces.
servers:
  - url: https://api.verial.ai
security:
  - BearerAuth: []
tags:
  - name: Environments
    description: Simulated healthcare environment management.
  - name: Benchmarks
    description: Benchmark definitions with tasks and verification criteria.
  - name: Runs
    description: Benchmark execution and results.
  - name: Tasks
    description: Individual task runs within a benchmark.
  - name: Datasets
    description: Synthetic patient data management.
  - name: FHIR
    description: FHIR R4 simulator endpoints.
  - name: HL7
    description: HL7v2 simulator endpoints.
  - name: Fax
    description: Fax simulator endpoints.
  - name: Message
    description: SMS/text message simulator endpoints.
  - name: Clearinghouse
    description: Insurance clearinghouse simulator endpoints.
  - name: Payer
    description: Insurance payer simulator endpoints.
  - name: CDS Hooks
    description: CDS Hooks clinical decision support simulator.
paths:
  /benchmarks/{id}:
    patch:
      tags:
        - Benchmarks
      summary: Update benchmark
      description: Update benchmark details.
      operationId: updateBenchmark
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Benchmark ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBenchmarkRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Benchmark'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - BearerAuth: []
components:
  schemas:
    UpdateBenchmarkRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 200
        description:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
        timeout:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        concurrency:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        overrides:
          anyOf:
            - type: object
              propertyNames:
                type: string
              additionalProperties: {}
            - type: 'null'
    Benchmark:
      type: object
      properties:
        id:
          type: string
          format: date-time
        name:
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
        timeout:
          type: number
        concurrency:
          type: number
        created_at:
          type: string
          format: date-time
      required:
        - id
        - name
        - description
        - timeout
        - concurrency
        - created_at
  responses:
    Unauthorized:
      description: Missing or invalid authentication.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key passed as a Bearer token.

````