API reference · Origins and routes
Which hostnames an origin serves, counted and paginated
GET
/v1/orgs/{org}/zones/{zone}/origins/{origin}/usage- Permission
origins.origins.read- Operation
origins.origins.usage
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
origin | path | string | yes | for example "origin_01h455vb4pex5vsknk084sn02q" |
limit | query | integer | no | 1 to 100; default 50 |
cursor | query | string | no | 0 to 200 characters |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Response 200
| Field | Type | Required | Notes |
|---|---|---|---|
count | integer | yes | Hostnames routed to the origin. 0 to ∞ |
items | array of object | yes | |
items[].id | string | yes | for example "hostname_01h455vb4pex5vsknk084sn02q" |
items[].name | string | yes | |
nextCursor | string or null | yes |