# Search the catalog (/docs/api/catalog/catalog_search)

Find vendor endpoints by keyword (capability, vendor, what they return). Returns price and quality.

`GET /v1/catalog/endpoints`

```json
{
  "operationId": "catalog_search",
  "summary": "Search the catalog",
  "description": "Find vendor endpoints by keyword (capability, vendor, what they return). Returns price and quality.",
  "tags": [
    "catalog"
  ],
  "parameters": [
    {
      "schema": {
        "type": "string",
        "maxLength": 200,
        "default": ""
      },
      "required": false,
      "name": "q",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^[a-z]+(\\.[a-z0-9_]+)+$"
      },
      "required": false,
      "name": "capability",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "input_schema"
        ],
        "description": "`input_schema` adds each endpoint's input JSON Schema and pricing"
      },
      "required": false,
      "description": "`input_schema` adds each endpoint's input JSON Schema and pricing",
      "name": "include",
      "in": "query"
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 20
      },
      "required": false,
      "name": "limit",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200,
        "description": "Opaque pagination cursor from a previous page"
      },
      "required": false,
      "description": "Opaque pagination cursor from a previous page",
      "name": "cursor",
      "in": "query"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "provider": {
                      "type": "string"
                    },
                    "capability": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "mode": {
                      "type": "string"
                    },
                    "pricing_model": {
                      "type": "string"
                    },
                    "quote_micro": {
                      "type": "integer",
                      "description": "Worst-case cost for an empty input, in micro-USD"
                    },
                    "byok": {
                      "type": "boolean"
                    },
                    "sandbox": {
                      "type": "boolean"
                    },
                    "quality": {
                      "type": "object",
                      "properties": {
                        "reliability": {
                          "type": "number"
                        },
                        "fill": {
                          "type": "number"
                        },
                        "score": {
                          "type": "number"
                        },
                        "samples": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "reliability",
                        "fill",
                        "score",
                        "samples"
                      ]
                    },
                    "input_schema": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "pricing": {
                      "type": "object",
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "id",
                    "provider",
                    "capability",
                    "name",
                    "description",
                    "mode",
                    "pricing_model",
                    "quote_micro",
                    "byok",
                    "sandbox",
                    "quality"
                  ]
                }
              },
              "next_cursor": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "next_cursor"
            ]
          }
        }
      }
    },
    "default": {
      "description": "Error",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "invalid_request",
                      "unauthorized",
                      "insufficient_balance",
                      "max_cost_exceeded",
                      "scope_denied",
                      "budget_blocked",
                      "not_found",
                      "idempotency_mismatch",
                      "invalid_meta",
                      "rate_limited",
                      "upstream_error",
                      "response_buffer_limit",
                      "provider_capacity_unavailable",
                      "grid_saturated",
                      "upstream_timeout",
                      "conflict",
                      "internal_error",
                      "account_frozen",
                      "strict_filters",
                      "plan_limit_reached",
                      "validation_failed",
                      "deadline_exceeded",
                      "cancelled"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "call_id": {
                    "type": "string"
                  },
                  "retry_after_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "details": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "code",
                  "message"
                ]
              }
            },
            "required": [
              "error"
            ]
          }
        }
      }
    }
  }
}
```
