API Reference
Integrate Sire into your applications using the REST API.
Base URL: https://api.sire.run
All requests require a Bearer token in the Authorization header, except auth endpoints.
Authentication
POST
/api/v1/auth/signupCreate a new accountPOST
/api/v1/auth/loginLog in and receive access tokenPOST
/api/v1/auth/refreshRefresh access tokenWorkflows
GET
/api/v1/workflowsList workflows (supports ?include=stats)POST
/api/v1/workflowsCreate a new workflowGET
/api/v1/workflows/:idGet workflow by IDDELETE
/api/v1/workflows/:idDelete a workflowExecutions
POST
/api/v1/workflows/:id/executeExecute a workflowGET
/api/v1/executionsList executionsGET
/api/v1/executions/:idGet execution detailsBilling & Usage
GET
/api/v1/usage/cuGet CU rate listGET
/api/v1/billing/currentGet current billing periodAPI Keys
GET
/api/v1/apikeysList API keysPOST
/api/v1/apikeysCreate an API keyDELETE
/api/v1/apikeys/:idRevoke an API keyChat SDK
Embed a Sire chat widget in your application using the @sire/chat package.
npm install @sire/chatReact: Use <SireChat config={...} /> or wrap with <SireChatProvider>
Vanilla JS: Use mount(config) and unmount()