跳转到主要内容
GET
/
v1
/
monitors
/
{monitor_id}
/
agent-logs
流式监控代理日志
curl --request GET \
  --url https://api.olostep.com/v1/monitors/{monitor_id}/agent-logs \
  --header 'Authorization: Bearer <token>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.olostep.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Bearer认证头格式为Bearer ,其中是你的认证令牌。

路径参数

monitor_id
string
必填
Pattern: ^monitor_

查询参数

stream
enum<string>
必填
可用选项:
1,
true
since
integer

开始时间戳(毫秒)(默认:30 分钟前)。

响应

SSE流包含readylogheartbeaterror事件。

The response is of type string.