Pipelines API
Auto-generated from codebase analysis
This section documents the Pipelines API endpoints.
GET Endpoints
GET /status
Get the current status of DBT project generation.
Example Request
curl -X GET "https://your-instance.datalinx.ai/api/status" \
-H "Authorization: Bearer YOUR_TOKEN"
GET /model/{table_name}
Get the DBT model SQL for a specific table.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
table_name | str | Yes |
Example Request
curl -X GET "https://your-instance.datalinx.ai/api/model/{table_name}" \
-H "Authorization: Bearer YOUR_TOKEN"
GET /drift-status
Check if DBT project is out of sync with workspace files.
Example Request
curl -X GET "https://your-instance.datalinx.ai/api/drift-status" \
-H "Authorization: Bearer YOUR_TOKEN"
POST Endpoints
POST /generate-project
Generate a complete DBT project with transformations.
Example Request
curl -X POST "https://your-instance.datalinx.ai/api/generate-project" \
-H "Authorization: Bearer YOUR_TOKEN"
POST /test-model
Test a DBT model with sample data from the source.
Example Request
curl -X POST "https://your-instance.datalinx.ai/api/test-model" \
-H "Authorization: Bearer YOUR_TOKEN"
DELETE Endpoints
DELETE /project
Delete the current DBT project.
Example Request
curl -X DELETE "https://your-instance.datalinx.ai/api/project" \
-H "Authorization: Bearer YOUR_TOKEN"