Metrics LIST
GET/metrics
Required Permissions: Metric List
or Metric Admin
Request
Query Parameters
The object key to sort the results by.
Possible values: Value must match regular expression ^,+
A list of owner_ids for filtering, separated by commas.
Possible values: Value must match regular expression ^,+
A list of team_ids for filtering, separated by commas.
Responses
- 200
A JSON Object containing an array of all metrics.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
- ]
- ]
Possible values: >= 1
metrics object[]
Possible values: [positive
, negative
, unknown
]
goal object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
tags object[]
goal_tag object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
teams object[]
team object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
users object[]
user object
Possible values: >= 1
metrics object[]
owners object[]
user object
Possible values: >= 1
tags object[]
owners object[]
user object
Possible values: >= 1
teams object[]
team object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
users object[]
user object
Possible values: >= 1
goals object[]
goal object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
tags object[]
goal_tag object
created_by object
Possible values: >= 1
updated_by objectnullable
Possible values: >= 1
owners object[]
user object
Possible values: >= 1
{
"items": 1,
"page": 0,
"total": 1,
"metrics": [
{
"id": 0,
"goal_id": 70,
"name": "Time to Book",
"description": "The amount of time before a booking has been made",
"type": "goal_time_to_achievement",
"effect": "positive",
"archived": false,
"format_str": "{}s",
"scale": 1,
"precision": 0,
"value_source_property": "",
"property_filter": "",
"created_at": "2024-12-12T13:15:10.481Z",
"created_by_user_id": 1,
"updated_at": "2024-12-12T13:15:10.481Z",
"updated_by_user_id": 0,
"goal": {
"id": 0,
"name": "purchase",
"description": "A goal for tracking how many purchases are made on any of our applications",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.482Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"archived": false,
"tags": [
{
"goal_id": 0,
"goal_tag_id": 0,
"goal_tag": {
"id": 0,
"tag": "psychological:Trust",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.482Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"goals": [
null
]
}
}
],
"teams": [
{
"goal_id": 0,
"team_id": 0,
"team": {
"id": 0,
"external_id": 0,
"name": "Marketing",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.482Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"users": [
{
"user_id": 0,
"user": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.482Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"team_id": 0
}
],
"experiments": [
null
],
"goals": [
null
],
"metrics": [
{
"metric_id": 0,
"team_id": 0
}
]
}
}
],
"owners": [
{
"goal_id": 0,
"user": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"user_id": 0
}
],
"metrics": [
null
]
},
"tags": [
{
"id": 0,
"tag": "location:Header",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.483Z",
"updated_by_user_id": 0
}
],
"owners": [
{
"metric_id": 0,
"user_id": 0,
"user": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
}
}
],
"teams": [
{
"metric_id": 0,
"team_id": 0,
"team": {
"id": 0,
"external_id": 0,
"name": "Marketing",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.483Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"users": [
{
"user_id": 0,
"user": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.483Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"team_id": 0
}
],
"experiments": [
null
],
"goals": [
{
"goal_id": 0,
"goal": {
"id": 0,
"name": "purchase",
"description": "A goal for tracking how many purchases are made on any of our applications",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.484Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"archived": false,
"tags": [
{
"goal_id": 0,
"goal_tag_id": 0,
"goal_tag": {
"id": 0,
"tag": "psychological:Trust",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"created_by_user_id": 0,
"updated_at": "2024-12-12T13:15:10.484Z",
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"updated_by_user_id": 0,
"goals": [
null
]
}
}
],
"teams": [
null
],
"owners": [
{
"goal_id": 0,
"user": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-12T13:15:10.484Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"user_id": 0
}
],
"metrics": [
null
]
},
"team_id": 0
}
],
"metrics": [
null
]
}
}
]
}
]
}