Background Agents

List Background Agent Sessions

Lists the agent's conversation sessions on its external platform. Sessions created via the invoke endpoint (or webhooks) are enriched with their local session_key correlation.

Only available for agents on the claude-managed-agents platform.

get/api/background-agents/{id}/sessions

Request

  • Base URL: https://app.withwillow.ai
  • URL: https://app.withwillow.ai/api/background-agents/{id}/sessions
  • Auth: HTTP bearer

Path parameters

idstring required

The ID of the background agent

Query parameters

limitinteger

Maximum number of sessions to return.

pagestring

Opaque page cursor from a previous response (pagination.next_page / pagination.prev_page).

order'asc' | 'desc'

Sort order by creation time.

include_archivedboolean

Include archived sessions.

Response

Sessions retrieved successfully

Example response

{
  "data": [
    {
      "id": "session_xyz789"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.