Get Delegation Links
GET /api/v1/accountability/delegations/{task_id}/links
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
Parameters
Path Parameters
Responses
200
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
422
Validation Error