List agent activity
GET
/api/v3/agents/activity
const url = 'https://api.tryletterhead.com/api/v3/agents/activity?api=true&sort=newest';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.tryletterhead.com/api/v3/agents/activity?api=true&sort=newest' \ --header 'Authorization: Bearer <token>'Org-wide, paginated feed of agent runs and their judgments across every channel your API key can see. Filter by agent, agent type, date range, or a free-text query, and sort newest or oldest first.
Authorizations
Section titled โAuthorizations โParameters
Section titled โ Parameters โQuery Parameters
Section titled โQuery Parameters โ api
required
boolean
Required. Set to true.
limit
integer
Results per page. Defaults to 20, maximum 100.
page
integer
Page number. Defaults to 1.
sort
string
Sort order. Defaults to newest.
agentUniqueId
string
Restrict the feed to one agentโs runs.
agentType
integer
Restrict the feed to one agent type.
dateFrom
string
Only runs on or after this date, as YYYY-MM-DD.
dateTo
string
Only runs on or before this date, as YYYY-MM-DD.
queryParams
string
Free-text search over run content.
Responses
Section titled โ Responses โ200 OK
Media type application/json
object
items
Array<object>
object
uniqueId
string
agentUniqueId
string
agentName
string
agentType
integer
letterTitle
string
contextLabel
string
resourceType
integer
resourceUniqueId
string
status
integer
summary
string
validationCode
integer
dispatchedAt
string
startedAt
string
completedAt
string
judgments
Array<object>
object
uniqueId
string
severity
integer
confidence
integer
category
string
finding
string
suggestion
string
state
integer
createdAt
string
updatedAt
string
isOutdated
boolean
createdAt
string
updatedAt
string
message
string
total
integer
Example
{ "items": [ { "uniqueId": "vq5rnof1op", "agentUniqueId": "mofuehvagv", "agentName": "House style checker", "agentType": 0, "letterTitle": "This week in the daily", "contextLabel": "the-daily", "resourceType": 0, "resourceUniqueId": "35f725edbi", "status": 1, "summary": "No major issues found.", "validationCode": 200, "dispatchedAt": "2026-06-18T14:22:03+00:00", "startedAt": "2026-06-18T14:22:05+00:00", "completedAt": "2026-06-18T14:22:09+00:00", "judgments": [], "createdAt": "2026-06-18T14:22:03+00:00", "updatedAt": "2026-06-18T14:22:09+00:00" } ], "message": "", "total": 1}Still can’t find what you need? Contact support.