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 X 004",
      "id": "palmyra-x-004"
    },
    {
      "name": "Palmyra Creative",
      "id": "palmyra-creative"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Response

200 - application/json
Successful response
models
object[]
required

The identifier of the model to be used for processing the request.

Was this page helpful?