Skip to main content
POST
Attach a folder to an agent or assistant

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

folderId
string
required

Folder ID

Body

application/json
targetType
enum<string>
required

Type of entity to attach the document to

Available options:
agent,
assistant
targetId
string
required

ID of the agent or assistant

Response

Folder attached successfully

success
boolean

Whether the operation succeeded