Create Message
Changed onCreate a message using the Anthropic Messages API shape.
Request
- Base URLhttps://api.electronhub.ai/v1
- URLhttps://api.electronhub.ai/v1/messages
- AuthHTTP bearer
Request body
Example request
{
"model": "claude-sonnet-4-5-20250929",
"messages": [
{
"content": [
{
"source": {
"media_type": "image/jpeg"
}
}
]
}
]
}Response
Success
Example response
{
"content": [
{
"source": {
"media_type": "image/jpeg"
}
}
]
}Changes
- breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
the
request property type changed fromobjectto no type - breaking
added to the
/response propertyoneOflist for the response status - warning
removed the request property
/ - warning
removed the request property
/ - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
the request property
//became optional - info
added the new
systemenum value to the request property// - info
request property
list-of-types was widened by adding typesarrayto media typeapplication/json - info
added to the
////request propertyoneOflist - info
added
subschema #1subschema #2to therequest propertyoneOflist - info
added
subschema #1subschema #2to therequest propertyoneOflist
- breaking