Connections

List Connections

GET

Response

This endpoint returns an object
data
list of objectsOptional

Errors

GET
1curl https://app.polytomic.com/api/connections \
2 -H "Authorization: Bearer <token>"
1{
2 "data": [
3 {
4 "api_calls_last_24_hours": 2021,
5 "configuration": {
6 "database": "example",
7 "hostname": "postgres.example.com",
8 "password": "password",
9 "port": 5432,
10 "username": "user"
11 },
12 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
13 "name": "My Postgres Connection",
14 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
15 "policies": [
16 "248df4b7-aa70-47b8-a036-33ac447e668d"
17 ],
18 "status": "healthy",
19 "status_error": "error message",
20 "type": {
21 "id": "postgresql",
22 "name": "PostgreSQL"
23 }
24 }
25 ]
26}