Models

List Models

GET

Response

This endpoint returns an object
data
list of objectsOptional

Errors

GET
1curl https://app.polytomic.com/api/models \
2 -H "Authorization: Bearer <token>"
1{
2 "data": [
3 {
4 "configuration": {
5 "table": "public.contacts"
6 },
7 "connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
8 "enricher": {
9 "connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
10 "enricher_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
11 },
12 "fields": [
13 {
14 "description": "Unique identifier",
15 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
16 "label": "ID",
17 "name": "id",
18 "remote_type": "string",
19 "type": "string",
20 "unique": true,
21 "user_added": false
22 }
23 ],
24 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
25 "identifier": "id",
26 "labels": [
27 {}
28 ],
29 "name": "Contacts",
30 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
31 "policies": [
32 "248df4b7-aa70-47b8-a036-33ac447e668d"
33 ],
34 "relations": [
35 {
36 "from": "id"
37 }
38 ],
39 "tracking_columns": [
40 "tracking_columns"
41 ],
42 "type": "postgresql",
43 "version": 1
44 }
45 ]
46}