CAIN-42 CAIN Studio

API reference · CAIN AGI Control Boundary

Agi Submit Proposal

POST /fabric/agi/propose

Last reviewed 2026-10-02

POST /fabric/agi/propose

Runs a proposal through the real, full ControlBoundary pipeline, including the last-mile enforcement stage. `agent_id` must already be a registered ACTIVE identity in this tenant (see the CAIN Identity API) holding capability `tool:{action_verb}` -- this endpoint grants no authority of its own, it only evaluates what identity_engine already says the caller has.

Request body

SubmitProposalRequest (required)

FieldTypeMeaning
agent_id requiredstringmin length 1
action_verb requiredstringmin length 1 · max length 255
target_resource requiredstringmin length 1 · max length 2048
argumentsobject
intent requiredstringmin length 1 · max length 4096
confidencenumberdefault 1.0
memory_refsarray of string
claimsobject
plan_idstringdefault ""
step_indexintegerdefault 0
signature_b64string or null
public_key_b64string or null
session_idstring or null

Responses

StatusMeaningBody
200Successful ResponseJSON
422Validation ErrorHTTPValidationError
401No key, or a key that is not validJSON detail
429Rate limit for your plan reached; retry after the Retry-After secondsJSON detail

Try it

This call changes data in the account the key belongs to.

The request goes from your browser straight to this site. Your key is not stored unless you tick the box, and then only in this tab's session storage.

Code

curl -sS -X POST 'https://cainstudio.online/fabric/agi/propose' \
  -H "X-API-Key: $CAIN_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"agent_id": "agent-id", "action_verb": "action-verb", "target_resource": "target-resource", "intent": "intent", "confidence": 1.0, "plan_id": "", "step_index": 0}'

Schemas used

HTTPValidationError · SubmitProposalRequest · ValidationError

← Agi Evidence Chain Cef · all 4 CAIN AGI Control Boundary calls · Agi Sandbox Tools →

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem