Logs and metrics
Find a call by request ID, follow logs after a deploy, and read latency and CPU metrics.
Request IDs
Every route response carries x-think-request-id. Error responses also include requestId in the body. Look the call up in the Service tab, or over REST:
GET /api/spaces/<project>/service/calls?id=<request-id>
GET /api/spaces/<project>/service/calls?q=<text>&errors=1The last 500 calls are kept.
Metrics
Calls, error rate, latency p50 / p95 / p99, CPU p50 / p95 and average subrequests, per route and version, with about one minute of delay.
GET /api/spaces/<project>/service/metrics?w=1h|24h|7d|30dOver MCP: build with { "logs": { "metrics": "24h" } }.
Following logs after a deploy
Call build with { "logs": { "since": "<latest startedAt you have seen>" } } (or after= over REST) to read only new calls. The Service tab has a Live button that keeps loading new calls (it polls every 3 seconds).