Skip to main content
GET
/
api
/
v1
/
{workspaceID}
/
playground
/
models
Playground list models
curl --request GET \
  --url https://ai.liara.ir/api/v1/{workspaceID}/playground/models \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "context_length": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345"

Path Parameters

workspaceID
string
required

The workspace ID

Pattern: ^[a-f0-9]{24}$

Response

List of models

object
enum<string>
Available options:
list
data
object[]