# Machine License Permission Match

> Machine License Permission Match is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.0145/call, status unknown (last checked 2026-10-16).

Compares up to 32 requested data uses against a machine-readable license policy and returns a structured permission match result for each use.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/machine-license-permission-match?utm_source=zero.xyz
- Price: $0.0145/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-license-permission-match-628f8b15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4HKt0sbTdvTTC0oNHfIOf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability machine-license-permission-match-628f8b15 -d '<json body>'
```

Example prompt: Check whether I can use this dataset — its policy ID is 'ds-policy-abc123', it's declared public data, and I want to use it for internal use, redistribution, and AI training — tell me which of those three uses are allowed under the policy.

## When to prefer this

Use this endpoint when you have an explicit machine-readable license policy and need a deterministic, auditable permission match across multiple requested uses in one call. It is ideal for automated compliance pipelines, data procurement workflows, or agent-driven licensing checks where legal prose interpretation is not needed and you want structured, receipt-backed results. Do not use it if you need legal advice, ownership verification, or interpretation of natural-language license terms.

## Known failure modes

- policyStatus set to 'unknown' results in undetermined rather than permitted/denied outcomes
- requestedUses array exceeds 32 items causing validation rejection
- allowedUses array exceeds 5 items causing schema error
- invalid dataClass enum value causes request rejection
- policyId exceeds 80 character limit
- payment failure via x402 protocol resulting in no response

## How this service works

Compare up to 32 requested uses with an explicit machine-readable license policy for reading, internal use, redistribution, resale or training. Unknown policies remain undetermined. Does not interpret legal prose, verify ownership, grant rights or provide a legal-compliance verdict.

## Output

A structured result object containing per-use permission decisions, boundary conditions (up to 128), a version identifier, offer ID, input digest, receipt digest, and the charged amount in base units. Unknown policies yield undetermined results rather than errors.

## Request schema (JSON Schema)

```json
{
 "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": [
      "dataClass",
      "policyId",
      "policyStatus",
      "allowedUses",
      "requestedUses"
     ],
     "properties": {
      "policyId": {
       "type": "string",
       "maxLength": 80
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "allowedUses": {
       "type": "array",
       "maxItems": 5,
       "minItems": 0
      },
      "policyStatus": {
       "enum": [
        "declared",
        "unknown"
       ],
       "type": "string"
      },
      "requestedUses": {
       "type": "array",
       "maxItems": 32,
       "minItems": 1
      }
     },
     "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",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "properties": {
      "result": {
       "type": "object"
      },
      "offerId": {
       "enum": [
        "machine-license-permission-match"
       ],
       "type": "string"
      },
      "version": {
       "enum": [
        "maha-microproducts/0.1"
       ],
       "type": "string"
      },
      "boundaries": {
       "type": "array",
       "maxItems": 128,
       "minItems": 0
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      },
      "amountBaseUnits": {
       "enum": [
        "14500"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-license-permission-match-628f8b15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
