mistralM

Docs

Responses

API Responses stateless pour le texte, les images, le raisonnement, les appels de fonction et le streaming.

POST /v1/responses

Créer une réponse

Crée une réponse.

Génère une réponse du modèle à partir d’entrées texte, image ou fichier. La réponse peut inclure du texte, du raisonnement et des appels de fonction. Définissez stream sur true pour recevoir des Server-Sent Events.

Pour les conversations multi-tours, envoyez l’historique complet dans input, y compris les éléments de sortie précédents et les résultats de fonctions. Les réponses ne sont pas stockées. Seuls les outils de fonction exécutés côté client sont pris en charge.

Exemple de requête

{
  "input": "ipsum eiusmod",
  "model": "consequat do"
}

Corps de la requête

AdditionalProperties
map<any>
background
boolean

Valeur par défaut : false

conversation
any | null
ResponsesEasyInputMessage
AdditionalProperties
map<any>
content
string | array<ResponsesInputText | ResponsesInputImage | ResponsesInputFile>* obligatoire
ResponsesInputText
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImage
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"* obligatoire
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFile
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
phase
"commentary" | "final_answer"
role
"user" | "assistant" | "system" | "developer"* obligatoire
type
string | null
ResponsesMessage
AdditionalProperties
map<any>
ResponsesInputText
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImage
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"* obligatoire
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFile
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
role
"user" | "system" | "developer"* obligatoire
status
"in_progress" | "completed" | "incomplete"
type
string | null
ResponsesOutputMessage
AdditionalProperties
map<any>
content
array<ResponsesOutputText | ResponsesOutputRefusal>* obligatoire
ResponsesOutputText
AdditionalProperties
map<any>
ResponsesAnnotationFileCitation
AdditionalProperties
map<any>
file_id
string* obligatoire
filename
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationURLCitation
AdditionalProperties
map<any>
end_index
integer* obligatoire
start_index
integer* obligatoire
title
string* obligatoire
type
string* obligatoire
url
string* obligatoire
ResponsesAnnotationContainerFileCitation
AdditionalProperties
map<any>
container_id
string* obligatoire
end_index
integer* obligatoire
file_id
string* obligatoire
filename
string* obligatoire
start_index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationFilePath
AdditionalProperties
map<any>
file_id
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
logprobs
array<ResponsesOutputTextLogprob> | null
ResponsesOutputTextLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
top_logprobs
array<ResponsesOutputTextLogprobTopLogprob>* obligatoire
ResponsesOutputTextLogprobTopLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
text
string* obligatoire
type
string* obligatoire
ResponsesOutputRefusal
AdditionalProperties
map<any>
refusal
string* obligatoire
type
string* obligatoire
id
string* obligatoire
phase
"commentary" | "final_answer"
role
string* obligatoire
status
"in_progress" | "completed" | "incomplete"* obligatoire
type
string* obligatoire
ResponsesFunctionToolCall
AdditionalProperties
map<any>
arguments
string* obligatoire
async
boolean | null
call_id
string* obligatoire
ResponsesCallerDirect
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesCallerProgram
AdditionalProperties
map<any>
caller_id
string* obligatoire
type
string* obligatoire
id
string | null
name
string* obligatoire
namespace
string | null
status
"in_progress" | "completed" | "incomplete"
type
string* obligatoire
ResponsesFunctionCallOutput
AdditionalProperties
map<any>
call_id
stringMin Length: 1* obligatoire
ResponsesFunctionCallOutputCallerDirect
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesFunctionCallOutputCallerProgram
AdditionalProperties
map<any>
caller_id
string* obligatoire
type
string* obligatoire
id
string | null
name
string | null
namespace
string | null
ResponsesInputTextContent
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImageContent
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFileContent
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
status
"in_progress" | "completed" | "incomplete"
type
string* obligatoire
ResponsesReasoningItem
AdditionalProperties
map<any>
content
array<ResponsesContent> | null
ResponsesContent
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
encrypted_content
string | null
id
string* obligatoire
status
"in_progress" | "completed" | "incomplete"
summary
array<ResponsesSummary>* obligatoire
ResponsesSummary
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
type
string* obligatoire
instructions
string | null
max_output_tokens
integer | null
max_tool_calls
integer | null
metadata
map<string> | null
model
stringMin Length: 1* obligatoire
moderation
any | null
parallel_tool_calls
boolean

Valeur par défaut : true

previous_response_id
any | null
prompt
any | null
prompt_cache_key
string | null
ResponsesSupportedReasoning
effort
"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
store
boolean | null
stream
boolean

Valeur par défaut : false

temperature
number | null
ResponsesTextConfig
AdditionalProperties
map<any>
ResponsesFormatText
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesFormatTextJSONSchemaConfig
AdditionalProperties
map<any>
description
string | null
name
string* obligatoire
schema
map<any>* obligatoire
strict
boolean | null
type
string* obligatoire
ResponsesFormatJSONObject
AdditionalProperties
map<any>
type
string* obligatoire
verbosity
"low" | "medium" | "high"
tool_choice
"none" | "auto" | "required" | ResponsesToolChoiceFunction
ResponsesToolChoiceFunction
AdditionalProperties
map<any>
name
string* obligatoire
type
string* obligatoire
ResponsesFunctionTool
AdditionalProperties
map<any>
allowed_callers
array<"direct" | "programmatic"> | null
async
boolean | null
defer_loading
boolean | null
description
string | null
name
string* obligatoire
output_schema
map<any> | null
parameters
map<any> | null
strict
boolean | null
type
string* obligatoire
ResponsesNamespaceTool
AdditionalProperties
map<any>
description
string* obligatoire
name
string* obligatoire
type
string* obligatoire
top_logprobs
integer | null
top_p
number | null
truncation
string

Valeur par défaut : "disabled"

Responses

Réponse réussie

AdditionalProperties
map<any>
background
boolean | null
completed_at
number | null
created_at
number* obligatoire
error
ResponsesError | null
ResponsesError
AdditionalProperties
map<any>
code
"server_error" | "rate_limit_exceeded" | "invalid_prompt" | "data_residency_mismatch" | "bio_policy" | "misalignment_policy_violation" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found"* obligatoire
message
string* obligatoire
misalignment
ResponsesMisalignment | null
ResponsesMisalignment
AdditionalProperties
map<any>
detailed_explanation
string | null
error_type
string | null
review_target
string | null
ResponsesMisalignmentSteer
AdditionalProperties
map<any>
message
string* obligatoire
param
string | null
reason
"invalid_output_format" | "generation_failed" | "missing_finish_reason"* obligatoire
type
string | null
id
string* obligatoire
incomplete_details
ResponsesIncompleteDetails | null
ResponsesIncompleteDetails
AdditionalProperties
map<any>
reason
"max_output_tokens" | "max_messages" | "content_filter" | "steered"
instructions
string | null
max_output_tokens
integer | null
max_tool_calls
integer | null
metadata
map<string> | null
model
string* obligatoire
object
string* obligatoire
ResponsesOutputMessage
AdditionalProperties
map<any>
content
array<ResponsesOutputText | ResponsesOutputRefusal>* obligatoire
ResponsesOutputText
AdditionalProperties
map<any>
ResponsesAnnotationFileCitation
AdditionalProperties
map<any>
file_id
string* obligatoire
filename
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationURLCitation
AdditionalProperties
map<any>
end_index
integer* obligatoire
start_index
integer* obligatoire
title
string* obligatoire
type
string* obligatoire
url
string* obligatoire
ResponsesAnnotationContainerFileCitation
AdditionalProperties
map<any>
container_id
string* obligatoire
end_index
integer* obligatoire
file_id
string* obligatoire
filename
string* obligatoire
start_index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationFilePath
AdditionalProperties
map<any>
file_id
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
logprobs
array<ResponsesOutputTextLogprob> | null
ResponsesOutputTextLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
top_logprobs
array<ResponsesOutputTextLogprobTopLogprob>* obligatoire
ResponsesOutputTextLogprobTopLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
text
string* obligatoire
type
string* obligatoire
ResponsesOutputRefusal
AdditionalProperties
map<any>
refusal
string* obligatoire
type
string* obligatoire
id
string* obligatoire
phase
"commentary" | "final_answer"
role
string* obligatoire
status
"in_progress" | "completed" | "incomplete"* obligatoire
type
string* obligatoire
ResponsesFunctionToolCall
AdditionalProperties
map<any>
arguments
string* obligatoire
async
boolean | null
call_id
string* obligatoire
ResponsesCallerDirect
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesCallerProgram
AdditionalProperties
map<any>
caller_id
string* obligatoire
type
string* obligatoire
id
string | null
name
string* obligatoire
namespace
string | null
status
"in_progress" | "completed" | "incomplete"
type
string* obligatoire
ResponsesReasoningItem
AdditionalProperties
map<any>
content
array<ResponsesContent> | null
ResponsesContent
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
encrypted_content
string | null
id
string* obligatoire
status
"in_progress" | "completed" | "incomplete"
summary
array<ResponsesSummary>* obligatoire
ResponsesSummary
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
type
string* obligatoire
parallel_tool_calls
boolean* obligatoire
previous_response_id
string | null
prompt_cache_key
string | null
prompt_cache_retention
"in_memory" | "24h"
ResponsesSupportedReasoning
effort
"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
safety_identifier
string | null
service_tier
"auto" | "default" | "flex" | "scale" | "priority" | "fast" | "ultrafast"
status
"completed" | "failed" | "in_progress" | "cancelled" | "queued" | "incomplete"
temperature
number | null
ResponsesTextConfig
AdditionalProperties
map<any>
ResponsesFormatText
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesFormatTextJSONSchemaConfig
AdditionalProperties
map<any>
description
string | null
name
string* obligatoire
schema
map<any>* obligatoire
strict
boolean | null
type
string* obligatoire
ResponsesFormatJSONObject
AdditionalProperties
map<any>
type
string* obligatoire
verbosity
"low" | "medium" | "high"
tool_choice
"none" | "auto" | "required" | ResponsesToolChoiceFunction* obligatoire
ResponsesToolChoiceFunction
AdditionalProperties
map<any>
name
string* obligatoire
type
string* obligatoire
ResponsesFunctionTool
AdditionalProperties
map<any>
allowed_callers
array<"direct" | "programmatic"> | null
async
boolean | null
defer_loading
boolean | null
description
string | null
name
string* obligatoire
output_schema
map<any> | null
parameters
map<any> | null
strict
boolean | null
type
string* obligatoire
ResponsesNamespaceTool
AdditionalProperties
map<any>
description
string* obligatoire
name
string* obligatoire
type
string* obligatoire
top_logprobs
integer | null
top_p
number | null
truncation
"auto" | "disabled"
usage
ResponsesUsage | null
ResponsesUsage
AdditionalProperties
map<any>
input_tokens
integer* obligatoire
input_tokens_details
ResponsesInputTokensDetails* obligatoire
ResponsesInputTokensDetails
AdditionalProperties
map<any>
cache_write_tokens
integer* obligatoire
cached_tokens
integer* obligatoire
output_tokens
integer* obligatoire
output_tokens_details
ResponsesOutputTokensDetails* obligatoire
ResponsesOutputTokensDetails
AdditionalProperties
map<any>
reasoning_tokens
integer* obligatoire
total_tokens
integer* obligatoire
user
string | null

POST /v1/responses/input_tokens

Compter les tokens d’entrée

Compte les tokens d’entrée d’une réponse.

Compte les tokens d’entrée d’une requête Responses sans générer de réponse. Le décompte inclut la conversation fournie, les instructions et les définitions d’outils.

Utilisez les mêmes input, instructions et tools que ceux que vous prévoyez d’envoyer lors de la création d’une réponse. Pour les conversations multi-tours, incluez dans input les éléments de sortie précédents et les résultats de fonctions.

Exemple de requête

{
  "input": "ipsum eiusmod",
  "model": "consequat do"
}

Corps de la requête

AdditionalProperties
map<any>
conversation
any | null
ResponsesEasyInputMessage
AdditionalProperties
map<any>
content
string | array<ResponsesInputText | ResponsesInputImage | ResponsesInputFile>* obligatoire
ResponsesInputText
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImage
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"* obligatoire
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFile
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
phase
"commentary" | "final_answer"
role
"user" | "assistant" | "system" | "developer"* obligatoire
type
string | null
ResponsesMessage
AdditionalProperties
map<any>
ResponsesInputText
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImage
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"* obligatoire
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFile
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
role
"user" | "system" | "developer"* obligatoire
status
"in_progress" | "completed" | "incomplete"
type
string | null
ResponsesOutputMessage
AdditionalProperties
map<any>
content
array<ResponsesOutputText | ResponsesOutputRefusal>* obligatoire
ResponsesOutputText
AdditionalProperties
map<any>
ResponsesAnnotationFileCitation
AdditionalProperties
map<any>
file_id
string* obligatoire
filename
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationURLCitation
AdditionalProperties
map<any>
end_index
integer* obligatoire
start_index
integer* obligatoire
title
string* obligatoire
type
string* obligatoire
url
string* obligatoire
ResponsesAnnotationContainerFileCitation
AdditionalProperties
map<any>
container_id
string* obligatoire
end_index
integer* obligatoire
file_id
string* obligatoire
filename
string* obligatoire
start_index
integer* obligatoire
type
string* obligatoire
ResponsesAnnotationFilePath
AdditionalProperties
map<any>
file_id
string* obligatoire
index
integer* obligatoire
type
string* obligatoire
logprobs
array<ResponsesOutputTextLogprob> | null
ResponsesOutputTextLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
top_logprobs
array<ResponsesOutputTextLogprobTopLogprob>* obligatoire
ResponsesOutputTextLogprobTopLogprob
AdditionalProperties
map<any>
bytes
array<integer>* obligatoire
logprob
number* obligatoire
token
string* obligatoire
text
string* obligatoire
type
string* obligatoire
ResponsesOutputRefusal
AdditionalProperties
map<any>
refusal
string* obligatoire
type
string* obligatoire
id
string* obligatoire
phase
"commentary" | "final_answer"
role
string* obligatoire
status
"in_progress" | "completed" | "incomplete"* obligatoire
type
string* obligatoire
ResponsesFunctionToolCall
AdditionalProperties
map<any>
arguments
string* obligatoire
async
boolean | null
call_id
string* obligatoire
ResponsesCallerDirect
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesCallerProgram
AdditionalProperties
map<any>
caller_id
string* obligatoire
type
string* obligatoire
id
string | null
name
string* obligatoire
namespace
string | null
status
"in_progress" | "completed" | "incomplete"
type
string* obligatoire
ResponsesFunctionCallOutput
AdditionalProperties
map<any>
call_id
stringMin Length: 1* obligatoire
ResponsesFunctionCallOutputCallerDirect
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesFunctionCallOutputCallerProgram
AdditionalProperties
map<any>
caller_id
string* obligatoire
type
string* obligatoire
id
string | null
name
string | null
namespace
string | null
ResponsesInputTextContent
AdditionalProperties
map<any>
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
text
string* obligatoire
type
string* obligatoire
ResponsesInputImageContent
AdditionalProperties
map<any>
detail
"low" | "high" | "auto" | "original"
file_id
string | null
image_url
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
ResponsesInputFileContent
AdditionalProperties
map<any>
detail
"auto" | "low" | "high"
file_data
string | null
file_id
string | null
file_url
string | null
filename
string | null
prompt_cache_breakpoint
ResponsesPromptCacheBreakpoint | null
ResponsesPromptCacheBreakpoint
AdditionalProperties
map<any>
mode
string* obligatoire
ttl
"30m" | "12h"
type
string* obligatoire
status
"in_progress" | "completed" | "incomplete"
type
string* obligatoire
ResponsesReasoningItem
AdditionalProperties
map<any>
content
array<ResponsesContent> | null
ResponsesContent
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
encrypted_content
string | null
id
string* obligatoire
status
"in_progress" | "completed" | "incomplete"
summary
array<ResponsesSummary>* obligatoire
ResponsesSummary
AdditionalProperties
map<any>
text
string* obligatoire
type
string* obligatoire
type
string* obligatoire
instructions
string | null
model
stringMin Length: 1* obligatoire
parallel_tool_calls
boolean

Valeur par défaut : true

previous_response_id
any | null
prompt
any | null
ResponsesSupportedReasoning
effort
"none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
ResponsesTextConfig
AdditionalProperties
map<any>
ResponsesFormatText
AdditionalProperties
map<any>
type
string* obligatoire
ResponsesFormatTextJSONSchemaConfig
AdditionalProperties
map<any>
description
string | null
name
string* obligatoire
schema
map<any>* obligatoire
strict
boolean | null
type
string* obligatoire
ResponsesFormatJSONObject
AdditionalProperties
map<any>
type
string* obligatoire
verbosity
"low" | "medium" | "high"
tool_choice
"none" | "auto" | "required" | ResponsesToolChoiceFunction
ResponsesToolChoiceFunction
AdditionalProperties
map<any>
name
string* obligatoire
type
string* obligatoire
ResponsesFunctionTool
AdditionalProperties
map<any>
allowed_callers
array<"direct" | "programmatic"> | null
async
boolean | null
defer_loading
boolean | null
description
string | null
name
string* obligatoire
output_schema
map<any> | null
parameters
map<any> | null
strict
boolean | null
type
string* obligatoire
ResponsesNamespaceTool
AdditionalProperties
map<any>
description
string* obligatoire
name
string* obligatoire
type
string* obligatoire
truncation
string

Valeur par défaut : "disabled"

Responses

Réponse réussie

AdditionalProperties
map<any>
input_tokens
integer* obligatoire
object
string* obligatoire