← Back to directory

Rank and select document chunks by relevance to fit within a token budget. Retur...

https://api.strale.io/x402/v2/context-window-optimize

Overview

Rank and select document chunks by relevance to fit within a token budget. Returns selected/excluded chunks with scores.

Protocol x402
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider strale
Source bazaar
Indexed 2026-09-06 08:13:59

Health

Status unknown
Latency (p50)
Uptime (30d)
Reliability Score
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements
Asset Verified
Facilitator

Input Schema

{ "discoverable": true, "method": "GET", "queryParams": { "documents": { "description": "Array of {id, text}", "required": true, "type": "array" }, "max_tokens": { "type": "integer" }, "query": { "required": true, "type": "string" } }, "type": "http" }

Output Schema

{ "excluded": { "type": "array" }, "selected": { "type": "array" }, "tokens_remaining": { "type": "integer" }, "total_tokens_used": { "type": "integer" } }