Langsung ke konten utama
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 sudah dihapus, kamu nggak bisa lagi mengakses 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

Conversation retrieved successfully

id
string
required

Unique identifier for the background agent

Example:

"bc_abc123"

messages
object[]
required

Array of conversation messages ordered chronologically

I