Get List

List entities with pagination, permission checks, and metadata.

Supports all entity types from both the Flask backend and the FastAPI backend:

  • Content types (Scenario, Collection, Chat, ScenarioSession): rich path with pagination, filters, sort, access-level enrichment, and default bookmark creation.
  • Legacy types (User, UserActivity, TeamMember, Team, Notification, Task, Character, and others): simple fetch path mirroring Flask backend behaviour.

Args: request: FastAPI request object (for compatibility with decorators). payload: Request body. user: Authenticated user data.

Returns: Dictionary with 'data' (list of entities), 'total_count', and optional 'next_page_token'.

Raises: HTTPException: For invalid requests (400) or access denied (403).

post/list

Request

  • Base URL
    https://backend.praktiki.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

entity_typestring nullable
field_pathsstring[] nullable
access_modestring nullable
limitinteger nullable
page_tokenstring nullable
date_rangeobject nullable
topic_idsstring[] nullable
team_idstring nullable
assignee_idstring nullable
scenario_idstring nullable
is_session_completedboolean nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.