简体中文
cURL
curl --request GET \ --url https://api.cursor.com/v0/agents \ --header 'Authorization: Bearer <token>'
{ "agents": [ { "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" } ], "nextCursor": "bc_def456" }
为已认证用户获取其所有后台代理的分页列表。
API key from Cursor Dashboard
Maximum number of background agents to return
1 <= x <= 100
20
Pagination cursor from the previous response
1
"bc_xyz789"
Agents retrieved successfully
The response is of type object.
object
此页面对您有帮助吗?