All workflows

Schema Sample Generator

Generate a deterministic structural example from a simple JSON-schema-like object for tool testing and agent planning.

1 credit per call · $0.001 USDC with x402

Sample input

{
  "schema": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "count": {
        "type": "integer",
        "minimum": 1
      }
    }
  }
}

Worked sample output

{
  "ok": true,
  "mode": "schema_sample",
  "sample": {
    "id": "example",
    "count": 1
  },
  "sample_sha256": "b6f7faf776f39d0edfb0dde50fc1ba0e4680c091d639a24f9c7f5740c008ad95",
  "limitations": [
    "Generates a deterministic structural example only; it does not guarantee semantic validity beyond simple schema hints."
  ]
}

Worked example using published sample data only. Own-data execution is paid.

Connect in curl

Set BOUNTY_API_KEY privately after your payment is verified. Change the retry key for each new logical request.

curl 'https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/schema-sample' \
  -H "Authorization: Bearer $BOUNTY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: workflow-request-001' \
  -H 'X-Max-Credits: 1' \
  --data '{"schema":{"type":"object","properties":{"id":{"type":"string"},"count":{"type":"integer","minimum":1}}}}'

Connect in n8n

Download the inactive n8n template. Import it, configure the private Header Auth credential, inspect the sample and run it manually. A new execution creates a new billable request; there is no automatic schedule.

Use an HTTP POST to https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/schema-sample. Send JSON and these headers; store the Bearer token as a private credential.

{
  "method": "POST",
  "headers": {
    "Authorization": "Bearer YOUR_PRIVATE_API_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": "UNIQUE_PER_LOGICAL_REQUEST",
    "X-Max-Credits": "1"
  },
  "body": {
    "schema": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "count": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  }
}

Reuse a retry key only for the same input. Failed execution returns reserved credits. Full integration and recovery guide · Machine-readable recipe