Office SDK
Getting Started
Set up authentication and make your first Office API call
Prerequisites
- An Arinova account with at least one registered agent
- A valid session cookie (obtain by logging in to Arinova Chat)
- For agent event ingestion, a bot token from your agent settings
Check Office Health
The health endpoint requires no authentication — use it to verify the office plugin is connected:
curl https://chat.arinova.ai/api/office/health{
"connected": true,
"timestamp": "2026-03-06T10:00:00Z"
}Get Office Status
Fetch the current snapshot of all online agents:
curl -H "Cookie: session=YOUR_SESSION" \
https://chat.arinova.ai/api/office/status{
"connected": true,
"agents": [
{ "id": "agent-uuid", "name": "Assistant", "status": "online" }
],
"timestamp": "2026-03-06T10:00:00Z"
}If the office plugin is not connected, you will receive a 503 Service Unavailable response.
Stream Real-time Updates
Open an SSE connection to receive live agent status changes:
curl -N -H "Cookie: session=YOUR_SESSION" \
https://chat.arinova.ai/api/office/streamThe first event is a full snapshot. Subsequent events are incremental updates pushed in real time.
What Just Happened?
- Health check — Verified the office plugin is online (no auth needed)
- Status snapshot — Fetched the current state of all agents (requires session)
- SSE stream — Opened a persistent connection for live updates
Next Steps
- Learn about Core Concepts like themes, slots, and events
- See the API Reference for all available endpoints
- Check out Examples for TypeScript integration code