Assistant
Add a library to an assistant
Enables a library for a assistant by creating a new association
post/assistants/{assistant_id}/libraries/{library_id}
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
assistant_idinteger required
library_idinteger required
Query parameters
cookie_namestring nullable
Response
Successful Response
Example response
{
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-16T08:00:00Z",
"creator_user_id": 12,
"updater_user_id": 12,
"assistant_id": 1,
"library_id": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.