Compile 1-8 documents into a token-budgeted context pack, then measure exact ret
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://www.mahastrategies.com/api/v1/compress/evaluate
| Category | Code and developer |
|---|---|
| Provider host | www.mahastrategies.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.01 | 1376 ms |
Example input (from the provider)
{
"body": {
"budgetMode": "guaranteed",
"clientRequestId": "req_rag_release_eval_001",
"documents": [
{
"id": "release-notes",
"text": "Release may proceed after the security owner attaches credential-rotation evidence. The production canary passed in every region.\n\nRoutine notes cover staffing, dashboards, meeting cadence, maintenance calendars, regional handoffs, historical capacity, and documentation formatting.",
"title": "Release notes"
},
{
"id": "rollback-runbook",
"text": "Rollback if API errors exceed 2 percent for five minutes or payment failures breach the alert threshold. Restore the last-known-good deployment before reopening traffic.\n\nRoutine notes cover staffing, dashboards, meeting cadence, maintenance calendars, regional handoffs, historical capacity, and documentation formatting.",
"title": "Rollback runbook"
}
],
"provenance": "compact",
"requiredEvidence": [
{
"evidenceId": "release-gate",
"sourceId": "release-notes",
"text": "Release may proceed after the security owner attaches credential-rotation evidence."
},
{
"evidenceId": "rollback-trigger",
"sourceId": "rollback-runbook",
"text": "Rollback if API errors exceed 2 percent for five minutes"
},
{
"evidenceId": "handoff-note",
"sourceId": "release-notes",
"text": "regional handoffs, historical capacity, and documentation formatting"
}
],
"scoring": "bm25",
"task": "Find the release condition and rollback trigger while removing duplicate operational background.",
"tokenBudget": 128
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"budgetMode": {
"enum": [
"guaranteed",
"estimated"
],
"type": "string"
},
"clientRequestId": {
"maxLength": 120,
"minLength": 8,
"type": "string"
},
"documents": {
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"provenance": {
"enum": [
"full",
"compact",
"none"
],
"type": "string"
},
"requiredEvidence": {
"maxItems": 32,
"minItems": 1,
"type": "array"
},
"scoring": {
"enum": [
"bm25",
"keyword"
],
"type": "string"
},
"task": {
"maxLength": 1200,
"minLength": 8,
"type": "string"
},
"tokenBudget": {
"maximum": 16000,
"minimum": 64,
"type": "integer"
}
},
"required": [
"clientRequestId",
"task",
"tokenBudget",
"documents",
"requiredEvidence"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"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"
}
},
"required": [
"input"
],
"type": "object"
}