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"
    }
  ]
}
Kalau agen latar belakang udah dihapus, kamu nggak bisa akses percakapannya.

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.