timeline-entries

List

GET
Lists the timeline entries for an object.

Query parameters

objectstringRequired
The ID of the object to list timeline entries for.
cursorstringOptional
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
limitintegerOptional

The maximum number of entries to return. If not set, then this defaults to 50.

modeenumOptional
The iteration mode to use, otherwise if not set, then "after" is used.
Allowed values: afterbefore
visibilityenumOptional
The visibility of the timeline entries to filter for. Note this is a strict filter, such that only entries with the exact visibilities specified will be returned.
Allowed values: externalinternalprivatepublic

Response

This endpoint returns an object
timeline_entries
list of unions
The timeline entries for the object.
next_cursor
stringOptional
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursor
stringOptional
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.
GET
1curl -G https://api.devrev.ai/timeline-entries.list \
2 -H "Authorization: <apiKey>" \
3 -d object=PROD-12345
200Retrieved
1{
2 "timeline_entries": [],
3 "next_cursor": "next_cursor",
4 "prev_cursor": "prev_cursor"
5}