Skip to main content
POST
Break the log records down by level, release, OS, logger and screen

Authorizations

Authorization
string
header
required

A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.

Path Parameters

projectId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a101"

Body

application/json
from
string<date-time>

Start, inclusive (RFC 3339). Defaults to 24 hours before to.

to
string<date-time>

End, exclusive (RFC 3339). Defaults to now.

app_id
string

Only this app of the project.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
filters
object[]
Maximum array length: 20
severity
enum<string>

At least this severity (OpenTelemetry severity number ranges).

Available options:
trace,
debug,
info,
warn,
error,
fatal
body
string

Records whose body contains this text, ignoring case. Plain text, not a pattern.

Required string length: 1 - 200

Response

The facets.

from
string
required

RFC 3339 time in UTC with up to nanosecond precision.

Example:

"2026-10-04T10:15:00.431000000Z"

to
string
required

RFC 3339 time in UTC with up to nanosecond precision.

Example:

"2026-10-04T10:15:00.431000000Z"

level
object[]
required
release
object[]
required
os
object[]
required
logger
object[]
required
screen
object[]
required