日本語
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" } ] }
バックグラウンドエージェントの会話履歴を取得する。
API key from Cursor Dashboard
Unique identifier for the background agent
"bc_abc123"
Conversation retrieved successfully
Array of conversation messages ordered chronologically
Show child attributes
このページは役に立ちましたか?