{"api":"v1","generated_at":"2026-09-15T23:10:28.762Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/www-mahastrategies-com-api-v1-compress-cc4578","pinned_page":"https://tollindex.com/e/www-mahastrategies-com-api-v1-compress-cc4578/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"www-mahastrategies-com-api-v1-compress-cc4578","canonical_url":"https://www.mahastrategies.com/api/v1/compress","resource":"https://www.mahastrategies.com/api/v1/compress","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Compress long documents and RAG inputs into token-budgeted, deduplicated context packs with source-linked provenance. Returns original and compiled token counts, so the saving is verifiable. Net-positive above N = fee / (r x p) tokens: r your reduction, p your input price. Extractive and budget-bound, so check includedPassages before relying on it. Ranks Latin, Cyrillic, Greek, Arabic and CJK; CJK coarser (bigrams). Not for tabular or heavily-structured payloads.","service_name":"Maha Context Compiler","declared_category":null,"declared_tags":["ai","context-compression","llm","rag","provenance"],"route_template":null,"registry_updated":"2026-09-11T04:12:48.234Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"compress","category":"market-data","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":9,"unique_payers_30d":7,"last_called_at":"2026-09-11T04:12:48.033Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:33:48.888Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:33:48.888Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T06:02:37.198Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:54:33.116Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:11:44.452Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T12:14:24.365Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28","page":"https://tollindex.com/seller/0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28","endpoints":28,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["ai","context-compression","llm","rag","provenance"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786099228/bazaar-icons/1a820036513dff1d.png","quality":{"lastCalledAt":"2026-09-11T04:12:48.033Z","l30DaysTotalCalls":9,"l30DaysUniquePayers":7},"resource":"https://www.mahastrategies.com/api/v1/compress","extensions":{"bazaar":{"info":{"input":{"body":{"task":"Find the release condition and rollback trigger while removing duplicate operational background.","scoring":"bm25","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"}],"budgetMode":"guaranteed","provenance":"compact","tokenBudget":128,"clientRequestId":"req_rag_release_001"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"task":"Find the release condition and rollback trigger while removing d…","packId":"ctxpack_6a5464df2ce14e9b9e16571c7d814821","context":"# Context Pack\n\nTask: Find the release condition and rollback tr…","metrics":{"sourceCount":2,"tokensSaved":14,"compiledBytes":461,"originalBytes":606,"sourceCoveragePercent":100,"compiledEstimatedTokens":83,"originalEstimatedTokens":97,"duplicatePassagesRemoved":1,"estimatedReductionPercent":14.4},"sources":[{"title":"Release notes","sourceId":"release-notes","sourceHash":"sha256:288ded29ae161d3d11effd7161edf7c51ef1320e7ba0a8d2feaaed7ab…","passageCount":2,"includedPassageIds":["release-notes:1"],"includedEstimatedTokens":21,"originalEstimatedTokens":44}],"version":"0.1.0","warnings":["Token counts are model-neutral estimates, not provider tokenizer…"],"inputHash":"sha256:288dd5cacd92158f9460346ba6e931f6d0d52f2598bd55e748fc30a18…","outputHash":"sha256:80a337617475688482476a469f9fa7b489ef3e1ad15b4a9756fdc1aa7…","tokenBudget":128,"warningCodes":["model_neutral_token_estimates","extractive_selection_not_verification"],"clientRequestId":"req_rag_release_001","includedPassages":[{"text":"Release may proceed after the security owner attaches credential…","sourceId":"release-notes","passageId":"release-notes:1","passageHash":"sha256:4d5e66efdcf5f8dba63a89b40af6ce17f3f42948c48b731732e47f5dc…"}],"sourceTextStored":false,"retentionBoundaries":{"selectionType":"extractive","tokenCountType":"model_neutral_estimate","evidenceRetention":"best_effort","completenessGuaranteed":false,"claimVerificationPerformed":false,"hallucinationPreventionGuaranteed":false},"compiledContextStored":false}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["clientRequestId","task","tokenBudget","documents"],"properties":{"task":{"type":"string","maxLength":1200,"minLength":8},"scoring":{"enum":["bm25","keyword"],"type":"string"},"documents":{"type":"array","maxItems":8,"minItems":1},"budgetMode":{"enum":["guaranteed","estimated"],"type":"string"},"provenance":{"enum":["full","compact","none"],"type":"string"},"tokenBudget":{"type":"integer","maximum":16000,"minimum":64},"clientRequestId":{"type":"string","maxLength":120,"minLength":8}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","packId","clientRequestId","task","tokenBudget","context","metrics","includedPassages","sources","warnings","warningCodes","retentionBoundaries","inputHash","outputHash","sourceTextStored","compiledContextStored"],"properties":{"task":{"type":"string"},"packId":{"type":"string"},"context":{"type":"string"},"metrics":{"type":"object"},"sources":{"type":"array","maxItems":8,"minItems":1},"version":{"type":"string","const":"0.1.0"},"warnings":{"type":"array"},"inputHash":{"type":"string"},"outputHash":{"type":"string"},"tokenBudget":{"type":"integer","maximum":16000,"minimum":64},"warningCodes":{"type":"array"},"clientRequestId":{"type":"string","maxLength":120,"minLength":8},"includedPassages":{"type":"array"},"sourceTextStored":{"type":"boolean","const":false},"retentionBoundaries":{"type":"object"},"compiledContextStored":{"type":"boolean","const":false}},"additionalProperties":false}}}}}},"maha-offer":{"asset":"USDC","amount":"1000","method":"POST","status":"available","network":"eip155:8453","offerId":"context-compression","assetDecimals":6,"declarationUrl":"https://www.mahastrategies.com/api/discovery/x402-offers/context-compression","maxRequestBytes":450000,"canonicalResource":"https://www.mahastrategies.com/api/v1/compress","declarationInline":"compact","payableInProduction":true,"fullSourceTextStored":false,"verbatimExcerptsRetained":false},"declaration-integrity":{"metadataVersion":"2026-08-10","canonicalResource":"https://www.mahastrategies.com/api/v1/compress","declarationDigest":"sha256:ff1556f72a25aff5298da49f220e2fb0e24d40064df25dd0fe2539165665af72"}},"description":"Compress long documents and RAG inputs into token-budgeted, deduplicated context packs with source-linked provenance. Returns original and compiled token counts, so the saving is verifiable. Net-positive above N = fee / (r x p) tokens: r your reduction, p your input price. Extractive and budget-bound, so check includedPassages before relying on it. Ranks Latin, Cyrillic, Greek, Arabic and CJK; CJK coarser (bigrams). Not for tabular or heavily-structured payloads.","lastUpdated":"2026-09-11T04:12:48.234Z","serviceName":"Maha Context Compiler","x402Version":2}]}}