List branch segments

Lists unique shared segments actively used by this branch. Several keys using one segment do not duplicate it. Supports filter and cursor pagination; requires stack-level segment view permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^prb_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public identifier of the addressed resource.

Query Params
filter
object

Filters and sorts the list: URL-encoded JSON of the schema SegmentFilter. where holds exactly one _and or _or with an array of clauses; a clause is another _and/_or or a field with exactly one operator. sort lists fields with + (ascending) or - (descending). An unsupported field, operator or value answers 400 invalid_filter with a pointer into the filter.

FieldTypeOperatorsSort
segment[ai_context]text_eq _ne _like _nlike _ilike _nilike _contains _ncontains _icontains _nicontains _starts _ends _blank _nblank–
segment[created_at]timestamp_eq _lt _gt _lte _gte _within _null _nnullyes
segment[description]text_eq _ne _like _nlike _ilike _nilike _contains _ncontains _icontains _nicontains _starts _ends _blank _nblank–
segment[id]id_eq _ne _in _nin–
segment[is_plural]boolean_true _false–
segment[updated_at]timestamp_eq _lt _gt _lte _gte _within _null _nnullyes
string

Opaque pagination cursor from the next_cursor field of a previous response. Omit for the first page.

int32
1 to 100
Defaults to 20

Maximum number of items to return per page (1-100).

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json