Skip to main content
POST
Accept Delegation
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

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

Path Parameters

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

Request

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

Response

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

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

delegationId
string<uuid>
required

Delegation identifier

Body

application/json
agent_id
string<uuid>
required

Accepting agent (must match to_agent_id)

token
string
required

Delegation acceptance token from the offer

Response

Delegation accepted

delegation_id
string<uuid>
from_agent_id
string<uuid>
to_agent_id
string<uuid>
scopes
string[]
ttl_seconds
integer
conditions
object
status
enum<string>
Available options:
offered,
active,
expired,
revoked
token
string

Delegation acceptance token (returned on offer)

created_at
string<date-time>
expires_at
string<date-time>