mistralM

Docs

sideBar

Beta Observability Logs

(beta) Observability API - logs.

POST /v1/observability/logs/search

Search logs

Search logs

Parameters

from
date-time | nullquery
to
date-time | nullquery
page_size
integerquery
cursor
string | nullquery

Request Example

{}

Request Body

order
"asc" | "desc"

Default Value: "desc"

search_expression
string | null

Responses

Successful Response

logs
FeedResultGetLog* required
FeedResultGetLog
cursor
string | null
next
string | null
results
array<GetLog>
GetLog
body
string* required
customer_id
string* required
event_name
string* required
log_attributes
map<string>* required
organization_id
string* required
resource_attributes
map<string>* required
resource_schema_url
string* required
scope_attributes
map<string>* required
scope_name
string* required
scope_schema_url
string* required
scope_version
string* required
service_account_id
string

Default Value: ""

service_name
string* required
severity_number
integer* required
severity_text
string* required
span_id
string* required
timestamp
date-time* required
trace_flags
integer* required
trace_id
string* required
user_id
string* required
workspace_id
string* required

GET /v1/observability/logs/fields

Get log field definitions

Get log field definitions

Responses

Successful Response

field_definitions
array<OtelFieldDefinition>* required
OtelFieldDefinition
group
string | null
label
string* required
name
string* required
source_attribute_key
string | null

Raw OpenTelemetry attribute key this field is projected from, whether a span attribute (e.g. gen_ai.request.model for request_model) or a resource attribute (e.g. service.name for service_name). None when the field is a native OTLP field (like span_name or trace_id) or a nested attribute map (like span_attributes).

supported_aggregations
array<"count" | "count_distinct" | "sum" | "avg" | "min" | "max" | "p50" | "p90" | "p95" | "p99">* required
supported_operators
array<"eq" | "neq" | "lt" | "lte" | "gt" | "gte" | "like" | "ilike" | "not_like" | "not_ilike" | "between" | "not_between" | "in" | "not_in" | "exists" | "not_exists" | "regexp" | "not_regexp" | "contains" | "not_contains" | "has" | "hasAny" | "hasAll" | "hasToken">* required
type
"ENUM" | "TEXT" | "INT" | "FLOAT" | "BOOL" | "TIMESTAMP" | "ARRAY" | "MAP"* required

GET /v1/observability/logs/fields/{field_name}/options

Get options for a log field

Get options for a log field

Parameters

field_name
stringpath* required
from
date-time | nullquery
to
date-time | nullquery

Responses

Successful Response

options
array<string> | null* required