Dalus API
This API reference provides a preview of the upcoming Dalus API. The API is not publicly available yet, but this documentation gives you a glimpse of the capabilities and endpoints that will be available when it launches.
Authentication
The Dalus API uses bearer token authentication. Include your API key in theAuthorization
header of your requests:
Base URL
All API endpoints are relative to the base URL:Resources
The API provides access to the following resources:- Models: Create, read, update, and delete models
- Parts: Manage parts within models
- Ports: Configure ports for parts
- Actions: Define actions and their scripts
- States: Manage states for state machines
- Transitions: Define transitions between states
- Signals: Configure signals between actions
- Interfaces: Define interfaces between parts
- Requirements: Manage requirements for models
Rate Limiting
API requests are rate-limited to ensure fair usage. If you exceed the rate limit, you’ll receive a429 Too Many Requests
response.
Error Handling
The API uses conventional HTTP response codes to indicate the success or failure of requests:2xx
: Success4xx
: Client error (e.g., invalid request, authentication error)5xx
: Server error