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

# Skip a test run

> Marks the Empirical check run on a commit as skipped. Callers authenticate with a project API key.



## OpenAPI

````yaml /api-reference/openapi.generated.json post /api/v1/test-runs/skip
openapi: 3.1.0
info:
  title: Empirical API
  version: 1.0.0
  description: Programmatic access to Empirical test runs, snoozes, and more.
  contact:
    name: Empirical
    url: https://empirical.run
servers:
  - url: https://api.empirical.run
security:
  - Bearer: []
tags:
  - name: Test Runs
    description: Trigger, list, and inspect end-to-end test runs.
  - name: Test Cases
    description: >-
      Browse the Playwright test cases synced from a project's repository and
      manage their tags.
  - name: Environments
    description: >-
      Named deployment targets (slug + Playwright project filters) a project's
      tests run against.
  - name: Snoozes
    description: Temporarily suppress known test failures for specific Playwright tests.
  - name: Analytics
    description: Aggregated test-run, test-count and test-case analytics for a project.
  - name: Resources
    description: >-
      Project file resources — uploads stored in R2 and external link-type files
      (e.g. Google Sheets).
  - name: Badges
    description: Public README status badge images (SVG) for project environments.
paths:
  /api/v1/test-runs/skip:
    post:
      tags:
        - Test Runs
      summary: Skip a test run
      description: >-
        Marks the Empirical check run on a commit as skipped. Callers
        authenticate with a project API key.
      operationId: skipTestRun
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkipTestRunRequest'
      responses:
        '200':
          description: The skipped check run.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkipTestRunResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SkipTestRunRequest:
      type: object
      properties:
        repo:
          type: string
          description: Full repository name in owner/repo format.
        commit_sha:
          type: string
          description: Full Git commit SHA.
        environment:
          type: string
          description: Environment slug.
      required:
        - repo
        - commit_sha
    SkipTestRunResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            check_run_id:
              type: number
              nullable: true
              description: >-
                ID of the GitHub check run created as skipped, or null if no
                GitHub reporter app is installed for the repo.
            status:
              type: string
              description: The status of the test run.
          required:
            - check_run_id
            - status
        error:
          nullable: true
          description: Always null for success responses.
      required:
        - data
        - error
    ErrorResponse:
      type: object
      properties:
        data:
          nullable: true
          description: Always null for error responses.
        error:
          type: object
          properties:
            message:
              type: string
              description: Human-readable error message.
          required:
            - message
          description: Error details.
      required:
        - data
        - error
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````