# Intention Threshold Sweep

> Intention Threshold Sweep is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.073/call, status unknown (last checked 2026-10-20).

Sweeps up to 24 declared classification thresholds across labelled score sequences, reporting false-positive events, active time, intention misses, and first-active latency across contiguous trials.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/intention-threshold-sweep?utm_source=zero.xyz
- Price: $0.073/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/intention-threshold-sweep-c0eb2b0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q2xBJhSuQ5dvtYaNGlY7J

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 intention-threshold-sweep-c0eb2b0a -d '<json body>'
```

Example prompt: Sweep 5 thresholds — 0.3, 0.4, 0.5, 0.6, 0.7 — over my 3 synthetic trials with unit-interval scores and declared held-out offline split, then report false events, active time, intention misses, and first-active latency for each threshold.

## When to prefer this

Choose this endpoint when you need to evaluate multiple classification thresholds simultaneously over labelled, contiguous trial sequences with stateful carry-across, particularly for intention detection or signal-detection workloads. It is purpose-built for declared held-out offline evaluation rather than live or adaptive control, making it ideal for reproducible threshold benchmarking on synthetic or public data classes.

## Known failure modes

- Exceeds 24 threshold limit — request rejected
- Exceeds 16 trial array limit — request rejected
- Score values outside unit-interval [0,1] range — validation error
- Invalid dataClass or evaluationSplit enum value — schema error
- Malformed or missing required body fields — 400 error
- Payment authorization failure — request not processed

## How this service works

Replay up to 24 declared thresholds over at most 512 labelled scores in contiguous half-open trials. Reports rest rising-edge false events, rest active time, intention misses and first-active latency. State carries across trials; scores are held to the next sample. Held-out status is declared, not verified. No automatic selection or live control.

## Output

Returns a structured result per threshold including rising-edge false event counts, rest active time, intention miss counts, and first-active latency, along with trial boundary markers, input digest, receipt digest, version, and offer ID for auditability.

## 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",
      "trials",
      "thresholds",
      "scoreUnits",
      "evaluationSplit"
     ],
     "properties": {
      "trials": {
       "type": "array",
       "maxItems": 16,
       "minItems": 1
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      },
      "scoreUnits": {
       "enum": [
        "unit-interval"
       ],
       "type": "string"
      },
      "thresholds": {
       "type": "array",
       "maxItems": 24,
       "minItems": 1
      },
      "evaluationSplit": {
       "enum": [
        "declared-held-out-offline"
       ],
       "type": "string"
      }
     },
     "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": [
        "intention-threshold-sweep"
       ],
       "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": [
        "73000"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/intention-threshold-sweep-c0eb2b0a/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)
