Autoresearch
Lexi AI
Autoresearch
Run a deep research task against a contact, company, or freeform query and return a structured briefing
POST
Autoresearch
Request
Autoresearch synthesizes LeadLex data (CRM, emails, meetings) with authorized web sources into a structured briefing you can render on a contact page or share with the team. Calls usually take 15 - 60 seconds.Headers
Optional UUID to deduplicate retries within 24 hours. Credits are charged only on the first successful completion.
Body Parameters
Freeform research prompt. Required when neither
contact_id nor company_id is provided.Optional contact UUID to research. Merged with
query when both are present.Optional company UUID to research.
quick (~15s, 3 credits), standard (~30s, 6 credits), or deep (~60s, 12 credits).Optional whitelist of sources:
crm, emails, meetings, web, news, linkedin. Defaults to all authorized sources.Response
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
Example Response
Errors
| Status | Code | Description |
|---|---|---|
| 400 | validation_error | Missing all of query, contact_id, company_id |
| 401 | invalid_key | Invalid or expired API key |
| 402 | insufficient_credits | Workspace credit balance is exhausted |
| 403 | insufficient_permissions | Missing write:ai permission |
| 404 | not_found | Supplied contact or company does not exist |
| 429 | rate_limited | Rate limit exceeded |
| 504 | research_timeout | Upstream sources failed to return within the time budget |