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

# Get test run by ID

> Get a specific test run by ID.



## OpenAPI

````yaml /api/openapi.json get /api/uat/v1/test-runs/{test_run_id}
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/uat/v1/test-runs/{test_run_id}:
    get:
      tags:
        - UAT Testing
      summary: Get test run by ID
      description: Get a specific test run by ID.
      operationId: get_test_run_api_uat_v1_test_runs__test_run_id__get
      parameters:
        - name: test_run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Test Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UATTestResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UATTestResult:
      properties:
        test_run_id:
          type: string
          format: uuid
          title: Test Run Id
        scan_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Scan Id
        variant_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Variant Id
        status:
          $ref: '#/components/schemas/TestRunStatus'
        started_at:
          type: string
          format: date-time
          title: Started At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        total_tests:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Tests
        tests_passed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tests Passed
        tests_failed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tests Failed
        pass_rate:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Pass Rate
        module_c_result:
          anyOf:
            - $ref: '#/components/schemas/ModuleResult'
            - type: 'null'
        module_d_result:
          anyOf:
            - $ref: '#/components/schemas/ModuleResult'
            - type: 'null'
        module_e_result:
          anyOf:
            - $ref: '#/components/schemas/ModuleResult'
            - type: 'null'
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        rule_version:
          type: string
          title: Rule Version
        git_sha:
          anyOf:
            - type: string
            - type: 'null'
          title: Git Sha
      type: object
      required:
        - test_run_id
        - scan_id
        - variant_id
        - status
        - started_at
        - completed_at
        - duration_ms
        - total_tests
        - tests_passed
        - tests_failed
        - rule_version
        - git_sha
      title: UATTestResult
      description: Result of a completed UAT test run.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TestRunStatus:
      type: string
      enum:
        - running
        - passed
        - failed
        - error
      title: TestRunStatus
      description: UAT test run status.
    ModuleResult:
      properties:
        passed:
          type: integer
          minimum: 0
          title: Passed
          default: 0
        failed:
          type: integer
          minimum: 0
          title: Failed
          default: 0
        skipped:
          type: integer
          minimum: 0
          title: Skipped
          default: 0
        errors:
          items:
            type: string
          type: array
          title: Errors
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      title: ModuleResult
      description: Validation result for a single module (C/D/E).
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````