Omni Developers
Guides

Read persistent history

Page through durable messages in an Omni workspace.

curl -sS "$OMNI_API_ORIGIN/v1/workspaces/$OMNI_WORKSPACE_ID/messages?limit=50" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Read data.messages in the returned stable order. If data.next_cursor is present, request the next bounded page:

curl -sS "$OMNI_API_ORIGIN/v1/workspaces/$OMNI_WORKSPACE_ID/messages?limit=50&cursor=$OMNI_CURSOR" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Treat the cursor as opaque. Message citations use the same validated structures returned by task status and task events.