v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
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}

Path parameters

assistant_idinteger required
library_idinteger required

Query parameters

cookie_namestring nullable

Response

Successful Response

created_atstring date-time

UTC timestamp when the record was created.

updated_atstring date-time

UTC timestamp when the record was last updated.

creator_user_idinteger required

ID of the user who created the record.

updater_user_idinteger nullable

ID of the user who last updated the record, if any.

assistant_idinteger required

ID of the assistant.

library_idinteger required

ID of the library linked to the assistant.

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
}