Discover

Semantic endpoint search (ranked cards)

Changed on

The shared discover pipeline projected as endpoint cards in ranked order — the semantic twin of GET /public/v1/endpoints?q=. Same ranking, health and outage hiding as POST /v1/discover. Cards carry categories node-id tags for client-side grouping, metrics (health) when available, and the composed score. Endpoint workflow hints come from POST /v1/inspect.

post/v1/discover/endpoints

Request

  • Base URL: https://api.monid.ai
  • URL: https://api.monid.ai/v1/discover/endpoints
  • Auth: HTTP bearer

Headers

X-Monid-Agent-Modelstring

Model driving the calling agent. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).

X-Monid-Agent-Harnessstring

Agent harness or client making the call (e.g. a coding agent, an agent framework). Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).

X-Monid-Agent-Session-Idstring

Caller-side session identifier, so the calls of one agent session (discover → inspect → run → polling) can be correlated. Optional; a value that is empty, longer than 256 characters or not printable ASCII is ignored (never an error).

Request body

qstring required

Natural-language search query.

limitinteger

Max results (default 5). Capped at the discover over-fetch pool size (api-config discover.overfetchSize, 200).

categorystring

Optional category node id to narrow the ranked results (ids from GET /public/v1/categories; a top id covers its group).

minScorenumber

Per-call override for the post-rerank score floor — same semantics as the legacy POST /v1/discover body field.

includeUnavailableboolean

Endpoints currently in outage are hidden by default (the page is back-filled from the next ranked candidates). Set true to include them — marked metrics.status: "outage" and ranked last.

supportsX402boolean

Filter by static eligibility for x402 payment (POST /x402/v1/run): true keeps only payable endpoints, false only non-payable ones. Omit for all endpoints. Network availability and request/payment validation are checked at execution time.

x402Networkstring

Narrow to endpoints payable via x402 on this customer-payment network (CAIP-2 id, e.g. eip155:8453). Implies supportsX402=true; an unknown/unconfigured id returns an empty page.

readonlyboolean

Filter by whether running the endpoint can change your workspace resources (phone numbers, files, asset libraries): true keeps only endpoints that cannot create, modify or delete them, false only endpoints that can. Omit for all endpoints. This describes RESOURCE effects only — a readonly endpoint may still perform real-world actions and is still billed.

effectsstring[]

Keep only endpoints whose run can have AT LEAST ONE of the named effects on your workspace resources (phone numbers, files, asset libraries): creates, updates, deletes. Omit for all endpoints. Takes precedence over readonly (readonly=true is the alias for "no write effects"). Resource effects only — an endpoint with no effect may still perform real-world actions and is still billed.

Example request

{
  "q": "twitter posts",
  "limit": 5,
  "category": "twitter",
  "minScore": 0.2,
  "x402Network": "eip155:8453",
  "effects": [
    "creates",
    "deletes"
  ]
}

Response

Ranked endpoint cards

totalinteger required

Above-floor semantic matches (after the outage filter and the optional category narrowing), before limit truncation.

Example response

{
  "items": [
    {
      "provider": "exa",
      "endpoint": "/search"
    }
  ]
}

Changes

    • warning

      added the new byte enum value to the ///////// response property for the response status

    • warning

      added the new byte enum value to the /////////// response property for the response status

    • warning

      added the new byte enum value to the /////// response property for the response status

    • warning

      added the new byte enum value to the /////////// response property for the response status

    • info

      added the new optional header request parameter X-Monid-Agent-Harness

    • info

      added the new optional header request parameter X-Monid-Agent-Model

    • info

      added the new optional header request parameter X-Monid-Agent-Session-Id

    • info

      removed the PROMO_REDEEM_DISABLED enum value from the response property for the response status

    • info

      removed the PROMO_REDEEM_DISABLED enum value from the response property for the response status

    • info

      removed the PROMO_REDEEM_DISABLED enum value from the response property for the response status

    • info

      removed the PROMO_REDEEM_DISABLED enum value from the response property for the response status

    • info

      removed the PROMO_REDEEM_DISABLED enum value from the response property for the response status