Application
Get Application Logs
Collect the latest logs from your application.
GET
/
v2
/
apps
/
{app_id}
/
logs
Header
Path
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/logs \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"logs": "Working!"
}
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
app_id
string
requiredThe 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.
Was this page helpful?
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/logs \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"logs": "Working!"
}
}