Generation API
List models
Changed onRetrieve a list of available models that can be used for text generation, chat completions, and other AI tasks.
get/v1/models
Request
- Base URLhttps://api.writer.com
- URLhttps://api.writer.com/v1/models
- AuthHTTP bearer
Response
Successful response
Example response
{
"models": [
{
"name": "Palmyra X 003 Instruct",
"id": "palmyra-x-003-instruct"
},
{
"name": "Palmyra Med",
"id": "palmyra-med"
},
{
"name": "Palmyra Financial",
"id": "palmyra-fin"
},
{
"name": "Palmyra X4",
"id": "palmyra-x4"
},
{
"name": "Palmyra X5",
"id": "palmyra-x5"
},
{
"name": "Palmyra Creative",
"id": "palmyra-creative"
}
]
}Changes
- breaking
removed the media type
text/event-streamfor the response with the status
- breaking
- warning
removed the optional property
/////from the response with the status - info
removed the
tool_callsenum value from the////response property for the response status
- warning