Skip to main content
POST
/
v1
/
context
/
compile
curl --request POST \
  --url https://pnbr.io/v1/context/compile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slice_id": "522e9061-2ee0-46b5-8f2d-9c89ee729c7a"
}
'
{
  "boundaries": {
    "projectIds": [
      "9142fa4d-7aad-4a1b-8f99-b522fd37518d"
    ],
    "entityTypeIds": [
      "Company"
    ]
  },
  "slice_id": "522e9061-2ee0-46b5-8f2d-9c89ee729c7a",
  "scope_warnings": [],
  "filter_definition": {
    "entityTypes": [
      "Company"
    ]
  }
}

Authorizations

Authorization
string
header
required

A pnbr- API key. Project-scoped keys make project_id implicit; org-scoped keys require it.

Response

200 - application/json

A CompiledContext (boundaries + spec).