API Reference
The Ratelord Daemon exposes a RESTful JSON API. All requests must be authenticated with an Identity Token.
Base URL
http://localhost:8090/v1Endpoints
POST/intents/negotiate
Negotiate a budget for a planned action.
Request Body
json
{
"identity_id": "agent-123",
"scope": "github:api",
"requested_amount": 100,
"priority": "normal"
}GET/status
Get the current status of all resource pools visible to the authenticated identity.
GET/forecasts
Retrieve time-to-exhaustion forecasts for specific scopes.