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

# Get example status badge

> Get a sample status badge as SVG (no token). For live project badges use GET /v1/badge.svg.



## OpenAPI

````yaml /api-reference/api.json get /v1/badge-example.svg
openapi: 3.0.0
info:
  title: QA.tech API
  version: 1.0.0
  contact:
    name: QA.tech
    url: https://qa.tech
    email: support@qa.tech
  description: >-
    REST API for triggering and managing AI-powered test runs. Authenticate with
    a project API token (Authorization: Bearer <token>) found in Project
    Settings -> Integrations.
servers:
  - url: https://api.qa.tech
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Runs
  - name: Infrastructure
  - name: Test Cases
  - name: Application Builds
  - name: Status badge
  - name: Remote Tunnels
  - name: Chat
  - name: Applications
paths:
  /v1/badge-example.svg:
    get:
      tags:
        - Status badge
      summary: Get example status badge
      description: >-
        Get a sample status badge as SVG (no token). For live project badges use
        GET /v1/badge.svg.
      operationId: GetStatusBadgeExampleSvg
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/BadgeExampleSvgQuery'
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
      security:
        - {}
components:
  schemas:
    BadgeExampleSvgQuery:
      type: object
      required:
        - example
      properties:
        example:
          allOf:
            - $ref: '#/components/schemas/StatusBadgeExampleName'
          description: Example preset name. Required.
        label:
          type: string
        style:
          $ref: '#/components/schemas/StatusBadgeStyle'
        showDate:
          type: boolean
          description: When true, show relative time since last run.
        historyCount:
          type: integer
          format: int32
      description: >-
        Query parameters for GET /v1/badge-example.svg (deterministic sample
        badges for docs and demos; no project token).
    StatusBadgeExampleName:
      type: string
      enum:
        - failing
        - passing
        - pending
        - running
        - rainbow
        - partial
        - error
        - skipped
        - cancelled
        - mixed
        - trend-improving
        - trend-declining
        - trend-fluctuating
        - trend-stable
        - zero-tests
      description: Named presets for GET /v1/badge-example.svg (deterministic sample SVGs).
    StatusBadgeStyle:
      type: string
      enum:
        - minimal
        - standard
        - detailed
        - trend
      description: Display style of the status badge.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````