v7

OpenAPI 3.1.02026-08-02164134155.7 KB

Create Maestro Run

post/studio/v1/maestro/runs

Request body

output_typeobject
modelsstring[]
contextobject
budget'low' | 'medium' | 'high'
verboseboolean
includestring[]
structured_rag_enabledboolean
dynamic_planning_enabledboolean
assistant_idstring
variant'main' | 'ingestion'
custom_retrieval_configsobject[]
response_language'arabic' | 'dutch' | 'english' | 'french' | 'german' | 'hebrew' | 'italian' | 'portuguese' | 'spanish' | 'unset'
system_promptstring
streamboolean

Whether or not to stream the result one token at a time using server-sent events. This can be useful when waiting for long results where a long wait time for an answer can be problematic, such as a chatbot. If set to True, then n must be 1. A streaming response is different than the non-streaming response.

Response

Successful Response

idstring uuid required

A unique ID for the request (not the message). Repeated identical requests get different IDs. However, for a streaming response, the ID will be the same for all responses in the stream.

status'completed' | 'failed' | 'in_progress' | 'requires_action' required
{"stackTrail":"components:schemas:MaestroRunResult:properties:result","oasType":"schema","type":"unknown","title":"Result"}
data_sourcesobject
requirements_resultobject
created_atstring date-time