Logflare: API Design — Sources & Log Events
Docs-backedIngest API: POST /logs with source parameter and log event body. Log events are JSON objects with optional metadata. Sources organize log streams — each source maps to a BigQuery table. The ingest endpoint is intentionally simple: one endpoint, one purpose. Query API: BigQuery SQL via the BigQuery API or Logflare's query endpoint. Rules define log routing conditions (match events to destinations). The API surface is minimal: create sources, ingest logs, query via SQL. No built-in alerting, dashboards, or APL-style query language — these capabilities come from BigQuery or connected tools. For agents wanting simple structured log storage with SQL querying, the API is appropriately minimal.