ServerOps.ggbeta
API ReferenceLogs

Get a log entry

Requires logs:read scope.

Coming soon. This endpoint is not yet available.

GET
/logs/{id}

Authorization

bearerAuth logs:read
AuthorizationBearer <token>

API token from your dashboard.

Format: so_live_... (production) or so_test_... (test mode).

Tokens carry one or more scopes. Request only the scopes your integration needs:

ScopeGrants
media:readList and retrieve files
media:writeUpload and delete files
logs:readRead log entries
logs:writeIngest log entries
cases:readRead cases
cases:writeCreate and update cases
apps:readRead apps
apps:writeSubmit apps
usage:readRead quota usage
members:readList organisation members
members:writeInvite and remove members
billing:readRead billing and subscription info
tokens:writeCreate and revoke API tokens

In: header

Scope: logs:read

Path Parameters

id*string

Log entry ID

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/logs/string"
{
  "id": "string",
  "level": "debug",
  "message": "string",
  "meta": {},
  "created_at": "2019-08-24T14:15:22Z"
}
{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid authorization token"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "file not found"
  }
}
{
  "error": {
    "code": "internal",
    "message": "an unexpected error occurred"
  }
}