Complete endpoint documentation for model inference, agent execution, vector search, and webhooks.
IN THIS GUIDE
1. Bearer Token Authentication
All HTTP requests to Varixen API endpoints must include a valid API Bearer token in the `Authorization` header.
bashvarixen-cli
curl -X POST https://api.varixen.com/v4/agents/run \
-H "Authorization: Bearer vrx_live_9f8d7c6b5a4e3" \
-H "Content-Type: application/json" \
-d '{"agentId": "ag_sales_copilot", "input": "Prepare pre-call brief for Acme Corp"}'2. Agent Execution POST /v4/agents/run
Triggers an autonomous multi-step agent execution returning streaming event tokens or a final JSON response object.
| Parameter | Type | Required | Description |
|---|---|---|---|
agentId | string | Yes | Unique identifier of configured AI agent |
input | string | Yes | Natural language user prompt or JSON payload |
stream | boolean | No | Set true for Server-Sent Events (SSE) streaming |
3. Vector Query POST /v4/vectors/search
Queries the enterprise hybrid RAG index combining semantic vector similarity with keyword BM25 filtering.
