Skip to main content
Retrieves a paginated list of all assistants with optional filtering criteria using the Rapida API.
For more authentication options, see: https://doc.rapida.ai/api-reference/authentication

Parameters

connectionConfig
ConnectionConfig
required
Configuration for the client connection.
request
GetAllAssistantRequest
required

Usage

from rapida import (
    ConnectionConfig,
    GetAllAssistantRequest,
    get_all_assistant,
)
from pprint import pprint

connection_config = ConnectionConfig.default_connection_config(
    ConnectionConfig.with_sdk("{rapida-api-key}")
)
response = get_all_assistant(
    client_cfg=connection_config,
    request=GetAllAssistantRequest(
        paginate=Paginate(page=0, pageSize=20),
        # criterias=[Criteria(key="KEY", value="VALUE", logic="should")],
    ),
)
pprint(response)

Response

code
int32
Numeric status code for the operation.
success
boolean
Indicates whether the operation was successful.
data
Assistant[]
Array of assistant objects returned by the request.
error
object
Error information, if applicable.
paginated
object
Pagination information for the response.