Русский
cURL
curl --request GET \ --url https://api.cursor.com/v0/agents/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "bc_abc123", "name": "Add README Documentation", "status": "RUNNING", "source": { "repository": "https://github.com/your-org/your-repo", "ref": "main" }, "target": { "branchName": "cursor/add-readme-1234", "url": "https://cursor.com/agents?id=bc_abc123", "prUrl": "https://github.com/your-org/your-repo/pull/1234", "autoCreatePr": false }, "summary": "Added README.md with installation instructions and usage examples", "createdAt": "2024-01-15T10:30:00Z" }
Получить текущий статус и результаты конкретного фонового агента.
API key from Cursor Dashboard
Unique identifier for the background agent
"bc_abc123"
Agent details retrieved successfully
The response is of type object.
object
Была ли эта страница полезной?