Send Message
Sends a new message to an existing chat. Blocks until the model response is complete and returns the message response.
Path parameters
The unique identifier of the chat.
Request body
Response
A single message in a chat.
Changes
Changed in 17 of the 34 revisions of this API.4043107
- ▲
the
attachments/items/request property type/format changed fromobject/to/(media type: application/json)request-property-type-changed
- ●
removed the request property
attachments/items/url(media type: application/json)request-property-removed
- ●
removed the request property
attachments/items/url(media type: application/x-www-form-urlencoded)request-property-removed
- ●
removed the request property
attachments/items/url(media type: multipart/form-data)request-property-removed
- ○
added
subschema #1subschema #2to theattachments/items/request propertyanyOflist (media type: application/json)request-property-any-of-added
- ○
added
subschema #1subschema #2to theattachments/items/request propertyanyOflist (media type: application/x-www-form-urlencoded)request-property-any-of-added
- ○
added
subschema #1subschema #2to theattachments/items/request propertyanyOflist (media type: multipart/form-data)request-property-any-of-added
- ○
the
attachments/items/request property type/format was generalized fromobject/to/(media type: application/x-www-form-urlencoded)request-property-type-generalized
- ○
the
attachments/items/request property type/format was generalized fromobject/to/(media type: multipart/form-data)request-property-type-generalized
- ▲
- ○
added the optional property
parts/items/oneOf[subschema #7]/suggestedPermissions/items/toolDisplayNameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
parts/items/oneOf[subschema #7]/toolDisplayNameto the response with the200statusresponse-optional-property-added
- ○
- ○
added
subschema #4to theparts/items/oneOf[subschema #8]/dataresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
- ▲
for the
pathrequest parameterchatId, the minLength was increased from0to1request-parameter-min-length-increased
- ▲
removed
subschema #1subschema #2subschema #3from theskills/items/request propertyanyOflistrequest-property-any-of-removed
- ▲
removed the enum value
v0-autoof the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
the
messagerequest property's minLength was increased from0to1request-property-min-length-increased
- ▲
response property
authorIdlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
removed the required property
apiUrlfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the404statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the422statusresponse-required-property-removed
- ▲
removed the required property
errorfrom the response with the500statusresponse-required-property-removed
- ▲
removed the required property
favoritefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
messagesfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
metadatafrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
objectfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
permissionsfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
privacyfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
shareablefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
textfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
urlfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
webUrlfrom the response with the200statusresponse-required-property-removed
- ●
removed the request property
actionrequest-property-removed
- ●
removed the request property
attachedSkillIdsrequest-property-removed
- ●
removed the request property
modelConfiguration/thinkingrequest-property-removed
- ●
removed the request property
responseModerequest-property-removed
- ●
removed the request property
systemrequest-property-removed
- ●
removed the optional property
demofrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
filesfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
latestVersionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
modelConfigurationfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
projectIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
titlefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
vercelProjectIdfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
chats.sendMessageremoved and replaced withmessages.sendapi-operation-id-removed
- ○
the endpoint scheme security
apiKeywas removed from the APIapi-security-removed
- ○
api tag
Messagesaddedapi-tag-added
- ○
api tag
chatsremovedapi-tag-removed
- ○
added the new optional request property
systemPromptnew-optional-request-property
- ○
added the media type
application/x-www-form-urlencodedto the request bodyrequest-body-media-type-added
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ○
the request property
modelConfiguration/imageGenerationswith a default value became requiredrequest-property-became-required-with-default
- ○
the request property
modelConfiguration/modelIdwith a default value became requiredrequest-property-became-required-with-default
- ○
the
attachmentsrequest property default valuewas removedrequest-property-default-value-removed
- ○
added
subschema #1subschema #2subschema #3to theskills/items/request propertyoneOflistrequest-property-one-of-added
- ○
removed the non-success response with the status
409response-non-success-status-removed
- ○
removed the non-success response with the status
413response-non-success-status-removed
- ○
removed the non-success response with the status
429response-non-success-status-removed
- ○
added the optional property
attachmentsto the response with the200statusresponse-optional-property-added
- ○
the response property
updatedAtbecame required for the status200response-property-became-required
- ○
the
updatedAtresponse's property pattern^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$was added for the status200response-property-pattern-added
- ○
added the required property
chatIdto the response with the200statusresponse-required-property-added
- ○
added the required property
contentto the response with the200statusresponse-required-property-added
- ○
added the required property
finishReasonto the response with the200statusresponse-required-property-added
- ○
added the required property
messageto the response with the401statusresponse-required-property-added
- ○
added the required property
messageto the response with the403statusresponse-required-property-added
- ○
added the required property
messageto the response with the404statusresponse-required-property-added
- ○
added the required property
messageto the response with the422statusresponse-required-property-added
- ○
added the required property
messageto the response with the500statusresponse-required-property-added
- ○
added the required property
partsto the response with the200statusresponse-required-property-added
- ○
added the required property
restorableto the response with the200statusresponse-required-property-added
- ○
added the required property
roleto the response with the200statusresponse-required-property-added
- ○
added the required property
usageto the response with the200statusresponse-required-property-added
This revision also has 50 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
v0-opus-4.7-fastenum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ○
added the new optional request property
skillsnew-optional-request-property
- ●
- ●
added the new
v0-opus-4.7enum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ○
added the new optional request property
actionnew-optional-request-property
- ○
added the new optional request property
attachedSkillIdsnew-optional-request-property
- ○
request property
modelConfiguration/modelIdreactivatedrequest-property-reactivated
- ○
added the optional property
vercelProjectIdto the response with the200statusresponse-optional-property-added
- ○
response property
modelConfiguration/modelIdreactivatedresponse-property-reactivated
- ●
- ○
added the new optional request property
mcpServerIdsnew-optional-request-property
- ○
- ●
added the new
design-modeenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
v0-autoenum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ○
added the new
v0-autoenum value to the request propertymodelConfiguration/modelIdrequest-property-enum-value-added
- ○
added the required property
metadatato the response with the200statusresponse-required-property-added
- ●
- ●
added the new
cloned-repoenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
manual-commitenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
v0-max-fastenum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ○
added the new
v0-max-fastenum value to the request propertymodelConfiguration/modelIdrequest-property-enum-value-added
- ○
removed the
unknownenum value from themessages/items/finishReasonresponse property for the response status200response-property-enum-value-removed
- ●
- ▲
removed the enum value
v0-1.5-lgof the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
removed the enum value
v0-1.5-mdof the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
removed the enum value
v0-1.5-smof the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
removed the enum value
v0-gpt-5of the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
removed the enum value
v0-opus-4.5of the request propertymodelConfiguration/modelIdrequest-property-enum-value-removed
- ▲
removed the required property
messages/items/experimental_content/items/anyOf[subschema #2]/prefixItems[subschema #2]/~standardfrom the response with the200statusresponse-required-property-removed
- ●
added the new
answered-questionsenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
fix-cveenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
pull-changesenum value to themessages/items/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
v0-maxenum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ●
added the new
v0-minienum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ●
added the new
v0-proenum value to themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-added
- ○
the
modelIdrequest property default value changed fromv0-1.5-mdtov0-prorequest-property-default-value-changed
- ○
added the new
v0-maxenum value to the request propertymodelConfiguration/modelIdrequest-property-enum-value-added
- ○
added the new
v0-minienum value to the request propertymodelConfiguration/modelIdrequest-property-enum-value-added
- ○
added the new
v0-proenum value to the request propertymodelConfiguration/modelIdrequest-property-enum-value-added
- ○
the
modelIdresponse's property default value changed fromv0-1.5-mdtov0-profor the status200response-property-default-value-changed
- ○
removed the
v0-1.5-lgenum value from themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-removed
- ○
removed the
v0-1.5-mdenum value from themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-removed
- ○
removed the
v0-1.5-smenum value from themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-removed
- ○
removed the
v0-gpt-5enum value from themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-removed
- ○
removed the
v0-opus-4.5enum value from themodelConfiguration/modelIdresponse property for the response status200response-property-enum-value-removed
- ○
added the required property
messages/items/experimental_content/items/anyOf[subschema #2]/prefixItems[subschema #2]/applyto the response with the200statusresponse-required-property-added
- ○
added the required property
messages/items/experimental_content/items/anyOf[subschema #2]/prefixItems[subschema #2]/exactOptionalto the response with the200statusresponse-required-property-added
- ○
added the required property
messages/items/experimental_content/items/anyOf[subschema #2]/prefixItems[subschema #2]/toJSONSchemato the response with the200statusresponse-required-property-added
- ○
added the required property
messages/items/experimental_content/items/anyOf[subschema #2]/prefixItems[subschema #2]/withto the response with the200statusresponse-required-property-added
- ▲