GET https://$DB_API_URL/dapi/databases/[:database_id]/logs
field | type | description |
---|---|---|
url | string | Authenticated logs URL for this database |
The request will generate an URL you can use to access the logs of your database.
How to use this endpoint: more information here
Example request
curl -H "Accent: application/json" \
-H "Authorization: Bearer $DB_BEARER_TOKEN" \
-X GET https://$DB_API_URL/api/my-awesome-db-1234/metrics
Returns 200 OK
{
"url": "https://logs.scalingo.com/apps/59e6641ab8c6f11f89d0b950/logs?token=authentication_token"
}