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

The response is of type object.