List Segments

Lists segments in your account for a given project (formerly known as workspace).

Path Params
string
required

The ID of the project (workspace) to get a list of segments from. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

Query Params
int32
Defaults to 0

The offset to retrieve. Useful for pagination

int32
Defaults to 20

The maximum segments to return per call. Default=20. Max=50.

tag
array of strings
Defaults to List of tag to retrieve segments by
tag
Responses

Language
Request
Response
Choose an example:
application/json