Skip to content

REST API — Introduction

Developer

The Prodgy API allows external applications to connect to the platform to access resources such as AI agents, knowledge base, integrations, and webhooks. Communication is done via REST API with JSON responses.


ResourceDescription
AgentsList, install, and manage AI agents
ExecutionsTrigger and query agent executions
IntegrationsManage connections with external tools
Knowledge BaseImport and query documents
TriggersConfigure automatic triggers
WebhooksReceive events from external systems
TranscriptionTranscribe audio files to text

All requests must be made to your Prodgy instance’s base URL:

https://<your-instance>.prodgy.app/api

AspectDetail
Content-Typeapplication/json (default) or multipart/form-data (uploads)
ResponseAlways application/json
AuthenticationVia X-API-Token header or Authorization: Bearer
EncodingUTF-8

{
  "success": true,
  "message": "Operation completed successfully",
  "data": { }
}
{
  "success": false,
  "error": "Error type",
  "message": "Detailed error description"
}

CodeMeaning
200Successful request
201Resource created successfully
400Invalid request parameters
401Missing or invalid authentication
404Resource not found
429Rate limit exceeded
500Internal server error

The API has rate limits to protect server resources:

  • Standard: 10 requests per minute per IP
  • Strict: 5 requests per minute (resource-intensive operations)

When the limit is reached, the response returns a 429 status code with the following headers:

HeaderDescription
RateLimit-LimitMaximum number of allowed requests
RateLimit-RemainingRemaining requests in the current window
RateLimit-ResetUnix timestamp of the next reset

Prodgy provides a Swagger interface for interactive API exploration:

ResourceURL
Swagger UIhttps://prodgy.programmers.com.br/swagger
OpenAPI JSONhttps://prodgy.programmers.com.br/swagger.json

  • Authentication — learn how to create and use API tokens
  • Endpoints — check available endpoints and their parameters
  • Webhooks — configure webhooks to receive external events