Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Accepts a pending cross-tenant trust delegation offer. Once accepted, the accepting agent gains the delegated scopes for the duration specified in the original offer. The acceptance event is recorded in the transparency log with a cryptographic receipt. Only agents within the target tenant specified in the original offer can accept it. The offer must still be in offered status and not yet expired.

Authentication

X-API-Key
string
required
API key with delegations:accept scope. Alternatively, pass a Bearer JWT token in the Authorization header.
X-Tenant-ID
string
required
Tenant identifier of the accepting party. Must match the target_tenant_id from the original offer.

Path Parameters

id
string
required
Delegation offer identifier (e.g. deleg_01HXYZ4A5B6C7D8E9F).

Request

accepted_by_agent_id
string
required
MAIP agent identifier of the agent accepting the delegation. Must belong to the target tenant.

Response

id
string
Delegation identifier.
status
string
Updated status. active upon successful acceptance.
offered_by_agent_id
string
The agent that created the original offer.
offered_by_tenant_id
string
Tenant of the offering agent.
accepted_by_agent_id
string
The agent that accepted the delegation.
accepted_by_tenant_id
string
Tenant of the accepting agent.
scopes
string[]
Delegated permission scopes now active for the accepting agent.
max_depth
integer
Maximum re-delegation depth.
accepted_at
string
ISO 8601 timestamp when the delegation was accepted.
expires_at
string
ISO 8601 timestamp when the delegation will automatically expire.
receipt_id
string
Transparency-log receipt anchoring this delegation acceptance event.