Skip to main content
GET
/
api
/
dataframer
/
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
)
specs = client.dataframer.specs.list()
print(specs)
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Customer Support Conversations Spec",
    "description": "Spec for generating synthetic customer support conversations",
    "status": "SUCCEEDED",
    "created_at": "2025-01-15T10:30:00Z",
    "dataset_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "dataset_name": "Customer Support Dataset"
  },
  {
    "id": "661f9511-f30c-52e5-b827-557766551111",
    "name": "Product Reviews Spec",
    "description": "Spec for synthetic product review generation",
    "status": "PROCESSING",
    "created_at": "2025-01-15T11:00:00Z",
    "dataset_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "dataset_name": "Product Reviews Dataset"
  },
  {
    "id": "772f0622-g41d-63f6-c938-668877662222",
    "name": "Seedless QA Pairs Spec",
    "description": "Generate QA pairs without seed data",
    "status": "SUCCEEDED",
    "created_at": "2025-01-15T12:00:00Z",
    "dataset_id": null,
    "dataset_name": null
  }
]

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Response

List of specs

id
string<uuid>

Unique identifier for the spec

name
string

Spec name, unique within its dataset (or unique among seedless specs)

description
string

Human-readable description of what data this spec generates

status
enum<string>

Current status of the spec. PROCESSING: spec is being generated. SUCCEEDED: spec is ready for generation. FAILED: spec generation failed.

Available options:
PROCESSING,
SUCCEEDED,
FAILED
created_at
string<date-time>

Timestamp when the spec was created

dataset_id
string<uuid> | null

ID of the seed dataset this spec was created from. Null for seedless specs.

dataset_name
string | null

Name of the seed dataset this spec was created from. Null for seedless specs.