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 X 002 Instruct",
      "id": "palmyra-x-002-instruct"
    },
    {
      "name": "Palmyra X 32k Instruct",
      "id": "palmyra-x-32k-instruct"
    },
    {
      "name": "Palmyra X 002 32k",
      "id": "palmyra-x-002-32k"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
models
object[]
required

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