Skip to main content
GET
/
v1
/
sectors
/
{sector_id}
Get a sector
curl --request GET \
  --url https://api.passu.ai/v1/sectors/{sector_id} \
  --header 'Authorization: Bearer <token>'
{
  "sector": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "level": 123,
    "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "ancestors": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sector_id
string<uuid>
required

Query Parameters

include_ancestors
boolean
default:false

Include the ancestor chain (root → parent) in the response.

Response

Successful Response

sector
Sector · object
required
ancestors
Sector · object[]