SimpleLLMDocs
HTTP API
Markdown ↗

Read current key daily usage

GET /v1/keys/current/usage/daily

Base URL: https://api.simplellm.eu. Authenticate using Authorization: Bearer $SIMPLELLM_API_KEY.

Example request

bash
curl --fail-with-body https://api.simplellm.eu/v1/keys/current/usage/daily \
  -H "Authorization: Bearer $SIMPLELLM_API_KEY"

Responses

HTTP 200

Successful response

Content-Type: application/json

FieldTypeRequiredMeaning
usagearray<KeyDailyUsage>No
usage[].datestringNo
usage[].total_requestsintegerNo
usage[].total_tokens_inintegerNo
usage[].total_tokens_outintegerNo
usage[].total_cost_scnumberNo

Illustrative response shape only; IDs, timestamps and counters below are synthetic, not live limits or customer data.

json
{
  "usage": [
    {
      "date": "2026-09-14",
      "total_requests": 0,
      "total_tokens_in": 0,
      "total_tokens_out": 0,
      "total_cost_sc": 0
    }
  ]
}

Error handling

Errors can occur in authentication, billing, routing or the upstream service; not every status applies to every route.

StatusMeaning
400Invalid request
401Invalid credentials
402Insufficient credits
403Access denied
404Model or resource not found
429Rate or capacity limit
500Internal error
502Routing or upstream error
503Temporarily unavailable
504Deployment timeout

See Troubleshooting for response examples and Rate limits & retries for retry rules.

Machine-readable schema

Download OpenAPI JSON. Operation ID: getCurrentKeyDailyUsage.

Search the complete documentation.