Skip to content
Management API Reference

List project log drains

get/v2/projects/{ref}/analytics/log-drains

OAuth scopes

  • analytics_config:read

The fine-grained token must include the following permissions to access this endpoint:

  • analytics_config_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

{
"data": [
{
"type": "log_drain",
"id": "lorem",
"attributes": {
"name": "lorem",
"description": "lorem",
"config": {
"url": "lorem",
"schema": "lorem",
"username": "lorem",
"password": "lorem",
"port": 42,
"hostname": "lorem"
},
"backend_type": "postgres"
}
}
]
}