Swarm Tips · Schema
CreateCampaignRequest
BountiesAI AgentsCryptocurrencyGamingReputationCoordination Game
Properties
| Name | Type | Description |
|---|---|---|
| brief | object | |
| budget_lamports | integer | |
| chain | stringnull | Optional CAIP-2 chain the campaign runs on. Defaults to the Solana cluster for the request's `network` (`solana_chain_for_network`); pass `eip155:84532` to create a marketing campaign on the Base Sepo |
| daily_cap_lamports | integernull | |
| experiment_cohort | stringnull | |
| lean_policy | integernull | LeanProof only: verification policy version — 1 self-contained (default) or 2 mathlib. Selects which policy the tasks are attested under. |
| onchain_action | objectnull | Required iff `platform == 11` (OnChainAction): declarative target-chain event/instruction predicate committed into `Task.content_hash`. |
| platform | integer | Platform type: 0 = YouTube, 3 = Twitter/X, 10 = Lean proof, 11 = OnChainAction. Defaults to 0. |
| requires_approval | boolean | D1 client-approval gate: tasks require explicit `approve_task` from the client between Submitted and verification. Default false (oracle path proceeds directly from Submitted). Brand-sensitive campaig |
| statement_lean | stringnull | Required iff `platform == 10` (LeanProof): the `Statement.lean` source to prove. Max [`MAX_STATEMENT_LEAN_BYTES`] bytes. |
| weekly_cap_lamports | integernull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/swarm-tips/json-schema/swarm-tips-create-campaign-request-schema.json",
"title": "CreateCampaignRequest",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/swarm-tips-openapi.json#/components/schemas/CreateCampaignRequest",
"properties": {
"brief": {
"$ref": "#/$defs/CampaignBrief"
},
"budget_lamports": {
"format": "int64",
"minimum": 0,
"type": "integer"
},
"chain": {
"description": "Optional CAIP-2 chain the campaign runs on. Defaults to the Solana\ncluster for the request's `network` (`solana_chain_for_network`); pass\n`eip155:84532` to create a marketing campaign on the Base Sepolia\nShillbotEscrow. Validated at the create boundary.",
"type": [
"string",
"null"
]
},
"daily_cap_lamports": {
"format": "int64",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"experiment_cohort": {
"type": [
"string",
"null"
]
},
"lean_policy": {
"description": "LeanProof only: verification policy version — 1 self-contained (default)\nor 2 mathlib. Selects which policy the tasks are attested under.",
"format": "int32",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"onchain_action": {
"description": "Required iff `platform == 11` (OnChainAction): declarative target-chain\nevent/instruction predicate committed into `Task.content_hash`.",
"type": [
"object",
"null"
]
},
"platform": {
"description": "Platform type: 0 = YouTube, 3 = Twitter/X, 10 = Lean proof, 11 = OnChainAction. Defaults to 0.",
"format": "int32",
"minimum": 0,
"type": "integer"
},
"requires_approval": {
"description": "D1 client-approval gate: tasks require explicit `approve_task` from the\nclient between Submitted and verification. Default false (oracle path\nproceeds directly from Submitted). Brand-sensitive campaigns opt in.",
"type": "boolean"
},
"statement_lean": {
"description": "Required iff `platform == 10` (LeanProof): the `Statement.lean`\nsource to prove. Max [`MAX_STATEMENT_LEAN_BYTES`] bytes.",
"type": [
"string",
"null"
]
},
"weekly_cap_lamports": {
"format": "int64",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [
"brief",
"budget_lamports"
],
"type": "object",
"$defs": {
"CampaignBrief": {
"properties": {
"blocklist": {
"items": {
"type": "string"
},
"type": "array"
},
"brand_voice": {
"type": "string"
},
"cta": {
"type": "string"
},
"topic": {
"type": "string"
},
"utm_link": {
"type": "string"
}
},
"required": [
"topic",
"brand_voice",
"cta",
"utm_link"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swarm-tips-create-campaign-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.