Updated
On this page
Thin read-only wrappers over orxtra.trace queries: task lists, task attempts, transcripts (with search), events, and notepad entries scoped to a run or session.
#services.src.orxtra.services._trace
#services.src.orxtra.services._trace
#list_tasks
python
async def list_tasks(pool: asyncpg.Pool, run_id: UUID) -> list[TaskSummary]#get_task_attempts
python
async def get_task_attempts(pool: asyncpg.Pool, task_id: UUID) -> list[TaskAttempt]#get_transcript
python
async def get_transcript(pool: asyncpg.Pool, session_id: UUID) -> list[dict[str, Any]]#search_transcript
python
async def search_transcript(pool: asyncpg.Pool, session_id: UUID, query: str) -> list[dict[str, Any]]#query_events
python
async def query_events(pool: asyncpg.Pool, run_id: UUID, event_type: str | None=None, since: datetime | None=None, limit: int=100) -> list[dict[str, Any]]#get_notepad
python
async def get_notepad(pool: asyncpg.Pool, run_id: UUID) -> list[NotepadEntry]