Salt · Schema
Mandate
Mandate.as_json_public -- Mandates R1/R2 "Acting for you".
Artificial IntelligenceCollaborationChatAutomationPlatform
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| kind | string | |
| status | string | withdrawn (0.240.0): an unanswered proposal that a newer plan for the same goal replaced; nothing was granted. `withdrawn_reason` says why. |
| label | stringnull | |
| grantor | object | The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret. |
| grantee | object | The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret. |
| capabilities | array | |
| starts_at | stringnull | |
| expires_at | stringnull | |
| standing | boolean | |
| grantee_fingerprint | stringnull | |
| key_changed | boolean | |
| parent_id | stringnull | |
| depth | integer | |
| version | integer | |
| chat_id | stringnull | |
| reason | stringnull | The asking agent's own words (at most 1000 characters). Data, never Salt's sentence. |
| estimated_cost | objectnull | A budget ask: {amount (decimal string), currency, period (daily|weekly|monthly)?, chain?}. |
| strategy | object | A plan the person approves once (0.227.0); null on an ordinary mandate. |
| approved_by | stringnull | 0.236.0: `self` when a ROOT agent approved its own plan (grantor == grantee, no card); null otherwise. |
| runner | stringnull | 0.245.0, a goal plan: who runs it. `self` (the account approved it for itself, so its own runtime runs it), `agent` (the grantee is an agent other than Salt's own), `salt` (the grantee is Salt's own a |
| note | stringnull | 0.245.0: on a self-approved plan, the truth about it: "You approved this plan yourself, so your own runtime runs it. To have Salt run a plan for you, give Salt the goal: POST /api/v1/goals." |
| working | objectnull | 0.245.0, to the plan's grantor and grantee: what's working, `{testing: [{id, text, since, trials, result?}], kept: [{id, text, kept_at, lift?}], dropped: [{id, text, why}]}`, each entry also carrying |
| working_at | stringnull | |
| first_check_in_at | stringnull | 0.244.0: when the plan's first check-in lands, stamped on Allow from the review cadence (the moment of Allow plus hourly 1 h, daily 1 d, weekdays 1 d skipping Saturday and Sunday in the person's time |
| locks | array | 0.243.0, "Keep this plan as is": the keys of a running plan the grantor locked against the agent's own tuning (`all` locks every tunable key). Set by the grantor with PATCH `locks`. Empty when nothing |
| plan_id | stringnull | 0.240.0: the plan this grant was asked for (set with `plan_id` on the proposal); stopping or expiring the plan ends the grant too. |
| approve_first | array | 0.240.0: for each public-post / public-room / first-message row of this grant, `{capability, mode, approved, needed}`: the asks the person has approved so far and how many it takes (3) before the agen |
| withdrawn_reason | stringnull | 0.240.0: "Replaced by a newer plan" when status is withdrawn, else null. |
| tune_request | objectnull | 0.236.0: the grantee's pending request to change a running plan's settings, `{id, changes: {explore?, goal_kind?, pace?} or {mode_change: {capability, mode}}, reason, at}`, or null. Nothing has change |
| spend | objectnull | 0.236.0, strategy mandates only: money the agent paid under this plan, i.e. payments TAGGED to it (transfers sent with this `mandate_id` or `strategy_id`; Pending or Confirmed, never Failed), summed p |
| resume_token | stringnull | Opaque (at most 200 characters), supplied by the asking agent and echoed on every mandate event so it resumes the exact parked step. |
| client_id | stringnull | |
| client_name | stringnull | |
| proposed_by_id | stringnull | |
| accepted_at | stringnull | |
| paused_at | stringnull | |
| pause_reason | stringnull | |
| revoked_at | stringnull | |
| revoke_reason | stringnull | |
| children | array | |
| trail | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/saltapp-ai/json-schema/saltapp-ai-mandate-schema.json",
"title": "Mandate",
"description": "Mandate.as_json_public -- Mandates R1/R2 \"Acting for you\".",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/saltapp-ai-openapi.json#/components/schemas/Mandate",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"explicit",
"governance",
"connection"
]
},
"status": {
"type": "string",
"enum": [
"proposed",
"active",
"paused",
"revoked",
"expired",
"withdrawn"
],
"description": "withdrawn (0.240.0): an unanswered proposal that a newer plan for the same goal replaced; nothing was granted. `withdrawn_reason` says why."
},
"label": {
"type": [
"string",
"null"
]
},
"grantor": {
"type": "object",
"description": "The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret.",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"username": {
"type": "string"
},
"display_name": {
"type": "string"
},
"account_type": {
"type": "string",
"enum": [
"User",
"Agent"
]
},
"system": {
"type": "boolean",
"description": "True for Salt's own Concierge/Mediator/Translator."
},
"avatar_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"username",
"display_name",
"account_type"
]
},
"grantee": {
"type": "object",
"description": "The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret.",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"username": {
"type": "string"
},
"display_name": {
"type": "string"
},
"account_type": {
"type": "string",
"enum": [
"User",
"Agent"
]
},
"system": {
"type": "boolean",
"description": "True for Salt's own Concierge/Mediator/Translator."
},
"avatar_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"username",
"display_name",
"account_type"
]
},
"capabilities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"capability": {
"type": "string",
"enum": [
"chat.open",
"chat.read",
"chat.send",
"card.post",
"contact.read",
"money.request",
"money.read",
"money.pay",
"shop.manage",
"credential.borrow",
"mcp.call",
"service.events",
"agent.groups",
"agent.directives",
"agent.configure",
"agent.spending",
"agent.create",
"profile.post",
"wake.repeat",
"room.create",
"outreach.request"
]
},
"selector": {
"type": "object",
"description": "Id-array selector, e.g. {wallet_ids:[...]} or {chat_ids:[...]}; the agent.* capabilities take {agent_ids:[...]} (agents in the grantor's tree; `{}` is every agent in it, never beyond)."
},
"mode": {
"type": "string",
"enum": [
"auto",
"ask",
"notify"
]
},
"constraints": {
"type": "object",
"description": "Capability-specific caps. `agent.spending` REQUIRES `max_cap: {amount, currency}` -- a decimal ceiling per MONTH in the chain's native currency that the delegate may never raise any agent's cap above (lowering, removing and freezing are always allowed). The four agent.* fleet capabilities are non-delegable: a child mandate cannot carry them. `agent.create` takes `max_agents` (1..100, enforced: agents made under the grant; its presence is the owner's say-so for an agent to spin out agents). `profile.post`, `wake.repeat`, `room.create` and `outreach.request` are the agent's OWN reach (empty selector; `per_day` whole-number constraint; never `ask`; non-delegable); `profile.post` is grantable only by the agent's owner. 0.245.0: the self capabilities (`profile.post`, `wake.repeat`, `room.create`, `outreach.request`) take `per_day` and `per_week` (a whole number; `outreach.request` may be 0 for none, the rest from 1, at most 10000). When both are set the stricter wins: an ask over the limit is 429 `rate_limit`."
}
},
"required": [
"capability",
"mode"
]
}
},
"starts_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"standing": {
"type": "boolean"
},
"grantee_fingerprint": {
"type": [
"string",
"null"
]
},
"key_changed": {
"type": "boolean"
},
"parent_id": {
"type": [
"string",
"null"
]
},
"depth": {
"type": "integer"
},
"version": {
"type": "integer"
},
"chat_id": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
],
"description": "The asking agent's own words (at most 1000 characters). Data, never Salt's sentence."
},
"estimated_cost": {
"type": [
"object",
"null"
],
"description": "A budget ask: {amount (decimal string), currency, period (daily|weekly|monthly)?, chain?}."
},
"strategy": {
"oneOf": [
{
"$ref": "#/$defs/Strategy"
},
{
"type": "null"
}
],
"description": "A plan the person approves once (0.227.0); null on an ordinary mandate."
},
"approved_by": {
"type": [
"string",
"null"
],
"enum": [
"self",
null
],
"description": "0.236.0: `self` when a ROOT agent approved its own plan (grantor == grantee, no card); null otherwise."
},
"runner": {
"type": [
"string",
"null"
],
"enum": [
"self",
"agent",
"salt",
null
],
"description": "0.245.0, a goal plan: who runs it. `self` (the account approved it for itself, so its own runtime runs it), `agent` (the grantee is an agent other than Salt's own), `salt` (the grantee is Salt's own assistant). null for a grant that is not a plan."
},
"note": {
"type": [
"string",
"null"
],
"description": "0.245.0: on a self-approved plan, the truth about it: \"You approved this plan yourself, so your own runtime runs it. To have Salt run a plan for you, give Salt the goal: POST /api/v1/goals.\""
},
"working": {
"type": [
"object",
"null"
],
"description": "0.245.0, to the plan's grantor and grantee: what's working, `{testing: [{id, text, since, trials, result?}], kept: [{id, text, kept_at, lift?}], dropped: [{id, text, why}]}`, each entry also carrying `decision` (keep|never) and `decided_at` once the person decided. Published with `PUT /mandates/{id}/working`."
},
"working_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"first_check_in_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "0.244.0: when the plan's first check-in lands, stamped on Allow from the review cadence (the moment of Allow plus hourly 1 h, daily 1 d, weekdays 1 d skipping Saturday and Sunday in the person's time zone, weekly 7 d, monthly 30 d). Null before Allow and on a plan with no strategy."
},
"locks": {
"type": "array",
"items": {
"type": "string",
"enum": [
"explore",
"goal_kind",
"pace",
"all"
]
},
"description": "0.243.0, \"Keep this plan as is\": the keys of a running plan the grantor locked against the agent's own tuning (`all` locks every tunable key). Set by the grantor with PATCH `locks`. Empty when nothing is locked."
},
"plan_id": {
"type": [
"string",
"null"
],
"description": "0.240.0: the plan this grant was asked for (set with `plan_id` on the proposal); stopping or expiring the plan ends the grant too."
},
"approve_first": {
"type": "array",
"description": "0.240.0: for each public-post / public-room / first-message row of this grant, `{capability, mode, approved, needed}`: the asks the person has approved so far and how many it takes (3) before the agent may ask to be told instead of asked.",
"items": {
"type": "object"
}
},
"withdrawn_reason": {
"type": [
"string",
"null"
],
"description": "0.240.0: \"Replaced by a newer plan\" when status is withdrawn, else null."
},
"tune_request": {
"type": [
"object",
"null"
],
"description": "0.236.0: the grantee's pending request to change a running plan's settings, `{id, changes: {explore?, goal_kind?, pace?} or {mode_change: {capability, mode}}, reason, at}`, or null. Nothing has changed until the grantor accepts.",
"properties": {
"id": {
"type": "string"
},
"changes": {
"type": "object"
},
"reason": {
"type": "string"
},
"at": {
"type": "string",
"format": "date-time"
}
}
},
"spend": {
"type": [
"object",
"null"
],
"description": "0.236.0, strategy mandates only: money the agent paid under this plan, i.e. payments TAGGED to it (transfers sent with this `mandate_id` or `strategy_id`; Pending or Confirmed, never Failed), summed per currency. It covers tagged payments only: one sent without naming the plan is not counted. `money_tagged` since the plan began, `money_tagged_month` this UTC calendar month, `payments` the count. Measured, never estimated.",
"properties": {
"money_tagged": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
}
}
}
},
"money_tagged_month": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
}
}
}
},
"payments": {
"type": "integer"
},
"as_of": {
"type": "string",
"format": "date-time"
}
}
},
"resume_token": {
"type": [
"string",
"null"
],
"description": "Opaque (at most 200 characters), supplied by the asking agent and echoed on every mandate event so it resumes the exact parked step."
},
"client_id": {
"type": [
"string",
"null"
]
},
"client_name": {
"type": [
"string",
"null"
]
},
"proposed_by_id": {
"type": [
"string",
"null"
]
},
"accepted_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"paused_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"pause_reason": {
"type": [
"string",
"null"
]
},
"revoked_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"revoke_reason": {
"type": [
"string",
"null"
]
},
"children": {
"type": "array",
"items": {
"type": "object"
}
},
"trail": {
"type": "object"
}
},
"required": [
"id",
"kind",
"status",
"grantor",
"grantee",
"capabilities",
"version"
],
"$defs": {
"Strategy": {
"type": "object",
"description": "A plan a person approves once (0.227.0, MandateStrategy). Served on the mandate as `strategy`; its mandate keeps kind \"explicit\".",
"properties": {
"strategy_id": {
"type": "string",
"maxLength": 64,
"description": "Chosen by the agent, or minted when absent."
},
"goal": {
"type": "string",
"maxLength": 200
},
"plan": {
"type": "array",
"minItems": 1,
"maxItems": 12,
"items": {
"type": "string",
"maxLength": 200
}
},
"targets": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string",
"maxLength": 80
},
"target": {
"type": "number"
},
"unit": {
"type": "string",
"maxLength": 20
},
"deadline": {
"type": "string",
"format": "date",
"description": "In the future when filed or edited."
},
"source": {
"type": "string",
"description": "A GET /api/v1/metrics source id, or service:<provider> for a connected outside service."
},
"baseline": {
"type": "number"
},
"measure": {
"type": "object",
"description": "How the target is measured (0.228.0), at most 500 bytes as JSON, stored as given. `kind` salt: args {source,...params} of a GET /api/v1/metrics source; service: args {provider, tool, input}; fetch: args {url, format json|text}; browser: args {account, url, selector_hint}. `path` is the dot path to the number in the result. A `service:<provider>` source, or the runtime's `provider/tool` form (normalised to `service:<provider>`), gets a service recipe when none is given.",
"properties": {
"kind": {
"type": "string",
"enum": [
"salt",
"service",
"fetch",
"browser"
]
},
"args": {
"type": "object"
},
"path": {
"type": "string",
"maxLength": 200
}
},
"required": [
"kind",
"args"
]
}
},
"required": [
"metric",
"target",
"unit",
"deadline",
"source"
]
}
},
"needs": {
"type": "array",
"maxItems": 20,
"items": {}
},
"budget": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
},
"period": {
"type": "string",
"enum": [
"daily",
"weekly",
"monthly"
]
}
}
},
"payees": {
"type": "array",
"maxItems": 10,
"description": "Who a strategy-wake payment may go to: {address (0x...), chain}. Part of what the owner approves; the owner cannot edit it on the card and the agent cannot change it without a new proposal. An agent pays on its own wake only to an address listed here.",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"chain": {
"type": "string"
}
},
"required": [
"address",
"chain"
]
}
},
"model_budget": {
"type": "object",
"description": "What the agent may spend on its model for this person (0.228.0). On approval the agent's model budget (persona.model_budget_usd) is raised to at least this; never lowered.",
"properties": {
"usd_per_month": {
"type": "number",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"usd_per_month"
]
},
"extend_budget": {
"type": "boolean",
"enum": [
true
],
"description": "0.228.1: with the strategy_id of a running strategy and a higher `model_budget`, this is an ask to raise that strategy's model budget: one card on the existing strategy, deduped while pending. 422 `strategy_not_found` when none runs, `budget_not_higher` when the budget is not above the current one. On approval the budget is raised and the `mandate_activated` event carries `model_budget` and `resume_token`."
},
"first_post": {
"type": "object",
"description": "0.244.0: the first post the plan would make on the person's own profile: `{words (plain text, at most 4000), where: \"profile\"}`. The person's Allow (POST /mandates/{id}/accept with `first_post_words`, the words as shown or their edit) approves the plan AND makes this post as them in the same step; later posts each ask on their own card. After Allow it also carries `asked_words` (the agent's own, when edited) and `posted: {exercise_id, message_id, chat_id, at}`.",
"properties": {
"words": {
"type": "string",
"maxLength": 4000
},
"where": {
"type": "string",
"enum": [
"profile"
]
}
},
"required": [
"words"
]
},
"explore": {
"type": "number",
"minimum": 0.05,
"maximum": 0.5,
"default": 0.2,
"description": "Dynamic Advantage: the share of effort spent on open questions. Tunes effort, promises nothing; the person can edit it before Allow."
},
"goal_kind": {
"type": "string",
"enum": [
"growth",
"sales",
"support",
"research",
"content",
"scheduling",
"other"
],
"default": "other",
"description": "Dynamic Advantage: what kind of goal this is; picks defaults for guardrails and cost terms. Editable before Allow."
},
"pace": {
"type": "string",
"enum": [
"careful",
"balanced",
"aggressive"
],
"default": "balanced",
"description": "Dynamic Advantage: how hard the plan pushes and how much evidence a test needs. Editable before Allow."
},
"horizon_days": {
"type": "integer",
"minimum": 1,
"maximum": 90,
"description": "Dynamic Advantage: days the plan looks ahead. When absent, the days to the latest target deadline."
},
"bets": {
"type": "array",
"maxItems": 5,
"description": "Dynamic Advantage: claims the plan rests on, each with the response to run if it turns out wrong. Part of what the owner approves; not editable on the card, and the agent cannot change it without a new proposal.",
"items": {
"type": "object",
"properties": {
"statement": {
"type": "string",
"maxLength": 200
},
"metric": {
"type": "string",
"maxLength": 80
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
]
},
"threshold": {
"type": "number"
},
"by": {
"type": "string",
"format": "date"
},
"if_refuted": {
"type": "string",
"maxLength": 200
}
},
"required": [
"statement",
"metric",
"direction",
"threshold",
"if_refuted"
]
}
},
"guardrails": {
"type": "array",
"maxItems": 5,
"description": "Dynamic Advantage: limits the plan must not cross. Not editable on the card; changing them takes a new proposal.",
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string",
"maxLength": 80
},
"limit": {
"type": "number"
},
"direction": {
"type": "string",
"enum": [
"up",
"down"
]
},
"window_days": {
"type": "integer",
"minimum": 1,
"maximum": 30
}
},
"required": [
"metric",
"limit",
"direction",
"window_days"
]
}
},
"cost_terms": {
"type": "array",
"maxItems": 8,
"description": "Dynamic Advantage: what the plan counts as cost, by metric name. Not editable on the card; changing them takes a new proposal.",
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string",
"maxLength": 80
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 10
},
"scale": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"metric",
"weight",
"scale"
]
}
},
"tunings": {
"type": "array",
"maxItems": 20,
"readOnly": true,
"description": "Served on a running plan: the newest 20 changes to explore, goal_kind or pace, one entry per key. 0.243.0: `{id, at, by: person|agent, key, from, to, text, undone_at?}`; the entries of one call share an `id`, which `POST /mandates/{id}/tunings/{tid}/undo` takes back (older entries carry only `{at, text}`). `text` is one plain sentence (\"You changed pace to careful.\", \"<agent name> set exploring to 30%.\"). Set by the API; never sent.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"at": {
"type": "string",
"format": "date-time"
},
"by": {
"type": "string",
"enum": [
"person",
"agent"
]
},
"key": {
"type": "string"
},
"from": {},
"to": {},
"text": {
"type": "string"
},
"undone_at": {
"type": "string",
"format": "date-time"
}
}
}
},
"review_every": {
"type": "string",
"enum": [
"hourly",
"daily",
"weekly",
"weekdays",
"monthly"
]
}
},
"required": [
"goal",
"plan",
"targets",
"review_every"
]
}
}
}
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/saltapp-ai-mandate"
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.