Skip to main content
GET
Get Application Logs
This endpoint is strictly rate limited. Exceeding any of the limits returns 429 Too Many Requests:
  • 1 request every 5 seconds per user, per application.
  • 20 requests every 10 seconds per user across all applications, followed by a 30-second cooldown.
When you receive a 429, stop polling that application and wait at least the cooldown (~30 seconds) before retrying.
Use this endpoint only for a point-in-time snapshot of logs (opening the logs tab or a manual refresh). For live, continuous logs, use the Real-time Logs (SSE) endpoint, which streams logs in real time without hitting this rate limit.
string
required
The API key for your account. You can find this in your account settings.
This endpoint fetches the application’s most recent stdout/stderr buffer directly from the cluster: it is a short-lived snapshot, not a stream. stdout and stderr are returned concatenated in the order they were written, with no per-line distinction between the two, unlike the Real-time Logs event which prefixes each line with its stream id. Use it when you need a one-off look at recent output, for example rendering the logs tab on page load or after a manual refresh button. It returns 404 when the application is offline, has never been deployed, or the cluster returns a transient error. Workspace members with access to the application can call it the same way the owner does.

Parameters

string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

string
Indicates whether the call was successful.. success if successful, error if not.
object
The contents of the response.