mocop
Browse · Docs · Guide · Analyze

LogBrew API

API by LogBrew · rest

Send Authorization: Bearer <token> with an account access token, an API token, or a project key. logbrew login signs in and stores an access token; logbrew projects keys create makes project keys. A read key reads one project's telemetry and nothing else. For scripts and CI, create an API token with create_api_token: it lasts up to 365 days and reaches only the operations its scopes name. Without the CLI, get an access token with device sign-in (RFC 8628): POST /api/auth/device with a form-encoded client_id, show the person the user_code and verification_uri, then poll POST /api/auth/device/token until they approve. Every error has the same JSON shape: a stable code, a readable error, and a next step that says how to recover. Responses carry the IETF RateLimit and RateLimit-Policy fields for each request limit they counted against, and a 429 carries Retry-After when waiting clears it. Some operations have several response versions. This document…

Endpoint: https://api.logbrew.co/

Verification: observed. Source: crawl.

Capabilities (148)

  • List pending organization invitations sent to your verified email addresses.
  • Read your plan and whether paid features are ready.
  • List your personal API tokens including expired and revoked ones.
  • Create a personal API token for scripts and CI. The response shows the secret…
  • Revoke one of your personal API tokens. Revoking it again changes nothing.
  • Read this billing period's usage limits and warnings.
  • Read past usage in daily or monthly buckets.
  • Read your account.
  • Change your display name or profile.
  • Delete your account. You can restore it during the recovery window.
  • Revoke one refresh token.
  • Sign out every session and token of your account.
  • Name the one project that the calling read key reads.
  • Exchange a refresh token for a new access token and refresh token.
  • Restore a deleted account during its recovery window with the recovery token.
  • List the plans and their prices.
  • Start checkout for a plan. A person opens the returned link to pay.
  • Read your plan billing status and usage per signal.
  • Get a billing portal link where a person manages payment and invoices.
  • Register a phone for push alerts.
  • Stop push alerts to one of your phones.
  • Open a WebSocket that streams new telemetry. Pass the ticket from…
  • Get a short-lived ticket that opens the live feed.
  • Find logs.
  • List the attribute keys that recent logs carry.
About · Contact · Privacy