curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"type": "<string>",
"group": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"correlationId": "<string>",
"userId": "<string>",
"agent_id": "<string>",
"data": {}
}
],
"total": 123,
"page": 123,
"limit": 123
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Get the activity feed for an agent
Activity feed of agent interactions, errors, lifecycle and config changes, conversations, artifacts, ratings, access changes, and share events. Backed by Elasticsearch.
curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"type": "<string>",
"group": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"correlationId": "<string>",
"userId": "<string>",
"agent_id": "<string>",
"data": {}
}
],
"total": 123,
"page": 123,
"limit": 123
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Query Parameters
Agent identifier (required).
64Comma-separated list of activity groups (message, error, agent_lifecycle, conversation, artifact, rating, access, share).
256ISO timestamp lower bound.
64ISO timestamp upper bound.
64Filter by correlationId to trace a single workflow.
128Page size (default 25).
Page number (1-indexed, default 1).
Response
Page of activity items.
Was this page helpful?