{"api":"v1","generated_at":"2026-09-15T22:52:01.449Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/402utils-com-v1-rerank-19debc","pinned_page":"https://tollindex.com/e/402utils-com-v1-rerank-19debc/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"402utils-com-v1-rerank-19debc","canonical_url":"https://402utils.com/v1/rerank","resource":"https://402utils.com/v1/rerank","http_method":"POST","type":"http","x402_version":2,"registries":[],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Rerank passages by relevance to a query via Cloudflare Workers AI (@cf/baai/bge-reranker-base). Send {query, documents[] (≤50, each ≤4000 chars), topK?}; returns [{index, score}] best-first — the missing link after embed/chunk, keeping the top chunks before a costly LLM call. Score is the model's relevance score (higher = better), named as it only compares within this model. Unavailable binding → 503, unbilled.","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-08-13T12:15:35.080Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"rerank","category":"inference","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-12T10:44:49.990Z","observation_began":"2026-09-10"},"presence":{"listed_now":false,"first_absent_at":"2026-09-12T14:15:33.386Z","delisting_confirmed_at":"2026-09-12T15:30:25.042Z","events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"},{"registry":"cdp","at":"2026-09-12T14:15:33.386Z","event":"delisted"},{"registry":"cdp","at":"2026-09-12T15:30:25.042Z","event":"delisting_confirmed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.004 USDC","amount_units":0.004,"decimals_known":true,"pay_to":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","scheme":"exact"}],"counters":{"observed_at":"2026-09-12T10:44:49.991Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-13T12:15:33.475Z"},"validation":{"latest":{"observed_at":"2026-09-12T06:18:44.120Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-12"},"uptime":[{"days":7,"observed":2,"passed":2,"ratio":1},{"days":30,"observed":2,"passed":2,"ratio":1},{"days":90,"observed":2,"passed":2,"ratio":1}],"history_90d":[{"observed_at":"2026-09-12T06:18:44.120Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T09:45:22.271Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","page":"https://tollindex.com/seller/0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","endpoints":16,"hosts":2},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","amount":"4000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-08-13T12:15:33.475Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://402utils.com/v1/rerank","extensions":{"bazaar":{"info":{"input":{"body":{"topK":2,"query":"How do I reset my password?","documents":["To reset your password, click 'Forgot password' on the sign-in page.","Our office is open Monday to Friday, 9am to 5pm.","Passwords must be at least 12 characters and are reset from account settings."]},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"model":"@cf/baai/bge-reranker-base","results":[{"index":0,"score":0.98},{"index":2,"score":0.71}]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["query","documents"],"properties":{"topK":{"type":"integer","minimum":1,"description":"Return only the K best (default: all, ranked)."},"query":{"type":"string","description":"The search query (≤ 4000 chars)."},"documents":{"type":"array","items":{"type":"string"},"maxItems":50,"description":"Candidate passages to rank (≤ 50, each ≤ 4000 chars)."},"returnDocuments":{"type":"boolean","default":false,"description":"Include each ranked document's text in the results."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["results","model"],"properties":{"model":{"type":"string","description":"The reranker model used (scores compare only within one model)."},"results":{"type":"array","items":{"type":"object","required":["index","score"],"properties":{"index":{"type":"integer","description":"Position of this document in the request `documents` array."},"score":{"type":"number","description":"Relevance score from the model (higher = more relevant)."},"document":{"type":"string","description":"The document text (only when returnDocuments=true)."}}},"description":"Ranked best-first. `index` refers to the input documents array."}},"additionalProperties":false}}}}}}},"description":"Rerank passages by relevance to a query via Cloudflare Workers AI (@cf/baai/bge-reranker-base). Send {query, documents[] (≤50, each ≤4000 chars), topK?}; returns [{index, score}] best-first — the missing link after embed/chunk, keeping the top chunks before a costly LLM call. Score is the model's relevance score (higher = better), named as it only compares within this model. Unavailable binding → 503, unbilled.","lastUpdated":"2026-08-13T12:15:35.08Z","x402Version":2}]}}