Get Delegation Links
const url = 'https://api.ultimateteam.ai/api/v1/accountability/delegations/example/links';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/accountability/delegations/example/links \ --header 'X-API-Key: <X-API-Key>'Get all delegation links where the given task is the child.
Shows who delegated to this task and what was requested.
Args: task_id: The child task ID to look up. user: The authenticated user context. svc: The delegation chain service (injected).
Returns: List of delegation chain link responses.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Responses
Section titled “ Responses ”Successful Response
Response schema for a persisted delegation chain link.
Attributes: id: Unique link identifier. tenant_id: Owning tenant UUID. parent_task_id: Task ID of the delegating parent (None for root). child_task_id: Task ID of the delegated-to child task. delegator_role: Agent role that delegated. delegate_role: Agent role that received delegation. request_summary: Description of what was requested. response_summary: Description of what was delivered. depth: Chain depth (root = 1). context_id: A2A context for grouping. workflow_run_id: Optional FK to workflow_runs.id. status: Link status. created_at: When the delegation was created. completed_at: When the delegation completed or failed.
object
Examplegenerated
[ { "child_task_id": "example", "completed_at": "2026-04-15T12:00:00Z", "context_id": "example", "created_at": "2026-04-15T12:00:00Z", "delegate_role": "example", "delegator_role": "example", "depth": 1, "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "parent_task_id": "example", "request_summary": "example", "response_summary": "example", "status": "example", "tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "workflow_run_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }]Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}