Skip to content

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

task_id
required
string

Responses

200

Successful Response

Array<object>

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
child_task_id
required
string
completed_at
required
Any of:
string format: date-time
context_id
required
Any of:
string
created_at
required
string format: date-time
delegate_role
required
string
delegator_role
required
string
depth
required
integer
id
required
string format: uuid
parent_task_id
required
Any of:
string
request_summary
required
string
response_summary
required
Any of:
string
status
required
string
tenant_id
required
string format: uuid
workflow_run_id
required
Any of:
string format: uuid

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string