Public API for accessing agents, flows, and analytics.
Frontline Public API (1.0.0)
Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://docs.getfrontline.ai/_mock/openapi
https://prod-api.getfrontline.ai
Security
bearerAuth
- Mock serverhttps://docs.getfrontline.ai/_mock/openapi/public/v1/workflows
- https://prod-api.getfrontline.ai/public/v1/workflows
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.getfrontline.ai/_mock/openapi/public/v1/workflows?status=ACTIVE' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'Response
application/json
{ "results": [ { … } ] }
Security
bearerAuth
- Mock serverhttps://docs.getfrontline.ai/_mock/openapi/public/v1/workflows/{workflowId}/analytics
- https://prod-api.getfrontline.ai/public/v1/workflows/{workflowId}/analytics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.getfrontline.ai/_mock/openapi/public/v1/workflows/42/analytics?startDate=2024-01-01&endDate=2024-01-01' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'Response
application/json
{ "runsByDate": [ { … } ], "summary": { "totalRuns": 1000, "completedRuns": 950, "failedRuns": 50, "pendingRuns": 0, "totalCredits": 2500, "averageCreditsPerRun": 2.5, "nonExecutedRuns": 10 } }