GET/segments

List segments

Lists segments. Use limit to control the number of results and after or before to navigate the results with cursors.

3 parameters
limitintegeroptional
The number of segments to return. Must be between 1 and 100.
afterstringoptional
A cursor to return segments that come after the specified item.
beforestringoptional
A cursor to return segments that come before the specified item.

1 status code
200Returns an object containing a `data` array of segments and a `has_more` value indicating whether more results are available.
objectstringoptional
Type of the response object.
has_morebooleanoptional
Indicates if there are more results available.
dataarray<object>optional
Array containing segment information.

Error handling

limit must be between 1 and 100 when provided. Use after or before as a cursor to request results relative to a specified item.