API reference
List the models in the catalog.
GET
/models
const url = 'https://api.helping.io/v1/models';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.helping.io/v1/models \ --header 'Authorization: Bearer <token>'Ids are canonical provider/model and are what model accepts on a
request. The list is the whole catalog: your organization’s model policy
can still refuse a listed model, with model_policy_violation.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The models in the catalog.
Media typeapplication/json
The models in the catalog.
object
data
required
Array<object>
One model you can call, identified as provider/model.
object
created
required
When the model became available, in Unix seconds.
integer format: int64
id
required
string
object
required
Always model.
string
owned_by
required
The provider that serves it.
string
object
required
Always list.
string
Examplegenerated
{ "data": [ { "created": 1, "id": "example", "object": "example", "owned_by": "example" } ], "object": "example"}Missing or invalid API key (the error envelope)
The key is not entitled to what the request asked for (the error envelope)
The request could not be completed; quote the x-request-id response header when reporting it.
The request could not be served this instant; retry after the Retry-After header.