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

# List Tests Route

> List the attack corpus without running it.



## OpenAPI

````yaml /api-reference/openapi-developer.json get /api/v1/security-testing/tests
openapi: 3.1.0
info:
  title: PromptGuard Developer API
  description: >-
    Public API for developers to integrate PromptGuard security into their
    applications
  version: 1.0.0
servers:
  - url: https://api.promptguard.co
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/security-testing/tests:
    get:
      tags:
        - security-testing
      summary: List Tests Route
      description: List the attack corpus without running it.
      operationId: list_tests_route_api_v1_security_testing_tests_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestCatalog'
components:
  schemas:
    TestCatalog:
      properties:
        total:
          type: integer
          title: Total
        tests:
          items:
            $ref: '#/components/schemas/TestInfo'
          type: array
          title: Tests
      type: object
      required:
        - total
        - tests
      title: TestCatalog
      description: What a caller can run -- so a CLI can list before it picks.
    TestInfo:
      properties:
        name:
          type: string
          title: Name
        category:
          type: string
          title: Category
        description:
          type: string
          title: Description
        expected_result:
          type: string
          title: Expected Result
      type: object
      required:
        - name
        - category
        - description
        - expected_result
      title: TestInfo
      description: One attack in the corpus, without running it.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        PromptGuard API key for developer endpoints. Keys start with pg_live_
        and are created in the dashboard.

````