Skip to main content
GET
/
api
/
dataframer
/
runs
/
{run_id}
cURL
curl --request GET \
  --url https://df-api.dataframer.ai/api/dataframer/runs/{run_id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "PENDING",
  "spec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "spec_name": "<string>",
  "spec_version": 123,
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_name": "<string>",
  "dataset_type": "SINGLE_FILE",
  "samples_completed": 123,
  "samples_failed": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by_email": "<string>",
  "completed_at": "2023-11-07T05:31:56Z",
  "runtime_params": {
    "number_of_samples": 123,
    "generation_model": "<string>",
    "outline_model": "<string>",
    "revision_model": "<string>",
    "enable_revisions": true,
    "max_revision_cycles": 123,
    "seed_shuffling_level": "none",
    "max_examples_in_prompt": 123,
    "unified_multifield": true
  },
  "generated_files": [
    {
      "id": "<string>",
      "path": "<string>",
      "file_type": "<string>",
      "size_bytes": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

run_id
string
required

Response

Detailed run information

id
string<uuid>

Unique identifier for the run

status
enum<string>

Current status of the run

Available options:
PENDING,
PROCESSING,
SUCCEEDED,
FAILED,
CANCELED
spec_id
string<uuid>

ID of the spec used

spec_name
string

Name of the spec

spec_version
integer

Version number of the spec used

dataset_id
string<uuid> | null

ID of the seed dataset (null for seedless specs)

dataset_name
string | null

Name of the seed dataset (null for seedless specs)

dataset_type
enum<string>

Type of dataset

Available options:
SINGLE_FILE,
MULTI_FILE,
MULTI_FOLDER
samples_completed
integer

Number of samples successfully generated

samples_failed
integer

Number of samples that failed to generate

created_at
string<date-time>

When the run was created

created_by_email
string

Email of the user who created the run

completed_at
string<date-time> | null

When the run completed (null if not finished)

runtime_params
object

Generation parameters used for the run

generated_files
object[]

List of generated files (populated when run completes)