Skip to content
Proud to collaborate with Microsoft for Startups

agents._ft-dataset.build-examples ​

Build JSONL examples from completed AgentSessions

Build JSONL examples from completed AgentSessions.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
INTERNALdag.stepInternal step — invoked by the agents.ft-dataset.build DAG

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_uuidstringNo—DAG-stamped parent run id (auto-injected by the engine)
workflow_run_idstringNo——
dataset_uuidstringYes——
export_formatstringYes——
filter_criteriadictNo——
organization_uuidstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
errorstringNo——
error_typestringNo——
example_countjsonNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
jsonl_size_bytesjsonNo——
workflow_run_uuidjsonNo——
workflow_run_idstringNo——
dataset_uuidjsonNo——
export_formatjsonNo——
filter_criteriajsonNo——
organization_uuidjsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents._ft-dataset.build-examples",
  "initial_data": {
    "dataset_uuid": "value",
    "export_format": "value",
    "organization_uuid": "value"
  }
}