Compile 1-8 documents into a token-budgeted context pack, then measure exact retention…
Compile 1-8 documents into a token-budgeted context pack, then measure exact retention of 1-32 caller-labelled evidence spans. Returns the pack, source-linked passages, input and output hashes, original and compiled token estimates, tokensSaved, source covera…
by www.mahastrategies.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Compile 1-8 documents into a token-budgeted context pack, then measure exact retention of 1-32 caller-labelled evidence spans. Returns the pack, source-linked passages, input and output hashes, original and compiled token estimates, tokensSaved, source coverage, and requiredEvidenceRetentionPercent. Retention is exact span matching only: not accuracy, answer quality, verification, or hallucination prevention. Extractive and budget-bound. Request content is not stored.
Tags: ai · context-compression · llm · rag · evidence-retention · bazaar · declaration-integrity · maha-offer
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32077.jsonfor the price and payment options. - Pay. Call
GET https://www.mahastrategies.com/api/v1/compress/evaluate. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Calls (30d)
- 4 · 2 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"clientRequestId": {
"maxLength": 120,
"minLength": 8,
"type": "string"
},
"compiledContextStored": {
"const": false,
"type": "boolean"
},
"contextPack": {
"type": "object"
},
"evaluationId": {
"type": "string"
},
"evidence": {
"maxItems": 32,
"minItems": 1,
"type": "array"
},
"inputHash": {
"type": "string"
},
"metrics": {
"type": "object"
},
"offerId": {
"const": "deep-context-evaluation",
"type": "string"
},
"outputHash": {
"type": "string"
},
"requiredEvidenceTextStored": {
"const": false,
"type": "boolean"
},
"retentionBoundaries": {
"type": "object"
},
"sourceTextStored": {
"const": false,
"type": "boolean"
},
"version": {
"const": "0.1.0",
"type": "string"
},
"warningCodes": {
"type": "array"
},
"warnings": {
"type": "array"
}
},
"required": [
"version",
"offerId",
"evaluationId",
"clientRequestId",
"contextPack",
"evidence",
"metrics",
"inputHash",
"outputHash",
"warnings",
"warningCodes",
"retentionBoundaries",
"sourceTextStored",
"compiledContextStored",
"requiredEvidenceTextStored"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"clientRequestId": "string",
"compiledContextStored": true,
"contextPack": {},
"evaluationId": "string",
"evidence": [
"value"
],
"inputHash": "string",
"metrics": {},
"offerId": "string",
"outputHash": "string",
"requiredEvidenceTextStored": true,
"retentionBoundaries": {},
"sourceTextStored": true,
"version": "string",
"warningCodes": [
"value"
],
"warnings": [
"value"
]
},
"type": "string"
}Examples
curl "https://www.mahastrategies.com/api/v1/compress/evaluate"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://www.mahastrategies.com/api/v1/compress/evaluate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://www.mahastrategies.com/api/v1/compress/evaluate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- www.mahastrategies.com
- Endpoint
- https://www.mahastrategies.com/api/v1/compress/evaluate
- Machine-readable
/resources/32077.json