Skip to main content

Base URL

  • Production: https://api.boltroute.ai
  • Staging: https://staging-api.example.com
  • Local: http://localhost:8080

Conventions

  • Content-Type: application/json
  • Date/Time: ISO 8601 (UTC)
  • Pagination: limit, offset
  • Error format: JSON error payload with code, message, and optional details
Example error payload:

Endpoints

GET /api/v1/credits/transactions

Summary: List credit transactions for the authenticated user. Idempotent: Yes Tags: credits

Request

Headers
  • Content-Type: application/json
Query Params

Responses

200 OK - List of credit transactions
Response Fields 400 Bad Request - Invalid query parameters
401 Unauthorized
404 Not Found
500 Internal Server Error

Examples

cURL