resources/staging.402utils.com/24e15e356fe2d6a23a8ee991
POSTorigin reachablediscovery only

POST /v1/embed

Text → vector embeddings via Cloudflare Workers AI. Send {text} or {texts[]} (≤20, each ≤4000 chars); returns one float vector per input. Default model @cf/baai/bge-m3 (1024-dim, multilingual). The model is named in the response — embeddings only compare within the same model. Completes the RAG chain: readability → chunk → embed, no OpenAI account. Cosine-compare the vectors yourself. Unavailable model/binding → 503, not billed.

https://staging.402utils.com/v1/embed
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://staging.402utils.com/v1/embed", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
  "type": "http",
  "method": "POST",
  "bodyType": "json",
  "bodyFieldNames": [
    "texts"
  ],
  "pathParamNames": [],
  "queryParamNames": []
}),
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

Review the provider input schema before running this non-read-only method. No payment code is included.

STATUS HISTORY

  1. Exact route checked

    not safely testable · potentially-mutating-method:POST

  2. Origin reachable

    HEAD https://staging.402utils.com/ returned 200.

  3. Observed in cdp-bazaar

    The registry record was observed and retained with provenance.

EVIDENCE

cdp-bazaarobserved 2026-07-10 · https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources
origin checkHEAD https://staging.402utils.com/ → 200 on 2026-07-10
route quotenot invoked automatically · potentially-mutating-method:POST · 2026-07-10

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.

PAYMENT OPTIONS

eip155:84532exact4000 atomic · 0x036CbD53842c5426634e7929541eC2318f3dCF7e
POST /v1/embed · TOLL·402