APIGetting StartedAuthentication

Authentication

Bearer token in the Authorization header.

GET/api/v1/credits/balanceFree
All authenticated endpoints accept either a Firebase ID token (issued at login) or a long-lived API key in the `Authorization: Bearer <token>` header. API keys are minted from /tool/settings → API Keys; they're SHA-256 hashed at rest and the raw secret is shown once at creation. Hit GET /api/v1/credits/balance with your token as a smoke test.

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "credits": 5000
}
API Key

Paste your full key once — cached in this browser for 7 days, then cleared.

const res = await fetch("https://api.logposervices.com/api/v1/credits/balance", {
  method: "GET",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
  },
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Response

Click Send Request above to try this endpoint.