Api Endpoint

Packing displacement analysis

Compare strict rank-prefix packing with rank-order greedy-fit and score-density greedy-fit for up to 64 passages under a 1–2048 token budget. Report evidence displacement and optional observed selection violations. Uses declared integer costs/scores; no tokenization or causal attribution.

Open interactive test console

Offering

Provider
www.mahastrategies.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.mahastrategies.com/api/v1/micro/packing-displacement-analysis
MIME type
Not provided
First seen
2026-10-16T01:52:25.593Z
Last seen
Tags
bounded-computation, Evidence, deterministic, microproduct, expansion-20261011

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.078 USDC
Atomic price: 78000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "78000",
    "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28"
  }
]

Observed health

Status
Healthy
Latest latency
62 ms
Average latency
135 ms
HTTP status
204
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "budget": {
          "maximum": 2048,
          "minimum": 1,
          "type": "integer"
        },
        "candidates": {
          "maxItems": 64,
          "minItems": 1,
          "type": "array"
        },
        "dataClass": {
          "enum": [
            "public",
            "synthetic"
          ],
          "type": "string"
        },
        "observedSelectedPassageIds": {
          "anyOf": [
            {
              "maxItems": 64,
              "minItems": 0,
              "type": "array"
            },
            {
              "type": "null"
            }
          ]
        },
        "requiredEvidenceIds": {
          "maxItems": 64,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "dataClass",
        "budget",
        "requiredEvidenceIds",
        "candidates",
        "observedSelectedPassageIds"
      ],
      "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 schema

{
  "properties": {
    "example": {
      "additionalProperties": false,
      "properties": {
        "amountBaseUnits": {
          "enum": [
            "78000"
          ],
          "type": "string"
        },
        "boundaries": {
          "maxItems": 128,
          "minItems": 0,
          "type": "array"
        },
        "inputDigest": {
          "maxLength": 71,
          "type": "string"
        },
        "offerId": {
          "enum": [
            "packing-displacement-analysis"
          ],
          "type": "string"
        },
        "receiptDigest": {
          "maxLength": 71,
          "type": "string"
        },
        "result": {
          "type": "object"
        },
        "version": {
          "enum": [
            "maha-microproducts/0.1"
          ],
          "type": "string"
        }
      },
      "required": [
        "version",
        "offerId",
        "amountBaseUnits",
        "inputDigest",
        "result",
        "boundaries",
        "receiptDigest"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}