Skip to main content
The LogFleet API is organized around REST. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication.

Base URL

For local development:

Authentication

LogFleet uses two authentication methods: See the Authentication guide for details.

API Groups

Authentication

User registration, login, and password management

Agents

Manage edge agents and their configurations

API Keys

Create and manage API keys for edge agents

Streaming

On-demand log streaming from edge agents

Metric Configs

Configure log-to-metric extraction rules

Edge API

Endpoints used by edge agents (API Key auth)

Request Format

All requests should include:
Request bodies use JSON format:

Response Format

Successful responses return the requested data:
List endpoints return paginated results:

Error Handling

Errors return appropriate HTTP status codes with details:

Status Codes

Rate Limiting

API requests are rate limited per endpoint group: When rate limited, the response includes headers:

Pagination

List endpoints support pagination: Example:

Timestamps

All timestamps use ISO 8601 format in UTC:

UUIDs

All resource IDs are UUIDs (v4):