Skip to main content

Run a session

holo run and run_session / runSession create the session, block until it ends, and return the answer.
Long sessions compact their history automatically.

Get the result

Over raw HTTP, the create call returns at once with the id, which every follow-up call (message, pause, cancel) uses. Long-poll changes by its polling rules, or read latest_answer with Retrieve a session once the session is terminal.

Session states

The session object carries the current state. A message or a forced answer restarts a finished session at pending, billed again.

Customize a catalog agent for one session

overrides replaces fields of a catalog agent for one session, keyed by path. For example, send a web surfer to a chosen start page:

Find past sessions

GET /api/v2/sessions pages through your sessions, newest first. Combine filters, for example ?status=running&status=queued&agent=web-price-finder. The SDKs expose it as client.sessions.list_sessions(...) / listSessions.