GET
/
v0
/
agents
/
{id}
/
conversation
Get agent conversation
curl --request GET \
  --url https://api.cursor.com/v0/agents/{id}/conversation \
  --header 'Authorization: Bearer <token>'
{
  "id": "bc_abc123",
  "messages": [
    {
      "id": "msg_123",
      "type": "user_message",
      "text": "Add a README.md file with installation instructions"
    }
  ]
}
如果背景代理已被刪除,就無法存取該對話。

Authorizations

Authorization
string
header
required

API key from Cursor Dashboard

Path Parameters

id
string
required

Unique identifier for the background agent

Example:

"bc_abc123"

Response

200
application/json

Conversation retrieved successfully

The response is of type object.