folder_id field on the Create assistant and Update assistant endpoints.
Request Body
namestring required
The folder name (max 255 characters). Must be unique within your account.
color string
A color for the folder badge. One of: gray, slate, red, orange, amber, green, teal, blue, purple, pink.
Response
messagestring
Success message
data object
properties
id integer
The unique identifier of the created folder
name string
The folder name
color string
The folder color (or null)
assistants_count integer
Number of assistants in this folder (always 0 for a new folder)
201 Success Response
422 Validation Error

