Deutsch
cURL
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" } ] }
Den Gesprächsverlauf eines Hintergrund-Agents abrufen.
API key from Cursor Dashboard
Unique identifier for the background agent
"bc_abc123"
Conversation retrieved successfully
Array of conversation messages ordered chronologically
Anzeigen untergeordnete attribute
Unique identifier for the message
"msg_123"
Type of message - either from the user or the model
user_message
assistant_message
"user_message"
The content of the message
"Add a README.md file with installation instructions"
War diese Seite hilfreich?