Skip to main content
The Clara Logs API offers structured access to historical API logs, allowing clients to retrieve request-level data and usage statistics within a defined temporal scope. This is especially useful for monitoring, auditing, billing analytics, and debugging purposes.

Access Control

  • Logs API access is restricted by design.
  • Requests must include date-based filters: year, month, and optionally day.
  • No endpoint available to list all logs without any time constraint.

Endpoints Overview


Filtering Rules

  • year and month required
  • day-level filtering is optional
  • No wildcard or unbounded access to the full log history.
This structure ensures controlled data volumes and better performance.

Response Structure

Every response contains two main components:

1⃣ Stats:

  • total: Total number of requests
  • chargeable: Number of requests marked as chargeable
  • nonChargeable: Requests that are not chargeable

2⃣ Requests (list of detailed logs):

  • id: Unique identifier of the log entry
  • responseStatus: HTTP status code returned
  • projectTokenId: Project identifier for the request
  • requestUri: URI requested by the client
  • method: HTTP method used (GET, POST, etc)
  • chargeable: Boolean flag indicating billing impact
  • instant: Timestamp of the request (epoch milliseconds)

Example Response