Goal

Get all goals

Get a list of all goals. For more information on paramsIO refer to the Get started article, and see the Using paramsIO tutorial for practical use cases. To use optionalFields check out this guide.

get/goals

Request

Query parameters

pageinteger

Page number

perPageinteger

Number of items per page

optionalFieldsstring[]

Response

OK

createdByinteger

Account Id of the creator of the experiment

dateCreatedstring date-time
dateModifiedstring date-time
descriptionstring
experimentAmountinteger

Number of experiments using this goal. This is an optional field that that is included in the request body

experimentsinteger[]

List of experiment ids using this goal. This is an optional field that is included in the request body

featureFlagAmountinteger

Number of feature flags using this goal. This is an optional field that that is included in the request body

hasMultipleConversionsboolean required

Indicates if this goal has multiple conversions

holdoutAmountinteger

Number of holdouts using this goal. This is an optional field that is included in the request body

holdoutsinteger[]

List of holdout ids using this goal. This is an optional field that is included in the request body

idinteger

Unique Id of the goal

isActiveboolean

Deprecated. Use status instead. Indicates the status of the goal: active or not

isTargetingSegmentMentalistboolean

Indicates if the goal is related to a mentalist segment. This is an optional field that is included in the request body

mentalistWeightnumber double
namestring required

Name of the goal

personalizationAmountinteger

Number of personalizations using this goal. This is an optional field that is included in the request body

personalizationsinteger[]

List of personalization ids using this goal. This is an optional field that is included in the request body

siteIdinteger required

Site Id of the project that the goal belongs to

status'ACTIVE' | 'INACTIVE'

Indicates the status of the goal: active or inactive

tagsstring[]

List of tags belonging to this goal. For GET requests: this is an optional field that has to be specified in request params.

targetingSegmentMentalistinteger[]
trackingToolsstring[]
type'CLICK' | 'CUSTOM' | 'SCROLL' | 'PAGE_VIEWS' | 'URL' | 'TIME_SPENT' | 'RETENTION_RATE' | 'WAREHOUSE' | 'RATIO_METRICS' required

Type of goal

Changes

No recorded changes to this operation across all 1 revision of this API.