V1ModelsSearch

Search models

Search models by name, description, or tags

GET
/v1/models/search

Query Parameters

qstring

Search query for model name, description, or tags

Length1 <= length
limit?number

Maximum number of models to return

Range1 <= value <= 100
offset?number | null

Number of models to skip for pagination

Range0 <= value

Response Body

curl -X GET "https://api-beta.daydreams.systems/v1/models/search?q=string&limit=1&offset=0"
{
  "query": "string",
  "models": [
    {
      "name": "string",
      "provider": "string",
      "type": "string",
      "description": "string",
      "capabilities": {
        "property1": null,
        "property2": null
      },
      "pricing": {
        "property1": null,
        "property2": null
      },
      "availability": {
        "property1": null,
        "property2": null
      },
      "tags": [
        "string"
      ]
    }
  ],
  "totalCount": 0
}

{
  "error": "Invalid model specified",
  "code": "INVALID_MODEL",
  "message": "The specified model is not available"
}

{
  "error": "Internal server error",
  "code": "INTERNAL_SERVER_ERROR",
  "message": "An unexpected error occurred while processing your request"
}