Base paths
By default, the API gateway maps base paths to their respective microservices:| Service | Base path | Example endpoint |
|---|---|---|
| IAM | /auth | GET https://api.thygon.com/auth/me |
| Event | /events | POST https://api.thygon.com/events |
| Entity | /entities | GET https://api.thygon.com/entities/:id |
| Integration | /integrations | POST https://api.thygon.com/integrations/:id/trigger |
| Workflow | /workflows | POST https://api.thygon.com/workflows |
| Runtime | /runs | GET https://api.thygon.com/runs/:id |
Authentication
Authorize all requests using an API Key passed in theAuthorization header.
Error handling
The API returns standard HTTP status codes to indicate the success or failure of an request:200 / 201: The request succeeded.400: Invalid payload or query parameters.401: Missing or invalid API key.403: Insufficient permissions to access the resource.404: The requested resource or endpoint does not exist.500: An internal server error occurred.