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

# List Harnesses

> List all standard harnesses (global resources).

Standard harnesses are global and not scoped to a team.
They are read-only and managed externally.

Args:
    team_id: Team ID (required for permission checks)
    claims: JWT claims with user and team info
    harness_service: Harness service instance
    
Returns:
    List of harness items, ordered by updated_at descending
    
Raises:
    HTTPException: 422 if team_id is missing, 403 if user lacks permission, 500 on server errors



## OpenAPI

````yaml /openapi/api.json get /v1/harnesses/
openapi: 3.1.0
info:
  title: Vijil Console API (Combined)
  description: Combined OpenAPI specification for all vijil-console microservices.
  version: 0.1.0
servers: []
security: []
tags:
  - name: Teams
    description: Authentication, users, and team management
  - name: Agent Environment
    description: Agent, persona, policy, and harness management
  - name: Diamond
    description: Evaluation management and report retrieval
  - name: Dome
    description: Protection, guardrails, and telemetry
  - name: Red Team
    description: Red team campaigns
paths:
  /v1/harnesses/:
    get:
      tags:
        - Diamond
        - harnesses
      summary: List Harnesses
      description: |-
        List all standard harnesses (global resources).

        Standard harnesses are global and not scoped to a team.
        They are read-only and managed externally.

        Args:
            team_id: Team ID (required for permission checks)
            claims: JWT claims with user and team info
            harness_service: Harness service instance
            
        Returns:
            List of harness items, ordered by updated_at descending
            
        Raises:
            HTTPException: 422 if team_id is missing, 403 if user lacks permission, 500 on server errors
      operationId: list_harnesses_v1_harnesses__get
      parameters:
        - name: team_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            description: Team ID (required)
            title: Team Id
          description: Team ID (required)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HarnessListItem'
                title: Response List Harnesses V1 Harnesses  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HarnessListItem:
      properties:
        name:
          type: string
          title: Name
        updated_at:
          type: integer
          title: Updated At
      type: object
      required:
        - name
        - updated_at
      title: HarnessListItem
      description: |-
        Domain model for a harness list item (S3-based standard harnesses).

        Attributes:
            name: Harness name/identifier
            updated_at: Unix epoch timestamp in seconds (not milliseconds)
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````