Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Get the activity feed's live channel

GET
/api/v3/agents/activity/channel
curl --request GET \
--url 'https://api.tryletterhead.com/api/v3/agents/activity/channel?api=true' \
--header 'Authorization: Bearer <token>'

Returns the name of the private channel to subscribe to for real-time updates to the agent activity feed (see List agent activity), so new runs and judgments can appear without polling. Pair with Authenticate the activity feed channel to complete the subscription.

api
required
boolean

Required. Set to true.

200 OK

Media type application/json
object
items
object
channel
string
message
string
total
integer
Example
{
"items": {
"channel": "private-org-482-agent-feed"
},
"message": "",
"total": 1
}

Still can’t find what you need? Contact support.