agent-tasks
Get a task by ID
Changed on[!NOTE] This endpoint is in public preview and is subject to change.
Returns a task by ID with its associated sessions
Fine-grained access tokens for "Get a task by ID"
This endpoint works with the following fine-grained token types:
The fine-grained token must have the following permission set:
- "Agent tasks" repository permissions (read)
GitHub App installation access tokens are not supported for this endpoint.
get/agents/tasks/{task_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/agents/tasks/{task_id}
- Auth: none declared
Path parameters
task_idstring required
The unique identifier of the task.
Response
Task retrieved successfully
Changes
- info
added
subschema #1subschema #2to the response bodyallOflist for the response status - info
removed
subschema #1subschema #2from the response bodyallOflist for the response status
- info
- info
endpoint added
- info