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 of the past 15 minutes, oldest-first; pass the returned cursor back to get only what arrived since.

Behavior

HTTP
GET /observe/logs/tail

Arguments

Name
Type
Required
Description
cursor
string
—
The nextCursor of the previous poll; omit to start at the newest lines
service
string
—
Only lines of this service
severityIn
array
—
Only lines whose severity is one of these
environment
string
—
Only lines of this environment

Response

Field
Type
Always
Description
rows
array
•
The new log lines, oldest first
nextCursor
string
•
Pass 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 of the past 15 minutes, 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.

↑↓navigate↵select