Assistants

Retrieves a paginated list of assistants for the specified project.

get

Retrieves a paginated list of assistants for the specified project, optionally filtered and sorted.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number to retrieve.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to filter assistants.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/assistants

Creates a new assistant in the specified project.

post

Creates a new assistant in the specified project.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstringRequired
Body
namestring · nullableRequired
descriptionstring · nullableOptional
documentObjectIdentifiersstring · uuid[] · nullableOptional
Responses
chevron-right
200

OK

post
/projects/{projectIdentifier}/assistants

Retrieves an assistant by its object identifier.

get

Retrieves a assistant by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the assistant to retrieve.

projectIdentifierstringRequired
Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/assistants/{objectIdentifier}

Updates an assistant by its object identifier.

put

Updates an assistant by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the assistant to update.

projectIdentifierstringRequired
Body
namestring · nullableOptional
descriptionstring · nullableOptional
autoRenameboolean · nullableOptional
modelIdentifierstring · uuid · nullableOptional
Responses
chevron-right
200

OK

put
/projects/{projectIdentifier}/assistants/{objectIdentifier}

Deletes an assistant by its object identifier.

delete

Deletes an assistant by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the assistant to delete.

projectIdentifierstringRequired
Responses
delete
/projects/{projectIdentifier}/assistants/{objectIdentifier}

No content

Gets the total token length for the specified documents in the project.

post

Gets the total token length for the specified documents in the project.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstringRequired
Body
documentIdsstring · uuid[] · nullableOptional
Responses
chevron-right
200

OK

Responseinteger · int64
post
/projects/{projectIdentifier}/assistants/query-token-length

Last updated