API Documentation

Everything you need to integrate your AI agents with Vector Decisions.

Base URL

https://vectordecisions.com/api/v1

Authentication

All API requests require a Bearer token in the Authorization header. Get your API key from Settings > API in your dashboard.

curl -X POST https://vectordecisions.com/api/v1/events \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Agent-ID: YOUR_AGENT_ID" \
  -H "Content-Type: application/json" \
  -d '{"eventType": "ACTION", "action": "Processed request", "category": "READ"}'

Endpoints

POST
/api/v1/agentsRegister a new agent
PATCH
/api/v1/agents/:idUpdate agent info
GET
/api/v1/agents/:id/statusPoll agent status (kill switch)
GET
/api/v1/agents/:id/instructionsGet agent instructions
POST
/api/v1/eventsLog an event
POST
/api/v1/events/batchLog multiple events (max 100)
POST
/api/v1/decisionsLog a decision
POST
/api/v1/healthSubmit health check