Skip to content
Management API Reference

List project log drains

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

OAuth scopes

  • analytics_config:read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{
2
"data": [
3
{
4
"type": "log_drain",
5
"id": "lorem",
6
"attributes": {
7
"name": "lorem",
8
"description": "lorem",
9
"config": {
10
"url": "lorem",
11
"schema": "lorem",
12
"username": "lorem",
13
"password": "lorem",
14
"port": 42,
15
"hostname": "lorem"
16
},
17
"backend_type": "postgres"
18
}
19
}
20
]
21
}