General usage
Applications API
Completions API
Files API
Knowledge Graphs API
Vision API
Completions API
List models
GET
/
v1
/
models
curl --location --request GET https://api.writer.com/v1/models \
--header "Authorization: Bearer <token>"
{
"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"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your Writer API key.
Response
200 - application/json
Successful response
The response is of type object
.
Was this page helpful?
curl --location --request GET https://api.writer.com/v1/models \
--header "Authorization: Bearer <token>"
{
"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"
}
]
}