Backed Research Agent exposes an HTTP API intended for backend services and dashboard frontends.
- Base URL:
http://<host>:<port> - Version prefix:
/v1
POST /v1/analyze requires an API key.
Accepted headers:
X-API-Key: <key>Authorization: Bearer <key>
Default key is GIT3PRIVATE unless replaced by BACKED_API_KEY.
Response:
statusserviceversion
Request body:
source(string, optional)sources(string[], optional)mode(auto | ai | rules, defaultauto)model(string, defaultgpt-4.1-mini)
Validation rules:
sourceandsourcesare mutually exclusive.- One of them must be present.
Response body:
request_id(string)sources(string[])mode(string)model(string)result(object) full structured analysis payload
The result object includes project identity/general metadata under project_profile and full underwriting sections defined in docs/OUTPUT_SCHEMA.md.
200: analysis completed401: authentication failure422: bad request or ingestion failure500: internal failure
BACKED_API_KEY: API authentication keyBACKED_API_HOST: bind hostBACKED_API_PORT: bind portBACKED_API_CORS_ORIGINS: comma-separated allowed origins
Run API with project script:
backed-research-agent-api