Skip to main content

Endpoint

GET /domains/
Returns all non-deleted domains as an array. The response is not paginated; all domains are returned in a single request (capped at 100 records internally).

Response

[]
object[]

Examples

curl --request GET \
  --url 'http://localhost:8080/domains/'

Sample response

200
[
  {
    "id": "64a1f2b3c4d5e6f7a8b9c0a1",
    "name": "Tourism flows",
    "color": "#3B82F6",
    "image": "https://cdn.example.com/domains/tourism-flows.jpg",
    "icon": "https://cdn.example.com/icons/tourism-flows.svg",
    "subdomains": ["Visitor volume", "Visitor spending", "Visitor origin"]
  },
  {
    "id": "64a1f2b3c4d5e6f7a8b9c0a2",
    "name": "Environmental impact",
    "color": "#10B981",
    "image": "",
    "icon": "",
    "subdomains": ["Carbon emissions", "Waste management", "Water usage"]
  }
]

Build docs developers (and LLMs) love