{"openapi":"3.1.0","info":{"title":"Accelerate creator API","version":"2.1.0","description":"Wallet-native self-service. Owner sessions grant creator permissions only. No human approval or browser session is needed. Third-party integrations require their own credentials. Read /agents.md for workflows, response fields, limits and retry rules."},"servers":[{"url":"https://accelerate.codes/api/v1"}],"security":[{"OwnerSession":[]}],"paths":{"/config":{"get":{"operationId":"get__config","summary":"Live network, deployment and feature flags","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/capabilities":{"get":{"operationId":"get__capabilities","summary":"Machine-readable self-serve capabilities","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/launch-preflight":{"get":{"operationId":"get__launch_preflight","summary":"No-spend capabilities, funding rules and observed SOL cost estimate; creates no launch intent or transaction","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__launch_preflight","summary":"Validate and inspect an explicit draft without saving, preparing, signing or submitting a transaction","security":[{"OwnerSession":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"agent"},"repository":{"type":"string","const":"","default":""},"agent":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["name","ticker","description","category","launchType","agent"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"swarm"},"repository":{"type":"string","const":"","default":""},"swarm":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["name","ticker","description","category","launchType","swarm"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","const":"external","default":"external"},"schedule":{"type":"string","const":"On demand","default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"product"},"repository":{"type":"string","const":"","default":""}},"required":["name","ticker","description","category","launchType"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"project"},"repository":{"type":"string","maxLength":200}},"required":["name","ticker","description","category","launchType","repository"],"additionalProperties":false}]}},"required":["draft"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/agent/challenge":{"post":{"operationId":"post__auth_agent_challenge","summary":"Create a one-use wallet challenge","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string","maxLength":44}},"required":["wallet"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/agent/verify":{"post":{"operationId":"post__auth_agent_verify","summary":"Exchange the exact Ed25519 signature for an eight-hour owner bearer session","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"signature":{"type":"string","maxLength":100}},"required":["id","signature"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/session":{"get":{"operationId":"get__auth_session","summary":"Inspect the current wallet session","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/logout":{"post":{"operationId":"post__auth_logout","summary":"Revoke this session","security":[{"OwnerSession":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects":{"get":{"operationId":"get__projects","summary":"Discover launched projects","security":[],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"category","in":"query","required":false,"schema":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]}},{"name":"health","in":"query","required":false,"schema":{"type":"string","enum":["running","idle","awaiting_funding","suspended_budget","paused"]}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects","summary":"Create a typed launch draft","security":[{"OwnerSession":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"agent"},"repository":{"type":"string","const":"","default":""},"agent":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["name","ticker","description","category","launchType","agent"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"swarm"},"repository":{"type":"string","const":"","default":""},"swarm":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["name","ticker","description","category","launchType","swarm"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","const":"external","default":"external"},"schedule":{"type":"string","const":"On demand","default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"product"},"repository":{"type":"string","const":"","default":""}},"required":["name","ticker","description","category","launchType"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"project"},"repository":{"type":"string","maxLength":200}},"required":["name","ticker","description","category","launchType","repository"],"additionalProperties":false}]}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}":{"get":{"operationId":"get__projects_id","summary":"Public finalized project","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/projects":{"get":{"operationId":"get__me_projects","summary":"Find your saved and launched projects","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/projects/{id}":{"get":{"operationId":"get__me_projects_id","summary":"Read owner draft, revision and finalized launch","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/draft":{"post":{"operationId":"post__projects_id_draft","summary":"Update an unlaunched draft; its mode is immutable","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"draft":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"agent"},"repository":{"type":"string","const":"","default":""},"agent":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["name","ticker","description","category","launchType","agent"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"swarm"},"repository":{"type":"string","const":"","default":""},"swarm":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["name","ticker","description","category","launchType","swarm"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","const":"external","default":"external"},"schedule":{"type":"string","const":"On demand","default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"product"},"repository":{"type":"string","const":"","default":""}},"required":["name","ticker","description","category","launchType"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"project"},"repository":{"type":"string","maxLength":200}},"required":["name","ticker","description","category","launchType","repository"],"additionalProperties":false}]},"revision":{"type":"integer","exclusiveMinimum":0}},"required":["draft","revision"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/token-images":{"post":{"operationId":"post__token_images","summary":"Upload token artwork","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"}}}}}}}},"/projects/{id}/verify":{"post":{"operationId":"post__projects_id_verify","summary":"Verify connected GitHub identity owns the public personal repository","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/launch-intents":{"get":{"operationId":"get__projects_id_launch_intents","summary":"Recover the latest plan and transaction","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects_id_launch_intents","summary":"Prepare an immutable launch plan","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"replacementFor":{"type":"string","format":"uuid"}},"required":[],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/launch-intents/{id}":{"get":{"operationId":"get__launch_intents_id","summary":"Poll plan and transaction through finalization","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/launch-intents/{id}/transactions":{"post":{"operationId":"post__launch_intents_id_transactions","summary":"Prepare exact transaction bytes after admission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/launch-intents/{id}/refresh":{"post":{"operationId":"post__launch_intents_id_refresh","summary":"Request safe replacement of an expired plan","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/launch-intents/{id}/submit":{"post":{"operationId":"post__launch_intents_id_submit","summary":"Submit locally signed bytes, or retry the saved submission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"transactionId":{"type":"string","format":"uuid"},"signedTransaction":{"type":"string","minLength":1,"maxLength":1644}},"required":["transactionId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent-capabilities":{"get":{"operationId":"get__agent_capabilities","summary":"External and hosted agent availability","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarm-capabilities":{"get":{"operationId":"get__swarm_capabilities","summary":"Swarm availability","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent-models":{"get":{"operationId":"get__agent_models","summary":"Qualified live model catalog","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/compute/models":{"get":{"operationId":"get__compute_models","summary":"Qualified compute model catalog","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{project}/agents":{"get":{"operationId":"get__projects_project_agents","summary":"Public agent outputs","security":[],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects_project_agents","summary":"Attach an agent to an existing project","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"description":{"type":"string","minLength":20,"maxLength":500},"config":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["name","description","config"],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/projects/{project}/agents":{"get":{"operationId":"get__me_projects_project_agents","summary":"Private agent configuration and state","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/agents/{id}":{"get":{"operationId":"get__me_agents_id","summary":"Private agent detail including outputs and approvals","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{project}/agent-setup":{"post":{"operationId":"post__projects_project_agent_setup","summary":"Provision finalized agent launch; safe to retry","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/config":{"post":{"operationId":"post__agents_id_config","summary":"Update versioned agent configuration","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0},"config":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["version","config"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/state":{"post":{"operationId":"post__agents_id_state","summary":"Pause, resume or permanently archive agent","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["enabled","paused","archived"]}},"required":["state"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{project}/swarms":{"get":{"operationId":"get__projects_project_swarms","summary":"Public swarm outputs","security":[],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects_project_swarms","summary":"Attach a swarm to an existing project","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"description":{"type":"string","minLength":20,"maxLength":500},"config":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["name","description","config"],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/projects/{project}/swarms":{"get":{"operationId":"get__me_projects_project_swarms","summary":"Private swarm configuration and state","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/swarms/{id}":{"get":{"operationId":"get__me_swarms_id","summary":"Private swarm detail including outputs and approvals","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{project}/swarm-setup":{"post":{"operationId":"post__projects_project_swarm_setup","summary":"Provision finalized swarm launch; safe to retry","security":[{"OwnerSession":[]}],"parameters":[{"name":"project","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/config":{"post":{"operationId":"post__swarms_id_config","summary":"Update versioned swarm configuration","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0},"config":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["version","config"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/state":{"post":{"operationId":"post__swarms_id_state","summary":"Pause, resume or permanently archive swarm","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["enabled","paused","archived"]}},"required":["state"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/connection-code":{"post":{"operationId":"post__agents_id_connection_code","summary":"Issue a ten-minute runtime connection code; prior credentials revoked","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/disconnect":{"post":{"operationId":"post__agents_id_disconnect","summary":"Revoke runtime credentials","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent-runtime/exchange":{"post":{"operationId":"post__agent_runtime_exchange","summary":"Exchange a one-use connection code for scoped runtime credentials","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":40,"maxLength":100}},"required":["code"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent-runtime/heartbeat":{"post":{"operationId":"post__agent_runtime_heartbeat","summary":"External runtime liveness","security":[{"ReportingToken":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent-runtime/events":{"post":{"operationId":"post__agent_runtime_events","summary":"Report unverified external activity","security":[{"ReportingToken":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[\\w:.-]{1,100}$"},"summary":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","summary"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/runs":{"post":{"operationId":"post__agents_id_runs","summary":"Start a hosted run","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"202":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"get__agents_id_runs","summary":"Paginated run history","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/runs/{run}/cancel":{"post":{"operationId":"post__agents_id_runs_run_cancel","summary":"Cancel future work in a run","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"run","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/events":{"get":{"operationId":"get__agents_id_events","summary":"Private activity; stream=1 enables SSE","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{1,19}$"}},{"name":"stream","in":"query","required":false,"schema":{"type":"string","enum":["0","1"]}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/{id}/approvals/{approval}":{"post":{"operationId":"post__agents_id_approvals_approval","summary":"Publish or reject a completed output","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"approval","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action_hash":{"type":"string","minLength":64,"maxLength":64},"publish":{"type":"boolean"}},"required":["action_hash","publish"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/missions":{"post":{"operationId":"post__swarms_id_missions","summary":"Start a mission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"202":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/missions/{mission}/cancel":{"post":{"operationId":"post__swarms_id_missions_mission_cancel","summary":"Cancel a mission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"mission","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/tasks/{task}/retry":{"post":{"operationId":"post__swarms_id_tasks_task_retry","summary":"Retry a failed task within existing limits","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"task","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/missions/{mission}/allowances":{"post":{"operationId":"post__swarms_id_missions_mission_allowances","summary":"Reallocate remaining task allowances within the mission budget","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"mission","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0},"changes":{"type":"array","items":{"type":"object","properties":{"task_id":{"type":"string","format":"uuid"},"maxUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$"}},"required":["task_id","maxUsd"],"additionalProperties":false},"minItems":1,"maxItems":12}},"required":["version","changes"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/knowledge":{"post":{"operationId":"post__swarms_id_knowledge","summary":"Approve or remove an artifact from swarm knowledge","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"artifact_id":{"type":"string","format":"uuid"},"content_hash":{"type":"string","minLength":64,"maxLength":64},"approved":{"type":"boolean"}},"required":["artifact_id","content_hash","approved"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/swarms/{id}/approvals/{approval}":{"post":{"operationId":"post__swarms_id_approvals_approval","summary":"Publish or reject a swarm output","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"approval","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action_hash":{"type":"string","minLength":64,"maxLength":64},"publish":{"type":"boolean"}},"required":["action_hash","publish"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/overview":{"get":{"operationId":"get__projects_id_compute_overview","summary":"Project compute overview","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/keys":{"get":{"operationId":"get__projects_id_compute_keys","summary":"Project compute keys","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects_id_compute_keys","summary":"Create a scoped inference key; secret returned once","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"policy":{"type":"object","properties":{"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30,"default":[]},"scopes":{"type":"array","items":{"type":"string","enum":["inference:write","models:read","balance:read","usage:read"]},"minItems":1,"default":["inference:write","models:read","balance:read","usage:read"]},"lifetimeUsd":{"anyOf":[{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$"},{"type":"null"}],"default":null},"dailyUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"0.50"},"rpm":{"type":"integer","minimum":1,"maximum":1000,"default":60},"concurrency":{"type":"integer","minimum":1,"maximum":100,"default":4},"maxOutputTokens":{"type":"integer","minimum":1,"maximum":32768,"default":1024},"zdr":{"type":"boolean","default":false}},"required":[],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time"}},"required":["name","policy"],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/members":{"get":{"operationId":"get__projects_id_compute_members","summary":"Project compute members","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"post__projects_id_compute_members","summary":"Grant viewer/developer access or remove a member","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string","maxLength":44},"role":{"anyOf":[{"type":"string","enum":["viewer","developer"]},{"type":"null"}]}},"required":["wallet","role"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/funding":{"get":{"operationId":"get__projects_id_compute_funding","summary":"Project compute funding","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/usage":{"get":{"operationId":"get__projects_id_compute_usage","summary":"Private usage and billing history","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/keys/{keyId}/rotate":{"post":{"operationId":"post__projects_id_compute_keys_keyId_rotate","summary":"rotate a scoped inference key","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"keyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/keys/{keyId}/revoke":{"post":{"operationId":"post__projects_id_compute_keys_keyId_revoke","summary":"revoke a scoped inference key","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"keyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/policy":{"post":{"operationId":"post__projects_id_compute_policy","summary":"Set project spending and model limits","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30,"default":[]},"scopes":{"type":"array","items":{"type":"string","enum":["inference:write","models:read","balance:read","usage:read"]},"minItems":1,"default":["inference:write","models:read","balance:read","usage:read"]},"lifetimeUsd":{"anyOf":[{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$"},{"type":"null"}],"default":null},"dailyUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"0.50"},"rpm":{"type":"integer","minimum":1,"maximum":1000,"default":60},"concurrency":{"type":"integer","minimum":1,"maximum":100,"default":4},"maxOutputTokens":{"type":"integer","minimum":1,"maximum":32768,"default":1024},"zdr":{"type":"boolean","default":false}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/compute/notifications":{"post":{"operationId":"post__projects_id_compute_notifications","summary":"Configure low-runway alerts","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"low_runway_enabled":{"type":"boolean"},"low_runway_seconds":{"type":"integer","minimum":60,"maximum":604800}},"required":["low_runway_enabled","low_runway_seconds"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/integrations":{"get":{"operationId":"get__me_integrations","summary":"List optional integrations, capabilities and X callback URL","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/x":{"post":{"operationId":"post__integrations_x","summary":"Store your own X developer app and limits","security":[{"OwnerSession":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"policy":{"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3,"default":["read","draft"]},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,5})(?:\\.\\d{1,6})?$","default":"1"},"maxPostsPerDay":{"type":"integer","minimum":1,"maximum":48,"default":6},"minPostIntervalMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60}},"required":[],"additionalProperties":false},"automationConsent":{"type":"boolean","const":true},"version":{"type":"integer","exclusiveMinimum":0},"clientId":{"type":"string","minLength":1,"maxLength":500},"clientSecret":{"type":"string","maxLength":4096}},"required":["name","policy","automationConsent"],"additionalProperties":false}}}},"responses":{"201":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/settings":{"post":{"operationId":"post__integrations_id_settings","summary":"Update versioned X app settings","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"policy":{"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3,"default":["read","draft"]},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,5})(?:\\.\\d{1,6})?$","default":"1"},"maxPostsPerDay":{"type":"integer","minimum":1,"maximum":48,"default":6},"minPostIntervalMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60}},"required":[],"additionalProperties":false},"automationConsent":{"type":"boolean","const":true},"version":{"type":"integer","exclusiveMinimum":0},"clientId":{"type":"string","minLength":1,"maxLength":500},"clientSecret":{"type":"string","maxLength":4096}},"required":["name","policy","automationConsent"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/x/complete":{"post":{"operationId":"post__integrations_x_complete","summary":"Complete X OAuth through the API using the initiating owner session","security":[{"OwnerSession":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","minLength":40,"maxLength":100},"code":{"type":"string","minLength":1,"maxLength":2048}},"required":["state"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/authorize":{"post":{"operationId":"post__integrations_id_authorize","summary":"authorize the X connection (returns the external OAuth consent URL)","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/pause":{"post":{"operationId":"post__integrations_id_pause","summary":"pause the X connection","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/resume":{"post":{"operationId":"post__integrations_id_resume","summary":"resume the X connection","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/disconnect":{"post":{"operationId":"post__integrations_id_disconnect","summary":"disconnect the X connection","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/activity":{"get":{"operationId":"get__integrations_id_activity","summary":"Integration actions and pending decisions","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/actions/{action}/decision":{"post":{"operationId":"post__integrations_id_actions_action_decision","summary":"Approve/reject an exact X action","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","minLength":1,"maxLength":128},"approve":{"type":"boolean"}},"required":["hash","approve"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/actions/{action}/close":{"post":{"operationId":"post__integrations_id_actions_action_close","summary":"Close an uncertain action without publishing again","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/integrations/{id}/actions/{action}/reconcile":{"post":{"operationId":"post__integrations_id_actions_action_reconcile","summary":"Reconcile an uncertain post against its actual X ID","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"postId":{"type":"string","pattern":"^\\d{1,20}$"}},"required":["postId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/market":{"get":{"operationId":"get__projects_id_market","summary":"Live market observation","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/quote":{"get":{"operationId":"get__projects_id_quote","summary":"Quote a trade without signing","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"inputAtoms","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},{"name":"slippageBps","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"currency","in":"query","required":false,"schema":{"type":"string","const":"sol"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/swap-estimate":{"get":{"operationId":"get__projects_id_swap_estimate","summary":"Estimate wallet costs","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"inputAtoms","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},{"name":"slippageBps","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"currency","in":"query","required":false,"schema":{"type":"string","const":"sol"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/balances":{"get":{"operationId":"get__projects_id_balances","summary":"Read wallet balances","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/trade-transactions/latest":{"get":{"operationId":"get__projects_id_trade_transactions_latest","summary":"Recover the latest trade","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/trade-transactions":{"post":{"operationId":"post__projects_id_trade_transactions","summary":"Prepare an exact quoted trade","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Persist and reuse this key with the same payload after a lost response. Never reuse it for a different operation."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"type":"string","format":"uuid"}},"required":["quoteId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/market":{"get":{"operationId":"get__eacc_market","summary":"Live market observation","security":[],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/quote":{"get":{"operationId":"get__eacc_quote","summary":"Quote a trade without signing","security":[],"parameters":[{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"inputAtoms","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},{"name":"slippageBps","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":500}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/swap-estimate":{"get":{"operationId":"get__eacc_swap_estimate","summary":"Estimate wallet costs","security":[{"OwnerSession":[]}],"parameters":[{"name":"side","in":"query","required":true,"schema":{"type":"string","enum":["buy","sell"]}},{"name":"inputAtoms","in":"query","required":true,"schema":{"type":"string","pattern":"^[1-9]\\d{0,19}$"}},{"name":"slippageBps","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":500}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/balances":{"get":{"operationId":"get__eacc_balances","summary":"Read wallet balances","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/trade-transactions/latest":{"get":{"operationId":"get__eacc_trade_transactions_latest","summary":"Recover the latest trade","security":[{"OwnerSession":[]}],"parameters":[],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/trade-transactions":{"post":{"operationId":"post__eacc_trade_transactions","summary":"Prepare an exact quoted trade","security":[{"OwnerSession":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"type":"string","format":"uuid"}},"required":["quoteId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trade-transactions/{id}":{"get":{"operationId":"get__trade_transactions_id","summary":"Inspect existing trade status","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trade-transactions/{id}/submit":{"post":{"operationId":"post__trade_transactions_id_submit","summary":"Submit exact signed trade bytes or retry persisted submission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signedTransaction":{"type":"string","minLength":1,"maxLength":1644}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/trade-transactions/{id}":{"get":{"operationId":"get__eacc_trade_transactions_id","summary":"Inspect existing trade status","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/eacc/trade-transactions/{id}/submit":{"post":{"operationId":"post__eacc_trade_transactions_id_submit","summary":"Submit exact signed trade bytes or retry persisted submission","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signedTransaction":{"type":"string","minLength":1,"maxLength":1644}},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/maintainer-fees":{"get":{"operationId":"get__projects_id_maintainer_fees","summary":"Observe claimable creator fees","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/maintainer-fees/prepare":{"post":{"operationId":"post__projects_id_maintainer_fees_prepare","summary":"Prepare creator fee claim for the owner wallet","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{id}/maintainer-fees/submit":{"post":{"operationId":"post__projects_id_maintainer_fees_submit","summary":"Submit locally signed creator fee claim","security":[{"OwnerSession":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signedTransaction":{"type":"string","minLength":1,"maxLength":1644}},"required":["signedTransaction"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful operation. See agents.md for response fields and lifecycle states.","content":{"application/json":{"schema":{"type":"object"}}}},"default":{"description":"Structured error. Refresh state on 409; reauthenticate on 401; obey Retry-After on 429. Never blindly repeat a financial action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"OwnerSession":{"type":"http","scheme":"bearer","bearerFormat":"accelerate_session_*"},"ReportingToken":{"type":"http","scheme":"bearer"}},"schemas":{"LaunchDraft":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"agent"},"repository":{"type":"string","const":"","default":""},"agent":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]}},"required":["name","ticker","description","category","launchType","agent"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"swarm"},"repository":{"type":"string","const":"","default":""},"swarm":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false}},"required":["name","ticker","description","category","launchType","swarm"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","const":"external","default":"external"},"schedule":{"type":"string","const":"On demand","default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"product"},"repository":{"type":"string","const":"","default":""}},"required":["name","ticker","description","category","launchType"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":32},"ticker":{"type":"string","pattern":"^[A-Z][A-Z0-9]{1,9}$"},"description":{"type":"string","minLength":20,"maxLength":500},"category":{"type":"string","enum":["Agents","Developer tools","Research","Infrastructure"]},"commit":{"type":"string","maxLength":100},"license":{"type":"string","maxLength":100},"purpose":{"type":"string","maxLength":1000},"workload":{"type":"string","enum":["hosted-template","external"],"default":"external"},"schedule":{"type":"string","maxLength":60,"default":"On demand"},"dailyUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$","default":"0.50"},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"creatorFeePercent":{"type":"string","maxLength":5,"default":"1.50"},"imageId":{"anyOf":[{"type":"string","const":""},{"type":"string","pattern":"^[a-f0-9]{64}$"}]},"website":{"type":"string","maxLength":500},"twitter":{"type":"string","maxLength":500},"telegram":{"type":"string","maxLength":500},"launchType":{"type":"string","const":"project"},"repository":{"type":"string","maxLength":200}},"required":["name","ticker","description","category","launchType","repository"],"additionalProperties":false}]},"AgentConfig":{"oneOf":[{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"external"}},"required":["mission","runtimeMode"],"additionalProperties":false},{"type":"object","properties":{"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"githubUrl":{"anyOf":[{"type":"string","const":""},{"type":"string","format":"uri","maxLength":300}],"default":""},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":10,"default":[]},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"runUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"1"},"runtimeMode":{"type":"string","const":"hosted"},"template":{"type":"string","enum":["custom","researcher"],"default":"custom"},"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3}},"required":["connectionId","permissions"],"additionalProperties":false}},"required":[],"additionalProperties":false},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"model":{"type":"string","minLength":1,"maxLength":150},"schedule":{"type":"string","enum":["manual","hourly","daily","weekly"],"default":"manual"},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"format":{"type":"string","enum":["response","brief","bulletin"],"default":"response"},"maxModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"maxToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"timeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","runtimeMode","model"],"additionalProperties":false}]},"SwarmConfig":{"type":"object","properties":{"integrations":{"type":"object","properties":{"x":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"}},"required":["connectionId"],"additionalProperties":false}},"required":[],"additionalProperties":false},"template":{"type":"string","enum":["custom","research"],"default":"custom"},"mission":{"type":"string","minLength":1,"maxLength":8000},"publicMission":{"type":"string","maxLength":1000,"default":""},"successCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":8},"publicCriteria":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":5,"default":[]},"sources":{"type":"array","items":{"type":"string","format":"uri","maxLength":1000},"maxItems":10,"default":[]},"members":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,39}$"},"name":{"type":"string","minLength":2,"maxLength":32},"role":{"type":"string","enum":["lead","specialist","reviewer"]},"responsibility":{"type":"string","minLength":1,"maxLength":500},"systemPrompt":{"type":"string","minLength":1,"maxLength":8000},"model":{"type":"string","minLength":1,"maxLength":150},"tools":{"type":"array","items":{"type":"string","enum":["fetch_source","memory_read","memory_write","compute_status","x_read_posts","x_read_mentions","x_draft_post","x_publish_post"]},"maxItems":8},"sharePercent":{"type":"integer","minimum":5,"maximum":90},"enabled":{"type":"boolean","default":true}},"required":["key","name","role","responsibility","systemPrompt","model","tools","sharePercent"],"additionalProperties":false},"minItems":3,"maxItems":5},"requestUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"0.50"},"missionUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"5"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,6})?$","default":"20"},"schedule":{"type":"string","enum":["heartbeat","manual","hourly","daily","weekly"],"default":"heartbeat"},"heartbeatMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"maxTasks":{"type":"integer","minimum":4,"maximum":12,"default":12},"concurrency":{"type":"integer","minimum":1,"maximum":2,"default":2},"maxRevisions":{"type":"integer","minimum":0,"maximum":2,"default":2},"timeoutSeconds":{"type":"integer","minimum":60,"maximum":3600,"default":3600},"taskModelCalls":{"type":"integer","minimum":1,"maximum":10,"default":4},"taskToolCalls":{"type":"integer","minimum":1,"maximum":20,"default":20},"taskTimeoutSeconds":{"type":"integer","minimum":30,"maximum":600,"default":600}},"required":["mission","successCriteria","members"],"additionalProperties":false},"ComputePolicy":{"type":"object","properties":{"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30,"default":[]},"scopes":{"type":"array","items":{"type":"string","enum":["inference:write","models:read","balance:read","usage:read"]},"minItems":1,"default":["inference:write","models:read","balance:read","usage:read"]},"lifetimeUsd":{"anyOf":[{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$"},{"type":"null"}],"default":null},"dailyUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"5"},"requestUsd":{"type":"string","pattern":"^\\d{1,18}(?:\\.\\d{1,12})?$","default":"0.50"},"rpm":{"type":"integer","minimum":1,"maximum":1000,"default":60},"concurrency":{"type":"integer","minimum":1,"maximum":100,"default":4},"maxOutputTokens":{"type":"integer","minimum":1,"maximum":32768,"default":1024},"zdr":{"type":"boolean","default":false}},"required":[],"additionalProperties":false},"XPolicy":{"type":"object","properties":{"permissions":{"type":"array","items":{"type":"string","enum":["read","draft","publish"]},"maxItems":3,"default":["read","draft"]},"publication":{"type":"string","enum":["owner-review","automatic"],"default":"owner-review"},"dailyUsd":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,5})(?:\\.\\d{1,6})?$","default":"1"},"maxPostsPerDay":{"type":"integer","minimum":1,"maximum":48,"default":6},"minPostIntervalMinutes":{"type":"integer","minimum":5,"maximum":1440,"default":60}},"required":[],"additionalProperties":false},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}}}}}}}