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
- Mock serverhttps://docs.getfrontline.ai/_mock/openapi/public/v1/agents
- https://prod-api.getfrontline.ai/public/v1/agents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.getfrontline.ai/_mock/openapi/public/v1/agents?status=ACTIVE' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'Response
application/json
{ "results": [ { … } ] }
- Mock serverhttps://docs.getfrontline.ai/_mock/openapi/public/v1/agents/{agentId}/analytics
- https://prod-api.getfrontline.ai/public/v1/agents/{agentId}/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/agents/uuid-xxxx-xxxx/analytics?startDate=2024-01-01&endDate=2024-01-01' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>'Response
application/json
{ "summary": { "totalCredits": 500.25, "totalConversations": 150 }, "creditsByDate": [ { … } ] }