Overview
Base URL
All API requests are made to:
https://api.decibyl.ai/api/v1If you are using the hosted version, the base URL is https://app.decibyl.ai/api/v1.
Versioning
The current API version is v1. The version is included in the URL path.
Request format
All request bodies must be sent as JSON with the Content-Type: application/json header.
curl -X POST https://api.decibyl.ai/api/v1/workflows/create/definition \ -H "Content-Type: application/json" \ -H "X-API-Key: dcb_your_api_key" \ -d '{"name": "My Agent", "workflow_definition": {}}'Response format
All responses are JSON. Successful responses return the relevant resource object. Error responses follow a consistent shape:
{ "detail": "Error message describing what went wrong"}For validation errors (422), the detail may be a list:
{ "detail": [ { "loc": ["body", "name"], "msg": "field required", "type": "value_error.missing" } ]}Health check
Verify your instance is reachable before making API calls.
curl https://api.decibyl.ai/api/v1/health{ "status": "ok", "version": "1.0.0", "backend_api_endpoint": "https://api.decibyl.ai", "deployment_mode": "oss", "auth_provider": "local"}