Get Observability Logs
Log lines for one agent or knowledge base.
Covers every deployed version of the entity, so log history survives redeploys.
Returns 404 when the id is not an agent or knowledge base in the
caller’s tenant and service. Returns 503 with a structured kind when
log storage is not available in this environment.
GET
/agentic/observability/logsAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
agent_idstringrequiredAgent or knowledge base id
fromstringTime range start (ISO 8601)
tostringTime range end (ISO 8601)
levelstringFloor level — DEBUG | INFO | WARN | ERROR (used when levels is absent)
default: "INFO"
levelsstringExplicit comma-separated level set (e.g. 'WARN,ERROR'). Overrides the level floor when present.
searchstringSubstring filter on the log column
limitintegerMax lines per call
min 1 · max 2000 · default: 200
sincestringLive-tail cursor — only rows newer than this ISO 8601 ts
Responses
200
Successful Response
linesObservabilityLogLine[]requiredShow propertiesHide properties
Array of
ObservabilityLogLinetimestampstringrequiredlevelstringrequiredmessagestringrequiredscopestringdefault: "agent"
job_id_prefixstringrequired422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject