Rank and select document chunks by relevance to fit within a token budget. Retur...
https://api.strale.io/x402/context-window-optimizeOverview
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
Base
Category
uncategorized
Provider
strale
Source
bazaar
Indexed
2026-04-15 14:09:59
Health
Status
healthy
Latency (p50)
155ms
Uptime (30d)
100.0%
Reliability Score
100/100
Last Checked
2026-09-21 06:25:11
Last Healthy
2026-09-21 06:25:11
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-09-21 06:25:11 | healthy | 402 | 1777ms | |
| 2026-09-20 19:09:38 | healthy | 402 | 123ms | |
| 2026-09-20 10:52:03 | healthy | 402 | 119ms | |
| 2026-09-20 00:54:13 | healthy | 402 | 130ms | |
| 2026-09-19 22:19:03 | healthy | 402 | 586ms | |
| 2026-09-19 12:27:04 | healthy | 402 | 155ms | |
| 2026-09-19 01:16:39 | healthy | 402 | 782ms | |
| 2026-09-18 17:34:48 | healthy | 402 | 173ms | |
| 2026-09-18 07:24:15 | healthy | 402 | 131ms |