Skip to main content
POST

Authorizations

Authorization
string
header
required

Static, non-expiring API key: Authorization: Bearer <FOURMINDS_API_KEY>.

Body

application/json
query
string
required

The question or instruction.

Minimum string length: 1
model_id
integer

One of your models, to answer from its knowledge base. Optional; without it, a default model answers.

Required range: x >= 1
conversation_id
string<uuid>

Continue an existing conversation. Requires model_id, and the conversation must belong to that model.

inference_engine
enum<string>

Omit to use the default engine (SYMI). constellations requires model_id.

Available options:
constellations

Add live web results to the answer. Only takes effect together with model_id.

image_generation
boolean
default:false

Generate an image from the query. The image link is in the image_generation event.

image_parameters
object

Only these keys are allowed; any other key returns 400.

temperature
number
Required range: 0 <= x <= 2

Response

Server-Sent Events stream. See the event table above.

The response is of type string.