Support
API ReferencePlatform & IntegrationNode.js Hosting

Read application and build logs.

Get application logs

GET
/apps/{appId}/logs

Authorization

oauth2 hosting.paas.logs:read
AuthorizationBearer <token>

GoDaddy OAuth access token (Bearer)

In: header

Scope: hosting.paas.logs:read

Path Parameters

appId*string

Query Parameters

target*string
Value in"preview" | "publish"
source*string
since*string
lines?integer
Range1 <= value <= 500

Response Body

application/json

application/json

curl -X GET "https://api.godaddy.com/v1/hosting/nodejs/apps/string/logs?target=preview&source=string&since=string"
{
  "logs": [
    {
      "timestamp": "string",
      "source": "string",
      "message": "string",
      "level": "string"
    }
  ],
  "total": 0
}
Empty
Empty
{
  "error": "string",
  "code": "RATE_LIMITED",
  "detail": "string"
}

Agent & Automation Notes

Scopeshosting.paas.apps:read, hosting.paas.apps:create, hosting.paas.apps:update, hosting.paas.apps:delete, hosting.paas.code:write, hosting.paas.deploy:execute, hosting.paas.secrets:write, hosting.paas.logs:read
Rate limit10–120 req/min per client IP depending on operation
On failureCreate app returns 202 with a job. Poll GET /apps/jobs/{jobId} until active or failed. Upload, publish, and rollback return 200 with a job or deployment record. Poll the matching status endpoint until complete. GET operations are safe to retry. Do not resubmit writes without checking current state.

Last updated on

How is this guide?