Skip to content

participants

FastAPI endpoint functions for managing participant resources.

Attributes

RESOURCE_PARTICIPANTS module-attribute

RESOURCE_PARTICIPANTS = 'Participants'

participants_router module-attribute

participants_router = APIRouter(
    prefix=f"/{RESOURCE_PARTICIPANTS}",
    tags=[RESOURCE_PARTICIPANTS],
    responses=DEFAULT_HTTP_ERROR_RESPONSES,
)

Classes

Functions

list_participants async

list_participants(
    fastapi_request: Request,
    namespace_pkid: str = namespace_path_param,
    include_deleted: bool = Query(
        False,
        description="Include deleted participants in the response",
    ),
    job_pool: ThreadPoolExecutor = Depends(
        job_pool_dependency
    ),
)

List all participants in the namespace (users and agents)