Loading...
Skip to main content

Get Agent Logs

Returns logs emitted by an Agent.

Path Parameters
    agentId string required

    The ID of the agent to get logs for.

Query Parameters
    startTimestamp int32

    The earliest timestamp (as seconds since the epoch) to query.

    Defaults to 15 minutes before the current time.

    endTimestamp int32

    The latest timestamp (as seconds since the epoch) to query.

    Defaults to the current time.

    limit uint32

    The maximum number of logs to return.

    Defaults to 100. Cannot be more than 1000.

    offset uint32

    The offset of the first log to return.

    minSeverity uint32

    The minimum severity of logs to return.

    Defaults to 9 (INFO). See https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-severitynumber for more information.

    conversationId string

    The ID of the conversation to get logs for.

    messageId string

    The ID of the message to get logs for.

Responses

OK


Schema
    logs object[]
  • Array [
  • timestamp date-time

    The timestamp of the log event.

    traceId string

    The trace ID that this log event is associated with.

    spanId string

    The span ID that this log event is associated with.

    severity int32

    The severity of the log event.

    See https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-severitynumber for more information.

    message string

    The log message.

    attributes object

    Additional attributes that were logged.

  • ]
Loading...