List the workspace's segments, newest first by default. A list leaves the counts out.
/v1/segmentsAuthorizationBearer token · headerrequiredAn API key (nb_live_…, nb_test_…), a workspace token (nbs_…) or a CLI token (nbc_…).
limitinteger<int64>Segments per page, 1 to 100 (default 20).
cursorstringThe next_cursor of the previous page.
orderstringdesc (default) or asc.
includestringtotal_count adds an exact count up to 10,000.
A page of segments.
dataobject[]requiredAt most limit rows, 100 at most.
Show propertiesHide properties
objectcomputed_atTimestamp | nullShow propertiesHide properties
string<date-time>nullcreated_atTimestamprequiredfilterFilterrequiredA segment's filter, as written and stored.
Show propertiesHide properties
conditionsCondition[]requiredThe conditions, 1 to 20.
Show propertiesHide properties
Conditionfieldstringrequiredemail, email_domain, given_name, family_name, company, created_at, or a
custom field as fields.<key>.
operatorOperatorrequiredHow a condition compares.
equalsnot_equalsinstarts_withexistsnot_existsgtgteltltevalueanyWhat the field is compared with: absent for exists and not_exists, a list of 1 to
100 values for in, one value of the field's type otherwise (an RFC 3339 instant for
created_at).
matchCombineHow a filter's conditions combine.
allanyidId_Segmentrequirednamestringrequiredpeople_countinteger<int64> | nullThe people the filter matches, counted when the segment is retrieved, up to 10,000; null in a list.
people_count_cappedboolean | nullTrue when more than 10,000 people match; null in a list.
updated_atTimestamprequiredversioninteger<int64>requiredThe segment's version, also the response's ETag: updated_at in microseconds since
the Unix epoch. An update sent with it in If-Match applies only to this version, so a
replaced filter never undoes a change made since it was read.
metaMetarequiredThe page metadata.
Show propertiesHide properties
has_morebooleanrequirednext_cursorstring | nulltotal_countinteger<int64> | nullWith ?include=total_count: exact up to 10,000.
total_count_cappedboolean | nullWith ?include=total_count: true when the count stopped at 10,000.
The cursor is not valid for this request.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
No valid credential.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
The credential lacks people:read.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
A parameter is invalid.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.