ApiActivity
List Activity
List recent account activity, newest first.
List recent account activity, newest first.
Returns a page of entries plus a cursor for the next page. Pass the returned
next_cursor back as cursor to page through older entries; a null
next_cursor means there are no more.
Optional filters (combine freely): resource_type for a single kind of resource
(e.g. run), actor_type for who acted (user, agent, or system), and
since for an inclusive lower bound on the entry time (ISO 8601). When
filtering and paging, send the same filters with each cursor.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Query Parameters
limit?Limit
Default
50Range
1 <= value <= 50cursor?string|null
resource_type?string|null
actor_type?|null
since?|null
Header Parameters
X-API-Key?string|null
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/activity"{
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"action": "string",
"actor_type": "string",
"actor_label": "string",
"summary": "string",
"resource_type": "string",
"resource_id": "string",
"payload": {},
"created_at": "2019-08-24T14:15:22Z"
}
],
"next_cursor": "string",
"includes_admin_entries": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}