Skip to main content
POST
Use this route to control which folders, and therefore which knowledge, an agent can access.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Body parameters

array
required
Batch of folder-agent changes.

Response

boolean
Always true when the batch succeeds.

Errors

The request body is malformed, or one of the enum values is invalid.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope.