OPENAPI / COMPONENTS / SCHEMAS

Create Thread And Run Request data structure

CreateThreadAndRunRequest

Structural definition for Create Thread And Run Request in the OpenAI API contract.

object16properties
assistant_idstringrequired

assistant id value in the OpenAI API contract.

instructionsstring

instructions value in the OpenAI API contract.

max_completion_tokensinteger

max completion tokens value in the OpenAI API contract.

max_prompt_tokensinteger

max prompt tokens value in the OpenAI API contract.

metadataMetadata

metadata value in the OpenAI API contract.

modelstring

model value in the OpenAI API contract.

parallel_tool_callsParallelToolCalls

parallel tool calls value in the OpenAI API contract.

response_formatAssistantsApiResponseFormatOption

response format value in the OpenAI API contract.

streamboolean

stream value in the OpenAI API contract.

temperaturenumber

temperature value in the OpenAI API contract.

threadCreateThreadRequest

thread value in the OpenAI API contract.

tool_choicestring

tool choice value in the OpenAI API contract.

tool_resourcesobject

tool resources value in the OpenAI API contract.

toolsarray

tools value in the OpenAI API contract.

top_pnumber

top p value in the OpenAI API contract.

truncation_strategystring

truncation strategy value in the OpenAI API contract.