Prerequisites
You can find all of the following in the console.- A Runpod API key. Generate one under Settings → API Keys.
- Your Pod ID. Find it on the Pods page.
- Your Team ID. Required for team accounts only and not required for personal accounts.
- Go to Account → Team in the left navigation. Your Team ID is shown in the top right of the page next to ID.
- You must be a team owner or admin to access this page.
Pod logs
The logs endpoint supports two modes:- Streaming (
?stream=true): Returns a live log stream. Limited to 5 concurrent connections per Pod. Additional connections return429with"too many concurrent log streams". - Snapshot (default): Returns a point-in-time snapshot of logs.
?stream=true to the URL.
The X-Team-Id header is not required for personal accounts.
Pod metrics
Retrieve metrics for a running Pod.pod_id, timestamp, and a metrics object.
Rate limits
Both endpoints share the same rate limit: one request every 5 seconds per Pod, with a burst of 3 requests. Requests over the limit return429.