Glasser
POST/v1/endpoints/search

Search 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

querystringoptional
limitintegeroptional

Response

200
dataobject[]required
providerstringrequired
endpointstringrequired
endpoint_versionintegerrequired
namestringrequired
descriptionstringrequired
tagsstring[]required
priceobjectrequired
ruleobjectrequired
chargesobjectrequired
run_modeenumrequired
syncasync
timeout_msintegeroptional

Errors

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