> ## 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 issue

> Fetches a single issue by its short ID, including its tags and the recent run test cases where it was detected (newest first). Use the occurrences' `runTestCaseShortId` with `get_run_test_case` to inspect what the agent saw.



## OpenAPI

````yaml /api-reference/api.json get /v1/issues/{shortId}
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: API for triggering and managing AI-powered test runs
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
  - name: Features
  - name: Metrics
  - name: Release Checks
  - name: Projects
  - name: Knowledge
  - name: Rules
  - name: Issues
paths:
  /v1/issues/{shortId}:
    get:
      tags:
        - Issues
      summary: Get issue
      description: >-
        Fetches a single issue by its short ID, including its tags and the
        recent run test cases where it was detected (newest first). Use the
        occurrences' `runTestCaseShortId` with `get_run_test_case` to inspect
        what the agent saw.
      operationId: GetIssue
      parameters:
        - name: shortId
          in: path
          required: true
          schema:
            type: string
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/GetIssueQuery'
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetIssueResponse'
components:
  schemas:
    GetIssueQuery:
      type: object
      properties:
        projectShortId:
          allOf:
            - $ref: '#/components/schemas/ProjectShortId'
          description: >-
            Target a specific project by its prefixed short ID
            (proj-slug_shortId or proj_shortId), as returned by the projects
            API. Required for organization-scoped API keys; project-scoped keys
            may only pass their own project's short ID.
    GetIssueResponse:
      type: object
      required:
        - issue
      properties:
        issue:
          $ref: '#/components/schemas/IssueDetail'
    ProjectShortId:
      type: string
      pattern: ^proj(-.+_.+|_.+)$
    IssueDetail:
      type: object
      required:
        - shortId
        - title
        - description
        - severity
        - status
        - issueType
        - helpUrl
        - createdAt
        - lastOccurredAt
        - url
        - tags
        - occurrences
      properties:
        shortId:
          type: string
          description: >-
            Stable short ID. Pass to `get_issue` for full detail, or open `url`
            in the dashboard.
        title:
          type: string
        description:
          type: string
          nullable: true
        severity:
          type: string
          description: >-
            `MINOR`, `MAJOR`, or `CRITICAL`. Higher severity sorts first when
            occurrence times tie.
        status:
          type: string
          description: '`ACTIVE` or `IGNORED`.'
        issueType:
          type: string
          description: >-
            The category of the issue, e.g. `ACCESSIBILITY`, `CONSOLE`,
            `HOSTING`, or `FAILED_TEST`.
        helpUrl:
          type: string
          nullable: true
          description: Link to remediation guidance for the issue, when available.
        createdAt:
          type: string
          description: When the issue was first detected.
        lastOccurredAt:
          type: string
          nullable: true
          description: >-
            When the issue was most recently detected. `null` if it has not been
            recomputed since creation.
        url:
          type: string
          description: Deep link to the issue in the QA.tech dashboard.
        tags:
          type: array
          items:
            type: string
          description: Freeform labels attached to the issue.
        occurrences:
          type: array
          items:
            $ref: '#/components/schemas/IssueOccurrence'
          description: Recent run test cases where this issue was detected, newest first.
      description: Full detail for a single issue, including where it was detected.
    IssueOccurrence:
      type: object
      required:
        - runShortId
        - runTestCaseShortId
        - testCaseName
        - detectedAt
      properties:
        runShortId:
          type: string
          description: Short ID of the run the issue was detected in.
        runTestCaseShortId:
          type: string
          description: Short ID of the run test case, usable with `get_run_test_case`.
        testCaseName:
          type: string
        detectedAt:
          type: string
          nullable: true
          description: When that test case started. `null` if it never started.
      description: A run test case where the issue was detected.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````