Skip to main content
GET
/
v2
/
apps
/
{app_id}
/
logs
Get Application Logs
curl --request GET \
  --url https://api.squarecloud.app/v2/apps/{app_id}/logs \
  --header 'Authorization: <authorization>'
{
    "status": "success",
    "response": {
        "logs": "Working!"
    }
}
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.
Authorization
string
required
The API key for your account. You can find this in your account settings.

Parameters

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

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.
{
    "status": "success",
    "response": {
        "logs": "Working!"
    }
}