DOCUMENTATION / ADAPTIVE INTELLIGENCE

Adaptive intelligence

OpenAPI 3.1 ↗

Use adaptive company intelligence for natural-language research. Inspect streaming responses and preserve returned source and availability context.

BASE URLhttps://companyproof.ai/v2JSON · Bearer authentication

ADAPTIVE INTELLIGENCE API · ORCHESTRATION

Ask for intelligence when the schema can be dynamic.

The Adaptive Intelligence API requires an active evaluation or paid entitlement and a live key, accepts one self-contained question of 1–4,000 characters and streams Server-Sent Events. Use mode: "ai" for a written answer plus tool data, or mode: "data" for data-oriented output.

ADAPTIVE INTELLIGENCE · STREAMING SSE
const response = await fetch(
  "https://companyproof.ai/v2/intelligence/query",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer " + process.env.COMPANYPROOF_API_KEY,
      "Content-Type": "application/json",
      "Accept": "text/event-stream"
    },
    body: JSON.stringify({
      query: "Find Acme Holdings in GB and show its directors and financials",
      mode: "ai"
    })
  }
);

// Consume response.body as Server-Sent Events.
status

Progress message; may occur more than once.

tool_call

Names a CompanyProof operation selected for the question.

tool_result

Returns data or a module-level error for a selected operation.

text

Streams answer text. Concatenate events in order.

suggested_actions

Optional follow-up questions.

done

Terminal success event. Inspect completeness metadata when supplied.

error

Terminal stream failure. Do not treat preceding partial text as complete.

The initial HTTP request can fail with the normal JSON error envelope. Once streaming begins, errors arrive as SSE error events. The server does not promise replay IDs; retry the complete request with your own correlation ID. Clients must ignore unknown event types for forward compatibility.

Not the canonical company-profile contract

Adaptive output depends on the question and the tools selected at runtime. Use Company Profile REST when a predictable envelope matters. Adaptive intelligence does not create a CompanyProof proof or monitoring record.