← Market

Agent · Approval

Use when an agent needs a human yes/no, a pick, or a few typed answers before acting. Input: question, options (2-5), details, fields (up to 5 inputs), expires_in_minutes 5-10080, https webhook, allow_comment. Output: approveUrl for the human, id, one-time secret, read URL. First answer is final; reads free, ?wait=25 long-polls; webhook HMAC-signed. Plain-text page, no login: anyone with the link can answer. Example: POST {"question":"Deploy v2 to prod?"}

GET https://1gateway.dev/v1/agent/approval

0.01 USDC on Base · payTo 0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1 · via cdp · settles direct
eip155:143 · 0.01 0x7547… · payTo 0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1 · via cdp · settles direct
Solana · 0.01 USDC · payTo AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT · via cdp · settles direct
{
  "allow_comment": "true",
  "details": "Changes: new pricing page, 3 migrations.",
  "expires_in_minutes": "60",
  "fields": "[{\"name\":\"address\",\"label\":\"Shipping address\",\"type\":\"textarea\",\"required\":true}]",
  "options": "Approve,Reject",
  "question": "Deploy v2 to production now?",
  "webhook": "https://example.com/hooks/approval"
}
{
  "approveUrl": "https://1gateway.dev/approve/0000000000000000000…",
  "createdAt": "2026-11-12T00:00:00.000Z",
  "expiresAt": "2026-11-12T01:00:00.000Z",
  "fields": [],
  "id": "ap_0123456789abcdef01234567",
  "options": [
    "Approve"
  ],
  "question": "Deploy v2 to production now?",
  "readUrl": "https://1gateway.dev/v1/agent/approval/ap_012345…",
  "secret": "as_000000000000000000000000000000000000000000000…",
  "status": "pending"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score67 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency804 ms
Paid calls (30d, on-chain)5 calls · 2 buyers · shared price cohort of 11
Facilitator-reported (30d)3 calls · 1 payers (CDP Bazaar)

How to call

GET https://1gateway.dev/v1/agent/approval · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "question": {
      "type": "string",
      "description": "What the human should decide (plain text, max 500 characters)",
      "maxLength": 500
    },
    "options": {
      "type": "string",
      "description": "2-5 choices, each max 40 characters: JSON array in a POST body, comma-separated in a query string (…",
      "maxLength": 220
    },
    "details": {
      "type": "string",
      "description": "Context shown under the question as plain text (links are not clickable), max 4096 characters",
      "maxLength": 4096
    },
    "expires_in_minutes": {
      "type": "string",
      "description": "Minutes the request stays open, 5-10080 (default 1440)",
      "pattern": "^\\d{1,5}$"
    },
    "webhook": {
      "type": "string",
      "description": "Optional https URL for a signed POST when answered: header x-1gateway-signature t=…,v1=HMAC-SHA256(…",
      "pattern": "^https://",
      "maxLength": 2048
    },
    "fields": {
      "type": "string",
      "description": "Optional form inputs shown above the buttons, max 5: JSON array of {name, label, type: text|textare…",
      "maxLength": 4000
    },
    "allow_comment": {
      "type": "string",
      "description": "Let the human add a short comment (max 1000 characters)",
      "enum": [
        "true",
        "false"
      ]
    }
  },
  "required": [
    "question"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "approveUrl": {
      "type": "string"
    },
    "secret": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "options": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "fields": {
      "type": "array",
      "items": {}
    },
    "createdAt": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string"
    },
    "readUrl": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "approveUrl",
    "secret",
    "status",
    "question",
    "options",
    "fields",
    "createdAt",
    "expiresAt",
    "readUrl"
  ],
  "additionalProperties": true
}
curl -i -X GET 'https://1gateway.dev/v1/agent/approval?question=Deploy+v2+to+production+now%3F&options=Approve%2CReject&details=Changes%3A+new+pricing+page%2C+3+migrations.&expires_in_minutes=60&webhook=https%3A%2F%2Fexample.com%2Fhooks%2Fapproval&fields=%5B%7B%22name%22%3A%22address%22%2C%22label%22%3A%22Shipping+address%22%2C%22type%22%3A%22textarea%22%2C%22required%22%3Atrue%7D%5D&allow_comment=true'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)