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. 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)
201ms
Uptime (30d)
100.0%
Reliability Score
87/100
Last Checked
2026-04-16 12:33:43
Last Healthy
2026-04-16 12:33:43
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
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-04-16 12:33:43 | healthy | 402 | 207ms | |
| 2026-04-16 11:43:31 | healthy | 402 | 190ms | |
| 2026-04-16 10:08:03 | healthy | 402 | 192ms | |
| 2026-04-16 09:06:40 | healthy | 402 | 203ms | |
| 2026-04-16 08:12:18 | healthy | 402 | 189ms | |
| 2026-04-16 07:22:16 | healthy | 402 | 190ms | |
| 2026-04-16 06:04:36 | healthy | 402 | 226ms | |
| 2026-04-16 04:59:22 | healthy | 402 | 208ms | |
| 2026-04-16 04:29:40 | healthy | 402 | 189ms | |
| 2026-04-16 03:37:09 | healthy | 402 | 210ms | |
| 2026-04-16 02:12:28 | healthy | 402 | 187ms | |
| 2026-04-16 01:12:29 | healthy | 402 | 189ms | |
| 2026-04-16 00:06:45 | healthy | 402 | 209ms | |
| 2026-04-15 23:21:16 | healthy | 402 | 195ms | |
| 2026-04-15 22:30:08 | healthy | 402 | 203ms | |
| 2026-04-15 21:37:21 | healthy | 402 | 201ms | |
| 2026-04-15 20:22:55 | healthy | 402 | 203ms | |
| 2026-04-15 19:12:43 | healthy | 402 | 204ms | |
| 2026-04-15 18:39:13 | healthy | 402 | 188ms | |
| 2026-04-15 17:16:43 | healthy | 402 | 193ms |