POST
/v1/endpoints/searchSearch runnable endpoints
Searches the catalog by keyword and returns ranked endpoint summaries, each identified by provider, endpoint, and endpoint_version, with its price and run mode. The list is already scoped to the calling key's effective policy: every endpoint in it is one this key can run. An empty list is a valid answer — when nothing in the catalog matches, the endpoint says so instead of returning the nearest wrong operation.
Request
bash
curl -X POST https://api.glasser.ai/v1/endpoints/search \
-H "Authorization: Bearer gl_..." \
-H "Content-Type: application/json" \
-d '{}'Body parameters
querystringoptionallimitintegeroptionalResponse
200dataobject[]requiredproviderstringrequiredendpointstringrequiredendpoint_versionintegerrequirednamestringrequireddescriptionstringrequiredtagsstring[]requiredpriceobjectrequiredruleobjectrequiredchargesobjectrequiredrun_modeenumrequiredsyncasynctimeout_msintegeroptionalErrors
400validation_failedThe request does not satisfy the schema. details.issues lists the fields that failed, and details.location names the part of the request that carried them: Payload, Headers, Path, or Query.401unauthorizedThe API key is missing, malformed, revoked, or unknown.429rate_limitedThe rate limit is exceeded. error.retry_after_ms tells you how long to wait.500internal_errorThe server failed. The response body does not include internal details.Authentication
Requires Bearer authentication. The workspace is bound to the API key, and you cannot change it with a request header.
Authorization: Bearer gl_...Base URL: https://api.glasser.ai