Authentication: Most endpoints require an API key for authentication using the Authorization header.
Generating an API Key
To access protected endpoints, you must generate an API key. Follow these steps:- Navigate to the API Key management section in your account settings.
- Click Create API Key.
- Provide a name for your API Key.
- Select the necessary scopes or permissions for the key.
- (Optional) Set an expiration date for the API key.
- Click Generate and securely store the API key, as it will not be shown again.
Dataset Endpoints
1. Create Dataset
POST/api/dataset
- Security: API Key (Bearer token)
- Request Body:
- Response:
200 Dataset
2. Get Datasets
GET/api/dataset
- Security: API Key (Bearer token)
- Response:
200 { datasets: Dataset[], count: number }
3. Get Dataset by ID
GET/api/dataset/{id}
- Security: API Key (Bearer token)
- Response:
200 Dataset
Workflow Endpoints
1. Create Workflow
POST/api/workflow
- Security: API Key (Bearer token)
- Request Body:
- Response:
200 Workflow
2. Get Workflows
GET/api/workflow
- Security: API Key (Bearer token)
- Response:
200 { workflows: Workflow[], count: number }
3. Get Workflow by ID
GET/api/workflow/{id}
- Security: API Key (Bearer token)
- Response:
200 Workflow
Workflow Run Endpoints
1. Create Workflow Run
POST/api/workflow-run
- Security: API Key (Bearer token)
- Request Body:
- Response:
200 WorkflowRun
2. Get Workflow Runs
GET/api/workflow-run
- Security: API Key (Bearer token)
- Response:
200 { workflowRuns: WorkflowRun[], count: number }
3. Get Workflow Run by ID
GET/api/workflow-run/{id}
- Security: API Key (Bearer token)
- Response:
200 WorkflowRun

