Background Agents
Get Session Events
Returns the conversation log (event stream) for a single session of this agent, along with the session record.
Only available for agents on the claude-managed-agents platform.
get/api/background-agents/{id}/sessions/{sessionId}/events
Request
- Base URL: https://app.withwillow.ai
- URL: https://app.withwillow.ai/api/background-agents/{id}/sessions/{sessionId}/events
- Auth: HTTP bearer
Path parameters
idstring required
The ID of the background agent
sessionIdstring required
The platform session ID (from the sessions list or the invoke response)
Query parameters
limitinteger
Maximum number of events to return.
pagestring
Opaque page cursor from a previous response.
order'asc' | 'desc'
Sort order by event time.
Response
Session events retrieved successfully
Example response
{
"data": {
"session": {
"id": "session_xyz789"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.