Web

Researches a question across multiple web sources and returns a cited synthesis. quick runs synchronously (200); thorough and exhaustive return a queued job (202) to poll at GET /v1/jobs/{id}. Charges credits on completion.

post/web/research

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
query, string required

The research question.

depth, 'quick' | 'thorough' | 'exhaustive'

Breadth/latency tier (default quick).

Response

Synthesis (quick depth)

object required
synthesis, string
sources, object[]
depth, string

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision