Generate a technical-chat response

Returns complete JSON by default. Set stream: true for NDJSON events. Both modes run in the foreground, with an approximately 13-minute deadline. Charging and retries: https://unravel.struck.build/developers#api-charging-and-retries.

post/v1/chat/technical

Request

  • Base URL
    https://api.struck.build
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring uuid

Optional UUID, scoped to the API key. Reuse with the same normalized body and response mode after an ambiguous failure. Omitted stream and false are equivalent. An admitted duplicate returns 409 without another charge or result replay.

Request body

streamboolean

Return NDJSON only when true. Omitted or false returns complete JSON.

Response

Complete JSON when stream is omitted or false; a UTF-8 NDJSON stream when true. JSON contains only the final answer and cited sources, with a maximum serialized size of 4,000,000 bytes.

request_idstring uuid required
contentstring required
credits_chargedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.