Skip to main content
POST
Grant client files to an agent

Authorizations

Authorization
string
header
required

An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.

Path Parameters

agentId
string
required

Agent id

Body

application/json
nodeIds
string<uuid>[]
required
Minimum array length: 1

Response

Newly inserted grants (already-granted nodeIds are silently skipped, so the array may be shorter than the request, even empty).

id
string<uuid>
required
agentId
string<uuid>
required
nodeId
string<uuid>
required
createdAt
string<date-time>
required
grantedBy
string<uuid>
node
object

Only present on the list endpoint (joined).