API Reference

/segments

Create a Segment.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The title of the Segment.

string

The description of the Segment.

int32

The priority of the Segment.

boolean
Defaults to false

Track Unallocated Costs which are not assigned to any of the created Segments.

object

Report settings configurable on top-level Segments.

string

The token of the Workspace to add the Segment to. Ignored if 'segment_token' is set. Required if the API token is associated with multiple Workspaces.

string

The filter query language to apply to the Segment. Additional documentation available at https://docs.vantage.sh/vql.

string

The token of the parent Segment this new Segment belongs to. Determines the Workspace the segment is assigned to.

Responses

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json