Introduction
Orq.ai exposes the Model Garden to the API for programmatic manipulation.Prerequisite
To get started, an API key is needed to use within SDKs or HTTP API.To get an API key ready, see API Keys.
curl --request GET \
     --url https://api.orq.ai/v2/models \
     --header 'accept: application/json' \
     --header 'authorization: Bearer ORQ_API_KEY'
{
  "object": "list",
  "data": [
    {
      "id": "[email protected]",
      "created": 1709510400000,
      "type": "chat",
      "owned_by": "vendor"
    },
    {
      "id": "[email protected]",
      "created": 1709510400000,
      "type": "chat",
      "owned_by": "vendor"
    },
    {
      "id": "anthropic@claude-3-5-haiku-20241022",
      "created": 1718780162791,
      "type": "chat",
      "owned_by": "vendor"
    },
    ..cont
}
Was this page helpful?