Beta
Search...
/
About
For Developers
API Reference
accounts
articles
artifacts
auth-tokens
code-changes
notifications
conversations
auth-connection
dev-users
engagements
event-source
groups
operate
keyring
links
slas
GET
Metric Definitions List
POST
Metric Definitions List Post
GET
Sla Trackers Get
POST
Sla Trackers Get Post
POST
Assign
POST
Create
GET
Get
POST
Get Post
GET
List
POST
List Post
POST
Transition
POST
Update
product-usage
schedules
parts
question-answers
rev-orgs
rev-users
customization
search
service-accounts
snap-ins
snap-widgets
surveys
sys-users
tags
timeline-entries
webhooks
works
Guides
Object Customization
Create accounts and contacts in DevRev
API Reference
slas
Metric Definitions List
GET
https://
api.devrev.ai
/
metric-definitions.list
Lists metric definitions matching a filter.
Query parameters
applies_to_type
enum
Optional
The type of objects the metric definition applies to.
Allowed values:
conversation
issue
ticket
cursor
string
Optional
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
include_custom_metrics
boolean
Optional
Whether to include custom metrics in the response. If not set, then custom metrics are excluded.
limit
integer
Optional
The maximum number of records to return. The default is '50'.
mode
"after" or "before"
Optional
The iteration mode to use, otherwise if not set, then "after" is used.
Allowed values:
after
before
status
"active" or "inactive"
Optional
The status of the metric definition.
Allowed values:
active
inactive
type
"time" or "value"
Optional
The type of metric definitions sought.
Allowed values:
time
value
Response
This endpoint returns an object.
metric_definitions
list of objects
The list of metric definitions.
Show 7 properties
next_cursor
string
Optional
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursor
string
Optional
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.
Built with