Skip to content

API Endpoints

Base URL: https://appbe.endlesstesting.ai

All protected endpoints require Authorization: Bearer <api-key> header.

MethodPathAuthDescription
GET/api/domains/YesList all domains
POST/api/domains/YesCreate domain
DELETE/api/domains/:idYesDelete domain (cascades)
POST/api/domains/:id/kill-switch/activateYesEmergency stop all tests
POST/api/domains/:id/kill-switch/deactivateYesResume tests
GET/api/domains/:id/kill-switch/statusYesCheck kill switch state
MethodPathAuthDescription
GET/api/runs/YesList all runs with stats
GET/api/runs/:idYesGet single run
GET/api/runs/:id/testsYesTests in a run with analytics
DELETE/api/runs/:idYesSoft-delete run
GET/api/runs/domain/:domainId/testsYesAll tests for a domain
MethodPathAuthDescription
GET/api/tests/fullYesFull test with events
GET/api/tests/by-url-allocations?url=NoSDK allocation (Thompson sampling)
GET/api/tests/:idYesGet test by ID
POST/api/tests/:id/toggle-statusYesPause/resume test
POST/api/tests/:id/cancel-draftYesCancel draft test
POST/api/tests/:id/evaluateYesTrigger manual evaluation
MethodPathAuthDescription
POST/api/variants/ai-run/targetsYesCreate full test run with AI variants
POST/api/variants/aiYesCreate single test with AI variants
POST/api/variants/:id/statusYesChange variant status
MethodPathAuthDescription
POST/api/eventsNoRecord event (impression/click/conversion)
GET/api/eventsYesList events (paginated)
GET/api/events/summaryYesEvent counts by variant
MethodPathAuthDescription
GET/api/analytics/summaryYesAggregated impressions/clicks/conversions
MethodPathAuthDescription
GET/api/brand-context/domain/:domainIdYesGet brand context
POST/api/brand-context/YesCreate brand context
PUT/api/brand-context/:idYesUpdate brand context
POST/api/brand-context/extract/:domainIdYesAI auto-extract from domain
MethodPathAuthDescription
GET/api/conversion-metrics/:domainIdYesGet domain defaults
POST/api/conversion-metrics/:domainIdYesSet domain defaults
GET/api/conversion-metrics/:domainId/run/:runIdYesGet run-specific metrics
PUT/api/conversion-metrics/:domainId/run/:runIdYesSet run-specific metrics
MethodPathAuthDescription
GET/api/usageYesCurrent usage vs free tier limits
MethodPathAuthDescription
POST/api/auth/api-keyNoGenerate API key for domain
GET/api/auth/verifyYesVerify API key
POST/api/auth/api-key/regenerateYesRegenerate API key
MethodPathAuthDescription
GET/api/healthNoSystem health check
GET/api/build-infoNoBuild metadata