Skip to main content

API Overview

Base URL

http://localhost:8000

Authentication

Most endpoints require Supabase authentication. Include the JWT token:

Authorization: Bearer <supabase-jwt-token>

Endpoints

Pipeline Management

MethodEndpointDescription
GET/pipelinesList all pipelines
POST/pipelinesCreate pipeline
GET/pipelines/{id}Get pipeline
PUT/pipelines/{id}Update pipeline
DELETE/pipelines/{id}Delete pipeline
POST/pipelines/{id}/runRun pipeline

Testing

MethodEndpointDescription
POST/python/testTest Python code
POST/sql/testTest SQL query
POST/rest/testTest REST endpoint
POST/dbt/testTest DBT model

Observability

MethodEndpointDescription
GET/observability/logsGet execution logs
GET/observability/logs/{run_id}Get specific run logs
GET/api/internal/sse/streamReal-time log stream

Database Connections

MethodEndpointDescription
GET/api/database/connectionsList connections
POST/api/database/connectionsCreate connection
DELETE/api/database/connections/{id}Delete connection

Response Format

{
"data": { ... },
"error": null
}

Error responses:

{
"data": null,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid pipeline configuration"
}
}

Rate Limiting

  • Default: 100 requests/minute
  • Pipeline execution: Limited by usage quota
  • Status code: 429 when exceeded