API Reference

Complete reference for the DartChain API. All endpoints, parameters, and response formats documented with examples.

Base URL

https://api.dartchain.com/v1

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:

# Example request
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.dartchain.com/v1/workflows

Rate Limiting

The API is rate limited to 1000 requests per minute per API key. Rate limit information is included in response headers.

API Endpoints

Workflows

CRUD

Create, read, update, and delete workflows

GET/workflows
POST/workflows
GET/workflows/:id
PUT/workflows/:id

Tasks

Execute

Execute and monitor workflow tasks

POST/tasks/execute
GET/tasks/:id/status

Webhooks

Events

Manage webhook endpoints and events

GET/webhooks
POST/webhooks