Docs

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

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
originpathstringyesfor example "origin_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
x-obhut-management-assignmentheaderstringnoSelect 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

FieldTypeRequiredNotes
countintegeryesHostnames routed to the origin. 0 to ∞
itemsarray of objectyes
items[].idstringyesfor example "hostname_01h455vb4pex5vsknk084sn02q"
items[].namestringyes
nextCursorstring or nullyes