← Back to directory

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

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

Overview

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

Protocol x402
Price $0.01
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider strale
Source bazaar
Indexed 2026-04-15 14:09:59

Health

Status healthy
Latency (p50) 216ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-06-09 22:56:12
Last Healthy 2026-06-09 22:56:12
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
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" } }

Recent Health Checks

Time Status HTTP Latency Error
2026-06-09 22:56:12 healthy 402 216ms
2026-06-09 17:52:42 healthy 402 222ms
2026-06-09 11:32:03 healthy 402 223ms
2026-06-09 06:01:02 healthy 402 298ms
2026-06-09 02:29:22 healthy 402 205ms
2026-06-08 21:52:03 healthy 402 219ms
2026-06-08 17:03:07 healthy 402 212ms
2026-06-08 15:03:34 healthy 402 194ms
2026-06-08 11:15:08 healthy 402 227ms
2026-06-08 07:13:25 healthy 402 189ms
2026-06-08 04:11:51 healthy 402 219ms
2026-06-08 00:50:18 healthy 402 211ms
2026-06-07 21:38:51 healthy 402 217ms
2026-06-07 18:52:07 healthy 402 216ms
2026-06-07 12:26:43 healthy 402 193ms
2026-06-07 09:44:53 healthy 402 196ms
2026-06-07 06:26:24 healthy 402 211ms
2026-06-07 03:13:49 healthy 402 239ms
2026-06-07 02:07:47 healthy 402 198ms