cURL
curl --request GET \ --url http://localhost/api/admin/segments/ \ --header 'Authorization: <api-key>'
{ "segments": [ { "id": "<string>", "workspaceId": "<string>", "name": "<string>", "definition": { "entryNode": { "id": "<string>", "path": "<string>", "operator": { "windowSeconds": 123 } }, "nodes": [ { "id": "<string>", "path": "<string>", "operator": { "windowSeconds": 123 } } ] }, "updatedAt": 123, "recomputePending": true, "subscriptionGroupId": "<string>", "lastRecomputed": 123 } ] }
Get all segments.
Documentation IndexFetch the complete documentation index at: https://docs.tranthor.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.tranthor.com/llms.txt
Use this file to discover all available pages before exploring further.
Default Response
Show child attributes