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

# List validation runs

> List the validation runs for one of your endpoints, newest first, with suite, result, trigger and errors. Requires an API token with endpoints:read.



## OpenAPI

````yaml api-reference/openapi.json GET /v1/provider/endpoints/{id}/validations
openapi: 3.1.0
info:
  title: TokenChange API
  description: >-
    Manage TokenChange resources with a gateway API token. Errors share one
    envelope: `{"error":{"type","code","message"}}`.
  license:
    name: ''
  version: '1'
servers:
  - url: https://api.tokenchange.io
security: []
tags:
  - name: models
    description: Catalog models and endpoints
  - name: keys
    description: Inference API keys
  - name: usage
    description: Usage analytics
  - name: billing
    description: Credit balance and history
  - name: provider
    description: Your provider account, endpoints, validations and earnings
paths:
  /v1/provider/endpoints/{id}/validations:
    get:
      tags:
        - provider
      operationId: list_validations
      parameters:
        - name: id
          in: path
          description: Endpoint id
          required: true
          schema:
            type: string
        - name: limit
          in: query
          description: Page size, 1–100 (default 20).
          required: false
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: cursor
          in: query
          description: '`next_cursor` from the previous page.'
          required: false
          schema:
            type: string
        - name: suite
          in: query
          description: Only runs of this suite.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationRunList'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
        - bearer:
            - endpoints:read
components:
  schemas:
    ValidationRunList:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ValidationRun'
        next_cursor:
          type:
            - string
            - 'null'
    ErrorBody:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
    ValidationRun:
      type: object
      required:
        - id
        - suite
        - trigger
        - status
        - metrics
        - config_version
        - started_at
        - finished_at
      properties:
        config_version:
          type: integer
          format: int32
        error:
          type:
            - string
            - 'null'
        finished_at:
          type: string
        id:
          type: string
        metrics:
          type: object
          additionalProperties:
            type: string
          propertyNames:
            type: string
        started_at:
          type: string
        status:
          $ref: '#/components/schemas/ValidationStatus'
        suite:
          type: string
        trigger:
          $ref: '#/components/schemas/ValidationTrigger'
    ErrorDetail:
      type: object
      required:
        - type
        - code
        - message
      properties:
        code:
          type: string
        message:
          type: string
        resource_id:
          type:
            - string
            - 'null'
        type:
          type: string
    ValidationStatus:
      type: string
      enum:
        - passed
        - failed
        - unreachable
        - timed_out
        - skipped
    ValidationTrigger:
      type: string
      enum:
        - admission
        - recheck
        - manual
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A gateway API token (`tcg_…`) created in the dashboard

````

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