> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ada.cx/_mcp/server.

# Data Export API: last_agent_id and last_agent_name on the Conversations endpoint

The v2 Conversations endpoint of the Data Export API now returns two additional fields on each conversation:

* `last_agent_id` — the unique ID of the Agent who most recently handled the conversation
* `last_agent_name` — the Agent's name, corresponding to `last_agent_id`

Both fields identify the Agent with the most recent activity timestamp on the conversation. They return `null` when no Agent was assigned to the conversation.

See the [Conversation object reference](/data-export-conversation-object) for the full schema.