Endpoints
Complete reference for all InsightAgent API endpoints.
Interviews
List Interviews
GET /api/interviewsQuery parameters:
Parameter
Type
Description
status
string
Filter by status
limit
number
Results per page (default: 20)
offset
number
Pagination offset
Get Interview
GET /api/interviews/{id}Create Interview
POST /api/interviewsBody:
{
"type": "FULL_INTERVIEW | VETTING_INTERVIEW",
"platform": "PHONE | WEB",
"expert": {
"name": "string",
"title": "string",
"company": "string"
},
"questions": ["string"],
"scheduledAt": "ISO8601 datetime (optional)"
}Update Interview
PUT /api/interviews/{id}Delete Interview
DELETE /api/interviews/{id}Get Transcription
GET /api/interviews/{id}/transcriptionGet Audio
GET /api/interviews/{id}/audioGet Session Stats
GET /api/interviews/{id}/session-statsAI Agents
List Agent Groups
GET /api/agents/groupsGet Agent Versions
GET /api/agents/group/{groupId}/versionsList Agents
GET /api/agentsCreate Agent
POST /api/agentsGet Default Prompt
GET /api/agents/{type}/default-promptUpsert Agent (Both Platforms)
PUT /api/agents/{type}Get Agent by Type/Platform
GET /api/agents/{type}/{platform}Upsert Agent
PUT /api/agents/{type}/{platform}Delete Agent
DELETE /api/agents/{type}/{platform}Activate Agent
POST /api/agents/{id}/activateAuth
Get Current User
GET /api/auth/meGet Profile
GET /api/auth/profileBilling
Get Subscription
GET /api/billing/subscriptionGet Usage
GET /api/billing/usageGet Usage History
GET /api/billing/usage/historyReturns last 12 months of usage data.
Get Demo Status
GET /api/billing/demo-statusGet Account Info
GET /api/billing/accountPublic Endpoints (No Auth Required)
These endpoints are used by experts joining interviews:
Get Interview (Public)
GET /api/ungated/interviews/{id}Update Interview Status (Public)
PUT /api/ungated/interviews/{id}Voice & Conversation
Dial (Initiate Phone Call)
POST /api/dialDial-In (WebSocket)
WS /api/dialinConversation (ElevenLabs)
POST /api/conversation/signed-urlWebhooks
Configure webhooks to receive real-time notifications:
Interview Events
interview.started- Interview beganinterview.completed- Interview finishedinterview.failed- Interview failed
Webhook Payload
{
"event": "interview.completed",
"timestamp": "2024-12-01T00:00:00Z",
"data": {
"interviewId": "...",
"status": "COMPLETED"
}
}Last updated