Skip to content

observe_logs_tail

Follow the log lines of the current product.

Tool

observe_logs_tail

Follow the log lines of the current product.

Follow the log lines of the current product. The first call returns the last 50 lines oldest-first; pass the returned cursor back to get only what arrived since.

Behavior

HTTP
GET /observe/logs/tail

Arguments

NameTypeRequiredDescription
cursorstringThe nextCursor of the previous poll; omit to start at the newest lines
servicestringOnly lines of this service
severityInarrayOnly lines whose severity is one of these
environmentstringOnly lines of this environment

Response

FieldTypeAlwaysDescription
rowsarrayThe new log lines, oldest first
nextCursorstringPass back as cursor on the next poll; null only while the product has no logs

Try it

Follow the log lines of the current product.

When to use

Follow the log lines of the current product. The first call returns the last 50 lines oldest-first; pass the returned cursor back to get only what arrived since.

Example

Ask your agent something like this:

Follow the log lines of the current product.

The agent will invoke observe_logs_tail with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect