cURL
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>" }
Get a model by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object