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

# List red team specs

> Get all red team specs



## OpenAPI

````yaml GET /api/dataframer/red-team-specs/
openapi: 3.0.0
info:
  title: DataFramer API
  version: 0.1.0
  description: ''
  termsOfService: https://www.aimon.ai/docs/privacy-policy.pdf
  contact:
    name: DataFramer Support
    email: info@dataframer.ai
  license:
    name: Proprietary
  x-logo:
    url: https://dataframer.ai/logo.png
    altText: DataFramer AI
  x-stainless:
    package-name: aimon-dataframer
    namespace:
      - aimon
      - dataframer
servers:
  - url: https://df-api.dataframer.ai
    description: Production server
security:
  - BearerAuth: []
tags:
  - name: Seed Datasets
    description: Manage seed datasets for generation
  - name: Specs
    description: Data specifications for sample generation
  - name: Runs
    description: Generation runs and results
  - name: Evaluations
    description: Evaluate generated sample quality
  - name: Red Teaming
    description: Security testing and adversarial prompts
  - name: Spec Creation
    description: Create specs from datasets or from scratch (seedless)
  - name: Generation
    description: Synthetic data generation
  - name: API Keys
    description: API key management and rotation
  - name: Health
    description: Health check endpoints
  - name: Models
    description: Available AI models
externalDocs:
  description: Complete API Guide
  url: https://docs.dataframer.ai/dataframer
paths:
  /api/dataframer/red-team-specs/:
    get:
      tags:
        - Red Teaming
      summary: List red team specs
      description: Get all red team specs
      operationId: api_dataframer_red-team-specs_list
      responses:
        '200':
          description: List of red team specs
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RedTeamSpecListItem'
        '401':
          description: Authentication credentials were not provided
        '500':
          description: Internal server error
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Dataframer from 'dataframer';

            const client = new Dataframer({
              apiKey: process.env['DATAFRAMER_API_KEY'], // This is the default and can be omitted
            });

            const redTeamSpecs = await client.dataframer.redTeamSpecs.list();

            console.log(redTeamSpecs);
        - lang: Python
          source: |-
            import os
            from dataframer import Dataframer

            client = Dataframer(
                api_key=os.environ.get("DATAFRAMER_API_KEY"),  # This is the default and can be omitted
            )
            red_team_specs = client.dataframer.red_team_specs.list()
            print(red_team_specs)
components:
  schemas:
    RedTeamSpecListItem:
      type: object
      description: Summary of a red team spec for list views
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Unique identifier for the red team spec
        name:
          type: string
          description: Name of the red team spec
        domain_description:
          type: string
          description: Description of the domain
        app_description:
          type: string
          description: Description of the application
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the spec was created
        updated_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the spec was last modified
        created_by_email:
          type: string
          readOnly: true
          description: Email of the user who created this spec
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API Key authentication. Format: "Bearer YOUR_API_KEY"'

````