Skip to main content
A session is a live interaction between a client member and an AI agent.

Lifecycle

Session statuses

Capacity

Each plan defines maxActiveSessions per seat. If the concurrent limit is reached when a client tries to launch, the API returns 429 Too Many Requests.

Agent authentication per session

When a session starts, Aiybiz generates a unique agentAuthToken. The agent must:
  1. Call POST /agent/:sessionId/auth with the token to verify it
  2. Include the token in all subsequent message calls
This prevents one agent from injecting messages into a different session.

Messages

Shared items

Clients can share files and secrets within a session via /sessions/:id/shared-items. Item types: document | secret.

Real-time delivery

The platform uses Server-Sent Events (SSE) to push new messages to the client browser without polling.