Skip to main content
GET
/
api
/
dataframer
/
red-team-specs
Python
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)
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "domain_description": "<string>",
    "app_description": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_by_email": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Response

List of red team specs

id
string<uuid>

Unique identifier for the red team spec

name
string

Name of the red team spec

domain_description
string

Description of the domain

app_description
string

Description of the application

created_at
string<date-time>

Timestamp when the spec was created

updated_at
string<date-time>

Timestamp when the spec was last modified

created_by_email
string

Email of the user who created this spec