POST
/
v4
/
pipelines
Create a pipeline
curl --request POST \
  --url https://gentrace.ai/api/v4/pipelines \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "slug": "my-awesome-pipeline",
  "displayName": "My Awesome Pipeline",
  "folderId": "6527747a-ba86-441a-aebd-1ad94460bc89"
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-04-01T00:00:00.000Z",
  "updatedAt": "2025-04-01T00:00:00.000Z",
  "slug": "my-awesome-pipeline",
  "displayName": "My Awesome Pipeline",
  "folderId": "6527747a-ba86-441a-aebd-1ad94460bc89",
  "archivedAt": "2025-04-01T00:00:00.000Z",
  "goldenDatasetId": "6527747a-ba86-441a-aebd-1ad94460bc89"
}

Authorizations

Authorization
string
header
required

Enter Gentrace API key (Format: Authorization: Bearer <token>)

Body

application/json

Response

200
application/json

Successful response

The response is of type object.