GET
/
models
/
{modelSlug}
curl --request GET \
  --url https://api.openpipe.ai/api/v1/models/{modelSlug} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "object": "model",
  "description": "<string>",
  "created": "<string>",
  "updated": "<string>",
  "openpipe": {
    "baseModel": "<string>",
    "hyperparameters": {},
    "status": "PENDING",
    "datasetId": "<string>",
    "errorMessage": "<string>"
  },
  "contextWindow": 123,
  "maxCompletionTokens": 123,
  "capabilities": [
    "chat"
  ],
  "pricing": {
    "chatIn": 123,
    "chatOut": 123
  },
  "owned_by": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

modelSlug
string
required

Response

200
application/json
Successful response
id
string
required
name
string
required
object
enum<string>
required
Available options:
model
description
string | null
required
created
string
required
updated
string
required
openpipe
object
required
contextWindow
number
required
maxCompletionTokens
number
required
capabilities
enum<string>[]
required
Available options:
chat,
tools,
json
pricing
object
required
owned_by
string
required