{"openapi":"3.1.0","info":{"title":"A2A Control Plane","version":"0.1.2"},"paths":{"/v1/auth/oidc/start":{"get":{"tags":["auth"],"summary":"Oidc Start","operationId":"oidc_start_v1_auth_oidc_start_get","parameters":[{"name":"redirect_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"/","title":"Redirect To"}},{"name":"login_hint","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Hint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/auth/oidc/callback":{"get":{"tags":["auth"],"summary":"Oidc Callback","operationId":"oidc_callback_v1_auth_oidc_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/auth/cli-session":{"post":{"tags":["auth"],"summary":"Create Cli Session","description":"Mint a short-lived browser exchange code from a bearer credential.","operationId":"create_cli_session_v1_auth_cli_session_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthCliSessionCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthCliSessionCreateOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/auth/cli-session/redeem":{"get":{"tags":["auth"],"summary":"Redeem Cli Session","description":"Consume a one-time code and establish the browser session cookie.","operationId":"redeem_cli_session_v1_auth_cli_session_redeem_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","minLength":32,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"410":{"$ref":"#/components/responses/Gone"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{},{"bearerAuth":[]}]}},"/v1/auth/cli-session/confirm":{"post":{"tags":["auth"],"summary":"Confirm Cli Session","operationId":"confirm_cli_session_v1_auth_cli_session_confirm_post","parameters":[{"name":"__Host-a2a_cli_confirm","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"  Host-A2A Cli Confirm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"403":{"$ref":"#/components/responses/Forbidden"},"410":{"$ref":"#/components/responses/Gone"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/auth/agent-session/authorize":{"get":{"tags":["auth"],"summary":"Authorize Agent Session","description":"Hand a signed-in dashboard visitor off to an agent's own origin.\n\nRuns on the dashboard origin, where the ``__Host-`` platform session cookie\nis readable. It never forwards that cookie: it mints a single-use code the\nagent redeems for a token scoped to itself.","operationId":"authorize_agent_session_v1_auth_agent_session_authorize_get","parameters":[{"name":"agent","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-z0-9-]+$","title":"Agent"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"/","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{},{"bearerAuth":[]}]}},"/v1/auth/agent-session/exchange":{"post":{"tags":["auth"],"summary":"Exchange Agent Session","description":"Redeem a hand-off code for a token scoped to the calling agent.\n\nThe code is the bearer secret here: it is single-use, short-lived, and only\never delivered to the one agent origin the user was redirected to.","operationId":"exchange_agent_session_v1_auth_agent_session_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionExchangeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionExchangeOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"403":{"$ref":"#/components/responses/Forbidden"},"410":{"$ref":"#/components/responses/Gone"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_v1_auth_logout_post","parameters":[{"name":"redirect_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"/","title":"Redirect To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthLogoutOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[]}},"/v1/auth/session":{"get":{"tags":["auth"],"summary":"Auth Session","operationId":"auth_session_v1_auth_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthSessionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{},{"bearerAuth":[]}]}},"/v1/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/ssh":{"post":{"tags":["agents"],"summary":"Open Agent Ssh","description":"Provision (or wake) the agent's throwaway dev box and return the WSS\nconnection info. The caller's ephemeral public key is the only key the box\naccepts; the returned access token gates the transport tunnel.","operationId":"open_agent_ssh_v1_agents__name__ssh_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSshIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSshOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents":{"post":{"tags":["agents"],"summary":"Register","operationId":"register_v1_agents_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRegisterIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDetailOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["agents"],"summary":"List Agents","operationId":"list_agents_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentOut"},"title":"Response List Agents V1 Agents Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/import":{"post":{"tags":["agents"],"summary":"Import External Agent","operationId":"import_external_agent_v1_agents_import_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentImportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentImportOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/from-source":{"post":{"tags":["agents"],"summary":"From Source","description":"Provision an editable source repo for ``body.name``.\n\nBuild/deploy internals are created later in the hidden runtime repo by\nthe tarball deploy path.","operationId":"from_source_v1_agents_from_source_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFromSourceIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFromSourceOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/openapi/preview":{"post":{"tags":["agents"],"summary":"Preview Openapi Agent","operationId":"preview_openapi_agent_v1_agents_openapi_preview_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOpenAPIGenerateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOpenAPIPreviewOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/from-openapi":{"post":{"tags":["agents"],"summary":"From Openapi","description":"Generate editable A2APack source from OpenAPI and deploy it.\n\nThe generated repo is a normal agent project. Developers can edit the\nproduced ``agent.py`` / ``a2a.yaml`` and redeploy through the usual\ntarball or builder flows.","operationId":"from_openapi_v1_agents_from_openapi_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOpenAPIGenerateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFromOpenAPIOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/compose":{"post":{"tags":["agents"],"summary":"Compose Agent","description":"Generate editable A2APack source from a composition manifest and deploy it.","operationId":"compose_agent_v1_agents_compose_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentComposeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFromComposeOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/from-tarball":{"post":{"tags":["agents"],"summary":"From Tarball","description":"Receive user source, then wire a hidden runtime repo for build/deploy.","operationId":"from_tarball_v1_agents_from_tarball_post","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_from_tarball_v1_agents_from_tarball_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFromTarballOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/mine":{"get":{"tags":["agents"],"summary":"List My Agents","description":"Agents owned by the caller (built by them or deployed via CLI).\n\nThe orchestrator surfaces this as ``list_my_agents`` so the LLM\ncan answer \"iterate on X\" without scanning the full marketplace.","operationId":"list_my_agents_v1_agents_mine_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentMineOut"},"title":"Response List My Agents V1 Agents Mine Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/mine/summary":{"get":{"tags":["agents"],"summary":"List My Agent Summaries","operationId":"list_my_agent_summaries_v1_agents_mine_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentMineSummaryOut"},"title":"Response List My Agent Summaries V1 Agents Mine Summary Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/mine/{name}":{"get":{"tags":["agents"],"summary":"Get My Agent","operationId":"get_my_agent_v1_agents_mine__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/mine/{name}/visibility":{"patch":{"tags":["agents"],"summary":"Update My Agent Visibility","description":"Publish or unlist an owned agent without rebuilding its runtime.","operationId":"update_my_agent_visibility_v1_agents_mine__name__visibility_patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentVisibilityIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/mine/{name}/reuse-policy":{"patch":{"tags":["agents"],"summary":"Update My Agent Reuse Policy","description":"Set source-fork permission independently from public visibility.","operationId":"update_my_agent_reuse_policy_v1_agents_mine__name__reuse_policy_patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentReusePolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/code-editor":{"get":{"tags":["agents"],"summary":"Get Agent Code Editor","operationId":"get_agent_code_editor_v1_agents__name__code_editor_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCodeEditorOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agents"],"summary":"Enable Agent Code Editor","operationId":"enable_agent_code_editor_v1_agents__name__code_editor_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"502":{"$ref":"#/components/responses/BadGateway"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["agents"],"summary":"Disable Agent Code Editor","operationId":"disable_agent_code_editor_v1_agents__name__code_editor_delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/self-healing":{"get":{"tags":["agents"],"summary":"List Agent Self Healing","description":"Owner-visible, sanitized repair history for a manifest-opted-in agent.","operationId":"list_agent_self_healing_v1_agents__name__self_healing_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Agent Self Healing V1 Agents  Name  Self Healing Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/search":{"get":{"tags":["agents"],"summary":"Search Agents","operationId":"search_agents_v1_agents_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":500,"default":"","title":"Q"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Tag"}},{"name":"skill","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Skill"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentSearchOut"},"title":"Response Search Agents V1 Agents Search Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/source":{"get":{"tags":["agents"],"summary":"Export Agent Source","operationId":"export_agent_source_v1_agents__name__source_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/source/deploy":{"post":{"tags":["agents"],"summary":"Deploy Agent Source","operationId":"deploy_agent_source_v1_agents__name__source_deploy_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Deploy Agent Source V1 Agents  Name  Source Deploy Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/deployments":{"get":{"tags":["agents"],"summary":"List Agent Deployments","operationId":"list_agent_deployments_v1_agents__name__deployments_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentDeploymentOut"},"title":"Response List Agent Deployments V1 Agents  Name  Deployments Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/deployments/{deploy_id}":{"get":{"tags":["agents"],"summary":"Get Agent Deployment","operationId":"get_agent_deployment_v1_agents__name__deployments__deploy_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDeploymentOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/deployments/{deploy_id}/stream":{"get":{"tags":["agents"],"summary":"Stream Agent Deployment","operationId":"stream_agent_deployment_v1_agents__name__deployments__deploy_id__stream_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/deployments/{deploy_id}/logs":{"get":{"tags":["agents"],"summary":"Get Agent Deployment Logs","operationId":"get_agent_deployment_logs_v1_agents__name__deployments__deploy_id__logs_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDeploymentLogsOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/domains":{"get":{"tags":["agents"],"summary":"List Agent Custom Domains","operationId":"list_agent_custom_domains_v1_agents__name__domains_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentCustomDomainOut"},"title":"Response List Agent Custom Domains V1 Agents  Name  Domains Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agents"],"summary":"Add Agent Custom Domain","operationId":"add_agent_custom_domain_v1_agents__name__domains_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCustomDomainIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCustomDomainOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/domains/{hostname}/verify":{"post":{"tags":["agents"],"summary":"Verify Agent Custom Domain","operationId":"verify_agent_custom_domain_v1_agents__name__domains__hostname__verify_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"hostname","in":"path","required":true,"schema":{"type":"string","title":"Hostname"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCustomDomainOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/domains/{hostname}":{"delete":{"tags":["agents"],"summary":"Delete Agent Custom Domain","operationId":"delete_agent_custom_domain_v1_agents__name__domains__hostname__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"hostname","in":"path","required":true,"schema":{"type":"string","title":"Hostname"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/openapi.json":{"get":{"tags":["agents"],"summary":"Agent Api Openapi","operationId":"agent_api_openapi_v1_agents__name__openapi_json_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Api Openapi V1 Agents  Name  Openapi Json Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"agentApiToken":[]},{"bearerAuth":[]}]}},"/v1/agents/{name}/api/openapi.json":{"get":{"tags":["agents"],"summary":"Agent Api Openapi Alias","operationId":"agent_api_openapi_alias_v1_agents__name__api_openapi_json_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Api Openapi Alias V1 Agents  Name  Api Openapi Json Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"agentApiToken":[]},{"bearerAuth":[]}]}},"/v1/agents/{name}/api-tokens":{"get":{"tags":["agents"],"summary":"List Agent Api Tokens","operationId":"list_agent_api_tokens_v1_agents__name__api_tokens_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentApiTokenOut"},"title":"Response List Agent Api Tokens V1 Agents  Name  Api Tokens Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agents"],"summary":"Create Agent Api Token","operationId":"create_agent_api_token_v1_agents__name__api_tokens_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentApiTokenCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentApiTokenCreatedOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/account-access":{"get":{"tags":["agents"],"summary":"Get Agent Account Access","operationId":"get_agent_account_access_v1_agents__name__account_access_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccountAccessOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/api-tokens/{token_id}":{"delete":{"tags":["agents"],"summary":"Revoke Agent Api Token","operationId":"revoke_agent_api_token_v1_agents__name__api_tokens__token_id__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/integration-links":{"get":{"tags":["agents"],"summary":"List Agent Integration Links","operationId":"list_agent_integration_links_v1_agents__name__integration_links_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentIntegrationLinkOut"},"title":"Response List Agent Integration Links V1 Agents  Name  Integration Links Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agents"],"summary":"Create Agent Integration Link","operationId":"create_agent_integration_link_v1_agents__name__integration_links_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AgentIntegrationLinkCreateIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentIntegrationLinkCreatedOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/integration-links/{link_id}":{"delete":{"tags":["agents"],"summary":"Revoke Agent Integration Link","operationId":"revoke_agent_integration_link_v1_agents__name__integration_links__link_id__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"integer","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/api/endpoints/{endpoint_name}":{"post":{"tags":["agents"],"summary":"Invoke Agent Api Endpoint","operationId":"invoke_agent_api_endpoint_v1_agents__name__api_endpoints__endpoint_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"endpoint_name","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api Endpoint V1 Agents  Name  Api Endpoints  Endpoint Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]},"patch":{"tags":["agents"],"summary":"Invoke Agent Api Endpoint","operationId":"invoke_agent_api_endpoint_v1_agents__name__api_endpoints__endpoint_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"endpoint_name","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api Endpoint V1 Agents  Name  Api Endpoints  Endpoint Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]},"delete":{"tags":["agents"],"summary":"Invoke Agent Api Endpoint","operationId":"invoke_agent_api_endpoint_v1_agents__name__api_endpoints__endpoint_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"endpoint_name","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api Endpoint V1 Agents  Name  Api Endpoints  Endpoint Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]},"put":{"tags":["agents"],"summary":"Invoke Agent Api Endpoint","operationId":"invoke_agent_api_endpoint_v1_agents__name__api_endpoints__endpoint_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"endpoint_name","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api Endpoint V1 Agents  Name  Api Endpoints  Endpoint Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]},"get":{"tags":["agents"],"summary":"Invoke Agent Api Endpoint","operationId":"invoke_agent_api_endpoint_v1_agents__name__api_endpoints__endpoint_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"endpoint_name","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api Endpoint V1 Agents  Name  Api Endpoints  Endpoint Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"405":{"$ref":"#/components/responses/MethodNotAllowed"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]}},"/v1/agents/{name}/api/invoke/{skill_name}":{"post":{"tags":["agents"],"summary":"Invoke Agent Api","operationId":"invoke_agent_api_v1_agents__name__api_invoke__skill_name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"skill_name","in":"path","required":true,"schema":{"type":"string","title":"Skill Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Agent Api V1 Agents  Name  Api Invoke  Skill Name  Post"}}}},"502":{"description":"The agent could not be reached, or answered with a 5xx of its own. `detail.agent_status` carries the agent's code when it sent one; its absence means nothing was observed from the agent at all.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"The agent did not answer within the invoke timeout. No response was observed, so nothing is claimed about the agent's own status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"agentApiToken":[]}]}},"/v1/agents/{name}/api/runs/{skill_name}/start":{"post":{"tags":["agents"],"summary":"Start Agent Api Run","operationId":"start_agent_api_run_v1_agents__name__api_runs__skill_name__start_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"skill_name","in":"path","required":true,"schema":{"type":"string","title":"Skill Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Start Agent Api Run V1 Agents  Name  Api Runs  Skill Name  Start Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"}},"security":[{"agentApiToken":[]}]}},"/v1/agents/{name}/api/runs/{run_id}":{"get":{"tags":["agents"],"summary":"Get Agent Api Run","operationId":"get_agent_api_run_v1_agents__name__api_runs__run_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Agent Api Run V1 Agents  Name  Api Runs  Run Id  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"agentApiToken":[]}]}},"/v1/agents/{name}/api/files/{path}":{"get":{"tags":["agents"],"summary":"Download Agent Api File","operationId":"download_agent_api_file_v1_agents__name__api_files__path__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"agentApiToken":[]},{"bearerAuth":[]}]}},"/v1/agents/{name}/mcp":{"post":{"tags":["agents"],"summary":"External Agent Mcp","operationId":"external_agent_mcp_v1_agents__name__mcp_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"integration_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response External Agent Mcp V1 Agents  Name  Mcp Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"agentApiToken":[]},{"bearerAuth":[]}]}},"/v1/agents/{name}":{"get":{"tags":["agents"],"summary":"Get Agent","operationId":"get_agent_v1_agents__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDetailOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["agents"],"summary":"Remove Agent","description":"Delete AGENT.\n\n``?cascade=true`` additionally deletes the agents forked *directly* from\nit. Without it the request is refused with 409 while any such fork the\ncaller owns still points at this agent.\n\nThe cascade is one level deep, so the 409 names exactly the set that a\ncascade would destroy. Everything else that pointed at a deleted agent is\ndetached rather than deleted — forks owned by other users, and forks of a\nfork, however deep. Detaching only clears ``source_agent_id``; the agent,\nits repo and its runtime all survive. Every agent this route detaches is\nnamed in the server log, since a 204 carries no body to name them in.","operationId":"remove_agent_v1_agents__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"cascade","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cascade"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/runtime-upgrade":{"post":{"tags":["agents"],"summary":"Upgrade Agent Runtime","operationId":"upgrade_agent_runtime_v1_agents__name__runtime_upgrade_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMineOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/template-update":{"post":{"tags":["agents"],"summary":"Request Agent Template Update","operationId":"request_agent_template_update_v1_agents__name__template_update_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTemplateUpdateOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/insights/payouts":{"get":{"tags":["agent-insights"],"summary":"Agent Payout Summary","description":"Creator earnings for an owned agent, derived from signed receipts.\n\nEvery invocation writes a signed :class:`AgentReceipt`; each successful one\nis a payable marketplace run. We value each run at the agent's current card\npricing and split it into compute (platform infra), platform fee\n(commission on the author's markup) and seller payout (the creator's take).\n\nA receipt whose earnings have been swept into a ``paid`` :class:`PayoutRun`\ncounts toward ``paid_payout_usd``; everything else still owed is ``pending``.","operationId":"agent_payout_summary_v1_agents__name__insights_payouts_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPayoutSummaryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/insights/calls":{"get":{"tags":["agent-insights"],"summary":"List Agent Call Logs","operationId":"list_agent_call_logs_v1_agents__name__insights_calls_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":75,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentCallLogOut"},"title":"Response List Agent Call Logs V1 Agents  Name  Insights Calls Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/auth":{"get":{"tags":["agent-auth"],"summary":"Get Agent Auth Status","operationId":"get_agent_auth_status_v1_agents__name__auth_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAuthStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agent-auth"],"summary":"Connect Agent Auth","operationId":"connect_agent_auth_v1_agents__name__auth_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAuthConnectIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAuthConnectionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/auth/{connection_id}":{"delete":{"tags":["agent-auth"],"summary":"Delete Agent Auth Connection","operationId":"delete_agent_auth_connection_v1_agents__name__auth__connection_id__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"integer","title":"Connection Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/installed-agents":{"get":{"tags":["installed-agents"],"summary":"List Installed Agents","operationId":"list_installed_agents_v1_installed_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstalledAgentOut"},"title":"Response List Installed Agents V1 Installed Agents Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/installed-agents/{name}":{"post":{"tags":["installed-agents"],"summary":"Install Marketplace Agent","operationId":"install_marketplace_agent_v1_installed_agents__name__post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstalledAgentOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/consumer-setup":{"get":{"tags":["consumer-setup"],"summary":"Get Consumer Setup","operationId":"get_consumer_setup_v1_agents__name__consumer_setup_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"organization_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"put":{"tags":["consumer-setup"],"summary":"Upsert User Consumer Setup","operationId":"upsert_user_consumer_setup_v1_agents__name__consumer_setup_put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupUpsertIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/consumer-setup/invocation":{"post":{"tags":["consumer-setup"],"summary":"Get Consumer Setup Invocation","operationId":"get_consumer_setup_invocation_v1_agents__name__consumer_setup_invocation_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"organization_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupInvocationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/consumer-setup/org":{"put":{"tags":["consumer-setup"],"summary":"Upsert Org Consumer Setup","operationId":"upsert_org_consumer_setup_v1_agents__name__consumer_setup_org_put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupUpsertIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/consumer-setup/{field_name}":{"delete":{"tags":["consumer-setup"],"summary":"Delete Consumer Setup","operationId":"delete_consumer_setup_v1_agents__name__consumer_setup__field_name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"field_name","in":"path","required":true,"schema":{"type":"string","title":"Field Name"}},{"name":"scope","in":"query","required":false,"schema":{"enum":["user","org"],"type":"string","default":"user","title":"Scope"}},{"name":"organization_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerSetupStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/secrets":{"get":{"tags":["agent-secrets"],"summary":"List Agent Secrets","operationId":"list_agent_secrets_v1_agents__name__secrets_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentSecretOut"},"title":"Response List Agent Secrets V1 Agents  Name  Secrets Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agent-secrets"],"summary":"Upsert Agent Secret","operationId":"upsert_agent_secret_v1_agents__name__secrets_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSecretIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSecretOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/secrets/{key}":{"delete":{"tags":["agent-secrets"],"summary":"Delete Agent Secret","operationId":"delete_agent_secret_v1_agents__name__secrets__key__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/me/files":{"get":{"tags":["files"],"summary":"List My Files","operationId":"list_my_files_v1_me_files_get","parameters":[{"name":"prefix","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefix"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List My Files V1 Me Files Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["files"],"summary":"Upload","operationId":"upload_v1_me_files_post","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_v1_me_files_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload V1 Me Files Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/PayloadTooLarge"}},"security":[{"bearerAuth":[]}]}},"/v1/me/files/move":{"post":{"tags":["files"],"summary":"Move","description":"Move (rename) a single object inside the user's bucket.\n\nBody: ``{\"from\": \"<src>\", \"to\": \"<dst>\"}``. Both paths sanitized.","operationId":"move_v1_me_files_move_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Move V1 Me Files Move Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/me/files/{path}":{"delete":{"tags":["files"],"summary":"Remove","operationId":"remove_v1_me_files__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["files"],"summary":"Download","operationId":"download_v1_me_files__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/me/chat":{"post":{"tags":["chat"],"summary":"Chat","operationId":"chat_v1_me_chat_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ChatIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/chat/approvals/{approval_id}":{"post":{"tags":["chat"],"summary":"Approve Handoff","description":"User decision on a pending cross-agent handoff.","operationId":"approve_handoff_v1_me_chat_approvals__approval_id__post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ApprovalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Approve Handoff V1 Me Chat Approvals  Approval Id  Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/chat/scope-approvals/{approval_id}":{"post":{"tags":["chat"],"summary":"Approve Scope Request","description":"User decision on a pending mid-skill scope-expansion request.","operationId":"approve_scope_request_v1_me_chat_scope_approvals__approval_id__post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ApprovalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Approve Scope Request V1 Me Chat Scope Approvals  Approval Id  Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/chat/questions/{question_id}":{"post":{"tags":["chat"],"summary":"Answer Question","description":"User reply to a callee's ``ctx.ask()`` prompt.","operationId":"answer_question_v1_me_chat_questions__question_id__post","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_AnswerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Answer Question V1 Me Chat Questions  Question Id  Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/chat/input-requests/{request_id}":{"post":{"tags":["chat"],"summary":"Submit Input Request","description":"User response to a callee's ``ctx.collect()`` form request.","operationId":"submit_input_request_v1_me_chat_input_requests__request_id__post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_InputResponseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Submit Input Request V1 Me Chat Input Requests  Request Id  Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain":{"get":{"tags":["company-brain"],"summary":"Company Brain Status","operationId":"company_brain_status_v1_me_company_brain_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Company Brain Status V1 Me Company Brain Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/runtime":{"patch":{"tags":["company-brain"],"summary":"Update Collective Runtime","operationId":"update_collective_runtime_v1_me_company_brain_runtime_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Collective Runtime V1 Me Company Brain Runtime Patch"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/artifacts/{kind}":{"get":{"tags":["company-brain"],"summary":"List Company Brain Artifacts","operationId":"list_company_brain_artifacts_v1_me_company_brain_artifacts__kind__get","parameters":[{"name":"kind","in":"path","required":true,"schema":{"enum":["population","townhall","aging","selection","feedback","dream_cycle","laws","actors"],"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Company Brain Artifacts V1 Me Company Brain Artifacts  Kind  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/dispatches":{"get":{"tags":["company-brain"],"summary":"List Company Brain Dispatches","operationId":"list_company_brain_dispatches_v1_me_company_brain_dispatches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Company Brain Dispatches V1 Me Company Brain Dispatches Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["company-brain"],"summary":"Dispatch Company Brain Selection","operationId":"dispatch_company_brain_selection_v1_me_company_brain_dispatches_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Dispatch Company Brain Selection V1 Me Company Brain Dispatches Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/dispatches/run-once":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Dispatch Worker Once","operationId":"run_company_brain_dispatch_worker_once_v1_me_company_brain_dispatches_run_once_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchWorkerRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Dispatch Worker Once V1 Me Company Brain Dispatches Run Once Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/feedback":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Feedback","operationId":"run_company_brain_feedback_v1_me_company_brain_feedback_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Feedback V1 Me Company Brain Feedback Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/dream-loop/run-once":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Dream Loop Once","operationId":"run_company_brain_dream_loop_once_v1_me_company_brain_dream_loop_run_once_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DreamLoopRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Dream Loop Once V1 Me Company Brain Dream Loop Run Once Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/population":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Population","operationId":"run_company_brain_population_v1_me_company_brain_population_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PopulationRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Population V1 Me Company Brain Population Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/townhall":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Townhall","operationId":"run_company_brain_townhall_v1_me_company_brain_townhall_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TownhallRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Townhall V1 Me Company Brain Townhall Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/aging":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Aging","operationId":"run_company_brain_aging_v1_me_company_brain_aging_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgingRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Aging V1 Me Company Brain Aging Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/company-brain/selection":{"post":{"tags":["company-brain"],"summary":"Run Company Brain Selection","operationId":"run_company_brain_selection_v1_me_company_brain_selection_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectionRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Company Brain Selection V1 Me Company Brain Selection Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/policy":{"get":{"tags":["compliance"],"summary":"Get Policy","operationId":"get_policy_v1_me_organizations__slug__compliance_policy_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompliancePolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"put":{"tags":["compliance"],"summary":"Put Policy","operationId":"put_policy_v1_me_organizations__slug__compliance_policy_put","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompliancePolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompliancePolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/status":{"get":{"tags":["compliance"],"summary":"Get Status","operationId":"get_status_v1_me_organizations__slug__compliance_status_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/decision-records":{"get":{"tags":["compliance"],"summary":"List Decision Records","operationId":"list_decision_records_v1_me_organizations__slug__compliance_decision_records_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"}},{"name":"from_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From At"}},{"name":"to_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To At"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionRecordOut"},"title":"Response List Decision Records V1 Me Organizations  Slug  Compliance Decision Records Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/decision-records/{kind}/{record_id}":{"get":{"tags":["compliance"],"summary":"Get Decision Record","operationId":"get_decision_record_v1_me_organizations__slug__compliance_decision_records__kind___record_id__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"kind","in":"path","required":true,"schema":{"enum":["skill_execution","authorization","admin_action"],"type":"string","title":"Kind"}},{"name":"record_id","in":"path","required":true,"schema":{"type":"string","title":"Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRecordDetailOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/agents":{"get":{"tags":["compliance"],"summary":"List Agent Profiles","operationId":"list_agent_profiles_v1_me_organizations__slug__compliance_agents_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentRiskProfileOut"},"title":"Response List Agent Profiles V1 Me Organizations  Slug  Compliance Agents Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/agents/{agent_name}":{"put":{"tags":["compliance"],"summary":"Put Agent Profile","operationId":"put_agent_profile_v1_me_organizations__slug__compliance_agents__agent_name__put","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"agent_name","in":"path","required":true,"schema":{"type":"string","title":"Agent Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRiskProfileIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRiskProfileOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/export":{"post":{"tags":["compliance"],"summary":"Export Evidence Pack","operationId":"export_evidence_pack_v1_me_organizations__slug__compliance_export_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceExportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Export Evidence Pack V1 Me Organizations  Slug  Compliance Export Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/compliance/retention/enforce":{"post":{"tags":["compliance"],"summary":"Enforce Retention","operationId":"enforce_retention_v1_me_organizations__slug__compliance_retention_enforce_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetentionEnforceOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime":{"get":{"tags":["collective-runtime"],"summary":"Collective Runtime Overview","operationId":"collective_runtime_overview_v1_me_collective_runtime_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/protocols":{"get":{"tags":["collective-runtime"],"summary":"List Collective Runtime Protocols","operationId":"list_collective_runtime_protocols_v1_me_collective_runtime_protocols_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RuntimeProtocolOut"},"title":"Response List Collective Runtime Protocols V1 Me Collective Runtime Protocols Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/registry":{"get":{"tags":["collective-runtime"],"summary":"Collective Runtime Registry","operationId":"collective_runtime_registry_v1_me_collective_runtime_registry_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRegistryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/scorecards":{"get":{"tags":["collective-runtime"],"summary":"Collective Runtime Scorecards","operationId":"collective_runtime_scorecards_v1_me_collective_runtime_scorecards_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeScorecardsOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/memories":{"get":{"tags":["collective-runtime"],"summary":"List Collective Runtime Memories","operationId":"list_collective_runtime_memories_v1_me_collective_runtime_memories_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CollectiveRuntimeMemoryOut"},"title":"Response List Collective Runtime Memories V1 Me Collective Runtime Memories Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/memories/extract":{"post":{"tags":["collective-runtime"],"summary":"Extract Collective Runtime Memories","operationId":"extract_collective_runtime_memories_v1_me_collective_runtime_memories_extract_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryExtractionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryExtractionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/plan":{"post":{"tags":["collective-runtime"],"summary":"Plan Collective Runtime Topology","operationId":"plan_collective_runtime_topology_v1_me_collective_runtime_plan_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimePlanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimePlanOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/runs":{"post":{"tags":["collective-runtime"],"summary":"Create Collective Runtime Run","operationId":"create_collective_runtime_run_v1_me_collective_runtime_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["collective-runtime"],"summary":"List Collective Runtime Runs","operationId":"list_collective_runtime_runs_v1_me_collective_runtime_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CollectiveRuntimeRunOut"},"title":"Response List Collective Runtime Runs V1 Me Collective Runtime Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/runs/{dag_run_id}":{"get":{"tags":["collective-runtime"],"summary":"Get Collective Runtime Run","operationId":"get_collective_runtime_run_v1_me_collective_runtime_runs__dag_run_id__get","parameters":[{"name":"dag_run_id","in":"path","required":true,"schema":{"type":"string","title":"Dag Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/runs/{dag_run_id}/approve":{"post":{"tags":["collective-runtime"],"summary":"Approve Collective Runtime Run","operationId":"approve_collective_runtime_run_v1_me_collective_runtime_runs__dag_run_id__approve_post","parameters":[{"name":"dag_run_id","in":"path","required":true,"schema":{"type":"string","title":"Dag Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeApproveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/collective-runtime/runs/{dag_run_id}/advance":{"post":{"tags":["collective-runtime"],"summary":"Advance Collective Runtime Run","operationId":"advance_collective_runtime_run_v1_me_collective_runtime_runs__dag_run_id__advance_post","parameters":[{"name":"dag_run_id","in":"path","required":true,"schema":{"type":"string","title":"Dag Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectiveRuntimeRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/control-room":{"get":{"tags":["control-room"],"summary":"Get Control Room","operationId":"get_control_room_v1_me_control_room_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":10,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/control-room/policy":{"patch":{"tags":["control-room"],"summary":"Update Control Policy","operationId":"update_control_policy_v1_me_control_room_policy_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlPolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlPolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/control-room/receipts/{source}/{item_id}":{"get":{"tags":["control-room"],"summary":"Get Receipt","operationId":"get_receipt_v1_me_control_room_receipts__source___item_id__get","parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/grants":{"get":{"tags":["grants"],"summary":"List Grants","description":"Return the most recent ``limit`` grant rows for the current user.\n\nFilter by ``audience`` (target agent name) to see all hand-offs to a\nspecific agent.","operationId":"list_grants_v1_me_grants_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrantAuditOut"},"title":"Response List Grants V1 Me Grants Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/grants/{grant_id}":{"get":{"tags":["grants"],"summary":"Chain For Grant","description":"Return the audit chain for a given grant: the row itself plus every\nextension that lists it as ``parent_grant_id`` (transitively).","operationId":"chain_for_grant_v1_me_grants__grant_id__get","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrantAuditOut"},"title":"Response Chain For Grant V1 Me Grants  Grant Id  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/llm-creds":{"get":{"tags":["llm-creds"],"summary":"List Creds","operationId":"list_creds_v1_me_llm_creds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CredsOut"},"title":"Response List Creds V1 Me Llm Creds Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["llm-creds"],"summary":"Upsert Creds","description":"Create OR replace by ``name``. Most users only have one entry\nnamed ``\"default\"``; opinionated devs can have several (e.g.\none each for ``openai`` / ``anthropic`` / ``ollama``).","operationId":"upsert_creds_v1_me_llm_creds_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_CredsIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredsOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/me/llm-creds/catalog":{"get":{"tags":["llm-creds"],"summary":"Llm Model Catalog","operationId":"llm_model_catalog_v1_me_llm_creds_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LLMModelCatalogOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/llm-creds/{name}":{"delete":{"tags":["llm-creds"],"summary":"Delete Creds","operationId":"delete_creds_v1_me_llm_creds__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/llm-usage":{"get":{"tags":["llm-usage"],"summary":"List Llm Usage","operationId":"list_llm_usage_v1_me_llm_usage_get","parameters":[{"name":"thread_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"}},{"name":"grant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"}},{"name":"dag_run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dag Run Id"}},{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LLMUsageOut"},"title":"Response List Llm Usage V1 Me Llm Usage Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/memory":{"get":{"tags":["agent-memory"],"summary":"List Agent Memory","operationId":"list_agent_memory_v1_agents__name__memory_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"namespace","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":96,"default":"notes","title":"Namespace"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemoryOut"},"title":"Response List Agent Memory V1 Agents  Name  Memory Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agent-memory"],"summary":"Upsert Agent Memory","operationId":"upsert_agent_memory_v1_agents__name__memory_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"put":{"tags":["agent-memory"],"summary":"Upsert Agent Memory","operationId":"upsert_agent_memory_v1_agents__name__memory_put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/memory/search":{"get":{"tags":["agent-memory"],"summary":"Search Agent Memory","operationId":"search_agent_memory_v1_agents__name__memory_search_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Q"}},{"name":"namespace","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":96,"default":"notes","title":"Namespace"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemorySearchOut"},"title":"Response Search Agent Memory V1 Agents  Name  Memory Search Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/memory/{namespace}/{key}":{"get":{"tags":["agent-memory"],"summary":"Get Agent Memory","operationId":"get_agent_memory_v1_agents__name__memory__namespace___key__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string","title":"Namespace"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["agent-memory"],"summary":"Delete Agent Memory","operationId":"delete_agent_memory_v1_agents__name__memory__namespace___key__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"namespace","in":"path","required":true,"schema":{"type":"string","title":"Namespace"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/meta-runs":{"post":{"tags":["meta-agent-runs"],"summary":"Create Meta Run","operationId":"create_meta_run_v1_agents__name__meta_runs_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaRunCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["meta-agent-runs"],"summary":"List Meta Runs","operationId":"list_meta_runs_v1_agents__name__meta_runs_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"thread_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Thread Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetaRunOut"},"title":"Response List Meta Runs V1 Agents  Name  Meta Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/meta-runs/{run_id}":{"get":{"tags":["meta-agent-runs"],"summary":"Get Meta Run","operationId":"get_meta_run_v1_agents__name__meta_runs__run_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"patch":{"tags":["meta-agent-runs"],"summary":"Patch Meta Run","operationId":"patch_meta_run_v1_agents__name__meta_runs__run_id__patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaRunPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/onboarding":{"get":{"tags":["onboarding"],"summary":"Get Onboarding State","operationId":"get_onboarding_state_v1_me_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStateOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"patch":{"tags":["onboarding"],"summary":"Update Onboarding State","operationId":"update_onboarding_state_v1_me_onboarding_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStateOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations":{"get":{"tags":["organizations"],"summary":"List Organizations","operationId":"list_organizations_v1_me_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationOut"},"title":"Response List Organizations V1 Me Organizations Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["organizations"],"summary":"Create Organization","operationId":"create_organization_v1_me_organizations_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/domains":{"get":{"tags":["organizations"],"summary":"List Organization Domains","operationId":"list_organization_domains_v1_me_organizations__slug__domains_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationDomainOut"},"title":"Response List Organization Domains V1 Me Organizations  Slug  Domains Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["organizations"],"summary":"Add Organization Domain","operationId":"add_organization_domain_v1_me_organizations__slug__domains_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/domains/{domain}/verify":{"post":{"tags":["organizations"],"summary":"Verify Organization Domain","operationId":"verify_organization_domain_v1_me_organizations__slug__domains__domain__verify_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/domains/{domain}":{"delete":{"tags":["organizations"],"summary":"Delete Organization Domain","operationId":"delete_organization_domain_v1_me_organizations__slug__domains__domain__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/members":{"get":{"tags":["organizations"],"summary":"List Organization Members","operationId":"list_organization_members_v1_me_organizations__slug__members_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationMemberOut"},"title":"Response List Organization Members V1 Me Organizations  Slug  Members Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["organizations"],"summary":"Add Organization Member","operationId":"add_organization_member_v1_me_organizations__slug__members_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/members/{member_id}":{"patch":{"tags":["organizations"],"summary":"Update Organization Member","operationId":"update_organization_member_v1_me_organizations__slug__members__member_id__patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["organizations"],"summary":"Delete Organization Member","operationId":"delete_organization_member_v1_me_organizations__slug__members__member_id__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"integer","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/audit-log":{"get":{"tags":["organizations"],"summary":"List Organization Audit Log","operationId":"list_organization_audit_log_v1_me_organizations__slug__audit_log_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAuditLogOut"},"title":"Response List Organization Audit Log V1 Me Organizations  Slug  Audit Log Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/scim":{"get":{"tags":["organizations"],"summary":"Get Scim Config","operationId":"get_scim_config_v1_me_organizations__slug__scim_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationScimConfigOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/scim/tokens":{"get":{"tags":["organizations"],"summary":"List Scim Tokens","operationId":"list_scim_tokens_v1_me_organizations__slug__scim_tokens_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationScimTokenOut"},"title":"Response List Scim Tokens V1 Me Organizations  Slug  Scim Tokens Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["organizations"],"summary":"Create Scim Token","operationId":"create_scim_token_v1_me_organizations__slug__scim_tokens_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationScimTokenIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationScimTokenCreatedOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/organizations/{slug}/scim/tokens/{token_id}":{"delete":{"tags":["organizations"],"summary":"Revoke Scim Token","operationId":"revoke_scim_token_v1_me_organizations__slug__scim_tokens__token_id__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/scim/{slug}/v2/ServiceProviderConfig":{"get":{"tags":["scim"],"summary":"Scim Service Provider Config","operationId":"scim_service_provider_config_v1_scim__slug__v2_ServiceProviderConfig_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scim Service Provider Config V1 Scim  Slug  V2 Serviceproviderconfig Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"}},"security":[{"scimToken":[]}]}},"/v1/scim/{slug}/v2/ResourceTypes":{"get":{"tags":["scim"],"summary":"Scim Resource Types","operationId":"scim_resource_types_v1_scim__slug__v2_ResourceTypes_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scim Resource Types V1 Scim  Slug  V2 Resourcetypes Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"}},"security":[{"scimToken":[]}]}},"/v1/scim/{slug}/v2/Schemas":{"get":{"tags":["scim"],"summary":"Scim Schemas","operationId":"scim_schemas_v1_scim__slug__v2_Schemas_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scim Schemas V1 Scim  Slug  V2 Schemas Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"}},"security":[{"scimToken":[]}]}},"/v1/scim/{slug}/v2/Groups":{"get":{"tags":["scim"],"summary":"Scim Groups","operationId":"scim_groups_v1_scim__slug__v2_Groups_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scim Groups V1 Scim  Slug  V2 Groups Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"}},"security":[{"scimToken":[]}]}},"/v1/scim/{slug}/v2/Users":{"get":{"tags":["scim"],"summary":"List Scim Users","operationId":"list_scim_users_v1_scim__slug__v2_Users_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Startindex"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Scim Users V1 Scim  Slug  V2 Users Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}},"security":[{"scimToken":[]}]},"post":{"tags":["scim"],"summary":"Create Scim User","operationId":"create_scim_user_v1_scim__slug__v2_Users_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Scim User V1 Scim  Slug  V2 Users Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"scimToken":[]}]}},"/v1/scim/{slug}/v2/Users/{user_id}":{"get":{"tags":["scim"],"summary":"Get Scim User","operationId":"get_scim_user_v1_scim__slug__v2_Users__user_id__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Scim User V1 Scim  Slug  V2 Users  User Id  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"scimToken":[]}]},"put":{"tags":["scim"],"summary":"Replace Scim User","operationId":"replace_scim_user_v1_scim__slug__v2_Users__user_id__put","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Replace Scim User V1 Scim  Slug  V2 Users  User Id  Put"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"scimToken":[]}]},"patch":{"tags":["scim"],"summary":"Patch Scim User","operationId":"patch_scim_user_v1_scim__slug__v2_Users__user_id__patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Scim User V1 Scim  Slug  V2 Users  User Id  Patch"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"scimToken":[]}]},"delete":{"tags":["scim"],"summary":"Delete Scim User","operationId":"delete_scim_user_v1_scim__slug__v2_Users__user_id__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"scimToken":[]}]}},"/v1/public/agents":{"get":{"tags":["public"],"summary":"List Public Agents","description":"Public registry feed, best listings first.\n\nOrdered by evidence rather than recency: a passed proof run outranks a\npacked browser frontend, which outranks a declared price, and only then\ndoes a newer agent lead an older one. Ordering by ``id`` put whatever was\ncreated last on the front page of the marketplace, which is how internal\nscaffolds ended up leading the registry.\n\n``status == \"failed\"`` is dropped here so a deployment that never came up\ncannot be listed at all. That is deliberately the *only* status excluded:\n``needs_auth`` and the rest are live agents, and hiding a customer's agent\non a status guess is far more expensive than showing an odd one.\n\nEvery row carries ``platform_internal``, the platform's own answer to\nwhether a2a runs that agent for itself (``control_plane.platform_internal``).\nIt is *published*, not filtered on: machine-facing consumers of this feed —\nthe marketing sitemap and llms.txt — need every listing page that exists to\nstay discoverable, so hiding is left to the display surfaces that ask.\n\nTwo of the three quality signals live inside the ``card`` JSON column, and\nJSON path expressions do not mean the same thing on SQLite (where the tests\nrun) and Postgres (where this serves), so the rank is computed in Python\nover the public rows rather than in SQL. The public registry is small — the\nonly caller that pages at all is the dashboard, and the marketing site asks\nfor the whole feed in one request.","operationId":"list_public_agents_v1_public_agents_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentOut"},"title":"Response List Public Agents V1 Public Agents Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/public/agents/{name}":{"get":{"tags":["public"],"summary":"Get Public Agent","operationId":"get_public_agent_v1_public_agents__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDetailOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/bounties":{"post":{"tags":["bounties"],"summary":"Create Bounty","description":"Post a new bounty. Slug is generated from the title.","operationId":"create_bounty_v1_bounties_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["bounties"],"summary":"List Bounties","description":"List bounties the current user can see (all open, plus their own).","operationId":"list_bounties_v1_bounties_get","parameters":[{"name":"mine","in":"query","required":false,"schema":{"type":"boolean","description":"Only my posted + claimed bounties","default":false,"title":"Mine"},"description":"Only my posted + claimed bounties"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"open|claimed|fulfilled|cancelled","title":"Status"},"description":"open|claimed|fulfilled|cancelled"},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BountyOut"},"title":"Response List Bounties V1 Bounties Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/bounties/{slug}":{"get":{"tags":["bounties"],"summary":"Get Bounty","description":"Public-readable bounty detail (no auth required for v1).","operationId":"get_bounty_v1_bounties__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]},"delete":{"tags":["bounties"],"summary":"Cancel Bounty","description":"Poster cancels the bounty. Terminal.","operationId":"cancel_bounty_v1_bounties__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/bounties/{slug}/claim":{"post":{"tags":["bounties"],"summary":"Claim Bounty","description":"Link a user-owned, deployed, public agent to an open bounty.\n\nMultiple agents may claim the same bounty over time — the latest\nclaim wins for v1. We don't fan out yet; that arrives with the\ninvocation ledger.","operationId":"claim_bounty_v1_bounties__slug__claim_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyClaimIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/bounties/{slug}/fulfill":{"post":{"tags":["bounties"],"summary":"Fulfill Bounty","description":"Poster marks the bounty as fulfilled. Settlement happens out of band.","operationId":"fulfill_bounty_v1_bounties__slug__fulfill_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/billing":{"get":{"tags":["billing"],"summary":"Get Billing Summary","operationId":"get_billing_summary_v1_me_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummaryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/billing/invoices":{"get":{"tags":["billing"],"summary":"List Billing Invoices","operationId":"list_billing_invoices_v1_me_billing_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInvoiceListOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/me/billing/checkout":{"post":{"tags":["billing"],"summary":"Create Checkout Session","operationId":"create_checkout_session_v1_me_billing_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingCheckoutSessionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/me/billing/portal":{"post":{"tags":["billing"],"summary":"Create Portal Session","operationId":"create_portal_session_v1_me_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPortalSessionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/me/billing/cancel":{"post":{"tags":["billing"],"summary":"Cancel Billing Plan","operationId":"cancel_billing_plan_v1_me_billing_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingCancelPlanOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/payouts/earnings":{"get":{"tags":["payouts"],"summary":"Get Creator Earnings","description":"Portfolio rollup across all the caller's agents — total made, paid, owed.","operationId":"get_creator_earnings_v1_payouts_earnings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorEarningsOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/payouts/account":{"get":{"tags":["payouts"],"summary":"Get Payout Account","operationId":"get_payout_account_v1_payouts_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutAccountOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["payouts"],"summary":"Create Payout Account","operationId":"create_payout_account_v1_payouts_account_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutAccountOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/payouts/runs":{"get":{"tags":["payouts"],"summary":"List Payout Runs","operationId":"list_payout_runs_v1_payouts_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PayoutRunOut"},"title":"Response List Payout Runs V1 Payouts Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/credits":{"get":{"tags":["credits"],"summary":"Get Wallet","operationId":"get_wallet_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/credits/checkout":{"post":{"tags":["credits"],"summary":"Create Topup","operationId":"create_topup_v1_credits_checkout_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupCheckoutOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/feature-flags":{"get":{"tags":["feature-flags"],"summary":"Current Feature Flags","operationId":"current_feature_flags_v1_me_feature_flags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentFeatureFlagsOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/public/bounties":{"get":{"tags":["public"],"summary":"List Public Bounties","description":"Open + claimed bounties anyone can see (fulfilled/cancelled hidden).\n\nSorted by reward desc, then newest first — biggest open opportunities\nsurface at the top of the public list.","operationId":"list_public_bounties_v1_public_bounties_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BountyOut"},"title":"Response List Public Bounties V1 Public Bounties Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/public/bounties/{slug}":{"get":{"tags":["public"],"summary":"Get Public Bounty","operationId":"get_public_bounty_v1_public_bounties__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BountyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/public/receipt-keys":{"get":{"tags":["public"],"summary":"Get Receipt Keys","description":"Publish the receipt verifying key so third parties can check receipts.\n\nGoverned calls return ``X-A2A-Receipt-Token``; that token verifies against\nthe key served here with :func:`a2a_pack.receipts.verify_receipt`.\n\nWhen this process holds the signing key — every deployed control plane does,\n``A2A_RECEIPT_SIGNING_KEY`` and ``A2A_RECEIPT_VERIFYING_KEY`` are mounted\nside by side — the key published is the *public half of the signer* and\nnothing else. ``A2A_RECEIPT_VERIFYING_KEY`` is then only a cross-check: a\n32-byte Ed25519 public key is indistinguishable from a 32-byte private seed,\nso publishing that variable verbatim would hand out the platform's signing\nkey if the two secrets were ever swapped. A disagreement is a 503, and so is\na missing key — never a placeholder, never an unvouched-for key.","operationId":"get_receipt_keys_v1_public_receipt_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptKeysOut"}}}},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/me/agent-proofs":{"get":{"tags":["agent-proofs"],"summary":"List My Agent Proofs","operationId":"list_my_agent_proofs_v1_me_agent_proofs_get","parameters":[{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":100,"title":"Limit"}},{"name":"compact","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Compact"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentProofRunOut"},"title":"Response List My Agent Proofs V1 Me Agent Proofs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/agent-proofs/{name}/run":{"post":{"tags":["agent-proofs"],"summary":"Run Agent Proof","operationId":"run_agent_proof_v1_me_agent_proofs__name__run_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProofRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProofRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/public/agent-proofs":{"get":{"tags":["public"],"summary":"List public agent proofs","description":"Latest proof run per public agent.\n\n**The response shape depends on the principal**, and deliberately so:\n\n* anonymous, and any signed-in caller who is not an evidence reader of the\n  agent, get :class:`PublicAgentProofSummaryOut` — the documented\n  allowlist, no payload;\n* an evidence reader of that agent\n  (:func:`..agent_authorization.may_read_agent_evidence`: owner,\n  organization source maintainer, platform admin) gets the full\n  :class:`AgentProofSummaryOut` they always got, per agent.\n\nA mixed list is the honest answer here: one request spans many agents and\nthe caller's standing differs agent by agent. The alternative — one shape\nfor the whole response — would either hand an owner a redacted view of\ntheir own run or hand a stranger the full row of somebody else's, and the\nsecond is the bug this route had.","operationId":"list_public_agent_proofs_v1_public_agent_proofs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"compact","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Compact"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicAgentProofSummaryOut"},"title":"Response 200 List Public Agent Proofs V1 Public Agent Proofs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{},{"bearerAuth":[]}]}},"/v1/public/agents/{name}/proof/latest":{"get":{"tags":["public"],"summary":"Get public agent proof","description":"One public agent's latest proof run.\n\nSame principal-dependent shape as the index above, decided once here for\nthe single agent named in the path: full record for an evidence reader,\n:class:`PublicAgentProofSummaryOut` for everyone else.","operationId":"get_public_agent_proof_v1_public_agents__name__proof_latest_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAgentProofSummaryOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{},{"bearerAuth":[]}]}},"/v1/public/agents/{name}/proofs/{proof_id}":{"get":{"tags":["public"],"summary":"Get Public Agent Proof Run","operationId":"get_public_agent_proof_run_v1_public_agents__name__proofs__proof_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"proof_id","in":"path","required":true,"schema":{"type":"integer","title":"Proof Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAgentProofOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[]}},"/v1/agents/{name}/evidence-dag":{"get":{"tags":["agent-evidence"],"summary":"Get Agent Evidence Dag","operationId":"get_agent_evidence_dag_v1_agents__name__evidence_dag_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"include_payloads","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Payloads"}},{"name":"include_warnings","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Warnings"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceDagResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/agents/{name}/dossier":{"get":{"tags":["agent-evidence"],"summary":"Get Agent Dossier","operationId":"get_agent_dossier_v1_agents__name__dossier_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"include_payloads","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Payloads"}},{"name":"include_warnings","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Warnings"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDossierResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/agents/{name}/evidence-timeline":{"get":{"tags":["agent-evidence"],"summary":"Get Agent Evidence Timeline","operationId":"get_agent_evidence_timeline_v1_agents__name__evidence_timeline_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"head_sha","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Head Sha"}},{"name":"skill_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"lane","in":"query","required":false,"schema":{"anyOf":[{"enum":["version","authority","mutation","quality","process","cost","control"],"type":"string"},{"type":"null"}],"title":"Lane"}},{"name":"include_payloads","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Payloads"}},{"name":"include_inferred","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Inferred"}},{"name":"include_warnings","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Warnings"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceTimelineResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/agents/{name}/receipts":{"post":{"tags":["agent-receipts"],"summary":"Post Agent Receipt","operationId":"post_agent_receipt_v1_agents__name__receipts_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedTokenIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentReceiptOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[]},"get":{"tags":["agent-receipts"],"summary":"List Agent Receipts","operationId":"list_agent_receipts_v1_agents__name__receipts_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentReceiptHeader"},"title":"Response List Agent Receipts V1 Agents  Name  Receipts Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/agents/{name}/receipts/{receipt_id}":{"get":{"tags":["agent-receipts"],"summary":"Get Agent Receipt","operationId":"get_agent_receipt_v1_agents__name__receipts__receipt_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentReceiptOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/agents/{name}/sessions":{"post":{"tags":["agent-sessions"],"summary":"Post Agent Session","operationId":"post_agent_session_v1_agents__name__sessions_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedTokenIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionPostOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[]},"get":{"tags":["agent-sessions"],"summary":"List Agent Sessions","operationId":"list_agent_sessions_v1_agents__name__sessions_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Only sessions whose started_at is strictly less than this (epoch seconds).","title":"Before"},"description":"Only sessions whose started_at is strictly less than this (epoch seconds)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentSessionHeader"},"title":"Response List Agent Sessions V1 Agents  Name  Sessions Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/sessions/{session_id}":{"get":{"tags":["agent-sessions"],"summary":"Get Session Payload","description":"Stream session header + events as ``application/x-ndjson``.\n\nThe first line is the header JSON; subsequent lines are individual event\nJSON records starting at ``idx >= since``. ndjson keeps the wire shape\ncheap for large sessions and lets the client incrementally render the\ntimeline without buffering the whole tuple.\n\nThe event stream carries ``skill_start`` with the caller's **complete**\nvalidated arguments, so holding the id is not a grant:\n:func:`..agent_authorization.authorize_session_read` serves it to the\nagent's evidence readers and to the caller who produced it, and to nobody\nelse. There is no anonymous branch — see that function for why the\nproof-run \"publication\" grant was removed rather than narrowed.\n\nUnlike the ``/v1/agents/{name}/...`` reads this keeps plain\n``optional_current_user``: no path segment names an agent, so the Studio\nscope map cannot bind a job token here, and downgrading an unrelated\ncredential to anonymous is the *correct* outcome — an unbindable\ncredential must not read more than no credential at all.","operationId":"get_session_payload_v1_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Skip events with idx < since (resume cursor).","default":0,"title":"Since"},"description":"Skip events with idx < since (resume cursor)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{},{"bearerAuth":[]}]}},"/v1/me/threads":{"get":{"tags":["chat-threads"],"summary":"List Threads","operationId":"list_threads_v1_me_threads_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Search"}},{"name":"page","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/_ThreadOut"}},{"$ref":"#/components/schemas/_ThreadPageOut"}],"title":"Response List Threads V1 Me Threads Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["chat-threads"],"summary":"Create Thread","operationId":"create_thread_v1_me_threads_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ThreadCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ThreadOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/threads/{thread_id}":{"patch":{"tags":["chat-threads"],"summary":"Rename Thread","operationId":"rename_thread_v1_me_threads__thread_id__patch","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ThreadPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_ThreadOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["chat-threads"],"summary":"Delete Thread","operationId":"delete_thread_v1_me_threads__thread_id__delete","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/threads/{thread_id}/messages":{"get":{"tags":["chat-threads"],"summary":"Get Thread Messages","operationId":"get_thread_messages_v1_me_threads__thread_id__messages_get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Thread Messages V1 Me Threads  Thread Id  Messages Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/threads/{thread_id}/activity":{"get":{"tags":["chat-threads"],"summary":"Get Thread Activity","operationId":"get_thread_activity_v1_me_threads__thread_id__activity_get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"after_seq","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"After Seq"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Thread Activity V1 Me Threads  Thread Id  Activity Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/subagent-runs":{"get":{"tags":["subagent-runs"],"summary":"List Subagent Runs","operationId":"list_subagent_runs_v1_me_subagent_runs_get","parameters":[{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"thread_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubagentRunOut"},"title":"Response List Subagent Runs V1 Me Subagent Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/subagent-runs/track":{"post":{"tags":["subagent-runs"],"summary":"Track Subagent Event","operationId":"track_subagent_event_v1_me_subagent_runs_track_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Event"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackEventOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/subagent-runs/{grant_id}":{"get":{"tags":["subagent-runs"],"summary":"Get Subagent Run","operationId":"get_subagent_run_v1_me_subagent_runs__grant_id__get","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubagentRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/subagent-runs/{grant_id}/rerun":{"post":{"tags":["subagent-runs"],"summary":"Rerun Subagent Run","operationId":"rerun_subagent_run_v1_me_subagent_runs__grant_id__rerun_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubagentRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"504":{"$ref":"#/components/responses/GatewayTimeout"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/dag-runs":{"get":{"tags":["dag-runs"],"summary":"List Dag Runs","operationId":"list_dag_runs_v1_me_dag_runs_get","parameters":[{"name":"thread_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DagRunOut"},"title":"Response List Dag Runs V1 Me Dag Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/dag-runs/{dag_run_id}":{"get":{"tags":["dag-runs"],"summary":"Get Dag Run","operationId":"get_dag_run_v1_me_dag_runs__dag_run_id__get","parameters":[{"name":"dag_run_id","in":"path","required":true,"schema":{"type":"string","title":"Dag Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DagRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/databases":{"get":{"tags":["databases"],"summary":"List Database Projects","operationId":"list_database_projects_v1_me_databases_get","parameters":[{"name":"organization_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatabaseProjectOut"},"title":"Response List Database Projects V1 Me Databases Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["databases"],"summary":"Create Database Project","operationId":"create_database_project_v1_me_databases_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProjectCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProjectOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/databases/provisioner-status":{"get":{"tags":["databases"],"summary":"Get Database Provisioner Status","operationId":"get_database_provisioner_status_v1_me_databases_provisioner_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProvisionerStatusOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/databases/{project_id}":{"get":{"tags":["databases"],"summary":"Get Database Project","operationId":"get_database_project_v1_me_databases__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"integer","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseProjectDetailOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/mailbox":{"get":{"tags":["agent-mailboxes"],"summary":"Get Mailbox","operationId":"get_mailbox_v1_agents__name__mailbox_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMailboxOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["agent-mailboxes"],"summary":"Request Mailbox","description":"Request a mailbox without redeploying (equivalent to declaring\n``resources.mailbox: true`` in ``a2a.yaml``).","operationId":"request_mailbox_v1_agents__name__mailbox_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMailboxOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"patch":{"tags":["agent-mailboxes"],"summary":"Update Mailbox","operationId":"update_mailbox_v1_agents__name__mailbox_patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMailboxPatchIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMailboxOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["agent-mailboxes"],"summary":"Delete Mailbox","operationId":"delete_mailbox_v1_agents__name__mailbox_delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/mailbox/events":{"get":{"tags":["agent-mailboxes"],"summary":"List Mailbox Events","operationId":"list_mailbox_events_v1_agents__name__mailbox_events_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MailboxEventOut"},"title":"Response List Mailbox Events V1 Agents  Name  Mailbox Events Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/trial-rooms":{"post":{"tags":["trial-rooms"],"summary":"Create Trial Room","operationId":"create_trial_room_v1_me_trial_rooms_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["trial-rooms"],"summary":"List Trial Rooms","operationId":"list_trial_rooms_v1_me_trial_rooms_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrialRoomOut"},"title":"Response List Trial Rooms V1 Me Trial Rooms Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/trial-rooms/{slug}":{"get":{"tags":["trial-rooms"],"summary":"Get Trial Room","operationId":"get_trial_room_v1_me_trial_rooms__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/trial-rooms/{slug}/runs":{"post":{"tags":["trial-rooms"],"summary":"Run Trial Agent","operationId":"run_trial_agent_v1_me_trial_rooms__slug__runs_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/trial-rooms/{slug}/runs/{run_id}/rate":{"post":{"tags":["trial-rooms"],"summary":"Rate Trial Run","operationId":"rate_trial_run_v1_me_trial_rooms__slug__runs__run_id__rate_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRunRatingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/trial-rooms/{slug}/runs/{run_id}/select":{"post":{"tags":["trial-rooms"],"summary":"Select Trial Winner","operationId":"select_trial_winner_v1_me_trial_rooms__slug__runs__run_id__select_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRoomOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/me/activity":{"get":{"tags":["work-ledger"],"summary":"List My Activity","operationId":"list_my_activity_v1_me_activity_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityPageOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/jobs/{job_id}":{"get":{"tags":["work-ledger"],"summary":"Get My Job","operationId":"get_my_job_v1_me_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get My Job V1 Me Jobs  Job Id  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/jobs/{job_id}/cancel":{"post":{"tags":["work-ledger"],"summary":"Cancel My Job","operationId":"cancel_my_job_v1_me_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CancelJobIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel My Job V1 Me Jobs  Job Id  Cancel Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/jobs/{job_id}/events":{"get":{"tags":["work-ledger"],"summary":"List My Job Events","operationId":"list_my_job_events_v1_me_jobs__job_id__events_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEventsPageOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/me/jobs/{job_id}/events/stream":{"get":{"tags":["work-ledger"],"summary":"Stream My Job Events","operationId":"stream_my_job_events_v1_me_jobs__job_id__events_stream_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/workspace-grants/delegate":{"post":{"tags":["workspace-grants"],"summary":"Delegate Workspace Grant","description":"Mint a mechanically bounded child without exposing the platform key.\n\nDeployed agents receive only the verifying key. A valid parent capability\nmay request a child here; ``delegate_grant`` enforces path, source, LLM,\nmode, depth, and lifetime containment before the control plane signs it.","operationId":"delegate_workspace_grant_v1_workspace_grants_delegate_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceGrantDelegateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delegate Workspace Grant V1 Workspace Grants Delegate Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"workspaceGrant":[]}]}},"/v1/workspace-grants/files":{"get":{"tags":["workspace-grants"],"summary":"List Grant Files","operationId":"list_grant_files_v1_workspace_grants_files_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Grant Files V1 Workspace Grants Files Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"workspaceGrant":[]}]}},"/v1/workspace-grants/files/{path}":{"get":{"tags":["workspace-grants"],"summary":"Read Grant File","operationId":"read_grant_file_v1_workspace_grants_files__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"workspaceGrant":[]}]},"head":{"tags":["workspace-grants"],"summary":"Stat Grant File","operationId":"stat_grant_file_v1_workspace_grants_files__path__head","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"workspaceGrant":[]}]},"put":{"tags":["workspace-grants"],"summary":"Write Grant File","operationId":"write_grant_file_v1_workspace_grants_files__path__put","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"content-type","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content-Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"string","contentMediaType":"application/octet-stream","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Write Grant File V1 Workspace Grants Files  Path  Put"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"workspaceGrant":[]}]},"delete":{"tags":["workspace-grants"],"summary":"Delete Grant File","operationId":"delete_grant_file_v1_workspace_grants_files__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"workspaceGrant":[]}]}},"/v1/me/service-access":{"get":{"tags":["service-access"],"summary":"List Service Access","operationId":"list_service_access_v1_me_service_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccessOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/me/schedules":{"get":{"tags":["schedules"],"summary":"List Schedules","operationId":"list_schedules_v1_me_schedules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleOut"},"title":"Response List Schedules V1 Me Schedules Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"post":{"tags":["schedules"],"summary":"Create Schedule","operationId":"create_schedule_v1_me_schedules_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/schedules/{schedule_id}":{"patch":{"tags":["schedules"],"summary":"Update Schedule","operationId":"update_schedule_v1_me_schedules__schedule_id__patch","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"delete":{"tags":["schedules"],"summary":"Delete Schedule","operationId":"delete_schedule_v1_me_schedules__schedule_id__delete","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/schedules/{schedule_id}/run":{"post":{"tags":["schedules"],"summary":"Run Schedule Now","operationId":"run_schedule_now_v1_me_schedules__schedule_id__run_post","parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/platform/gitea-token":{"post":{"tags":["platform"],"summary":"Mint Gitea Token","description":"Mint a short-lived Gitea token scoped to a single ``(owner, repo)``.\n\nThe token is created as a dedicated service user (read or write\nvariant). The same user is added as a collaborator on the target repo\nwith a permission matching ``scope``. The returned token never has\nGitea admin power.","operationId":"mint_gitea_token_v1_platform_gitea_token_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiteaTokenRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiteaTokenResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/platform/gitea-token/{token_name}":{"delete":{"tags":["platform"],"summary":"Release Gitea Token","description":"Revoke a previously minted Gitea token. Idempotent.\n\nOnly the user who originally minted a given token may release it. Any\nother caller (or an unknown / already-revoked name) hits the 204 path\nquietly.","operationId":"release_gitea_token_v1_platform_gitea_token__token_name__delete","parameters":[{"name":"token_name","in":"path","required":true,"schema":{"type":"string","title":"Token Name"}}],"responses":{"204":{"description":"Successful Response"},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/platform/agent-session/verify":{"post":{"tags":["platform"],"summary":"Verify Agent Session","description":"Resolve the caller behind an agent-origin session cookie.\n\nHosted agents cannot use ``/v1/me`` for this: agent-scoped tokens are\ndeliberately rejected there. They ask here instead, naming themselves, and\na token minted for another agent will not resolve.","operationId":"verify_agent_session_v1_platform_agent_session_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSessionVerifyResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[]}},"/v1/platform/llm-grant":{"post":{"tags":["platform"],"summary":"Mint Llm Grant","description":"Return caller-funded LLM credentials for platform-declared agents.\n\nMCP tool calls do not pass through ``main_agent.tools.handoff``, but they\nstill need the platform layer to attach ``ctx.llm`` for agents that declare\n``LLMProvisioning.PLATFORM``. The old platform default key has been removed:\nplatform-declared agents now use the caller's saved LLM credential routed\nthrough LiteLLM.","operationId":"mint_llm_grant_v1_platform_llm_grant_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LLMGrantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LLMGrantResponse"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-runs":{"get":{"tags":["agents"],"summary":"List Review Runs","operationId":"list_review_runs_v1_agents__name__review_runs_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReviewRunOut"},"title":"Response List Review Runs V1 Agents  Name  Review Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-runs/latest":{"get":{"tags":["agents"],"summary":"Latest Review Run","operationId":"latest_review_run_v1_agents__name__review_runs_latest_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-runs/{review_id}":{"get":{"tags":["agents"],"summary":"Get Review Run","operationId":"get_review_run_v1_agents__name__review_runs__review_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/resolve":{"post":{"tags":["agent-studio"],"summary":"Resolve Studio Run","description":"Resolve reusable agents before any source or deployment is mutated.","operationId":"resolve_studio_run_v1_agents_studio_resolve_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioResolveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Studio Run V1 Agents Studio Resolve Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/guest-runs":{"post":{"tags":["agent-studio"],"summary":"Start Guest Studio Run","operationId":"start_guest_studio_run_v1_agents_studio_guest_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestStudioRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Start Guest Studio Run V1 Agents Studio Guest Runs Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalServerError"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"landingBuildKey":[]}]}},"/v1/agents/studio/guest-runs/{token}":{"get":{"tags":["agent-studio"],"summary":"Get Guest Studio Run","operationId":"get_guest_studio_run_v1_agents_studio_guest_runs__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Guest Studio Run V1 Agents Studio Guest Runs  Token  Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[]}},"/v1/agents/studio/guest-runs/claim":{"post":{"tags":["agent-studio"],"summary":"Claim Guest Studio Run","operationId":"claim_guest_studio_run_v1_agents_studio_guest_runs_claim_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestStudioClaimIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Claim Guest Studio Run V1 Agents Studio Guest Runs Claim Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"502":{"$ref":"#/components/responses/BadGateway"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/autopilot":{"get":{"tags":["agent-studio"],"summary":"Get Studio Autopilot","operationId":"get_studio_autopilot_v1_agents_studio_autopilot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioAutopilotPolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]},"put":{"tags":["agent-studio"],"summary":"Update Studio Autopilot","operationId":"update_studio_autopilot_v1_agents_studio_autopilot_put","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioAutopilotPolicyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioAutopilotPolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/autopilot/run":{"post":{"tags":["agent-studio"],"summary":"Run Studio Autopilot Now","operationId":"run_studio_autopilot_now_v1_agents_studio_autopilot_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioAutopilotPolicyOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/autopilot/proposals":{"get":{"tags":["agent-studio"],"summary":"List Studio Upgrade Proposals","operationId":"list_studio_upgrade_proposals_v1_agents_studio_autopilot_proposals_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StudioUpgradeProposalOut"},"title":"Response List Studio Upgrade Proposals V1 Agents Studio Autopilot Proposals Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/autopilot/proposals/{proposal_id}":{"get":{"tags":["agent-studio"],"summary":"Get Studio Upgrade Proposal","operationId":"get_studio_upgrade_proposal_v1_agents_studio_autopilot_proposals__proposal_id__get","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioUpgradeProposalOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/autopilot/proposals/{proposal_id}/decision":{"post":{"tags":["agent-studio"],"summary":"Decide Studio Upgrade Proposal","operationId":"decide_studio_upgrade_proposal_v1_agents_studio_autopilot_proposals__proposal_id__decision_post","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioProposalDecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioUpgradeProposalOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/idea-factory":{"post":{"tags":["agent-studio"],"summary":"Run Studio Idea Factory","description":"Score 100 mini-startups and optionally queue the best three builds.","operationId":"run_studio_idea_factory_v1_agents_studio_idea_factory_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioIdeaFactoryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Studio Idea Factory V1 Agents Studio Idea Factory Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/runs":{"post":{"tags":["agent-studio"],"summary":"Start Studio Run","operationId":"start_studio_run_v1_agents_studio_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioRunBriefIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"500":{"$ref":"#/components/responses/InternalServerError"},"502":{"$ref":"#/components/responses/BadGateway"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/runs/{run_id}":{"get":{"tags":["agent-studio"],"summary":"Get Studio Run","operationId":"get_studio_run_v1_agents_studio_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioRunOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/studio/runs/{run_id}/stream":{"get":{"tags":["agent-studio"],"summary":"Stream Studio Run","operationId":"stream_studio_run_v1_agents_studio_runs__run_id__stream_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-loops":{"post":{"tags":["adversarial-review-loops"],"summary":"Create Review Loop","operationId":"create_review_loop_v1_agents__name__review_loops_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["adversarial-review-loops"],"summary":"List Review Loops","operationId":"list_review_loops_v1_agents__name__review_loops_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReviewLoopOut"},"title":"Response List Review Loops V1 Agents  Name  Review Loops Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-loops/{job_id}/events":{"post":{"tags":["adversarial-review-loops"],"summary":"Record Review Loop Event","operationId":"record_review_loop_event_v1_agents__name__review_loops__job_id__events_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopEventIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-loops/{job_id}":{"get":{"tags":["adversarial-review-loops"],"summary":"Get Review Loop","operationId":"get_review_loop_v1_agents__name__review_loops__job_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/review-loops/{job_id}/stop":{"post":{"tags":["adversarial-review-loops"],"summary":"Stop Review Loop","operationId":"stop_review_loop_v1_agents__name__review_loops__job_id__stop_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopStopIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLoopOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations":{"post":{"tags":["protocol-simulations"],"summary":"Create Protocol Simulation","operationId":"create_protocol_simulation_v1_agents__name__protocol_simulations_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["protocol-simulations"],"summary":"List Protocol Simulations","operationId":"list_protocol_simulations_v1_agents__name__protocol_simulations_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProtocolSimulationOut"},"title":"Response List Protocol Simulations V1 Agents  Name  Protocol Simulations Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/scenarios":{"get":{"tags":["protocol-simulations"],"summary":"List Protocol Simulation Scenarios","operationId":"list_protocol_simulation_scenarios_v1_agents__name__protocol_simulations_scenarios_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Protocol Simulation Scenarios V1 Agents  Name  Protocol Simulations Scenarios Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/protocol-registry":{"get":{"tags":["protocol-simulations"],"summary":"List Protocol Pack Registry","operationId":"list_protocol_pack_registry_v1_agents__name__protocol_simulations_protocol_registry_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Protocol Pack Registry V1 Agents  Name  Protocol Simulations Protocol Registry Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/runtime-readiness":{"post":{"tags":["protocol-simulations"],"summary":"Check Protocol Runtime Readiness","operationId":"check_protocol_runtime_readiness_v1_agents__name__protocol_simulations_runtime_readiness_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolRuntimeReadinessIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Check Protocol Runtime Readiness V1 Agents  Name  Protocol Simulations Runtime Readiness Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/custom-templates":{"get":{"tags":["protocol-simulations"],"summary":"List Custom Protocol Simulation Templates","operationId":"list_custom_protocol_simulation_templates_v1_agents__name__protocol_simulations_custom_templates_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Custom Protocol Simulation Templates V1 Agents  Name  Protocol Simulations Custom Templates Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/custom-suite-templates":{"get":{"tags":["protocol-simulations"],"summary":"List Custom Protocol Simulation Suite Templates","operationId":"list_custom_protocol_simulation_suite_templates_v1_agents__name__protocol_simulations_custom_suite_templates_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Custom Protocol Simulation Suite Templates V1 Agents  Name  Protocol Simulations Custom Suite Templates Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/custom-runs":{"post":{"tags":["protocol-simulations"],"summary":"Run Custom Protocol Simulation","operationId":"run_custom_protocol_simulation_v1_agents__name__protocol_simulations_custom_runs_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomKernelSimulationRunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/custom-suites":{"post":{"tags":["protocol-simulations"],"summary":"Run Custom Protocol Simulation Suite","operationId":"run_custom_protocol_simulation_suite_v1_agents__name__protocol_simulations_custom_suites_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomKernelSuiteRunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/{job_id}":{"get":{"tags":["protocol-simulations"],"summary":"Get Protocol Simulation","operationId":"get_protocol_simulation_v1_agents__name__protocol_simulations__job_id__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/{job_id}/events":{"post":{"tags":["protocol-simulations"],"summary":"Record Protocol Simulation Event","operationId":"record_protocol_simulation_event_v1_agents__name__protocol_simulations__job_id__events_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationEventIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/{job_id}/scenario-runs":{"post":{"tags":["protocol-simulations"],"summary":"Record Protocol Simulation Scenario Run","operationId":"record_protocol_simulation_scenario_run_v1_agents__name__protocol_simulations__job_id__scenario_runs_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolScenarioRunIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"}},"security":[{"bearerAuth":[]}]}},"/v1/agents/{name}/protocol-simulations/{job_id}/stop":{"post":{"tags":["protocol-simulations"],"summary":"Stop Protocol Simulation","operationId":"stop_protocol_simulation_v1_agents__name__protocol_simulations__job_id__stop_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationStopIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtocolSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-evolution/runs":{"post":{"tags":["kernel-evolution"],"summary":"Run User Kernel Evolution","operationId":"run_user_kernel_evolution_v1_me_kernel_evolution_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelEvolutionRunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelEvolutionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["kernel-evolution"],"summary":"List User Kernel Evolution Runs","operationId":"list_user_kernel_evolution_runs_v1_me_kernel_evolution_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KernelEvolutionOut"},"title":"Response List User Kernel Evolution Runs V1 Me Kernel Evolution Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-evolution/runs/{job_id}":{"get":{"tags":["kernel-evolution"],"summary":"Get User Kernel Evolution Run","operationId":"get_user_kernel_evolution_run_v1_me_kernel_evolution_runs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelEvolutionOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-evolution/runs/{job_id}/replay":{"post":{"tags":["kernel-evolution"],"summary":"Replay User Kernel Evolution Run","operationId":"replay_user_kernel_evolution_run_v1_me_kernel_evolution_runs__job_id__replay_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelEvolutionReplayOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-simulations/templates":{"get":{"tags":["kernel-simulations"],"summary":"List User Kernel Simulation Templates","operationId":"list_user_kernel_simulation_templates_v1_me_kernel_simulations_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List User Kernel Simulation Templates V1 Me Kernel Simulations Templates Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-simulations/runs":{"post":{"tags":["kernel-simulations"],"summary":"Run User Kernel Simulation","operationId":"run_user_kernel_simulation_v1_me_kernel_simulations_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelSimulationRunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]},"get":{"tags":["kernel-simulations"],"summary":"List User Kernel Simulation Runs","operationId":"list_user_kernel_simulation_runs_v1_me_kernel_simulations_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KernelSimulationOut"},"title":"Response List User Kernel Simulation Runs V1 Me Kernel Simulations Runs Get"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-simulations/runs/{job_id}":{"get":{"tags":["kernel-simulations"],"summary":"Get User Kernel Simulation Run","operationId":"get_user_kernel_simulation_run_v1_me_kernel_simulations_runs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelSimulationOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}},"security":[{"bearerAuth":[]}]}},"/v1/me/kernel-simulations/runs/{job_id}/replay":{"post":{"tags":["kernel-simulations"],"summary":"Replay User Kernel Simulation Run","operationId":"replay_user_kernel_simulation_run_v1_me_kernel_simulations_runs__job_id__replay_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KernelSimulationReplayOut"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerAuth":[]}]}},"/.well-known/oauth-protected-resource":{"get":{"summary":"Oauth Protected Resource","operationId":"oauth_protected_resource__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Oauth Protected Resource  Well Known Oauth Protected Resource Get"}}}}},"security":[]}},"/mcp":{"post":{"summary":"Mcp Endpoint","operationId":"mcp_endpoint_mcp_post","parameters":[{"name":"accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Endpoint Mcp Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"get":{"summary":"Mcp Get Unsupported","operationId":"mcp_get_unsupported_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Get Unsupported Mcp Get"}}}},"405":{"$ref":"#/components/responses/MethodNotAllowed"}},"security":[]}},"/connector-mcp":{"post":{"summary":"Mcp Endpoint","operationId":"mcp_endpoint_connector_mcp_post","parameters":[{"name":"accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Endpoint Connector Mcp Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"get":{"summary":"Mcp Get Unsupported","operationId":"mcp_get_unsupported_connector_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Get Unsupported Connector Mcp Get"}}}},"405":{"$ref":"#/components/responses/MethodNotAllowed"}},"security":[]}},"/connector-mcp-v2":{"post":{"summary":"Mcp Endpoint","operationId":"mcp_endpoint_connector_mcp_v2_post","parameters":[{"name":"accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Endpoint Connector Mcp V2 Post"}}}},"422":{"$ref":"#/components/responses/UnprocessableEntity"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}},"security":[{"bearerAuth":[]}]},"get":{"summary":"Mcp Get Unsupported","operationId":"mcp_get_unsupported_connector_mcp_v2_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mcp Get Unsupported Connector Mcp V2 Get"}}}},"405":{"$ref":"#/components/responses/MethodNotAllowed"}},"security":[]}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Healthz Healthz Get"}}}}},"security":[]}}},"components":{"schemas":{"ActivateEdgeStep":{"properties":{"type":{"type":"string","const":"activate_edge","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"policies":{"items":{"$ref":"#/components/schemas/PolicyRuleSpec"},"type":"array","maxItems":80,"title":"Policies"},"decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Id"}},"additionalProperties":false,"type":"object","required":["type"],"title":"ActivateEdgeStep"},"ActivityPageOut":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","title":"ActivityPageOut"},"AdvanceTimeStep":{"properties":{"type":{"type":"string","const":"advance_time","title":"Type"},"seconds":{"type":"integer","minimum":0.0,"title":"Seconds","default":1}},"additionalProperties":false,"type":"object","required":["type"],"title":"AdvanceTimeStep"},"AgentAccountAccessOut":{"properties":{"agent":{"type":"string","title":"Agent"},"required":{"type":"boolean","title":"Required"},"platform_skill_calls":{"type":"integer","title":"Platform Skill Calls"},"platform_skill_calls_used":{"type":"integer","title":"Platform Skill Calls Used"},"platform_skill_calls_remaining":{"type":"integer","title":"Platform Skill Calls Remaining"},"after_trial":{"type":"string","title":"After Trial"},"has_byok":{"type":"boolean","title":"Has Byok"},"setup_url":{"type":"string","title":"Setup Url"}},"type":"object","required":["agent","required","platform_skill_calls","platform_skill_calls_used","platform_skill_calls_remaining","after_trial","has_byok","setup_url"],"title":"AgentAccountAccessOut"},"AgentApiTokenCreateIn":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name","default":"Default API token"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Scopes"}},"type":"object","title":"AgentApiTokenCreateIn"},"AgentApiTokenCreatedOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"name":{"type":"string","title":"Name"},"token_last4":{"type":"string","title":"Token Last4"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"enabled":{"type":"boolean","title":"Enabled"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"token":{"type":"string","title":"Token"}},"type":"object","required":["id","agent_name","name","token_last4","scopes","enabled","expires_at","last_used_at","created_at","updated_at","token"],"title":"AgentApiTokenCreatedOut"},"AgentApiTokenOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"name":{"type":"string","title":"Name"},"token_last4":{"type":"string","title":"Token Last4"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"enabled":{"type":"boolean","title":"Enabled"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","agent_name","name","token_last4","scopes","enabled","expires_at","last_used_at","created_at","updated_at"],"title":"AgentApiTokenOut"},"AgentAuthConnectIn":{"properties":{"scheme_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Scheme Name"},"scheme_type":{"type":"string","enum":["api_key","http","bearer","oauth2","oidc","mtls"],"title":"Scheme Type"},"credential_scope":{"type":"string","enum":["agent","user"],"title":"Credential Scope","default":"agent"},"value":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Value"},"token":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Token"},"scheme":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Scheme"},"location":{"anyOf":[{"type":"string","enum":["header","query"]},{"type":"null"}],"title":"Location"},"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"},"access_token":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Access Token"},"refresh_token":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Refresh Token"},"token_type":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Token Type","default":"Bearer"},"token_url":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Token Url"},"authorization_url":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Authorization Url"},"client_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Client Secret"},"expires_in":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expires In"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes","default":[]},"cert_pem":{"anyOf":[{"type":"string","maxLength":131072},{"type":"null"}],"title":"Cert Pem"},"key_pem":{"anyOf":[{"type":"string","maxLength":131072},{"type":"null"}],"title":"Key Pem"},"ca_pem":{"anyOf":[{"type":"string","maxLength":131072},{"type":"null"}],"title":"Ca Pem"}},"type":"object","required":["scheme_type"],"title":"AgentAuthConnectIn"},"AgentAuthConnectionOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"scheme_name":{"type":"string","title":"Scheme Name"},"scheme_type":{"type":"string","title":"Scheme Type"},"credential_scope":{"type":"string","title":"Credential Scope"},"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Verified At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","agent_name","scheme_name","scheme_type","credential_scope","status","expires_at","last_verified_at","metadata","created_at","updated_at"],"title":"AgentAuthConnectionOut"},"AgentAuthRequirementOut":{"properties":{"scheme_name":{"type":"string","title":"Scheme Name"},"scheme_type":{"type":"string","title":"Scheme Type"},"required":{"type":"boolean","title":"Required"},"supported":{"type":"boolean","title":"Supported"},"description":{"type":"string","title":"Description","default":""},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"scheme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scheme"},"authorization_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Url"},"token_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Url"},"open_id_connect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Open Id Connect Url"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","required":["scheme_name","scheme_type","required","supported"],"title":"AgentAuthRequirementOut"},"AgentAuthStatusOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"status":{"type":"string","title":"Status"},"requirements":{"items":{"$ref":"#/components/schemas/AgentAuthRequirementOut"},"type":"array","title":"Requirements"},"connections":{"items":{"$ref":"#/components/schemas/AgentAuthConnectionOut"},"type":"array","title":"Connections"}},"type":"object","required":["agent_name","status","requirements","connections"],"title":"AgentAuthStatusOut"},"AgentCallLogOut":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"status":{"type":"string","title":"Status"},"badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Badge"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"args_preview":{"additionalProperties":true,"type":"object","title":"Args Preview"},"result_preview":{"additionalProperties":true,"type":"object","title":"Result Preview"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["id","source","agent_name","skill_name","status","created_at"],"title":"AgentCallLogOut"},"AgentCodeEditorOut":{"properties":{"target_agent_name":{"type":"string","title":"Target Agent Name"},"enabled":{"type":"boolean","title":"Enabled"},"status":{"type":"string","title":"Status"},"shared_agent_name":{"type":"string","title":"Shared Agent Name"},"target_repo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Repo Url"},"workspace_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Key"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"enabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enabled At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"runtime":{"additionalProperties":true,"type":"object","title":"Runtime"}},"type":"object","required":["target_agent_name","enabled","status","shared_agent_name"],"title":"AgentCodeEditorOut"},"AgentComposeIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"version":{"type":"string","maxLength":64,"title":"Version","default":"0.1.0"},"public":{"type":"boolean","title":"Public","default":true},"manifest":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Manifest"},"composition":{"anyOf":[{},{"type":"null"}],"title":"Composition"},"goal":{"anyOf":[{},{"type":"null"}],"title":"Goal"},"memory":{"anyOf":[{},{"type":"null"}],"title":"Memory"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"},"refresh_existing":{"type":"boolean","title":"Refresh Existing","default":false}},"type":"object","title":"AgentComposeIn","description":"Generate and deploy an editable manifest-backed meta-agent."},"AgentComposePreviewOut":{"properties":{"name":{"type":"string","title":"Name"},"class_name":{"type":"string","title":"Class Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"skills":{"items":{"type":"string"},"type":"array","title":"Skills"},"composition":{"additionalProperties":true,"type":"object","title":"Composition"},"goal":{"additionalProperties":true,"type":"object","title":"Goal"},"memory":{"additionalProperties":true,"type":"object","title":"Memory"},"sub_agents":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Sub Agents"},"source_files":{"items":{"type":"string"},"type":"array","title":"Source Files"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings","default":[]}},"type":"object","required":["name","class_name","description","version","skills","composition","goal","memory","sub_agents","source_files"],"title":"AgentComposePreviewOut"},"AgentCustomDomainIn":{"properties":{"hostname":{"type":"string","maxLength":255,"minLength":3,"title":"Hostname"},"include_www":{"type":"boolean","title":"Include Www","default":false},"canonical_hostname":{"anyOf":[{"type":"string","maxLength":255,"minLength":3},{"type":"null"}],"title":"Canonical Hostname"}},"type":"object","required":["hostname"],"title":"AgentCustomDomainIn"},"AgentCustomDomainOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"hostname":{"type":"string","title":"Hostname"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"verification_record_name":{"type":"string","title":"Verification Record Name"},"verification_record_value":{"type":"string","title":"Verification Record Value"},"routing_record_type":{"type":"string","title":"Routing Record Type"},"routing_record_name":{"type":"string","title":"Routing Record Name"},"routing_record_value":{"type":"string","title":"Routing Record Value"},"routing_fallback_record_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routing Fallback Record Type"},"routing_fallback_record_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routing Fallback Record Name"},"routing_fallback_record_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routing Fallback Record Value"},"routing_fallback_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Routing Fallback Reason"},"dns_setup_kind":{"type":"string","title":"Dns Setup Kind"},"is_apex":{"type":"boolean","title":"Is Apex"},"paired_www_hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paired Www Hostname"},"canonical_hostname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Hostname"},"redirect_enabled":{"type":"boolean","title":"Redirect Enabled"},"redirect_target_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Target Url"},"certificate_status":{"type":"string","title":"Certificate Status"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"}},"type":"object","required":["id","agent_name","hostname","status","url","verification_record_name","verification_record_value","routing_record_type","routing_record_name","routing_record_value","dns_setup_kind","is_apex","redirect_enabled","certificate_status","verified_at","created_at","updated_at"],"title":"AgentCustomDomainOut"},"AgentDatabaseBindingOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_id":{"type":"integer","title":"Agent Id"},"agent_name":{"type":"string","title":"Agent Name"},"binding_name":{"type":"string","title":"Binding Name"},"env_var":{"type":"string","title":"Env Var"},"access_mode":{"type":"string","title":"Access Mode"},"status":{"type":"string","title":"Status"},"database_branch_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Database Branch Id"},"database_role_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Database Role Id"},"metadata_json":{"additionalProperties":true,"type":"object","title":"Metadata Json"}},"type":"object","required":["id","agent_id","agent_name","binding_name","env_var","access_mode","status"],"title":"AgentDatabaseBindingOut"},"AgentDeploymentEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"deploy_id":{"type":"string","title":"Deploy Id"},"agent_name":{"type":"string","title":"Agent Name"},"stage":{"type":"string","title":"Stage"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","deploy_id","agent_name","stage","status","message","data","created_at"],"title":"AgentDeploymentEventOut"},"AgentDeploymentLogOut":{"properties":{"stage":{"type":"string","title":"Stage"},"source":{"type":"string","title":"Source"},"content":{"type":"string","title":"Content"},"truncated":{"type":"boolean","title":"Truncated"},"byte_len":{"type":"integer","title":"Byte Len"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["stage","source","content","truncated","byte_len","created_at","updated_at"],"title":"AgentDeploymentLogOut"},"AgentDeploymentLogsOut":{"properties":{"deploy_id":{"type":"string","title":"Deploy Id"},"agent_name":{"type":"string","title":"Agent Name"},"logs":{"items":{"$ref":"#/components/schemas/AgentDeploymentLogOut"},"type":"array","title":"Logs","default":[]}},"type":"object","required":["deploy_id","agent_name"],"title":"AgentDeploymentLogsOut"},"AgentDeploymentOut":{"properties":{"id":{"type":"integer","title":"Id"},"deploy_id":{"type":"string","title":"Deploy Id"},"agent_name":{"type":"string","title":"Agent Name"},"trigger":{"type":"string","title":"Trigger"},"status":{"type":"string","title":"Status"},"source_repo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Repo Url"},"head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Head Sha"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"agent_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Url"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"verification":{"additionalProperties":true,"type":"object","title":"Verification"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"events":{"items":{"$ref":"#/components/schemas/AgentDeploymentEventOut"},"type":"array","title":"Events","default":[]}},"type":"object","required":["id","deploy_id","agent_name","trigger","status","source_repo_url","head_sha","image","agent_url","error","verification","created_at","updated_at","started_at","completed_at"],"title":"AgentDeploymentOut"},"AgentDetailOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"image":{"type":"string","title":"Image"},"public":{"type":"boolean","title":"Public"},"fork_policy":{"type":"string","enum":["private","organization","public"],"title":"Fork Policy","default":"organization"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"card":{"additionalProperties":true,"type":"object","title":"Card"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"seo_profile":{"anyOf":[{"$ref":"#/components/schemas/AgentSeoProfileOut"},{"type":"null"}]},"platform_internal":{"type":"boolean","title":"Platform Internal","default":false}},"type":"object","required":["id","name","description","version","image","public","status","url","card","created_at"],"title":"AgentDetailOut"},"AgentDossierResponse":{"properties":{"schema_version":{"type":"integer","title":"Schema Version","default":1},"agent":{"additionalProperties":true,"type":"object","title":"Agent"},"claims":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Claims"},"current_version":{"additionalProperties":true,"type":"object","title":"Current Version"},"ownership":{"additionalProperties":true,"type":"object","title":"Ownership"},"trust_profile":{"additionalProperties":true,"type":"object","title":"Trust Profile"},"authority_summary":{"additionalProperties":true,"type":"object","title":"Authority Summary"},"quality_summary":{"additionalProperties":true,"type":"object","title":"Quality Summary"},"mutation_summary":{"additionalProperties":true,"type":"object","title":"Mutation Summary"},"risk_summary":{"additionalProperties":true,"type":"object","title":"Risk Summary"},"graph_refs":{"additionalProperties":true,"type":"object","title":"Graph Refs"},"warnings":{"items":{"$ref":"#/components/schemas/EvidenceWarning"},"type":"array","title":"Warnings"},"redaction":{"$ref":"#/components/schemas/EvidenceRedaction"},"watermark":{"$ref":"#/components/schemas/EvidenceWatermark"}},"type":"object","required":["agent","redaction","watermark"],"title":"AgentDossierResponse"},"AgentFromComposeOut":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"repo_url":{"type":"string","title":"Repo Url"},"expected_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Url"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"},"head_sha":{"type":"string","title":"Head Sha"},"preview":{"$ref":"#/components/schemas/AgentComposePreviewOut"},"refreshed_existing":{"type":"boolean","title":"Refreshed Existing","default":false}},"type":"object","required":["name","version","status","repo_url","head_sha","preview"],"title":"AgentFromComposeOut","description":"Result of generating and deploying an editable meta-agent."},"AgentFromOpenAPIOut":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"repo_url":{"type":"string","title":"Repo Url"},"expected_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Url"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"},"head_sha":{"type":"string","title":"Head Sha"},"preview":{"$ref":"#/components/schemas/AgentOpenAPIPreviewOut"},"refreshed_existing":{"type":"boolean","title":"Refreshed Existing","default":false}},"type":"object","required":["name","version","status","repo_url","head_sha","preview"],"title":"AgentFromOpenAPIOut","description":"Result of generating and deploying an editable OpenAPI-backed agent."},"AgentFromSourceIn":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"version":{"type":"string","title":"Version"},"public":{"type":"boolean","title":"Public","default":true},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"}},"type":"object","required":["name","version"],"title":"AgentFromSourceIn","description":"Provision a user-editable source repo for an agent.\n\nBuild/deploy files live in the platform runtime repo created by the\ntarball deploy path."},"AgentFromSourceOut":{"properties":{"name":{"type":"string","title":"Name"},"push_url":{"type":"string","title":"Push Url"},"repo_url":{"type":"string","title":"Repo Url"},"expected_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Url"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"}},"type":"object","required":["name","push_url","repo_url","expected_url"],"title":"AgentFromSourceOut"},"AgentFromTarballOut":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"head_sha":{"type":"string","title":"Head Sha"},"deployment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deployment Id"}},"type":"object","required":["name","version","status","url","head_sha"],"title":"AgentFromTarballOut","description":"Result of a tarball deploy. The user never sees gitea internals."},"AgentImportAuthIn":{"properties":{"type":{"type":"string","maxLength":32,"title":"Type","default":"none"},"value":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Value"},"scheme":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Scheme"},"location":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Location"},"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"}},"type":"object","title":"AgentImportAuthIn"},"AgentImportIn":{"properties":{"url":{"type":"string","maxLength":400,"title":"Url"},"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"},"public":{"type":"boolean","title":"Public","default":false},"auth":{"anyOf":[{"$ref":"#/components/schemas/AgentImportAuthIn"},{"type":"null"}]},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"}},"type":"object","required":["url"],"title":"AgentImportIn"},"AgentImportOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"image":{"type":"string","title":"Image"},"public":{"type":"boolean","title":"Public"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"card":{"additionalProperties":true,"type":"object","title":"Card"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"source":{"type":"string","title":"Source","default":"external_a2a"},"card_hash":{"type":"string","title":"Card Hash"},"mcp":{"$ref":"#/components/schemas/AgentMCPOut"}},"type":"object","required":["id","name","description","version","image","public","status","url","card","created_at","card_hash","mcp"],"title":"AgentImportOut"},"AgentIntegrationLinkCreateIn":{"properties":{"url_token":{"type":"boolean","title":"Url Token","description":"Opt in to the lower-security form that embeds the token in the URL query string. Only needed for MCP/OpenAPI clients that cannot send an Authorization header.","default":false},"expires_in_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days"}},"type":"object","title":"AgentIntegrationLinkCreateIn"},"AgentIntegrationLinkCreatedOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"name":{"type":"string","title":"Name"},"token_last4":{"type":"string","title":"Token Last4"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"enabled":{"type":"boolean","title":"Enabled"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"openapi_url":{"type":"string","title":"Openapi Url"},"invoke_base_url":{"type":"string","title":"Invoke Base Url"},"sample_invoke_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sample Invoke Url"},"mcp_url":{"type":"string","title":"Mcp Url"},"token":{"type":"string","title":"Token"},"curl_example":{"type":"string","title":"Curl Example"},"token_placement":{"type":"string","title":"Token Placement","default":"header"},"auth_header":{"type":"string","title":"Auth Header","default":"Authorization: Bearer <token>"},"security_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Security Notice"}},"type":"object","required":["id","agent_name","name","token_last4","scopes","enabled","expires_at","last_used_at","created_at","updated_at","openapi_url","invoke_base_url","mcp_url","token","curl_example"],"title":"AgentIntegrationLinkCreatedOut"},"AgentIntegrationLinkOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"name":{"type":"string","title":"Name"},"token_last4":{"type":"string","title":"Token Last4"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"enabled":{"type":"boolean","title":"Enabled"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"openapi_url":{"type":"string","title":"Openapi Url"},"invoke_base_url":{"type":"string","title":"Invoke Base Url"},"sample_invoke_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sample Invoke Url"},"mcp_url":{"type":"string","title":"Mcp Url"}},"type":"object","required":["id","agent_name","name","token_last4","scopes","enabled","expires_at","last_used_at","created_at","updated_at","openapi_url","invoke_base_url","mcp_url"],"title":"AgentIntegrationLinkOut"},"AgentMCPOut":{"properties":{"mode":{"type":"string","title":"Mode"},"url":{"type":"string","title":"Url"},"connector_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connector Url"},"endpoints":{"additionalProperties":true,"type":"object","title":"Endpoints"}},"type":"object","required":["mode","url"],"title":"AgentMCPOut"},"AgentMailboxOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"address":{"type":"string","title":"Address"},"status":{"type":"string","title":"Status"},"quota_bytes":{"type":"integer","title":"Quota Bytes"},"allowed_senders":{"items":{"type":"string"},"type":"array","title":"Allowed Senders"},"daily_send_limit":{"type":"integer","title":"Daily Send Limit"},"outbound_count":{"type":"integer","title":"Outbound Count"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["agent_name","address","status","quota_bytes","daily_send_limit","outbound_count","created_at","updated_at"],"title":"AgentMailboxOut"},"AgentMailboxPatchIn":{"properties":{"allowed_senders":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Allowed Senders"}},"type":"object","required":["allowed_senders"],"title":"AgentMailboxPatchIn"},"AgentMarketplaceRunOut":{"properties":{"marketplace_run_id":{"type":"string","title":"Marketplace Run Id"},"payout_status":{"type":"string","title":"Payout Status"},"currency":{"type":"string","title":"Currency","default":"usd"},"price_usd":{"type":"number","title":"Price Usd"},"compute_usd":{"type":"number","title":"Compute Usd"},"markup_usd":{"type":"number","title":"Markup Usd"},"platform_fee_usd":{"type":"number","title":"Platform Fee Usd"},"seller_payout_usd":{"type":"number","title":"Seller Payout Usd"},"source":{"type":"string","title":"Source"},"source_run_id":{"type":"string","title":"Source Run Id"},"buyer_user_id":{"type":"integer","title":"Buyer User Id"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"status":{"type":"string","title":"Status"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["marketplace_run_id","payout_status","price_usd","compute_usd","markup_usd","platform_fee_usd","seller_payout_usd","source","source_run_id","buyer_user_id","agent_name","skill_name","status","created_at"],"title":"AgentMarketplaceRunOut"},"AgentMineOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"image":{"type":"string","title":"Image"},"public":{"type":"boolean","title":"Public"},"fork_policy":{"type":"string","enum":["private","organization","public"],"title":"Fork Policy","default":"organization"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"card":{"additionalProperties":true,"type":"object","title":"Card"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"seo_profile":{"anyOf":[{"$ref":"#/components/schemas/AgentSeoProfileOut"},{"type":"null"}]},"platform_internal":{"type":"boolean","title":"Platform Internal","default":false},"repo_url":{"type":"string","title":"Repo Url"},"runtime_upgrade":{"$ref":"#/components/schemas/AgentRuntimeUpgradeStatus"},"latest_deployment":{"anyOf":[{"$ref":"#/components/schemas/AgentDeploymentOut"},{"type":"null"}]},"openapi_source":{"anyOf":[{"$ref":"#/components/schemas/AgentOpenAPISourceOut"},{"type":"null"}]},"code_editor":{"$ref":"#/components/schemas/AgentCodeEditorOut"},"self_healing":{"additionalProperties":true,"type":"object","title":"Self Healing"}},"type":"object","required":["id","name","description","version","image","public","status","url","card","created_at","repo_url","runtime_upgrade","code_editor"],"title":"AgentMineOut"},"AgentMineSummaryOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"public":{"type":"boolean","title":"Public"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"skill_count":{"type":"integer","title":"Skill Count","default":0},"runtime_upgrade":{"$ref":"#/components/schemas/AgentRuntimeUpgradeStatus"},"latest_deployment":{"anyOf":[{"$ref":"#/components/schemas/AgentDeploymentOut"},{"type":"null"}]}},"type":"object","required":["id","name","description","version","public","status","url","created_at","runtime_upgrade"],"title":"AgentMineSummaryOut"},"AgentOpenAPIGenerateIn":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Url"},"urls":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Urls"},"name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"public":{"type":"boolean","title":"Public","default":true},"base_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Base Url"},"base_urls":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array","maxItems":12,"title":"Base Urls"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"},"refresh_existing":{"type":"boolean","title":"Refresh Existing","default":false}},"type":"object","title":"AgentOpenAPIGenerateIn","description":"Generate an editable A2APack source repo from an OpenAPI document."},"AgentOpenAPIPreviewOut":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"server_url":{"type":"string","title":"Server Url"},"server_urls":{"items":{"type":"string"},"type":"array","title":"Server Urls"},"operation_count":{"type":"integer","title":"Operation Count"},"operations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Operations"},"consumer_setup":{"additionalProperties":true,"type":"object","title":"Consumer Setup"},"security_schemes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Security Schemes"},"skills":{"items":{"type":"string"},"type":"array","title":"Skills"},"routing_mode":{"type":"string","title":"Routing Mode","default":"direct_operation_skills"},"direct_operation_skill_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Direct Operation Skill Limit"},"route_groups":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Route Groups"},"deepagent_skills":{"items":{"type":"string"},"type":"array","title":"Deepagent Skills"},"source_files":{"items":{"type":"string"},"type":"array","title":"Source Files"},"source_openapi_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Openapi Url"},"source_openapi_urls":{"items":{"type":"string"},"type":"array","title":"Source Openapi Urls"},"regenerable":{"type":"boolean","title":"Regenerable","default":false},"composite":{"type":"boolean","title":"Composite","default":false},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings","default":[]}},"type":"object","required":["name","description","version","server_url","operation_count","operations","consumer_setup","security_schemes","skills","source_files"],"title":"AgentOpenAPIPreviewOut"},"AgentOpenAPISourceOut":{"properties":{"url":{"type":"string","title":"Url"},"urls":{"items":{"type":"string"},"type":"array","title":"Urls"},"regenerable":{"type":"boolean","title":"Regenerable","default":true}},"type":"object","required":["url"],"title":"AgentOpenAPISourceOut"},"AgentOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"type":"string","title":"Version"},"image":{"type":"string","title":"Image"},"public":{"type":"boolean","title":"Public"},"fork_policy":{"type":"string","enum":["private","organization","public"],"title":"Fork Policy","default":"organization"},"status":{"type":"string","title":"Status"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"card":{"additionalProperties":true,"type":"object","title":"Card"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"seo_profile":{"anyOf":[{"$ref":"#/components/schemas/AgentSeoProfileOut"},{"type":"null"}]},"platform_internal":{"type":"boolean","title":"Platform Internal","default":false}},"type":"object","required":["id","name","description","version","image","public","status","url","card","created_at"],"title":"AgentOut"},"AgentPayoutSummaryOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"currency":{"type":"string","title":"Currency","default":"usd"},"run_count":{"type":"integer","title":"Run Count"},"payable_run_count":{"type":"integer","title":"Payable Run Count"},"gross_usd":{"type":"number","title":"Gross Usd"},"compute_usd":{"type":"number","title":"Compute Usd"},"markup_usd":{"type":"number","title":"Markup Usd"},"platform_fee_usd":{"type":"number","title":"Platform Fee Usd"},"seller_payout_usd":{"type":"number","title":"Seller Payout Usd"},"pending_payout_usd":{"type":"number","title":"Pending Payout Usd"},"paid_payout_usd":{"type":"number","title":"Paid Payout Usd"},"recent_runs":{"items":{"$ref":"#/components/schemas/AgentMarketplaceRunOut"},"type":"array","title":"Recent Runs"}},"type":"object","required":["agent_name","run_count","payable_run_count","gross_usd","compute_usd","markup_usd","platform_fee_usd","seller_payout_usd","pending_payout_usd","paid_payout_usd"],"title":"AgentPayoutSummaryOut"},"AgentProofRunIn":{"properties":{"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"args":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Args"},"args_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Args Json"}},"type":"object","title":"AgentProofRunIn"},"AgentProofRunOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"status":{"type":"string","title":"Status"},"badge":{"type":"string","title":"Badge"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"args_preview":{"additionalProperties":true,"type":"object","title":"Args Preview"},"result":{"additionalProperties":true,"type":"object","title":"Result"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"events_count":{"type":"integer","title":"Events Count","default":0},"file_ops_count":{"type":"integer","title":"File Ops Count","default":0},"card_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Hash"},"repo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo Url"},"head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Head Sha"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"agent_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Url"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","agent_name","skill_name","grant_id","status","badge","summary","error","args_preview","result","events","file_ops","card_hash","repo_url","head_sha","image","agent_url","elapsed_ms","created_at","started_at","completed_at"],"title":"AgentProofRunOut"},"AgentReceiptHeader":{"properties":{"receipt_id":{"type":"string","title":"Receipt Id"},"agent_name":{"type":"string","title":"Agent Name"},"agent_version":{"type":"string","title":"Agent Version"},"caller":{"type":"string","title":"Caller"},"task_id":{"type":"string","title":"Task Id"},"skill_name":{"type":"string","title":"Skill Name"},"status":{"type":"string","title":"Status"},"eval_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eval Score"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["receipt_id","agent_name","agent_version","caller","task_id","skill_name","status","eval_score","started_at","ended_at","elapsed_ms","created_at"],"title":"AgentReceiptHeader"},"AgentReceiptOut":{"properties":{"receipt_id":{"type":"string","title":"Receipt Id"},"agent_name":{"type":"string","title":"Agent Name"},"agent_version":{"type":"string","title":"Agent Version"},"caller":{"type":"string","title":"Caller"},"task_id":{"type":"string","title":"Task Id"},"skill_name":{"type":"string","title":"Skill Name"},"status":{"type":"string","title":"Status"},"eval_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eval Score"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"signed_token":{"type":"string","title":"Signed Token"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["receipt_id","agent_name","agent_version","caller","task_id","skill_name","status","eval_score","started_at","ended_at","elapsed_ms","created_at","signed_token","payload"],"title":"AgentReceiptOut"},"AgentRegisterIn":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"version":{"type":"string","title":"Version"},"image":{"type":"string","title":"Image"},"public":{"type":"boolean","title":"Public","default":true},"card":{"additionalProperties":true,"type":"object","title":"Card"}},"type":"object","required":["name","version","image","card"],"title":"AgentRegisterIn"},"AgentRegistryItemOut":{"properties":{"agent_id":{"type":"integer","title":"Agent Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"public":{"type":"boolean","title":"Public"},"description":{"type":"string","title":"Description"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"tools":{"items":{"type":"string"},"type":"array","title":"Tools"},"preferred_task_types":{"items":{"type":"string"},"type":"array","title":"Preferred Task Types"},"total_jobs":{"type":"integer","title":"Total Jobs"},"completed_jobs":{"type":"integer","title":"Completed Jobs"},"failed_jobs":{"type":"integer","title":"Failed Jobs"},"success_rate":{"type":"number","title":"Success Rate"},"review_critical_count":{"type":"integer","title":"Review Critical Count"},"review_warning_count":{"type":"integer","title":"Review Warning Count"},"memory_count":{"type":"integer","title":"Memory Count"},"dag_node_count":{"type":"integer","title":"Dag Node Count"},"outcome_score":{"type":"number","title":"Outcome Score"},"trust_score":{"type":"number","title":"Trust Score"},"routing_state":{"type":"string","enum":["trusted","candidate","degraded","blocked"],"title":"Routing State"},"last_activity_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Activity At"}},"type":"object","required":["agent_id","name","status","public","description","capabilities","tools","preferred_task_types","total_jobs","completed_jobs","failed_jobs","success_rate","review_critical_count","review_warning_count","memory_count","dag_node_count","outcome_score","trust_score","routing_state"],"title":"AgentRegistryItemOut"},"AgentReusePolicyIn":{"properties":{"fork_policy":{"type":"string","enum":["private","organization","public"],"title":"Fork Policy"}},"type":"object","required":["fork_policy"],"title":"AgentReusePolicyIn"},"AgentRiskProfileIn":{"properties":{"risk_tier":{"type":"string","title":"Risk Tier","default":"unclassified"},"intended_purpose":{"type":"string","title":"Intended Purpose","default":""},"human_oversight":{"type":"string","title":"Human Oversight","default":""},"notes":{"type":"string","title":"Notes","default":""}},"type":"object","title":"AgentRiskProfileIn"},"AgentRiskProfileOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"agent_version":{"type":"string","title":"Agent Version"},"risk_tier":{"type":"string","title":"Risk Tier"},"intended_purpose":{"type":"string","title":"Intended Purpose"},"human_oversight":{"type":"string","title":"Human Oversight"},"notes":{"type":"string","title":"Notes"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["agent_name","agent_version","risk_tier","intended_purpose","human_oversight","notes","updated_at"],"title":"AgentRiskProfileOut"},"AgentRuntimeUpgradeStatus":{"properties":{"package":{"type":"string","title":"Package"},"current_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Version"},"latest_version":{"type":"string","title":"Latest Version"},"update_available":{"type":"boolean","title":"Update Available"},"can_redeploy":{"type":"boolean","title":"Can Redeploy"},"message":{"type":"string","title":"Message"}},"type":"object","required":["package","current_version","latest_version","update_available","can_redeploy","message"],"title":"AgentRuntimeUpgradeStatus"},"AgentSearchInputFieldOut":{"properties":{"name":{"type":"string","title":"Name"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"required":{"type":"boolean","title":"Required","default":false}},"type":"object","required":["name"],"title":"AgentSearchInputFieldOut"},"AgentSearchOut":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"status":{"type":"string","title":"Status"},"public":{"type":"boolean","title":"Public"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"match_source":{"type":"string","title":"Match Source"},"llm_provisioning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provisioning"},"account_access":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Account Access"},"setup_required":{"type":"boolean","title":"Setup Required","default":false},"skills":{"items":{"$ref":"#/components/schemas/AgentSearchSkillOut"},"type":"array","title":"Skills","default":[]}},"type":"object","required":["name","description","status","public","url","match_source"],"title":"AgentSearchOut"},"AgentSearchSkillOut":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","default":[]},"input_fields":{"items":{"$ref":"#/components/schemas/AgentSearchInputFieldOut"},"type":"array","title":"Input Fields","default":[]}},"type":"object","required":["name"],"title":"AgentSearchSkillOut"},"AgentSecretIn":{"properties":{"key":{"type":"string","maxLength":128,"minLength":1,"title":"Key"},"value":{"type":"string","maxLength":32768,"minLength":1,"title":"Value"}},"type":"object","required":["key","value"],"title":"AgentSecretIn"},"AgentSecretOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"key":{"type":"string","title":"Key"},"value_redacted":{"type":"string","title":"Value Redacted"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","agent_name","key","value_redacted","created_at","updated_at"],"title":"AgentSecretOut"},"AgentSeoProfileOut":{"properties":{"status":{"type":"string","title":"Status"},"card_hash":{"type":"string","title":"Card Hash"},"content":{"additionalProperties":true,"type":"object","title":"Content"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Generated At"}},"type":"object","required":["status","card_hash","content"],"title":"AgentSeoProfileOut"},"AgentSessionExchangeIn":{"properties":{"code":{"type":"string","maxLength":128,"minLength":32,"pattern":"^[A-Za-z0-9_-]+$","title":"Code"},"audience":{"type":"string","maxLength":128,"minLength":1,"title":"Audience"}},"type":"object","required":["code","audience"],"title":"AgentSessionExchangeIn","description":"Posted server-side by an agent pod redeeming a browser hand-off code."},"AgentSessionExchangeOut":{"properties":{"token":{"type":"string","title":"Token"},"expires_at":{"type":"integer","title":"Expires At"},"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["token","expires_at","user_id","email"],"title":"AgentSessionExchangeOut"},"AgentSessionHeader":{"properties":{"session_id":{"type":"string","title":"Session Id"},"agent_name":{"type":"string","title":"Agent Name"},"agent_version":{"type":"string","title":"Agent Version"},"caller":{"type":"string","title":"Caller"},"task_id":{"type":"string","title":"Task Id"},"skill_name":{"type":"string","title":"Skill Name"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"started_at":{"type":"integer","title":"Started At"},"ended_at":{"type":"integer","title":"Ended At"},"event_count":{"type":"integer","title":"Event Count"}},"type":"object","required":["session_id","agent_name","agent_version","caller","task_id","skill_name","receipt_id","started_at","ended_at","event_count"],"title":"AgentSessionHeader"},"AgentSessionPostOut":{"properties":{"session_id":{"type":"string","title":"Session Id"},"agent_name":{"type":"string","title":"Agent Name"},"agent_version":{"type":"string","title":"Agent Version"},"caller":{"type":"string","title":"Caller"},"task_id":{"type":"string","title":"Task Id"},"skill_name":{"type":"string","title":"Skill Name"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"started_at":{"type":"integer","title":"Started At"},"ended_at":{"type":"integer","title":"Ended At"},"event_count":{"type":"integer","title":"Event Count"},"signed_token":{"type":"string","title":"Signed Token"},"events_object_key":{"type":"string","title":"Events Object Key"}},"type":"object","required":["session_id","agent_name","agent_version","caller","task_id","skill_name","receipt_id","started_at","ended_at","event_count","signed_token","events_object_key"],"title":"AgentSessionPostOut"},"AgentSessionVerifyRequest":{"properties":{"token":{"type":"string","maxLength":8192,"minLength":1,"title":"Token"},"audience":{"type":"string","maxLength":128,"minLength":1,"title":"Audience","description":"Agent name asking whose visitor this is."}},"type":"object","required":["token","audience"],"title":"AgentSessionVerifyRequest"},"AgentSessionVerifyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"AgentSessionVerifyResponse"},"AgentSshIn":{"properties":{"public_key":{"type":"string","title":"Public Key","description":"Caller's ephemeral SSH public key"},"credentials_json":{"anyOf":[{"type":"string","maxLength":16384},{"type":"null"}],"title":"Credentials Json","description":"Caller's ~/.a2a/credentials.json contents, injected into the dev box so its a2a CLI is already logged in"}},"type":"object","required":["public_key"],"title":"AgentSshIn"},"AgentSshOut":{"properties":{"agent":{"type":"string","title":"Agent"},"wss_url":{"type":"string","title":"Wss Url"},"access_token":{"type":"string","title":"Access Token"},"user":{"type":"string","title":"User"},"host":{"type":"string","title":"Host"}},"type":"object","required":["agent","wss_url","access_token","user","host"],"title":"AgentSshOut"},"AgentTemplateUpdateOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"update_policy":{"type":"string","title":"Update Policy"},"template_lineage":{"additionalProperties":true,"type":"object","title":"Template Lineage"},"message":{"type":"string","title":"Message"}},"type":"object","required":["agent_name","job_id","status","update_policy","template_lineage","message"],"title":"AgentTemplateUpdateOut"},"AgentVisibilityIn":{"properties":{"public":{"type":"boolean","title":"Public"}},"type":"object","required":["public"],"title":"AgentVisibilityIn"},"AgingRunIn":{"properties":{"mirror_minio":{"type":"boolean","title":"Mirror Minio","default":true}},"type":"object","title":"AgingRunIn"},"ApplyRewriteStep":{"properties":{"type":{"type":"string","const":"apply_rewrite","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"rewrite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rewrite Id"}},"additionalProperties":false,"type":"object","required":["type"],"title":"ApplyRewriteStep"},"ApproveRewriteStep":{"properties":{"type":{"type":"string","const":"approve_rewrite","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"rewrite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rewrite Id"},"review":{"type":"string","title":"Review","default":"passed"},"canary":{"type":"boolean","title":"Canary","default":true}},"additionalProperties":false,"type":"object","required":["type"],"title":"ApproveRewriteStep"},"AuthCliSessionCreateIn":{"properties":{"redirect_to":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Redirect To","default":"/"}},"type":"object","title":"AuthCliSessionCreateIn"},"AuthCliSessionCreateOut":{"properties":{"redeem_url":{"type":"string","title":"Redeem Url"},"expires_in":{"type":"integer","title":"Expires In"}},"type":"object","required":["redeem_url","expires_in"],"title":"AuthCliSessionCreateOut"},"AuthLogoutOut":{"properties":{"authenticated":{"type":"boolean","title":"Authenticated"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSessionOut"},{"type":"null"}]},"logout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logout Url"}},"type":"object","required":["authenticated"],"title":"AuthLogoutOut"},"AuthSessionOut":{"properties":{"authenticated":{"type":"boolean","title":"Authenticated"},"user":{"anyOf":[{"$ref":"#/components/schemas/UserSessionOut"},{"type":"null"}]}},"type":"object","required":["authenticated"],"title":"AuthSessionOut"},"BillingAgentInvocationUsageOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"invocation_count":{"type":"integer","title":"Invocation Count"},"external_user_count":{"type":"integer","title":"External User Count"}},"type":"object","required":["agent_name","invocation_count","external_user_count"],"title":"BillingAgentInvocationUsageOut"},"BillingCancelPlanOut":{"properties":{"summary":{"$ref":"#/components/schemas/BillingSummaryOut"}},"type":"object","required":["summary"],"title":"BillingCancelPlanOut"},"BillingCheckoutSessionOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"BillingCheckoutSessionOut"},"BillingFeatureDecisionOut":{"properties":{"allowed":{"type":"boolean","title":"Allowed"},"feature":{"type":"string","enum":["agents","custom_dns","invocations","agent_mailbox"],"title":"Feature"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"upgrade_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Url"}},"type":"object","required":["allowed","feature"],"title":"BillingFeatureDecisionOut"},"BillingInvoiceListOut":{"properties":{"invoices":{"items":{"$ref":"#/components/schemas/BillingInvoiceOut"},"type":"array","title":"Invoices"}},"type":"object","required":["invoices"],"title":"BillingInvoiceListOut"},"BillingInvoiceOut":{"properties":{"id":{"type":"string","title":"Id"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"currency":{"type":"string","title":"Currency"},"amount_due_cents":{"type":"integer","title":"Amount Due Cents"},"amount_paid_cents":{"type":"integer","title":"Amount Paid Cents"},"amount_remaining_cents":{"type":"integer","title":"Amount Remaining Cents"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"period_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period End"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf Url"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"}},"type":"object","required":["id","currency","amount_due_cents","amount_paid_cents","amount_remaining_cents"],"title":"BillingInvoiceOut"},"BillingPlanLimitsOut":{"properties":{"max_agents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Agents"},"monthly_invocations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Invocations"},"custom_dns":{"type":"boolean","title":"Custom Dns"},"agent_mailbox":{"type":"boolean","title":"Agent Mailbox"},"all_developer_features":{"type":"boolean","title":"All Developer Features"}},"type":"object","required":["max_agents","monthly_invocations","custom_dns","agent_mailbox","all_developer_features"],"title":"BillingPlanLimitsOut"},"BillingPortalSessionOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"BillingPortalSessionOut"},"BillingSummaryOut":{"properties":{"plan":{"type":"string","enum":["free","pro"],"title":"Plan"},"subscription_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Status"},"stripe_customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Customer Id"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"current_period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End"},"limits":{"$ref":"#/components/schemas/BillingPlanLimitsOut"},"agent_count":{"type":"integer","title":"Agent Count"},"monthly_invocation_count":{"type":"integer","title":"Monthly Invocation Count"},"monthly_external_user_count":{"type":"integer","title":"Monthly External User Count"},"monthly_agent_invocation_usage":{"items":{"$ref":"#/components/schemas/BillingAgentInvocationUsageOut"},"type":"array","title":"Monthly Agent Invocation Usage"},"monthly_period_start":{"type":"string","format":"date-time","title":"Monthly Period Start"},"can_create_agent":{"$ref":"#/components/schemas/BillingFeatureDecisionOut"},"can_use_custom_dns":{"$ref":"#/components/schemas/BillingFeatureDecisionOut"},"can_invoke_agent":{"$ref":"#/components/schemas/BillingFeatureDecisionOut"},"can_use_agent_mailbox":{"$ref":"#/components/schemas/BillingFeatureDecisionOut"},"pro_price_usd":{"type":"integer","title":"Pro Price Usd"},"upgrade_url":{"type":"string","title":"Upgrade Url"}},"type":"object","required":["plan","subscription_status","stripe_customer_id","stripe_subscription_id","current_period_end","cancel_at_period_end","limits","agent_count","monthly_invocation_count","monthly_external_user_count","monthly_period_start","can_create_agent","can_use_custom_dns","can_invoke_agent","can_use_agent_mailbox","pro_price_usd","upgrade_url"],"title":"BillingSummaryOut"},"Body_from_tarball_v1_agents_from_tarball_post":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"entrypoint":{"type":"string","title":"Entrypoint"},"agent_dsl":{"type":"string","title":"Agent Dsl"},"description":{"type":"string","title":"Description","default":""},"public":{"type":"boolean","title":"Public","default":true},"base_head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Head Sha"},"organization_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"},"source":{"type":"string","contentMediaType":"application/octet-stream","title":"Source"}},"type":"object","required":["name","version","entrypoint","agent_dsl","source"],"title":"Body_from_tarball_v1_agents_from_tarball_post"},"Body_upload_v1_me_files_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},"type":"object","required":["file"],"title":"Body_upload_v1_me_files_post"},"BountyClaimIn":{"properties":{"agent_name":{"type":"string","title":"Agent Name"}},"type":"object","required":["agent_name"],"title":"BountyClaimIn"},"BountyIn":{"properties":{"title":{"type":"string","maxLength":160,"minLength":4,"title":"Title"},"description":{"type":"string","maxLength":8000,"minLength":10,"title":"Description"},"example_input":{"type":"string","maxLength":4000,"title":"Example Input","default":""},"example_output":{"type":"string","maxLength":4000,"title":"Example Output","default":""},"tags":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Tags"},"reward_cents":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Reward Cents"},"currency":{"type":"string","maxLength":8,"minLength":3,"title":"Currency","default":"USD"}},"type":"object","required":["title","description","reward_cents"],"title":"BountyIn"},"BountyOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"example_input":{"type":"string","title":"Example Input"},"example_output":{"type":"string","title":"Example Output"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"reward_cents":{"type":"integer","title":"Reward Cents"},"currency":{"type":"string","title":"Currency"},"status":{"type":"string","title":"Status"},"posted_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Posted By Email"},"claimed_agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed Agent Name"},"claimed_agent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed Agent Status"},"claimed_agent_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed Agent Url"},"claimed_agent_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed Agent Version"},"claimed_agent_card":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Claimed Agent Card"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"fulfilled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Fulfilled At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","slug","title","description","example_input","example_output","tags","reward_cents","currency","status","created_at"],"title":"BountyOut"},"CancelJobIn":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CancelJobIn"},"CapabilitySpec":{"properties":{"actions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Actions"},"resources":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Resources"},"deny":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Deny"},"expires_at":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expires At"},"budget":{"type":"integer","minimum":0.0,"title":"Budget","default":0},"delegation_depth":{"type":"integer","minimum":0.0,"title":"Delegation Depth","default":0}},"additionalProperties":false,"type":"object","title":"CapabilitySpec"},"CheckPolicyStep":{"properties":{"type":{"type":"string","const":"check_policy","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Id"},"action":{"type":"string","title":"Action"},"resource":{"type":"string","title":"Resource"},"policies":{"items":{"$ref":"#/components/schemas/PolicyRuleSpec"},"type":"array","maxItems":80,"title":"Policies"}},"additionalProperties":false,"type":"object","required":["type","action","resource"],"title":"CheckPolicyStep"},"CollectiveRuntimeApproveIn":{"properties":{"approved_gate_ids":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Approved Gate Ids"}},"type":"object","title":"CollectiveRuntimeApproveIn"},"CollectiveRuntimeMemoryOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"namespace":{"type":"string","title":"Namespace"},"key":{"type":"string","title":"Key"},"value":{"additionalProperties":true,"type":"object","title":"Value"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["agent_name","namespace","key","value","metadata","updated_at"],"title":"CollectiveRuntimeMemoryOut"},"CollectiveRuntimePlanIn":{"properties":{"goal":{"type":"string","maxLength":16000,"minLength":1,"title":"Goal"},"risk":{"type":"string","enum":["low","medium","high"],"title":"Risk","default":"medium"},"budget_class":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}],"title":"Budget Class"},"max_agents":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Max Agents","default":5}},"type":"object","required":["goal"],"title":"CollectiveRuntimePlanIn"},"CollectiveRuntimePlanOut":{"properties":{"protocol_id":{"type":"string","title":"Protocol Id"},"protocol_label":{"type":"string","title":"Protocol Label"},"topology":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Topology"},"selected_agents":{"items":{"$ref":"#/components/schemas/AgentRegistryItemOut"},"type":"array","title":"Selected Agents"},"human_controls":{"items":{"type":"string"},"type":"array","title":"Human Controls"},"approval_gates":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Approval Gates"},"memory_refs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Memory Refs"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"}},"type":"object","required":["protocol_id","protocol_label","topology","selected_agents","human_controls","approval_gates","memory_refs","notes"],"title":"CollectiveRuntimePlanOut"},"CollectiveRuntimeRegistryOut":{"properties":{"agents":{"items":{"$ref":"#/components/schemas/AgentRegistryItemOut"},"type":"array","title":"Agents"}},"type":"object","required":["agents"],"title":"CollectiveRuntimeRegistryOut"},"CollectiveRuntimeRunIn":{"properties":{"goal":{"type":"string","maxLength":16000,"minLength":1,"title":"Goal"},"risk":{"type":"string","enum":["low","medium","high"],"title":"Risk","default":"medium"},"budget_class":{"anyOf":[{"type":"string","enum":["small","medium","large"]},{"type":"null"}],"title":"Budget Class"},"max_agents":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Max Agents","default":5},"thread_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Thread Id"},"approved_gate_ids":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Approved Gate Ids"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["goal"],"title":"CollectiveRuntimeRunIn"},"CollectiveRuntimeRunJobOut":{"properties":{"job_id":{"type":"string","title":"Job Id"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["job_id","status"],"title":"CollectiveRuntimeRunJobOut"},"CollectiveRuntimeRunNodeOut":{"properties":{"node_id":{"type":"string","title":"Node Id"},"role":{"type":"string","title":"Role"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"deps":{"items":{"type":"string"},"type":"array","title":"Deps"},"status":{"type":"string","title":"Status"},"child_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Child Job Id"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"result":{"additionalProperties":true,"type":"object","title":"Result"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"}},"type":"object","required":["node_id","role","agent_name","skill_name","deps","status","result","file_ops"],"title":"CollectiveRuntimeRunNodeOut"},"CollectiveRuntimeRunOut":{"properties":{"dag_run_id":{"type":"string","title":"Dag Run Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"status":{"type":"string","title":"Status"},"goal":{"type":"string","title":"Goal"},"protocol_id":{"type":"string","title":"Protocol Id"},"protocol_label":{"type":"string","title":"Protocol Label"},"topology":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Topology"},"approval_gates":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Approval Gates"},"approved_gate_ids":{"items":{"type":"string"},"type":"array","title":"Approved Gate Ids"},"blocked_gate_ids":{"items":{"type":"string"},"type":"array","title":"Blocked Gate Ids"},"memory_refs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Memory Refs"},"nodes":{"items":{"$ref":"#/components/schemas/CollectiveRuntimeRunNodeOut"},"type":"array","title":"Nodes"},"child_jobs":{"items":{"$ref":"#/components/schemas/CollectiveRuntimeRunJobOut"},"type":"array","title":"Child Jobs"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["dag_run_id","job_id","status","goal","protocol_id","protocol_label","topology","approval_gates","approved_gate_ids","blocked_gate_ids","memory_refs","nodes","child_jobs","notes","summary","created_at","updated_at","completed_at"],"title":"CollectiveRuntimeRunOut"},"CollectiveRuntimeScorecardsOut":{"properties":{"recent_jobs":{"items":{"$ref":"#/components/schemas/OutcomeScoreOut"},"type":"array","title":"Recent Jobs"},"protocols":{"items":{"$ref":"#/components/schemas/ScoreAggregateOut"},"type":"array","title":"Protocols"},"agents":{"items":{"$ref":"#/components/schemas/ScoreAggregateOut"},"type":"array","title":"Agents"}},"type":"object","required":["recent_jobs","protocols","agents"],"title":"CollectiveRuntimeScorecardsOut"},"CollectiveRuntimeStatusOut":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"runtime":{"additionalProperties":true,"type":"object","title":"Runtime"},"summary":{"additionalProperties":true,"type":"object","title":"Summary"}},"type":"object","required":["runtime","summary"],"title":"CollectiveRuntimeStatusOut"},"CollectiveRuntimeUpdateIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"CollectiveRuntimeUpdateIn"},"CompliancePolicyIn":{"properties":{"frameworks":{"items":{"type":"string"},"type":"array","title":"Frameworks"},"retention_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Retention Days","default":180},"legal_hold":{"type":"boolean","title":"Legal Hold","default":false},"legal_hold_reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Legal Hold Reason"}},"type":"object","title":"CompliancePolicyIn"},"CompliancePolicyOut":{"properties":{"frameworks":{"items":{"type":"string"},"type":"array","title":"Frameworks"},"retention_days":{"type":"integer","title":"Retention Days"},"retention_floor_days":{"type":"integer","title":"Retention Floor Days"},"legal_hold":{"type":"boolean","title":"Legal Hold"},"legal_hold_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Hold Reason"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"persisted":{"type":"boolean","title":"Persisted"}},"type":"object","required":["frameworks","retention_days","retention_floor_days","legal_hold","legal_hold_reason","updated_at","persisted"],"title":"CompliancePolicyOut"},"ComplianceStatusOut":{"properties":{"policy":{"$ref":"#/components/schemas/CompliancePolicyOut"},"retention_ok":{"type":"boolean","title":"Retention Ok"},"enforcement_date":{"type":"string","format":"date-time","title":"Enforcement Date"},"days_until_enforcement":{"type":"integer","title":"Days Until Enforcement"},"record_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Record Counts"},"oldest_record_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest Record At"},"agents_total":{"type":"integer","title":"Agents Total"},"agents_classified":{"type":"integer","title":"Agents Classified"},"agents_high_risk":{"type":"integer","title":"Agents High Risk"}},"type":"object","required":["policy","retention_ok","enforcement_date","days_until_enforcement","record_counts","oldest_record_at","agents_total","agents_classified","agents_high_risk"],"title":"ComplianceStatusOut"},"ConsumerSetupFieldOut":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description","default":""},"required":{"type":"boolean","title":"Required","default":true},"input_type":{"type":"string","title":"Input Type","default":"text"},"options":{"items":{"type":"string"},"type":"array","title":"Options"}},"type":"object","required":["name","kind","label"],"title":"ConsumerSetupFieldOut"},"ConsumerSetupInvocationOut":{"properties":{"consumer_config":{"additionalProperties":true,"type":"object","title":"Consumer Config"},"consumer_secrets":{"additionalProperties":{"type":"string"},"type":"object","title":"Consumer Secrets"}},"type":"object","required":["consumer_config","consumer_secrets"],"title":"ConsumerSetupInvocationOut"},"ConsumerSetupOrganizationOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"}},"type":"object","required":["id","slug","name","role"],"title":"ConsumerSetupOrganizationOut"},"ConsumerSetupStatusOut":{"properties":{"declaration":{"additionalProperties":{"items":{"$ref":"#/components/schemas/ConsumerSetupFieldOut"},"type":"array"},"type":"object","title":"Declaration"},"values":{"items":{"$ref":"#/components/schemas/ConsumerSetupValueOut"},"type":"array","title":"Values"},"missing_required":{"items":{"type":"string"},"type":"array","title":"Missing Required"},"complete":{"type":"boolean","title":"Complete"},"organization":{"anyOf":[{"$ref":"#/components/schemas/ConsumerSetupOrganizationOut"},{"type":"null"}]},"can_manage_org":{"type":"boolean","title":"Can Manage Org","default":false}},"type":"object","required":["declaration","values","missing_required","complete"],"title":"ConsumerSetupStatusOut"},"ConsumerSetupUpsertIn":{"properties":{"values":{"additionalProperties":true,"type":"object","title":"Values"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"}},"type":"object","title":"ConsumerSetupUpsertIn"},"ConsumerSetupValueOut":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"configured":{"type":"boolean","title":"Configured"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"value_redacted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Redacted"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["name","kind","configured"],"title":"ConsumerSetupValueOut"},"ControlPolicyIn":{"properties":{"monthly_budget_cents":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Monthly Budget Cents"},"run_budget_cents":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":0.0},{"type":"null"}],"title":"Run Budget Cents"},"max_agent_calls_per_run":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Max Agent Calls Per Run"},"require_approval_for_file_writes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Approval For File Writes"},"deny_external_network":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deny External Network"},"only_approved_agents":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Only Approved Agents"},"pii_safe_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pii Safe Mode"},"approved_agents":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Approved Agents"}},"type":"object","title":"ControlPolicyIn"},"ControlPolicyOut":{"properties":{"monthly_budget_cents":{"type":"integer","title":"Monthly Budget Cents"},"run_budget_cents":{"type":"integer","title":"Run Budget Cents"},"max_agent_calls_per_run":{"type":"integer","title":"Max Agent Calls Per Run"},"require_approval_for_file_writes":{"type":"boolean","title":"Require Approval For File Writes"},"deny_external_network":{"type":"boolean","title":"Deny External Network"},"only_approved_agents":{"type":"boolean","title":"Only Approved Agents"},"pii_safe_mode":{"type":"boolean","title":"Pii Safe Mode"},"approved_agents":{"items":{"type":"string"},"type":"array","title":"Approved Agents"}},"type":"object","required":["monthly_budget_cents","run_budget_cents","max_agent_calls_per_run","require_approval_for_file_writes","deny_external_network","only_approved_agents","pii_safe_mode"],"title":"ControlPolicyOut"},"ControlRoomOut":{"properties":{"policy":{"$ref":"#/components/schemas/ControlPolicyOut"},"summary":{"$ref":"#/components/schemas/ControlSummaryOut"},"timeline":{"items":{"$ref":"#/components/schemas/ControlTimelineItemOut"},"type":"array","title":"Timeline"}},"type":"object","required":["policy","summary","timeline"],"title":"ControlRoomOut"},"ControlSummaryOut":{"properties":{"monthly_spend_cents":{"type":"integer","title":"Monthly Spend Cents"},"monthly_budget_cents":{"type":"integer","title":"Monthly Budget Cents"},"run_budget_cents":{"type":"integer","title":"Run Budget Cents"},"llm_calls_month":{"type":"integer","title":"Llm Calls Month"},"llm_tokens_month":{"type":"integer","title":"Llm Tokens Month"},"agent_runs":{"type":"integer","title":"Agent Runs"},"dag_runs":{"type":"integer","title":"Dag Runs"},"failures":{"type":"integer","title":"Failures"},"files_touched":{"type":"integer","title":"Files Touched"}},"type":"object","required":["monthly_spend_cents","monthly_budget_cents","run_budget_cents","llm_calls_month","llm_tokens_month","agent_runs","dag_runs","failures","files_touched"],"title":"ControlSummaryOut"},"ControlTimelineItemOut":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"cost_cents":{"type":"integer","title":"Cost Cents","default":0},"token_count":{"type":"integer","title":"Token Count","default":0},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"receipt_path":{"type":"string","title":"Receipt Path"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["id","source","title","status","receipt_path","created_at"],"title":"ControlTimelineItemOut"},"CreateNodeStep":{"properties":{"type":{"type":"string","const":"create_node","title":"Type"},"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"}},"additionalProperties":false,"type":"object","required":["type","id"],"title":"CreateNodeStep"},"CreatePortStep":{"properties":{"type":{"type":"string","const":"create_port","title":"Type"},"node_id":{"type":"string","maxLength":80,"minLength":1,"title":"Node Id"},"id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Id"},"port_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Port Id"},"direction":{"type":"string","enum":["input","output","bidirectional"],"title":"Direction","default":"bidirectional"},"schema_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Schema Ref","default":"unknown"},"port_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Port Type"}},"additionalProperties":false,"type":"object","required":["type","node_id"],"title":"CreatePortStep"},"CreatorEarningsOut":{"properties":{"currency":{"type":"string","title":"Currency","default":"usd"},"gross_usd":{"type":"number","title":"Gross Usd"},"compute_usd":{"type":"number","title":"Compute Usd"},"platform_fee_usd":{"type":"number","title":"Platform Fee Usd"},"lifetime_earned_usd":{"type":"number","title":"Lifetime Earned Usd"},"paid_usd":{"type":"number","title":"Paid Usd"},"pending_usd":{"type":"number","title":"Pending Usd"},"payable_run_count":{"type":"integer","title":"Payable Run Count"},"agent_count":{"type":"integer","title":"Agent Count"}},"type":"object","required":["gross_usd","compute_usd","platform_fee_usd","lifetime_earned_usd","paid_usd","pending_usd","payable_run_count","agent_count"],"title":"CreatorEarningsOut"},"CreditLedgerEntryOut":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","title":"Kind"},"delta_usd":{"type":"number","title":"Delta Usd"},"balance_after_usd":{"type":"number","title":"Balance After Usd"},"currency":{"type":"string","title":"Currency"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"description":{"type":"string","title":"Description"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","kind","delta_usd","balance_after_usd","currency","description","created_at"],"title":"CreditLedgerEntryOut"},"CredsOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"base_url":{"type":"string","title":"Base Url"},"model":{"type":"string","title":"Model"},"temperature_mode":{"type":"string","title":"Temperature Mode"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature"},"extra_body":{"additionalProperties":true,"type":"object","title":"Extra Body"},"api_key_redacted":{"type":"string","title":"Api Key Redacted"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","base_url","model","temperature_mode","temperature","extra_body","api_key_redacted","created_at","updated_at"],"title":"CredsOut"},"CurrentFeatureFlagsOut":{"properties":{"enabled_keys":{"items":{"type":"string"},"type":"array","title":"Enabled Keys"}},"type":"object","required":["enabled_keys"],"title":"CurrentFeatureFlagsOut"},"CustomKernelSimulationRunIn":{"properties":{"spec":{"additionalProperties":true,"type":"object","title":"Spec"},"template_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Template Id"},"cost_cents":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Cost Cents","default":0}},"type":"object","title":"CustomKernelSimulationRunIn"},"CustomKernelSuiteRunIn":{"properties":{"suite":{"additionalProperties":true,"type":"object","title":"Suite"},"template_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Template Id"},"cost_cents":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Cost Cents","default":0}},"type":"object","title":"CustomKernelSuiteRunIn"},"DagRunNodeOut":{"properties":{"node_id":{"type":"string","title":"Node Id"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"deps":{"items":{"type":"string"},"type":"array","title":"Deps"},"args_json":{"type":"string","title":"Args Json"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result":{"additionalProperties":true,"type":"object","title":"Result"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["node_id","agent_name","skill_name","deps","args_json","status","summary","error","result","grant_id","file_ops","elapsed_ms","started_at","completed_at"],"title":"DagRunNodeOut"},"DagRunOut":{"properties":{"dag_run_id":{"type":"string","title":"Dag Run Id"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"goal":{"type":"string","title":"Goal"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"nodes_json":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nodes Json"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"nodes":{"items":{"$ref":"#/components/schemas/DagRunNodeOut"},"type":"array","title":"Nodes"}},"type":"object","required":["dag_run_id","thread_id","goal","status","summary","error","nodes_json","created_at","updated_at","completed_at"],"title":"DagRunOut"},"DatabaseBranchOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"branch_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Ref"},"protected":{"type":"boolean","title":"Protected"}},"type":"object","required":["id","name","status","protected"],"title":"DatabaseBranchOut"},"DatabaseProjectCreateIn":{"properties":{"name":{"type":"string","maxLength":63,"minLength":1,"title":"Name"},"display_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Display Name"},"scope":{"type":"string","pattern":"^(user|org)$","title":"Scope","default":"user"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"},"engine":{"type":"string","pattern":"^postgres$","title":"Engine","default":"postgres"}},"type":"object","required":["name"],"title":"DatabaseProjectCreateIn"},"DatabaseProjectDetailOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"display_name":{"type":"string","title":"Display Name"},"engine":{"type":"string","title":"Engine"},"status":{"type":"string","title":"Status"},"scope":{"type":"string","title":"Scope"},"organization_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"},"default_branch_name":{"type":"string","title":"Default Branch Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"project_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Ref"},"branches":{"items":{"$ref":"#/components/schemas/DatabaseBranchOut"},"type":"array","title":"Branches"},"roles":{"items":{"$ref":"#/components/schemas/DatabaseRoleOut"},"type":"array","title":"Roles"},"bindings":{"items":{"$ref":"#/components/schemas/AgentDatabaseBindingOut"},"type":"array","title":"Bindings"},"events":{"items":{"$ref":"#/components/schemas/DatabaseProvisionEventOut"},"type":"array","title":"Events"}},"type":"object","required":["id","name","display_name","engine","status","scope","default_branch_name","created_at"],"title":"DatabaseProjectDetailOut"},"DatabaseProjectOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"display_name":{"type":"string","title":"Display Name"},"engine":{"type":"string","title":"Engine"},"status":{"type":"string","title":"Status"},"scope":{"type":"string","title":"Scope"},"organization_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"},"default_branch_name":{"type":"string","title":"Default Branch Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","display_name","engine","status","scope","default_branch_name","created_at"],"title":"DatabaseProjectOut"},"DatabaseProvisionEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","status","message","created_at"],"title":"DatabaseProvisionEventOut"},"DatabaseProvisionerStatusOut":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"configured":{"type":"boolean","title":"Configured"},"ok":{"type":"boolean","title":"Ok"},"metrics":{"additionalProperties":true,"type":"object","title":"Metrics"}},"type":"object","required":["enabled","configured","ok"],"title":"DatabaseProvisionerStatusOut"},"DatabaseRoleOut":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"username":{"type":"string","title":"Username"},"database_name":{"type":"string","title":"Database Name"},"access_mode":{"type":"string","title":"Access Mode"},"status":{"type":"string","title":"Status"},"secret_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Ref"}},"type":"object","required":["id","name","username","database_name","access_mode","status"],"title":"DatabaseRoleOut"},"DecisionRecordDetailOut":{"properties":{"record_id":{"type":"string","title":"Record Id"},"kind":{"type":"string","enum":["skill_execution","authorization","admin_action"],"title":"Kind"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"actor":{"type":"string","title":"Actor"},"action":{"type":"string","title":"Action"},"outcome":{"type":"string","title":"Outcome"},"verifiable":{"type":"boolean","title":"Verifiable"},"details":{"additionalProperties":true,"type":"object","title":"Details"},"signed_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Token"},"signature_status":{"type":"string","enum":["valid","invalid","not_applicable"],"title":"Signature Status","default":"not_applicable"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["record_id","kind","recorded_at","occurred_at","agent_name","actor","action","outcome","verifiable","details"],"title":"DecisionRecordDetailOut"},"DecisionRecordOut":{"properties":{"record_id":{"type":"string","title":"Record Id"},"kind":{"type":"string","enum":["skill_execution","authorization","admin_action"],"title":"Kind"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"actor":{"type":"string","title":"Actor"},"action":{"type":"string","title":"Action"},"outcome":{"type":"string","title":"Outcome"},"verifiable":{"type":"boolean","title":"Verifiable"},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"type":"object","required":["record_id","kind","recorded_at","occurred_at","agent_name","actor","action","outcome","verifiable","details"],"title":"DecisionRecordOut"},"DelegateStep":{"properties":{"type":{"type":"string","const":"delegate","title":"Type"},"parent_capability_id":{"type":"string","title":"Parent Capability Id"},"child_capability_id":{"type":"string","title":"Child Capability Id"},"child_owner":{"type":"string","title":"Child Owner"},"requested":{"$ref":"#/components/schemas/CapabilitySpec"}},"additionalProperties":false,"type":"object","required":["type","parent_capability_id","child_capability_id","child_owner","requested"],"title":"DelegateStep"},"DispatchRunIn":{"properties":{"selection_run_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selection Run Dir"},"branch_prefix":{"type":"string","maxLength":48,"minLength":1,"title":"Branch Prefix","default":"company-brain"},"worker_agent":{"type":"string","maxLength":128,"minLength":1,"title":"Worker Agent","default":"code-editor-agent"},"skill_name":{"type":"string","maxLength":128,"minLength":1,"title":"Skill Name","default":"turn"},"execution_mode":{"type":"string","enum":["queued","memory_only","agent_api"],"title":"Execution Mode","default":"agent_api"},"memory_namespace":{"type":"string","maxLength":96,"minLength":1,"title":"Memory Namespace","default":"company-brain"},"max_jobs":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Jobs","default":20}},"type":"object","title":"DispatchRunIn"},"DispatchWorkerRunIn":{"properties":{"limit":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Limit","default":1}},"type":"object","title":"DispatchWorkerRunIn"},"DreamLoopRunIn":{"properties":{"max_dispatches":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Dispatches","default":12},"dispatch_worker_limit":{"type":"integer","maximum":8.0,"minimum":0.0,"title":"Dispatch Worker Limit","default":1},"min_completed_dispatches":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Min Completed Dispatches","default":1},"token_budget":{"type":"integer","minimum":1.0,"title":"Token Budget","default":200000},"budget_cents":{"type":"integer","minimum":0.0,"title":"Budget Cents","default":3000},"max_changed_files":{"type":"integer","minimum":1.0,"title":"Max Changed Files","default":20},"max_concurrent_agents":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Max Concurrent Agents","default":8},"wall_clock_seconds":{"type":"integer","minimum":60.0,"title":"Wall Clock Seconds","default":7200},"mirror_minio":{"type":"boolean","title":"Mirror Minio","default":true}},"type":"object","title":"DreamLoopRunIn"},"EmitReviewFindingStep":{"properties":{"type":{"type":"string","const":"emit_review_finding","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"finding_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Id"},"process_id":{"type":"string","title":"Process Id"},"reviewer":{"type":"string","title":"Reviewer"},"target":{"type":"string","title":"Target"},"severity":{"type":"string","title":"Severity","default":"info"},"cost":{"type":"integer","minimum":0.0,"title":"Cost","default":1}},"additionalProperties":false,"type":"object","required":["type","process_id","reviewer","target"],"title":"EmitReviewFindingStep"},"EmitSignalStep":{"properties":{"type":{"type":"string","const":"emit_signal","title":"Type"},"node_id":{"type":"string","title":"Node Id"},"signal_type":{"type":"string","title":"Signal Type"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["type","node_id","signal_type"],"title":"EmitSignalStep"},"EndpointSpec":{"properties":{"node_id":{"type":"string","maxLength":80,"minLength":1,"title":"Node Id"},"port_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Port Id"},"id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Id"}},"additionalProperties":false,"type":"object","required":["node_id"],"title":"EndpointSpec"},"EvidenceChain":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"status":{"type":"string","title":"Status"},"confidence":{"type":"string","enum":["strict","inferred","none"],"title":"Confidence","default":"none"},"node_ids":{"items":{"type":"string"},"type":"array","title":"Node Ids"},"edge_ids":{"items":{"type":"string"},"type":"array","title":"Edge Ids"},"warnings":{"items":{"$ref":"#/components/schemas/EvidenceWarning"},"type":"array","title":"Warnings"}},"type":"object","required":["id","type","status"],"title":"EvidenceChain"},"EvidenceDagResponse":{"properties":{"schema_version":{"type":"integer","title":"Schema Version","default":1},"agent":{"additionalProperties":true,"type":"object","title":"Agent"},"nodes":{"items":{"$ref":"#/components/schemas/EvidenceNode"},"type":"array","title":"Nodes"},"edges":{"items":{"$ref":"#/components/schemas/EvidenceEdge"},"type":"array","title":"Edges"},"chains":{"items":{"$ref":"#/components/schemas/EvidenceChain"},"type":"array","title":"Chains"},"warnings":{"items":{"$ref":"#/components/schemas/EvidenceWarning"},"type":"array","title":"Warnings"},"redaction":{"$ref":"#/components/schemas/EvidenceRedaction"},"watermark":{"$ref":"#/components/schemas/EvidenceWatermark"}},"type":"object","required":["agent","redaction","watermark"],"title":"EvidenceDagResponse"},"EvidenceEdge":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"confidence":{"type":"string","enum":["strict","inferred","none"],"title":"Confidence","default":"strict"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"provenance":{"items":{"$ref":"#/components/schemas/EvidenceProvenanceRef"},"type":"array","title":"Provenance"}},"type":"object","required":["id","type","source","target"],"title":"EvidenceEdge"},"EvidenceExportIn":{"properties":{"from_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From At"},"to_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To At"},"kinds":{"items":{"type":"string","enum":["skill_execution","authorization","admin_action"]},"type":"array","title":"Kinds"},"max_records":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Max Records","default":1000},"verify_signatures":{"type":"boolean","title":"Verify Signatures","default":true}},"type":"object","title":"EvidenceExportIn"},"EvidenceNode":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"label":{"type":"string","title":"Label"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"provenance":{"items":{"$ref":"#/components/schemas/EvidenceProvenanceRef"},"type":"array","title":"Provenance"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","type","label"],"title":"EvidenceNode"},"EvidenceProvenanceRef":{"properties":{"source":{"type":"string","title":"Source"},"row_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Row Id"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"join_rule":{"type":"string","title":"Join Rule"}},"type":"object","required":["source","join_rule"],"title":"EvidenceProvenanceRef"},"EvidenceRedaction":{"properties":{"view":{"type":"string","enum":["owner","public","operator"],"title":"View"},"include_payloads":{"type":"boolean","title":"Include Payloads","default":false},"omitted_classes":{"items":{"type":"string"},"type":"array","title":"Omitted Classes"}},"type":"object","required":["view"],"title":"EvidenceRedaction"},"EvidenceTimelineItem":{"properties":{"id":{"type":"string","title":"Id"},"lane":{"type":"string","enum":["version","authority","mutation","quality","process","cost","control"],"title":"Lane"},"node_id":{"type":"string","title":"Node Id"},"type":{"type":"string","title":"Type"},"label":{"type":"string","title":"Label"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"confidence":{"type":"string","enum":["strict","inferred","none"],"title":"Confidence","default":"strict"},"edge_ids":{"items":{"type":"string"},"type":"array","title":"Edge Ids"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"provenance":{"items":{"$ref":"#/components/schemas/EvidenceProvenanceRef"},"type":"array","title":"Provenance"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","lane","node_id","type","label"],"title":"EvidenceTimelineItem"},"EvidenceTimelineResponse":{"properties":{"schema_version":{"type":"integer","title":"Schema Version","default":1},"agent":{"additionalProperties":true,"type":"object","title":"Agent"},"items":{"items":{"$ref":"#/components/schemas/EvidenceTimelineItem"},"type":"array","title":"Items"},"warnings":{"items":{"$ref":"#/components/schemas/EvidenceWarning"},"type":"array","title":"Warnings"},"redaction":{"$ref":"#/components/schemas/EvidenceRedaction"},"watermark":{"$ref":"#/components/schemas/EvidenceWatermark"}},"type":"object","required":["agent","redaction","watermark"],"title":"EvidenceTimelineResponse"},"EvidenceWarning":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity","default":"info"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"}},"type":"object","required":["code","message"],"title":"EvidenceWarning"},"EvidenceWatermark":{"properties":{"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"source_row_count":{"type":"integer","title":"Source Row Count"},"projection":{"type":"string","title":"Projection","default":"read_only_v0"}},"type":"object","required":["generated_at","source_row_count"],"title":"EvidenceWatermark"},"FeedbackRunIn":{"properties":{"selection_run_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selection Run Dir"},"min_completed_dispatches":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Min Completed Dispatches","default":0}},"type":"object","title":"FeedbackRunIn"},"FileOpOut":{"properties":{"op":{"type":"string","title":"Op"},"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["op","path","size"],"title":"FileOpOut"},"FreezeEdgeStep":{"properties":{"type":{"type":"string","const":"freeze_edge","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"reason":{"type":"string","title":"Reason","default":"custom simulation edge freeze"}},"additionalProperties":false,"type":"object","required":["type"],"title":"FreezeEdgeStep"},"FreezeNodeStep":{"properties":{"type":{"type":"string","const":"freeze_node","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"reason":{"type":"string","title":"Reason","default":"custom simulation freeze"}},"additionalProperties":false,"type":"object","required":["type"],"title":"FreezeNodeStep"},"GiteaOrganizationOut":{"properties":{"status":{"type":"string","title":"Status"},"org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Name"},"org_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Url"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"provisioned_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Provisioned At"}},"type":"object","required":["status"],"title":"GiteaOrganizationOut"},"GiteaRepositoryOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"repo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repo"},"mount_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mount Path"},"kind":{"type":"string","title":"Kind","default":"agent"},"organization_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Organization Id"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"repo_url":{"type":"string","title":"Repo Url"},"agent_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Url"},"status":{"type":"string","title":"Status"},"public":{"type":"boolean","title":"Public"}},"type":"object","required":["agent_name","repo_url","status","public"],"title":"GiteaRepositoryOut"},"GiteaServiceOut":{"properties":{"base_url":{"type":"string","title":"Base Url"},"username":{"type":"string","title":"Username"},"auth_mode":{"type":"string","title":"Auth Mode"},"repositories":{"items":{"$ref":"#/components/schemas/GiteaRepositoryOut"},"type":"array","title":"Repositories"}},"type":"object","required":["base_url","username","auth_mode","repositories"],"title":"GiteaServiceOut"},"GiteaTokenRequest":{"properties":{"repo":{"type":"string","title":"Repo","description":"Repository name the caller intends to read/write."},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner","description":"Repository owner. Defaults to the platform's Gitea admin user."},"scope":{"type":"string","enum":["read","write"],"title":"Scope","default":"read"},"ttl_seconds":{"type":"integer","maximum":86400.0,"minimum":60.0,"title":"Ttl Seconds","default":900},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose","description":"Free-text reason (meta-agent name, run id, etc.) for the audit log."}},"type":"object","required":["repo"],"title":"GiteaTokenRequest"},"GiteaTokenResponse":{"properties":{"token":{"type":"string","title":"Token"},"token_name":{"type":"string","title":"Token Name"},"username":{"type":"string","title":"Username"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"expires_at":{"type":"integer","title":"Expires At"},"repo":{"type":"string","title":"Repo"},"owner":{"type":"string","title":"Owner"}},"type":"object","required":["token","token_name","username","scopes","expires_at","repo","owner"],"title":"GiteaTokenResponse"},"GrantAuditOut":{"properties":{"id":{"type":"integer","title":"Id"},"grant_id":{"type":"string","title":"Grant Id"},"parent_grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Grant Id"},"issuer":{"type":"string","title":"Issuer"},"audience":{"type":"string","title":"Audience"},"bucket":{"type":"string","title":"Bucket"},"mode":{"type":"string","title":"Mode"},"allow_patterns":{"items":{"type":"string"},"type":"array","title":"Allow Patterns"},"deny_patterns":{"items":{"type":"string"},"type":"array","title":"Deny Patterns"},"outputs_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outputs Prefix"},"ttl_seconds":{"type":"integer","title":"Ttl Seconds"},"decision":{"type":"string","title":"Decision"},"decided_by":{"type":"string","title":"Decided By"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","grant_id","parent_grant_id","issuer","audience","bucket","mode","allow_patterns","deny_patterns","outputs_prefix","ttl_seconds","decision","decided_by","reason","created_at"],"title":"GrantAuditOut"},"GuestStudioClaimIn":{"properties":{"token":{"type":"string","maxLength":128,"minLength":32,"title":"Token"}},"type":"object","required":["token"],"title":"GuestStudioClaimIn"},"GuestStudioRunIn":{"properties":{"goal":{"type":"string","maxLength":800,"minLength":18,"title":"Goal"},"email":{"type":"string","maxLength":254,"minLength":5,"title":"Email"},"suggested_name":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Suggested Name"}},"type":"object","required":["goal","email"],"title":"GuestStudioRunIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeartbeatProcessStep":{"properties":{"type":{"type":"string","const":"heartbeat_process","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"}},"additionalProperties":false,"type":"object","required":["type"],"title":"HeartbeatProcessStep"},"InstalledAgentAuthConnectionOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"scheme_name":{"type":"string","title":"Scheme Name"},"scheme_type":{"type":"string","title":"Scheme Type"},"credential_scope":{"type":"string","title":"Credential Scope"},"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Verified At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","agent_name","scheme_name","scheme_type","credential_scope","status","expires_at","last_verified_at","metadata","created_at","updated_at"],"title":"InstalledAgentAuthConnectionOut"},"InstalledAgentOrganizationOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"}},"type":"object","required":["id","slug","name","role"],"title":"InstalledAgentOrganizationOut"},"InstalledAgentOut":{"properties":{"agent":{"$ref":"#/components/schemas/AgentOut"},"setup_values":{"items":{"$ref":"#/components/schemas/InstalledAgentSetupValueOut"},"type":"array","title":"Setup Values"},"auth_connections":{"items":{"$ref":"#/components/schemas/InstalledAgentAuthConnectionOut"},"type":"array","title":"Auth Connections"},"missing_required":{"items":{"type":"string"},"type":"array","title":"Missing Required"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["agent","setup_values","auth_connections","missing_required"],"title":"InstalledAgentOut"},"InstalledAgentSetupValueOut":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"configured":{"type":"boolean","title":"Configured"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"value_redacted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Redacted"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"label":{"type":"string","title":"Label"},"required":{"type":"boolean","title":"Required"},"input_type":{"type":"string","title":"Input Type"},"scope":{"type":"string","title":"Scope"},"organization":{"anyOf":[{"$ref":"#/components/schemas/InstalledAgentOrganizationOut"},{"type":"null"}]}},"type":"object","required":["name","kind","configured","label","required","input_type","scope"],"title":"InstalledAgentSetupValueOut"},"JobEventsPageOut":{"properties":{"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","title":"JobEventsPageOut"},"KernelActorSpec":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_.:-]+$","title":"Id"},"label":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Label"},"role":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Role"}},"type":"object","required":["id"],"title":"KernelActorSpec"},"KernelCapabilitySpec":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"},"owner":{"type":"string","maxLength":80,"minLength":1,"title":"Owner"},"actions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Actions"},"resources":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Resources"},"budget":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Budget","default":10},"delegation_depth":{"type":"integer","maximum":20.0,"minimum":0.0,"title":"Delegation Depth","default":1}},"type":"object","required":["id","owner"],"title":"KernelCapabilitySpec"},"KernelEdgeSpec":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Id"},"edge_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Edge Id"},"from":{"$ref":"#/components/schemas/KernelEndpointSpec"},"to":{"$ref":"#/components/schemas/KernelEndpointSpec"},"edge_type":{"type":"string","maxLength":80,"minLength":1,"title":"Edge Type","default":"call"},"capability_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Capability Id"},"process_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Process Id"},"provenance_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Provenance Ref"}},"type":"object","required":["from","to"],"title":"KernelEdgeSpec"},"KernelEndpointSpec":{"properties":{"node_id":{"type":"string","maxLength":80,"minLength":1,"title":"Node Id"},"port_id":{"type":"string","maxLength":80,"minLength":1,"title":"Port Id"}},"type":"object","required":["node_id","port_id"],"title":"KernelEndpointSpec"},"KernelEvolutionOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["job"],"title":"KernelEvolutionOut"},"KernelEvolutionReplayOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"replay_passed":{"type":"boolean","title":"Replay Passed"},"original_summary":{"additionalProperties":true,"type":"object","title":"Original Summary"},"replay_summary":{"additionalProperties":true,"type":"object","title":"Replay Summary"}},"type":"object","required":["job","replay_passed","original_summary","replay_summary"],"title":"KernelEvolutionReplayOut"},"KernelEvolutionRunIn":{"properties":{"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title","default":"Kernel evolution experiment"},"base_template_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Base Template Id"},"base_spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Base Spec"},"participants":{"anyOf":[{"items":{},"type":"array","maxItems":12,"minItems":2},{"type":"null"}],"title":"Participants"},"strategy":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Strategy"},"simulation_type":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Simulation Type"},"seed":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Seed"},"variant_count":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Variant Count","default":3},"max_score_delta":{"type":"number","maximum":25.0,"minimum":0.0,"title":"Max Score Delta","default":3},"thread_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Thread Id"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","title":"KernelEvolutionRunIn"},"KernelPolicySpec":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"},"level":{"type":"string","enum":["platform","org","owner","process"],"title":"Level","default":"owner"},"effect":{"type":"string","enum":["allow","deny","freeze","revoke","require_approval","require_narrower_scope"],"title":"Effect","default":"allow"},"actions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Actions"},"resources":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Resources"}},"type":"object","required":["id"],"title":"KernelPolicySpec"},"KernelPortSpec":{"properties":{"node_id":{"type":"string","maxLength":80,"minLength":1,"title":"Node Id"},"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"},"direction":{"type":"string","enum":["input","output","bidirectional"],"title":"Direction","default":"bidirectional"},"schema_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Schema Ref","default":"kernel.signal.v1"},"port_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Port Type"}},"type":"object","required":["node_id","id"],"title":"KernelPortSpec"},"KernelSimulationOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["job"],"title":"KernelSimulationOut"},"KernelSimulationReplayOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"replay_passed":{"type":"boolean","title":"Replay Passed"},"original_summary":{"additionalProperties":true,"type":"object","title":"Original Summary"},"replay_summary":{"additionalProperties":true,"type":"object","title":"Replay Summary"}},"type":"object","required":["job","replay_passed","original_summary","replay_summary"],"title":"KernelSimulationReplayOut"},"KernelSimulationRunIn":{"properties":{"spec":{"anyOf":[{"$ref":"#/components/schemas/KernelSimulationSpec"},{"type":"null"}]},"template_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Template Id"},"cost_cents":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Cost Cents","default":0},"thread_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Thread Id"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Idempotency Key"},"execution_mode":{"type":"string","enum":["bounded","hybrid"],"title":"Execution Mode","default":"bounded"},"max_live_calls":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Max Live Calls","default":3}},"type":"object","title":"KernelSimulationRunIn"},"KernelSimulationSpec":{"properties":{"simulation_type":{"type":"string","enum":["market","tournament","school","adversarial_arena","resource_competition","capability_lifecycle","partnership"],"title":"Simulation Type"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"goal":{"type":"string","maxLength":1000,"minLength":1,"title":"Goal"},"scenario_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Scenario Id"},"actors":{"items":{"$ref":"#/components/schemas/KernelActorSpec"},"type":"array","maxItems":25,"title":"Actors"},"ports":{"items":{"$ref":"#/components/schemas/KernelPortSpec"},"type":"array","maxItems":120,"title":"Ports"},"edges":{"items":{"$ref":"#/components/schemas/KernelEdgeSpec"},"type":"array","maxItems":120,"title":"Edges"},"capabilities":{"items":{"$ref":"#/components/schemas/KernelCapabilitySpec"},"type":"array","maxItems":60,"title":"Capabilities"},"policies":{"items":{"$ref":"#/components/schemas/KernelPolicySpec"},"type":"array","maxItems":80,"title":"Policies"},"steps":{"items":{"oneOf":[{"$ref":"#/components/schemas/CreateNodeStep"},{"$ref":"#/components/schemas/MintCapabilityStep"},{"$ref":"#/components/schemas/CreatePortStep"},{"$ref":"#/components/schemas/ProposeEdgeStep"},{"$ref":"#/components/schemas/ActivateEdgeStep"},{"$ref":"#/components/schemas/UseEdgeStep"},{"$ref":"#/components/schemas/FreezeEdgeStep"},{"$ref":"#/components/schemas/AdvanceTimeStep"},{"$ref":"#/components/schemas/DelegateStep"},{"$ref":"#/components/schemas/UseCapabilityStep"},{"$ref":"#/components/schemas/EmitSignalStep"},{"$ref":"#/components/schemas/SelectRouteStep"},{"$ref":"#/components/schemas/RecordOutcomeStep"},{"$ref":"#/components/schemas/ScoreParticipantStep"},{"$ref":"#/components/schemas/SelectWinnerStep"},{"$ref":"#/components/schemas/CheckPolicyStep"},{"$ref":"#/components/schemas/StartProtocolSimulationStep"},{"$ref":"#/components/schemas/StartProcessStep"},{"$ref":"#/components/schemas/HeartbeatProcessStep"},{"$ref":"#/components/schemas/StopProcessStep"},{"$ref":"#/components/schemas/RecordProtocolEpisodeStep"},{"$ref":"#/components/schemas/StartReviewLoopStep"},{"$ref":"#/components/schemas/EmitReviewFindingStep"},{"$ref":"#/components/schemas/ProposeFixStep"},{"$ref":"#/components/schemas/ProposeRewriteStep"},{"$ref":"#/components/schemas/ApproveRewriteStep"},{"$ref":"#/components/schemas/ApplyRewriteStep"},{"$ref":"#/components/schemas/FreezeNodeStep"},{"$ref":"#/components/schemas/PreviewDeleteStep"},{"$ref":"#/components/schemas/RevokeCapabilityStep"}],"discriminator":{"propertyName":"type","mapping":{"activate_edge":"#/components/schemas/ActivateEdgeStep","advance_time":"#/components/schemas/AdvanceTimeStep","apply_rewrite":"#/components/schemas/ApplyRewriteStep","approve_rewrite":"#/components/schemas/ApproveRewriteStep","check_policy":"#/components/schemas/CheckPolicyStep","create_node":"#/components/schemas/CreateNodeStep","create_port":"#/components/schemas/CreatePortStep","delegate":"#/components/schemas/DelegateStep","emit_review_finding":"#/components/schemas/EmitReviewFindingStep","emit_signal":"#/components/schemas/EmitSignalStep","freeze_edge":"#/components/schemas/FreezeEdgeStep","freeze_node":"#/components/schemas/FreezeNodeStep","heartbeat_process":"#/components/schemas/HeartbeatProcessStep","mint_capability":"#/components/schemas/MintCapabilityStep","preview_delete":"#/components/schemas/PreviewDeleteStep","propose_edge":"#/components/schemas/ProposeEdgeStep","propose_fix":"#/components/schemas/ProposeFixStep","propose_rewrite":"#/components/schemas/ProposeRewriteStep","record_outcome":"#/components/schemas/RecordOutcomeStep","record_protocol_episode":"#/components/schemas/RecordProtocolEpisodeStep","revoke_capability":"#/components/schemas/RevokeCapabilityStep","score_participant":"#/components/schemas/ScoreParticipantStep","select_route":"#/components/schemas/SelectRouteStep","select_winner":"#/components/schemas/SelectWinnerStep","start_process":"#/components/schemas/StartProcessStep","start_protocol_simulation":"#/components/schemas/StartProtocolSimulationStep","start_review_loop":"#/components/schemas/StartReviewLoopStep","stop_process":"#/components/schemas/StopProcessStep","use_capability":"#/components/schemas/UseCapabilityStep","use_edge":"#/components/schemas/UseEdgeStep"}}},"type":"array","maxItems":120,"title":"Steps"},"invariants":{"items":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}]},"type":"array","maxItems":25,"title":"Invariants"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["simulation_type","title","goal"],"title":"KernelSimulationSpec"},"LLMCredsOut":{"properties":{"base_url":{"type":"string","title":"Base Url"},"api_key":{"type":"string","title":"Api Key"},"model":{"type":"string","title":"Model"},"source":{"type":"string","title":"Source","default":"user"},"temperature_mode":{"type":"string","enum":["default","omit","custom"],"title":"Temperature Mode","default":"default"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature"},"extra_body":{"additionalProperties":true,"type":"object","title":"Extra Body"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["base_url","api_key","model"],"title":"LLMCredsOut"},"LLMGrantRequest":{"properties":{"audience":{"type":"string","maxLength":128,"minLength":1,"title":"Audience","description":"Agent name the grant will be presented to."},"ttl_seconds":{"type":"integer","maximum":86400.0,"minimum":60.0,"title":"Ttl Seconds","default":900},"thread_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Thread Id"},"grant_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Grant Id"},"skill_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Skill Name"}},"type":"object","required":["audience"],"title":"LLMGrantRequest"},"LLMGrantResponse":{"properties":{"grant":{"type":"string","title":"Grant"},"grant_id":{"type":"string","title":"Grant Id"},"expires_at":{"type":"integer","title":"Expires At"},"llm_creds":{"$ref":"#/components/schemas/LLMCredsOut"},"account_access":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Account Access"}},"type":"object","required":["grant","grant_id","expires_at","llm_creds"],"title":"LLMGrantResponse"},"LLMModelCatalogOut":{"properties":{"source":{"type":"string","title":"Source"},"providers":{"items":{"$ref":"#/components/schemas/LLMProviderOption"},"type":"array","title":"Providers"},"total_models":{"type":"integer","title":"Total Models"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"type":"object","required":["source","providers","total_models","generated_at"],"title":"LLMModelCatalogOut"},"LLMModelOption":{"properties":{"model":{"type":"string","title":"Model"},"litellm_model":{"type":"string","title":"Litellm Model"},"provider":{"type":"string","title":"Provider"},"mode":{"type":"string","title":"Mode"},"input_cost_per_million_tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Input Cost Per Million Tokens"},"output_cost_per_million_tokens":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Output Cost Per Million Tokens"},"max_input_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Input Tokens"},"max_output_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Output Tokens"},"supports_vision":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Vision"},"supports_function_calling":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Function Calling"},"supports_reasoning":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Reasoning"},"supports_web_search":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Web Search"},"supported_params":{"items":{"type":"string"},"type":"array","title":"Supported Params"}},"type":"object","required":["model","litellm_model","provider","mode"],"title":"LLMModelOption"},"LLMProviderOption":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"provider":{"type":"string","title":"Provider"},"base_url":{"type":"string","title":"Base Url"},"default_model":{"type":"string","title":"Default Model"},"key_env":{"type":"string","title":"Key Env","default":""},"openai_compatible":{"type":"boolean","title":"Openai Compatible","default":false},"extra_body":{"additionalProperties":true,"type":"object","title":"Extra Body"},"models":{"items":{"$ref":"#/components/schemas/LLMModelOption"},"type":"array","title":"Models"}},"type":"object","required":["id","label","provider","base_url","default_model"],"title":"LLMProviderOption"},"LLMUsageOut":{"properties":{"id":{"type":"integer","title":"Id"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"dag_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dag Run Id"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"source":{"type":"string","title":"Source"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"model":{"type":"string","title":"Model"},"prompt_tokens":{"type":"integer","title":"Prompt Tokens"},"completion_tokens":{"type":"integer","title":"Completion Tokens"},"total_tokens":{"type":"integer","title":"Total Tokens"},"cost_usd":{"type":"number","title":"Cost Usd"},"status":{"type":"string","title":"Status"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","thread_id","dag_run_id","grant_id","agent_name","skill_name","source","provider","model","prompt_tokens","completion_tokens","total_tokens","cost_usd","status","created_at"],"title":"LLMUsageOut"},"LangfuseServiceOut":{"properties":{"status":{"type":"string","title":"Status"},"base_url":{"type":"string","title":"Base Url"},"login_url":{"type":"string","title":"Login Url"},"login_email":{"type":"string","title":"Login Email"},"login_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Password"},"login_password_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Password Ref"},"account_status":{"type":"string","title":"Account Status"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"project_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"project_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Url"},"public_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key"},"secret_key_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret Key Ref"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"provisioned_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Provisioned At"}},"type":"object","required":["status","base_url","login_url","login_email","account_status"],"title":"LangfuseServiceOut"},"LiteLLMServiceOut":{"properties":{"status":{"type":"string","title":"Status"},"base_url":{"type":"string","title":"Base Url"},"openai_base_url":{"type":"string","title":"Openai Base Url"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"key_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Ref"},"key_configured":{"type":"boolean","title":"Key Configured","default":false},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"}},"type":"object","required":["status","base_url","openai_base_url"],"title":"LiteLLMServiceOut"},"MailboxEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","status","message","created_at"],"title":"MailboxEventOut"},"MemoryExtractionIn":{"properties":{"limit":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Limit","default":50},"include_failed":{"type":"boolean","title":"Include Failed","default":true}},"type":"object","title":"MemoryExtractionIn"},"MemoryExtractionOut":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"created_count":{"type":"integer","title":"Created Count"},"updated_count":{"type":"integer","title":"Updated Count"},"skipped_count":{"type":"integer","title":"Skipped Count"},"memories":{"items":{"$ref":"#/components/schemas/CollectiveRuntimeMemoryOut"},"type":"array","title":"Memories"}},"type":"object","required":["created_count","updated_count","skipped_count","memories"],"title":"MemoryExtractionOut"},"MemoryIn":{"properties":{"namespace":{"type":"string","maxLength":96,"minLength":1,"title":"Namespace","default":"notes"},"key":{"type":"string","maxLength":512,"minLength":1,"title":"Key"},"value":{"title":"Value"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["key","value"],"title":"MemoryIn"},"MemoryOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"namespace":{"type":"string","title":"Namespace"},"key":{"type":"string","title":"Key"},"value":{"title":"Value"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","agent_name","namespace","key","value","metadata","created_at","updated_at"],"title":"MemoryOut"},"MemorySearchOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_name":{"type":"string","title":"Agent Name"},"namespace":{"type":"string","title":"Namespace"},"key":{"type":"string","title":"Key"},"value":{"title":"Value"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"score":{"type":"number","title":"Score"}},"type":"object","required":["id","agent_name","namespace","key","value","metadata","created_at","updated_at","score"],"title":"MemorySearchOut"},"MetaRunCreateIn":{"properties":{"goal":{"type":"string","maxLength":16000,"minLength":1,"title":"Goal"},"success_criteria":{"items":{"type":"string"},"type":"array","title":"Success Criteria"},"thread_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Thread Id"},"run_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Run Id"},"status":{"type":"string","maxLength":32,"title":"Status","default":"planning"},"current_plan":{"$ref":"#/components/schemas/MetaRunPlan"},"progress":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Progress"},"state":{"additionalProperties":true,"type":"object","title":"State"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"}},"type":"object","required":["goal"],"title":"MetaRunCreateIn"},"MetaRunOut":{"properties":{"run_id":{"type":"string","title":"Run Id"},"agent_name":{"type":"string","title":"Agent Name"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"goal":{"type":"string","title":"Goal"},"success_criteria":{"items":{"type":"string"},"type":"array","title":"Success Criteria"},"status":{"type":"string","title":"Status"},"current_plan":{"$ref":"#/components/schemas/MetaRunPlan"},"progress":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Progress"},"state":{"additionalProperties":true,"type":"object","title":"State"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["run_id","agent_name","thread_id","goal","success_criteria","status","current_plan","progress","state","summary","error","created_at","updated_at","completed_at"],"title":"MetaRunOut"},"MetaRunPatchIn":{"properties":{"goal":{"anyOf":[{"type":"string","maxLength":16000},{"type":"null"}],"title":"Goal"},"success_criteria":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Success Criteria"},"thread_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Thread Id"},"status":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Status"},"current_plan":{"anyOf":[{"$ref":"#/components/schemas/MetaRunPlan"},{"type":"null"}]},"progress":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Progress"},"state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"State"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"MetaRunPatchIn"},"MetaRunPlan":{"properties":{"ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ok"},"goal":{"anyOf":[{"type":"string","maxLength":16000},{"type":"null"}],"title":"Goal"},"max_nodes":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Nodes"},"max_parallel":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Parallel"},"rounds":{"items":{"items":{"type":"string"},"type":"array"},"type":"array","title":"Rounds"},"nodes":{"items":{"$ref":"#/components/schemas/MetaRunPlanNode"},"type":"array","title":"Nodes"}},"additionalProperties":true,"type":"object","title":"MetaRunPlan"},"MetaRunPlanNode":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"agent":{"type":"string","maxLength":256,"minLength":1,"title":"Agent"},"skill":{"type":"string","maxLength":256,"minLength":1,"title":"Skill"},"deps":{"items":{"type":"string"},"type":"array","title":"Deps"},"args":{"additionalProperties":true,"type":"object","title":"Args"},"expected_outputs":{"items":{"type":"string"},"type":"array","title":"Expected Outputs"}},"additionalProperties":true,"type":"object","required":["id","agent","skill"],"title":"MetaRunPlanNode"},"MintCapabilityStep":{"properties":{"actions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Actions"},"resources":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Resources"},"deny":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Deny"},"expires_at":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expires At"},"budget":{"type":"integer","minimum":0.0,"title":"Budget","default":0},"delegation_depth":{"type":"integer","minimum":0.0,"title":"Delegation Depth","default":0},"type":{"type":"string","const":"mint_capability","title":"Type"},"id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Id"},"capability_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Capability Id"},"owner":{"type":"string","maxLength":80,"minLength":1,"title":"Owner"}},"additionalProperties":false,"type":"object","required":["type","owner"],"title":"MintCapabilityStep"},"OnboardingStateOut":{"properties":{"completed":{"type":"boolean","title":"Completed"},"dismissed":{"type":"boolean","title":"Dismissed"},"current_step":{"type":"string","enum":["llm_key","tour","done"],"title":"Current Step"},"llm_key_configured":{"type":"boolean","title":"Llm Key Configured"},"llm_key_step_completed":{"type":"boolean","title":"Llm Key Step Completed"},"walkthrough_completed":{"type":"boolean","title":"Walkthrough Completed"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"llm_key_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Llm Key Completed At"},"walkthrough_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Walkthrough Started At"},"walkthrough_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Walkthrough Completed At"},"last_seen_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen Step"},"tour_step_index":{"type":"integer","title":"Tour Step Index"},"tour_step_total":{"type":"integer","title":"Tour Step Total"},"wants_to_monetize":{"type":"boolean","title":"Wants To Monetize"},"monetization_opted_in_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Monetization Opted In At"},"dismissed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Dismissed At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["completed","dismissed","current_step","llm_key_configured","llm_key_step_completed","walkthrough_completed","started_at","llm_key_completed_at","walkthrough_started_at","walkthrough_completed_at","last_seen_step","tour_step_index","tour_step_total","wants_to_monetize","monetization_opted_in_at","dismissed_at","completed_at","updated_at"],"title":"OnboardingStateOut"},"OnboardingUpdateIn":{"properties":{"current_step":{"anyOf":[{"type":"string","enum":["llm_key","tour","done"]},{"type":"null"}],"title":"Current Step"},"llm_key_step_completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Llm Key Step Completed"},"walkthrough_completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Walkthrough Completed"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dismissed"},"last_seen_step":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Last Seen Step"},"tour_step_index":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Tour Step Index"},"tour_step_total":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Tour Step Total"},"wants_to_monetize":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wants To Monetize"}},"type":"object","title":"OnboardingUpdateIn"},"OrganizationAuditLogOut":{"properties":{"id":{"type":"integer","title":"Id"},"actor_user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actor User Id"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"action":{"type":"string","title":"Action"},"target_type":{"type":"string","title":"Target Type"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"target_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Email"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","action","target_type","data","created_at"],"title":"OrganizationAuditLogOut"},"OrganizationCreateIn":{"properties":{"name":{"type":"string","maxLength":160,"minLength":2,"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Slug"}},"type":"object","required":["name"],"title":"OrganizationCreateIn"},"OrganizationDomainIn":{"properties":{"domain":{"type":"string","maxLength":255,"minLength":3,"title":"Domain"}},"type":"object","required":["domain"],"title":"OrganizationDomainIn"},"OrganizationDomainOut":{"properties":{"id":{"type":"integer","title":"Id"},"domain":{"type":"string","title":"Domain"},"verification_record_name":{"type":"string","title":"Verification Record Name"},"verification_record_value":{"type":"string","title":"Verification Record Value"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","domain","verification_record_name","verification_record_value","verified_at","created_at"],"title":"OrganizationDomainOut"},"OrganizationMemberIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"role":{"type":"string","pattern":"^(owner|admin|member)$","title":"Role","default":"member"}},"type":"object","required":["email"],"title":"OrganizationMemberIn"},"OrganizationMemberOut":{"properties":{"id":{"type":"integer","title":"Id"},"user_id":{"type":"integer","title":"User Id"},"email":{"type":"string","format":"email","title":"Email"},"role":{"type":"string","title":"Role"},"active":{"type":"boolean","title":"Active"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","user_id","email","role","active","created_at"],"title":"OrganizationMemberOut"},"OrganizationMemberUpdateIn":{"properties":{"role":{"type":"string","pattern":"^(owner|admin|member)$","title":"Role"}},"type":"object","required":["role"],"title":"OrganizationMemberUpdateIn"},"OrganizationOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","slug","name","role","created_at"],"title":"OrganizationOut"},"OrganizationScimConfigOut":{"properties":{"base_url":{"type":"string","title":"Base Url"},"service_provider_config_url":{"type":"string","title":"Service Provider Config Url"},"users_url":{"type":"string","title":"Users Url"}},"type":"object","required":["base_url","service_provider_config_url","users_url"],"title":"OrganizationScimConfigOut"},"OrganizationScimTokenCreatedOut":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"token_last4":{"type":"string","title":"Token Last4"},"enabled":{"type":"boolean","title":"Enabled"},"created_by_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Created By Email"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"token":{"type":"string","title":"Token"}},"type":"object","required":["id","label","token_last4","enabled","created_at","token"],"title":"OrganizationScimTokenCreatedOut"},"OrganizationScimTokenIn":{"properties":{"label":{"type":"string","maxLength":160,"minLength":2,"title":"Label","default":"SCIM provisioning"}},"type":"object","title":"OrganizationScimTokenIn"},"OrganizationScimTokenOut":{"properties":{"id":{"type":"integer","title":"Id"},"label":{"type":"string","title":"Label"},"token_last4":{"type":"string","title":"Token Last4"},"enabled":{"type":"boolean","title":"Enabled"},"created_by_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Created By Email"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","label","token_last4","enabled","created_at"],"title":"OrganizationScimTokenOut"},"OrganizationServiceAccessOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"gitea":{"$ref":"#/components/schemas/GiteaOrganizationOut"},"langfuse":{"$ref":"#/components/schemas/LangfuseServiceOut"},"litellm":{"$ref":"#/components/schemas/LiteLLMServiceOut"}},"type":"object","required":["id","slug","name","role","gitea","langfuse","litellm"],"title":"OrganizationServiceAccessOut"},"OutcomeScoreOut":{"properties":{"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"worker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worker Name"},"protocol_id":{"type":"string","title":"Protocol Id"},"score":{"type":"number","title":"Score"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"metrics":{"additionalProperties":true,"type":"object","title":"Metrics"}},"type":"object","required":["job_id","kind","status","worker_name","protocol_id","score","reasons","metrics"],"title":"OutcomeScoreOut"},"PayoutAccountOut":{"properties":{"connected":{"type":"boolean","title":"Connected"},"stripe_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Account Id"},"details_submitted":{"type":"boolean","title":"Details Submitted","default":false},"payouts_enabled":{"type":"boolean","title":"Payouts Enabled","default":false},"onboarding_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onboarding Url"},"unsettled_usd":{"type":"number","title":"Unsettled Usd","default":0.0},"unsettled_run_count":{"type":"integer","title":"Unsettled Run Count","default":0},"currency":{"type":"string","title":"Currency","default":"usd"}},"type":"object","required":["connected"],"title":"PayoutAccountOut"},"PayoutRunOut":{"properties":{"id":{"type":"integer","title":"Id"},"status":{"type":"string","title":"Status"},"currency":{"type":"string","title":"Currency"},"amount_usd":{"type":"number","title":"Amount Usd"},"receipt_count":{"type":"integer","title":"Receipt Count"},"stripe_transfer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Transfer Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","status","currency","amount_usd","receipt_count","created_at"],"title":"PayoutRunOut"},"PolicyRuleSpec":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Id"},"policy_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Policy Id"},"level":{"type":"string","enum":["platform","org","owner","process"],"title":"Level","default":"owner"},"effect":{"type":"string","enum":["allow","deny","freeze","revoke","require_approval","require_narrower_scope"],"title":"Effect","default":"allow"},"actions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Actions"},"resources":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Resources"},"precedence":{"type":"integer","minimum":0.0,"title":"Precedence","default":0}},"additionalProperties":false,"type":"object","title":"PolicyRuleSpec"},"PopulationRunIn":{"properties":{"mirror_minio":{"type":"boolean","title":"Mirror Minio","default":true},"query":{"type":"string","title":"Query","default":"activation content merge partner lessons dream"},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Limit","default":4}},"type":"object","title":"PopulationRunIn"},"PreviewDeleteStep":{"properties":{"type":{"type":"string","const":"preview_delete","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"}},"additionalProperties":false,"type":"object","required":["type"],"title":"PreviewDeleteStep"},"ProposeEdgeStep":{"properties":{"type":{"type":"string","const":"propose_edge","title":"Type"},"id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Id"},"edge_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Edge Id"},"from":{"$ref":"#/components/schemas/EndpointSpec"},"to":{"$ref":"#/components/schemas/EndpointSpec"},"edge_type":{"type":"string","maxLength":80,"minLength":1,"title":"Edge Type","default":"call"},"capability_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Capability Id"},"process_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Process Id"},"provenance_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Provenance Ref"}},"additionalProperties":false,"type":"object","required":["type","from","to"],"title":"ProposeEdgeStep"},"ProposeFixStep":{"properties":{"type":{"type":"string","const":"propose_fix","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"proposal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposal Id"},"process_id":{"type":"string","title":"Process Id"},"finding_id":{"type":"string","title":"Finding Id"}},"additionalProperties":false,"type":"object","required":["type","process_id","finding_id"],"title":"ProposeFixStep"},"ProposeRewriteStep":{"properties":{"type":{"type":"string","const":"propose_rewrite","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"rewrite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rewrite Id"},"target":{"type":"string","title":"Target"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["type","target"],"title":"ProposeRewriteStep"},"ProtocolRuntimeReadinessIn":{"properties":{"requested":{"type":"boolean","title":"Requested","default":true},"simulation_passed":{"type":"boolean","title":"Simulation Passed","default":false},"policy_reviewed":{"type":"boolean","title":"Policy Reviewed","default":false},"owner_approved":{"type":"boolean","title":"Owner Approved","default":false},"operator_enabled":{"type":"boolean","title":"Operator Enabled","default":false},"registry_enabled":{"type":"boolean","title":"Registry Enabled","default":false},"no_critical_findings":{"type":"boolean","title":"No Critical Findings","default":false},"redaction_reviewed":{"type":"boolean","title":"Redaction Reviewed","default":false}},"type":"object","title":"ProtocolRuntimeReadinessIn"},"ProtocolScenarioRunIn":{"properties":{"scenario_ids":{"items":{"type":"string"},"type":"array","maxItems":25,"title":"Scenario Ids"},"cost_cents":{"type":"integer","minimum":0.0,"title":"Cost Cents","default":0}},"type":"object","title":"ProtocolScenarioRunIn"},"ProtocolSimulationEventIn":{"properties":{"event_type":{"type":"string","enum":["simulation_started","episode_started","signal_emitted","invariant_checked","attempt_scored","proposal_emitted","simulation_completed","simulation_failed"],"title":"Event Type"},"message":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Message"},"episode":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Episode"},"signal_type":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Signal Type"},"invariant":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Invariant"},"score":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Score"},"proposal_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Proposal Ref"},"cost_cents":{"type":"integer","minimum":0.0,"title":"Cost Cents","default":0},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["event_type"],"title":"ProtocolSimulationEventIn"},"ProtocolSimulationIn":{"properties":{"protocol_id":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9][a-z0-9_.-]*$","title":"Protocol Id"},"protocol_version":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Protocol Version","default":1},"display_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Display Name"},"template_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Template Ref","default":"protocol_simulation@v1"},"simulation_goal":{"type":"string","maxLength":2000,"minLength":1,"title":"Simulation Goal"},"roles":{"additionalProperties":{"type":"string"},"type":"object","title":"Roles"},"invariants":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Invariants"},"signals_consumed":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Signals Consumed"},"signals_emitted":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Signals Emitted"},"run_budget_cents":{"type":"integer","minimum":0.0,"title":"Run Budget Cents","default":300},"budget_ceiling_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Budget Ceiling Cents","default":500},"ttl_seconds":{"type":"integer","maximum":86400.0,"exclusiveMinimum":0.0,"title":"Ttl Seconds","default":900},"max_episodes":{"type":"integer","maximum":100.0,"exclusiveMinimum":0.0,"title":"Max Episodes","default":5}},"type":"object","required":["protocol_id","simulation_goal"],"title":"ProtocolSimulationIn"},"ProtocolSimulationOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["job"],"title":"ProtocolSimulationOut"},"ProtocolSimulationStopIn":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason","default":"owner requested stop"}},"type":"object","title":"ProtocolSimulationStopIn"},"PublicAgentProofOut":{"properties":{"proof_id":{"type":"integer","title":"Proof Id"},"agent_name":{"type":"string","title":"Agent Name"},"agent_description":{"type":"string","title":"Agent Description"},"agent_version":{"type":"string","title":"Agent Version"},"skill_name":{"type":"string","title":"Skill Name"},"skill_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Description"},"status":{"type":"string","title":"Status"},"badge":{"type":"string","title":"Badge"},"summary":{"type":"string","title":"Summary"},"events_count":{"type":"integer","title":"Events Count"},"file_ops_count":{"type":"integer","title":"File Ops Count"},"card_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Hash"},"head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Head Sha"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"agent_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Url"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"additionalProperties":false,"type":"object","required":["proof_id","agent_name","agent_description","agent_version","skill_name","skill_description","status","badge","summary","events_count","file_ops_count","card_hash","head_sha","image","agent_url","elapsed_ms","created_at","started_at","completed_at"],"title":"PublicAgentProofOut","description":"Allowlisted public metadata for one proof run.\n\nThe *only* shape any unauthenticated caller gets from a proof surface. It\nmirrors ``PublicProofDrop`` in ``web/apps/landing/lib/agents.ts``, and the\nmirroring runs this way round on purpose: the landing type documented the\npolicy for a year while the sibling index published the whole row, so the\nserver — not a client type — is the authority for what \"public proof\"\nmeans.\n\nWhat it keeps is what makes a proof convincing: which agent, at which\nversion, card hash, commit and image; which skill; whether it passed; how\nlong it took; how many events and file operations were recorded; when.\nWhat it withholds is the payload — invocation arguments, the agent's\nreturn value, event streams (which carry the sealed replay token, and\nthrough it the caller's complete validated arguments), file *paths*, the\ngrant id and the raw error text. Those stay with the principals\n``agent_authorization.may_read_agent_evidence`` recognises, exactly as\nreceipts and replay sessions already do.\n\n``repo_url`` is withheld too, but for a different reason, and the\ndifference matters because ``head_sha`` above is *not* withheld. Where the\nplatform has decided an agent's source is public, ``/v1/public/agents``\nalready publishes that same URL as ``source_url``\n(``routes/public._public_source_url``, the same\n``routes/agents._public_repo_url`` this column was written from), and\n``source_url`` + ``head_sha`` is meant to pin the exact commit — that is\nthe feature, not a leak, and this route does not need to be a second\nchannel for it. Where the platform has *not* made that decision — an\nexternal agent, or one with no managed repo — ``source_url`` is ``None``\nwhile ``AgentProofRun.repo_url`` still holds a well-formed Gitea URL\ncontaining the owner's account name. Publishing the run's copy would\ndisclose that account for precisely the agents the listing withholds it\nfor. See ``test_public_proof_never_republishes_a_withheld_source_url``."},"PublicAgentProofSummaryOut":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"badge":{"type":"string","title":"Badge"},"latest":{"anyOf":[{"$ref":"#/components/schemas/PublicAgentProofOut"},{"type":"null"}]},"total_runs":{"type":"integer","title":"Total Runs","default":0},"passed_runs":{"type":"integer","title":"Passed Runs","default":0},"failed_runs":{"type":"integer","title":"Failed Runs","default":0}},"additionalProperties":false,"type":"object","required":["agent_name","badge"],"title":"PublicAgentProofSummaryOut","description":"One public agent's proof standing: badge, run tallies, latest run."},"ReceiptKeyOut":{"properties":{"kid":{"type":"string","title":"Kid"},"alg":{"type":"string","title":"Alg","default":"Ed25519"},"public_key":{"type":"string","title":"Public Key"},"use":{"type":"string","title":"Use","default":"receipt"}},"type":"object","required":["kid","public_key"],"title":"ReceiptKeyOut","description":"One published verifying key. Public halves only — never a private key."},"ReceiptKeysOut":{"properties":{"active_kid":{"type":"string","title":"Active Kid"},"keys":{"items":{"$ref":"#/components/schemas/ReceiptKeyOut"},"type":"array","title":"Keys"}},"type":"object","required":["active_kid","keys"],"title":"ReceiptKeysOut"},"ReceiptOut":{"properties":{"receipt_id":{"type":"string","title":"Receipt Id"},"source":{"type":"string","title":"Source"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"ids":{"additionalProperties":true,"type":"object","title":"Ids"},"scopes":{"additionalProperties":true,"type":"object","title":"Scopes"},"args_preview":{"additionalProperties":true,"type":"object","title":"Args Preview"},"result_preview":{"additionalProperties":true,"type":"object","title":"Result Preview"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"costs":{"additionalProperties":true,"type":"object","title":"Costs"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["receipt_id","source","subject","status","created_at"],"title":"ReceiptOut"},"RecordOutcomeStep":{"properties":{"type":{"type":"string","const":"record_outcome","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"outcome_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Id"},"participant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Participant Id"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"metrics":{"additionalProperties":true,"type":"object","title":"Metrics"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs"},"status":{"type":"string","title":"Status","default":"completed"}},"additionalProperties":false,"type":"object","required":["type"],"title":"RecordOutcomeStep"},"RecordProtocolEpisodeStep":{"properties":{"type":{"type":"string","const":"record_protocol_episode","title":"Type"},"process_id":{"type":"string","title":"Process Id"},"episode":{"type":"integer","minimum":1.0,"title":"Episode","default":1},"cost":{"type":"integer","minimum":0.0,"title":"Cost","default":0}},"additionalProperties":false,"type":"object","required":["type","process_id"],"title":"RecordProtocolEpisodeStep"},"RetentionEnforceOut":{"properties":{"cutoff":{"type":"string","format":"date-time","title":"Cutoff"},"receipts_deleted":{"type":"integer","title":"Receipts Deleted"},"admin_actions_deleted":{"type":"integer","title":"Admin Actions Deleted"},"note":{"type":"string","title":"Note"}},"type":"object","required":["cutoff","receipts_deleted","admin_actions_deleted","note"],"title":"RetentionEnforceOut"},"ReviewLoopEventIn":{"properties":{"event_type":{"type":"string","enum":["reviewer_started","finding_emitted","fix_proposed","loop_completed","loop_failed"],"title":"Event Type"},"message":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Message"},"iteration":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Iteration"},"review_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Review Id"},"findings":{"items":{"$ref":"#/components/schemas/ReviewLoopFindingIn"},"type":"array","title":"Findings"},"finding_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Finding Ref"},"proposal_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Proposal Id"},"self_improvement_proposal_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Self Improvement Proposal Ref"},"cost_cents":{"type":"integer","minimum":0.0,"title":"Cost Cents","default":0},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["event_type"],"title":"ReviewLoopEventIn"},"ReviewLoopFindingIn":{"properties":{"severity":{"type":"string","enum":["critical","warning","info"],"title":"Severity","default":"info"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"summary":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Summary"},"category":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Category"},"file":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"File"},"line":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Line"},"recommendation":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Recommendation"},"finding_hash":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Finding Hash"}},"type":"object","required":["title"],"title":"ReviewLoopFindingIn"},"ReviewLoopIn":{"properties":{"reviewer_agent_name":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Agent Name","default":"agent-reviewer"},"ref":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Ref"},"head_sha":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Head Sha"},"loop_budget_cents":{"type":"integer","minimum":0.0,"title":"Loop Budget Cents","default":300},"budget_ceiling_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Budget Ceiling Cents","default":500},"ttl_seconds":{"type":"integer","maximum":86400.0,"exclusiveMinimum":0.0,"title":"Ttl Seconds","default":900},"max_iterations":{"type":"integer","maximum":50.0,"exclusiveMinimum":0.0,"title":"Max Iterations","default":3},"canary_plan":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Canary Plan"},"rollback_plan":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Rollback Plan","default":"stop review loop and discard pending fix proposals"}},"type":"object","title":"ReviewLoopIn"},"ReviewLoopOut":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"type":"object","required":["job"],"title":"ReviewLoopOut"},"ReviewLoopStopIn":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason","default":"owner requested stop"}},"type":"object","title":"ReviewLoopStopIn"},"ReviewRunOut":{"properties":{"review_id":{"type":"string","title":"Review Id"},"deploy_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deploy Id"},"agent_name":{"type":"string","title":"Agent Name"},"ref":{"type":"string","title":"Ref"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"findings":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Findings"},"critical_count":{"type":"integer","title":"Critical Count"},"warning_count":{"type":"integer","title":"Warning Count"},"info_count":{"type":"integer","title":"Info Count"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["review_id","deploy_id","agent_name","ref","status","summary","findings","critical_count","warning_count","info_count","error","elapsed_ms","created_at","started_at","completed_at"],"title":"ReviewRunOut"},"RevokeCapabilityStep":{"properties":{"type":{"type":"string","const":"revoke_capability","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"capability_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability Id"}},"additionalProperties":false,"type":"object","required":["type"],"title":"RevokeCapabilityStep"},"RuntimeProtocolOut":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description"},"use_when":{"items":{"type":"string"},"type":"array","title":"Use When"},"roles":{"items":{"type":"string"},"type":"array","title":"Roles"},"required_evidence":{"items":{"type":"string"},"type":"array","title":"Required Evidence"},"review_gates":{"items":{"type":"string"},"type":"array","title":"Review Gates"},"human_controls":{"items":{"type":"string"},"type":"array","title":"Human Controls"},"budget_class":{"type":"string","enum":["small","medium","large"],"title":"Budget Class"}},"type":"object","required":["id","label","description","use_when","roles","required_evidence","review_gates","human_controls","budget_class"],"title":"RuntimeProtocolOut"},"ScheduleIn":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"enabled":{"type":"boolean","title":"Enabled","default":true},"cron":{"type":"string","maxLength":120,"minLength":1,"title":"Cron"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone","default":"UTC"},"target_type":{"type":"string","enum":["main_agent","agent"],"title":"Target Type"},"prompt":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Prompt"},"agent_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Skill Name"},"args_json":{"type":"string","maxLength":50000,"title":"Args Json","default":"{}"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["name","cron","target_type"],"title":"ScheduleIn"},"ScheduleOut":{"properties":{"schedule_id":{"type":"string","title":"Schedule Id"},"name":{"type":"string","title":"Name"},"enabled":{"type":"boolean","title":"Enabled"},"cron":{"type":"string","title":"Cron"},"timezone":{"type":"string","title":"Timezone"},"target_type":{"type":"string","title":"Target Type"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"args_json":{"type":"string","title":"Args Json"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"last_run_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run Status"},"last_run_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run Job Id"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"run_count":{"type":"integer","title":"Run Count"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["schedule_id","name","enabled","cron","timezone","target_type","prompt","agent_name","skill_name","args_json","next_run_at","last_run_at","last_run_status","last_run_job_id","last_error","run_count","metadata","created_at","updated_at"],"title":"ScheduleOut"},"SchedulePatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Name"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"cron":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Cron"},"timezone":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Timezone"},"target_type":{"anyOf":[{"type":"string","enum":["main_agent","agent"]},{"type":"null"}],"title":"Target Type"},"prompt":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Prompt"},"agent_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Skill Name"},"args_json":{"anyOf":[{"type":"string","maxLength":50000},{"type":"null"}],"title":"Args Json"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"SchedulePatch"},"ScoreAggregateOut":{"properties":{"id":{"type":"string","title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"count":{"type":"integer","title":"Count"},"average_score":{"type":"number","title":"Average Score"},"completed_count":{"type":"integer","title":"Completed Count"},"failed_count":{"type":"integer","title":"Failed Count"},"in_flight_count":{"type":"integer","title":"In Flight Count"}},"type":"object","required":["id","count","average_score","completed_count","failed_count","in_flight_count"],"title":"ScoreAggregateOut"},"ScoreParticipantStep":{"properties":{"type":{"type":"string","const":"score_participant","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"score_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Id"},"participant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Participant Id"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"outcome_id":{"type":"string","title":"Outcome Id"},"score":{"type":"number","title":"Score","default":0.0},"explanation_refs":{"items":{"type":"string"},"type":"array","title":"Explanation Refs"}},"additionalProperties":false,"type":"object","required":["type","outcome_id"],"title":"ScoreParticipantStep"},"SelectRouteStep":{"properties":{"type":{"type":"string","const":"select_route","title":"Type"},"skill":{"type":"string","title":"Skill"},"candidates":{"additionalProperties":{"type":"string"},"type":"object","title":"Candidates"}},"additionalProperties":false,"type":"object","required":["type","skill","candidates"],"title":"SelectRouteStep"},"SelectWinnerStep":{"properties":{"type":{"type":"string","const":"select_winner","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"arena_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arena Id"},"candidates":{"additionalProperties":{"$ref":"#/components/schemas/WinnerCandidateSpec"},"type":"object","title":"Candidates"}},"additionalProperties":false,"type":"object","required":["type","candidates"],"title":"SelectWinnerStep"},"SelectionRunIn":{"properties":{"mirror_minio":{"type":"boolean","title":"Mirror Minio","default":true},"token_budget":{"type":"integer","minimum":1.0,"title":"Token Budget","default":200000},"budget_cents":{"type":"integer","minimum":0.0,"title":"Budget Cents","default":3000},"max_changed_files":{"type":"integer","minimum":1.0,"title":"Max Changed Files","default":20}},"type":"object","title":"SelectionRunIn"},"ServiceAccessOut":{"properties":{"user":{"$ref":"#/components/schemas/ServiceAccessUserOut"},"organizations":{"items":{"$ref":"#/components/schemas/OrganizationServiceAccessOut"},"type":"array","title":"Organizations"},"gitea":{"$ref":"#/components/schemas/GiteaServiceOut"}},"type":"object","required":["user","organizations","gitea"],"title":"ServiceAccessOut"},"ServiceAccessUserOut":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ServiceAccessUserOut"},"SignedTokenIn":{"properties":{"signed_token":{"type":"string","title":"Signed Token"}},"type":"object","required":["signed_token"],"title":"SignedTokenIn"},"StartProcessStep":{"properties":{"type":{"type":"string","const":"start_process","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"owner":{"type":"string","title":"Owner"},"capability_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability Id"},"cap_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cap Id"},"ttl":{"type":"integer","minimum":1.0,"title":"Ttl","default":10},"budget":{"type":"integer","minimum":1.0,"title":"Budget","default":10},"max_depth":{"type":"integer","minimum":0.0,"title":"Max Depth","default":3},"depth":{"type":"integer","minimum":0.0,"title":"Depth","default":0},"max_calls":{"type":"integer","minimum":0.0,"title":"Max Calls","default":10},"heartbeat_timeout":{"type":"integer","minimum":0.0,"title":"Heartbeat Timeout","default":0}},"additionalProperties":false,"type":"object","required":["type","owner"],"title":"StartProcessStep"},"StartProtocolSimulationStep":{"properties":{"type":{"type":"string","const":"start_protocol_simulation","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"target":{"type":"string","title":"Target"},"protocol_id":{"type":"string","title":"Protocol Id","default":"custom_kernel"},"template_ref":{"type":"string","title":"Template Ref","default":"custom_kernel@v1"},"budget":{"type":"integer","minimum":1.0,"title":"Budget","default":10},"ttl":{"type":"integer","minimum":1.0,"title":"Ttl","default":10},"max_episodes":{"type":"integer","minimum":1.0,"title":"Max Episodes","default":5}},"additionalProperties":false,"type":"object","required":["type","target"],"title":"StartProtocolSimulationStep"},"StartReviewLoopStep":{"properties":{"type":{"type":"string","const":"start_review_loop","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"reviewer":{"type":"string","title":"Reviewer"},"target":{"type":"string","title":"Target"},"capability_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability Id"},"cap_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cap Id"},"ttl":{"type":"integer","minimum":1.0,"title":"Ttl","default":10},"budget":{"type":"integer","minimum":1.0,"title":"Budget","default":10},"max_iterations":{"type":"integer","minimum":1.0,"title":"Max Iterations","default":3}},"additionalProperties":false,"type":"object","required":["type","reviewer","target"],"title":"StartReviewLoopStep"},"StopProcessStep":{"properties":{"type":{"type":"string","const":"stop_process","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"reason":{"type":"string","title":"Reason","default":"custom simulation stop"}},"additionalProperties":false,"type":"object","required":["type"],"title":"StopProcessStep"},"StudioAutopilotPolicyIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone","default":"UTC"},"daily_hour":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Daily Hour","default":9}},"type":"object","required":["enabled"],"title":"StudioAutopilotPolicyIn"},"StudioAutopilotPolicyOut":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"timezone":{"type":"string","title":"Timezone"},"daily_hour":{"type":"integer","title":"Daily Hour"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"last_run_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Run Status"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_email_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Email At"}},"type":"object","required":["enabled","timezone","daily_hour","next_run_at","last_run_at","last_run_status","last_error","last_email_at"],"title":"StudioAutopilotPolicyOut"},"StudioIdeaFactoryIn":{"properties":{"theme":{"type":"string","maxLength":120,"minLength":3,"title":"Theme","default":"useful one-page businesses"},"build_top_three":{"type":"boolean","title":"Build Top Three","default":false},"total_budget_cents":{"type":"integer","maximum":9000.0,"minimum":300.0,"title":"Total Budget Cents","default":3000},"public":{"type":"boolean","title":"Public","default":false},"account_trial_calls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Account Trial Calls","default":3},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":8},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","title":"StudioIdeaFactoryIn"},"StudioProposalDecisionIn":{"properties":{"decision":{"type":"string","enum":["accept","reject"],"title":"Decision"}},"type":"object","required":["decision"],"title":"StudioProposalDecisionIn"},"StudioResolveIn":{"properties":{"name":{"type":"string","maxLength":40,"minLength":3,"title":"Name"},"goal":{"type":"string","maxLength":800,"minLength":12,"title":"Goal"},"inputs":{"items":{"type":"string"},"type":"array","title":"Inputs"},"integrations":{"items":{"type":"string"},"type":"array","title":"Integrations"},"frontend":{"type":"boolean","title":"Frontend","default":true},"budget_cents":{"type":"integer","maximum":3000.0,"minimum":100.0,"title":"Budget Cents","default":500},"public":{"type":"boolean","title":"Public","default":false},"recipe":{"type":"string","enum":["auto","csv_tool","document_generator","email_assistant","scheduled_monitor","calculator","approval_workflow","dashboard","custom"],"title":"Recipe","default":"auto"},"account_trial_calls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Account Trial Calls","default":0},"review":{"type":"string","enum":["light","standard","strict"],"title":"Review","default":"standard"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"}},"type":"object","required":["name","goal"],"title":"StudioResolveIn"},"StudioRunBriefIn":{"properties":{"name":{"type":"string","title":"Name"},"goal":{"type":"string","title":"Goal"},"inputs":{"items":{"type":"string"},"type":"array","title":"Inputs"},"integrations":{"items":{"type":"string"},"type":"array","title":"Integrations"},"frontend":{"type":"boolean","title":"Frontend","default":true},"budget_cents":{"type":"integer","maximum":3000.0,"minimum":100.0,"title":"Budget Cents","default":500},"public":{"type":"boolean","title":"Public","default":false},"recipe":{"type":"string","enum":["auto","csv_tool","document_generator","email_assistant","scheduled_monitor","calculator","approval_workflow","dashboard","custom"],"title":"Recipe","default":"auto"},"account_trial_calls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Account Trial Calls","default":0},"review":{"type":"string","enum":["light","standard","strict"],"title":"Review","default":"standard"},"organization_slug":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Organization Slug"},"plan_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Plan Id"},"action":{"type":"string","enum":["use_existing","compose","fork","edit_existing","build_new"],"title":"Action","default":"build_new"},"candidate_agent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Candidate Agent Id"},"expected_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expected Version"},"expected_card_hash":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}],"title":"Expected Card Hash"},"expected_source_sha":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expected Source Sha"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":8},{"type":"null"}],"title":"Idempotency Key"},"confirmed_edit":{"type":"boolean","title":"Confirmed Edit","default":false}},"type":"object","required":["name","goal"],"title":"StudioRunBriefIn"},"StudioRunEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"run_id":{"type":"string","title":"Run Id"},"phase":{"type":"string","title":"Phase"},"actor":{"type":"string","title":"Actor"},"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","run_id","phase","actor","status","message","data","created_at"],"title":"StudioRunEventOut"},"StudioRunOut":{"properties":{"run_id":{"type":"string","title":"Run Id"},"agent_name":{"type":"string","title":"Agent Name"},"action":{"type":"string","title":"Action","default":"build_new"},"source_agent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Agent Id"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"status":{"type":"string","title":"Status"},"stop_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stop Reason"},"brief":{"additionalProperties":true,"type":"object","title":"Brief"},"budget_spent_cents":{"type":"integer","title":"Budget Spent Cents"},"iteration":{"type":"integer","title":"Iteration"},"max_iterations":{"type":"integer","title":"Max Iterations"},"deploy_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deploy Id"},"report":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Report"},"events":{"items":{"$ref":"#/components/schemas/StudioRunEventOut"},"type":"array","title":"Events","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["run_id","agent_name","status","stop_reason","brief","budget_spent_cents","iteration","max_iterations","deploy_id","report","created_at","updated_at"],"title":"StudioRunOut"},"StudioUpgradeProposalOut":{"properties":{"proposal_id":{"type":"string","title":"Proposal Id"},"agent_name":{"type":"string","title":"Agent Name"},"source_head_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Head Sha"},"status":{"type":"string","title":"Status"},"severity":{"type":"string","title":"Severity"},"category":{"type":"string","title":"Category"},"title":{"type":"string","title":"Title"},"idea":{"type":"string","title":"Idea"},"rationale":{"type":"string","title":"Rationale"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"upgrade_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Run Id"},"upgrade_report":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Upgrade Report"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"emailed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Emailed At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["proposal_id","agent_name","source_head_sha","status","severity","category","title","idea","rationale","evidence","upgrade_run_id","upgrade_report","error","emailed_at","decided_at","started_at","completed_at","expires_at","created_at"],"title":"StudioUpgradeProposalOut"},"SubagentGrantOut":{"properties":{"id":{"type":"integer","title":"Id"},"grant_id":{"type":"string","title":"Grant Id"},"parent_grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Grant Id"},"issuer":{"type":"string","title":"Issuer"},"audience":{"type":"string","title":"Audience"},"bucket":{"type":"string","title":"Bucket"},"mode":{"type":"string","title":"Mode"},"allow_patterns":{"items":{"type":"string"},"type":"array","title":"Allow Patterns"},"deny_patterns":{"items":{"type":"string"},"type":"array","title":"Deny Patterns"},"outputs_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outputs Prefix"},"ttl_seconds":{"type":"integer","title":"Ttl Seconds"},"decision":{"type":"string","title":"Decision"},"decided_by":{"type":"string","title":"Decided By"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","grant_id","parent_grant_id","issuer","audience","bucket","mode","allow_patterns","deny_patterns","outputs_prefix","ttl_seconds","decision","decided_by","reason","created_at"],"title":"SubagentGrantOut"},"SubagentHandoffOut":{"properties":{"id":{"type":"string","title":"Id"},"from_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Agent"},"to_agent":{"type":"string","title":"To Agent"},"skill":{"type":"string","title":"Skill"},"grant_id":{"type":"string","title":"Grant Id"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"scopes":{"additionalProperties":true,"type":"object","title":"Scopes"},"args_preview":{"additionalProperties":true,"type":"object","title":"Args Preview"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","to_agent","skill","grant_id","status"],"title":"SubagentHandoffOut"},"SubagentReceiptOut":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"label":{"type":"string","title":"Label"},"event_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Event Id"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"signed_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Token"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","kind","label"],"title":"SubagentReceiptOut"},"SubagentRunEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","payload","created_at"],"title":"SubagentRunEventOut"},"SubagentRunOut":{"properties":{"grant_id":{"type":"string","title":"Grant Id"},"rerun_of_grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rerun Of Grant Id"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"args_json":{"type":"string","title":"Args Json"},"scopes":{"additionalProperties":true,"type":"object","title":"Scopes"},"status":{"type":"string","title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"file_ops":{"items":{"$ref":"#/components/schemas/FileOpOut"},"type":"array","title":"File Ops"},"file_ops_count":{"type":"integer","title":"File Ops Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"original_request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Original Request"},"handoffs":{"items":{"$ref":"#/components/schemas/SubagentHandoffOut"},"type":"array","title":"Handoffs"},"grants":{"items":{"$ref":"#/components/schemas/SubagentGrantOut"},"type":"array","title":"Grants"},"receipts":{"items":{"$ref":"#/components/schemas/SubagentReceiptOut"},"type":"array","title":"Receipts"},"events":{"items":{"$ref":"#/components/schemas/SubagentRunEventOut"},"type":"array","title":"Events"}},"type":"object","required":["grant_id","rerun_of_grant_id","thread_id","agent_name","skill_name","args_json","scopes","status","summary","error","file_ops","created_at","updated_at","completed_at"],"title":"SubagentRunOut"},"TopupCheckoutOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"TopupCheckoutOut"},"TopupRequest":{"properties":{"amount_usd":{"type":"number","maximum":100000.0,"exclusiveMinimum":0.0,"title":"Amount Usd"}},"type":"object","required":["amount_usd"],"title":"TopupRequest"},"TownhallRunIn":{"properties":{"mirror_minio":{"type":"boolean","title":"Mirror Minio","default":true},"query":{"type":"string","title":"Query","default":"law partner memory branch content metric early actor"},"limit":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Limit","default":6},"population_run_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Population Run Dir"}},"type":"object","title":"TownhallRunIn"},"TrackEventOut":{"properties":{"ok":{"type":"boolean","title":"Ok"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"}},"type":"object","required":["ok","grant_id"],"title":"TrackEventOut"},"TrialRoomIn":{"properties":{"title":{"type":"string","maxLength":180,"minLength":4,"title":"Title"},"goal":{"type":"string","maxLength":8000,"minLength":10,"title":"Goal"},"acceptance_criteria":{"type":"string","maxLength":8000,"title":"Acceptance Criteria","default":""},"input_paths":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Input Paths"},"output_schema":{"additionalProperties":true,"type":"object","title":"Output Schema"},"max_cost_cents":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Max Cost Cents","default":0},"max_runtime_seconds":{"type":"integer","maximum":3600.0,"minimum":30.0,"title":"Max Runtime Seconds","default":300}},"type":"object","required":["title","goal"],"title":"TrialRoomIn"},"TrialRoomOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"goal":{"type":"string","title":"Goal"},"acceptance_criteria":{"type":"string","title":"Acceptance Criteria"},"input_paths":{"items":{"type":"string"},"type":"array","title":"Input Paths"},"output_schema":{"additionalProperties":true,"type":"object","title":"Output Schema"},"max_cost_cents":{"type":"integer","title":"Max Cost Cents"},"max_runtime_seconds":{"type":"integer","title":"Max Runtime Seconds"},"status":{"type":"string","title":"Status"},"selected_run_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Selected Run Id"},"deployed_agent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deployed Agent Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"runs":{"items":{"$ref":"#/components/schemas/TrialRunOut"},"type":"array","title":"Runs"}},"type":"object","required":["id","slug","title","goal","acceptance_criteria","input_paths","output_schema","max_cost_cents","max_runtime_seconds","status","selected_run_id","deployed_agent_id","created_at","updated_at"],"title":"TrialRoomOut"},"TrialRunIn":{"properties":{"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skill Name"},"args":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Args"},"args_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Args Json"}},"type":"object","required":["agent_name"],"title":"TrialRunIn"},"TrialRunOut":{"properties":{"id":{"type":"integer","title":"Id"},"agent_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agent Id"},"agent_name":{"type":"string","title":"Agent Name"},"skill_name":{"type":"string","title":"Skill Name"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"status":{"type":"string","title":"Status"},"score":{"type":"integer","title":"Score"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"evaluator_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluator Notes"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"args_preview":{"additionalProperties":true,"type":"object","title":"Args Preview"},"result":{"additionalProperties":true,"type":"object","title":"Result"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"file_ops":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"File Ops"},"receipt_json":{"additionalProperties":true,"type":"object","title":"Receipt Json"},"elapsed_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Elapsed Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","agent_id","agent_name","skill_name","grant_id","status","score","summary","evaluator_notes","error","args_preview","result","events","file_ops","receipt_json","elapsed_ms","created_at","started_at","completed_at"],"title":"TrialRunOut"},"TrialRunRatingIn":{"properties":{"score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Score"},"evaluator_notes":{"type":"string","maxLength":4000,"title":"Evaluator Notes","default":""},"passed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Passed"}},"type":"object","required":["score"],"title":"TrialRunRatingIn"},"UseCapabilityStep":{"properties":{"type":{"type":"string","const":"use_capability","title":"Type"},"capability_id":{"type":"string","title":"Capability Id"},"action":{"type":"string","title":"Action"},"resource":{"type":"string","title":"Resource"},"cost":{"type":"integer","minimum":0.0,"title":"Cost","default":0}},"additionalProperties":false,"type":"object","required":["type","capability_id","action","resource"],"title":"UseCapabilityStep"},"UseEdgeStep":{"properties":{"type":{"type":"string","const":"use_edge","title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"cost":{"type":"integer","minimum":0.0,"title":"Cost","default":1}},"additionalProperties":false,"type":"object","required":["type"],"title":"UseEdgeStep"},"UserOut":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","created_at"],"title":"UserOut"},"UserSessionOut":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["id","email"],"title":"UserSessionOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WalletOut":{"properties":{"balance_usd":{"type":"number","title":"Balance Usd"},"currency":{"type":"string","title":"Currency"},"entries":{"items":{"$ref":"#/components/schemas/CreditLedgerEntryOut"},"type":"array","title":"Entries"}},"type":"object","required":["balance_usd","currency"],"title":"WalletOut"},"WinnerCandidateSpec":{"properties":{"score_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Id"},"outcome_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Id"},"process_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Process Id"},"edge_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edge Id"},"capability_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability Id"}},"additionalProperties":false,"type":"object","title":"WinnerCandidateSpec"},"WorkspaceGrantDelegateIn":{"properties":{"audience":{"type":"string","maxLength":255,"minLength":1,"title":"Audience"},"allow_patterns":{"items":{"type":"string"},"type":"array","title":"Allow Patterns"},"deny_patterns":{"items":{"type":"string"},"type":"array","title":"Deny Patterns"},"mode":{"type":"string","title":"Mode","default":"read_only"},"outputs_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outputs Prefix"},"write_prefixes":{"items":{"type":"string"},"type":"array","title":"Write Prefixes"},"source_grants":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Source Grants"},"llm_models":{"items":{"type":"string"},"type":"array","title":"Llm Models"},"llm_max_budget_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Llm Max Budget Usd"},"llm_rpm_limit":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Llm Rpm Limit"},"llm_tpm_limit":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Llm Tpm Limit"},"ttl_seconds":{"type":"integer","maximum":7200.0,"minimum":1.0,"title":"Ttl Seconds","default":300}},"type":"object","required":["audience"],"title":"WorkspaceGrantDelegateIn"},"_AnswerIn":{"properties":{"answer":{"type":"string","title":"Answer"}},"type":"object","required":["answer"],"title":"_AnswerIn"},"_ApprovalIn":{"properties":{"decision":{"type":"string","title":"Decision"}},"type":"object","required":["decision"],"title":"_ApprovalIn"},"_ChatIn":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/_Message"},"type":"array","title":"Messages"},"stream":{"type":"boolean","title":"Stream","default":true},"approval_mode":{"type":"boolean","title":"Approval Mode","default":false},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"llm_creds_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Creds Name"},"main_llm_source":{"type":"string","enum":["platform","user"],"title":"Main Llm Source","default":"user"},"organization_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Slug"},"policy_overrides":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Policy Overrides"}},"type":"object","required":["messages"],"title":"_ChatIn"},"_CredsIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","default":"default"},"base_url":{"type":"string","minLength":4,"title":"Base Url"},"api_key":{"type":"string","minLength":4,"title":"Api Key"},"model":{"type":"string","minLength":1,"title":"Model"},"temperature_mode":{"type":"string","enum":["omit","default","custom"],"title":"Temperature Mode","default":"omit"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature"},"extra_body":{"additionalProperties":true,"type":"object","title":"Extra Body"}},"type":"object","required":["base_url","api_key","model"],"title":"_CredsIn"},"_InputResponseIn":{"properties":{"value":{"additionalProperties":true,"type":"object","title":"Value"}},"type":"object","required":["value"],"title":"_InputResponseIn"},"_Message":{"properties":{"role":{"type":"string","title":"Role"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"tool_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Call Id"}},"type":"object","required":["role"],"title":"_Message"},"_ThreadCreateIn":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settings"}},"type":"object","title":"_ThreadCreateIn"},"_ThreadOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"settings":{"additionalProperties":true,"type":"object","title":"Settings","default":{}}},"type":"object","required":["id","title","created_at","updated_at"],"title":"_ThreadOut"},"_ThreadPageOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/_ThreadOut"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"limit":{"type":"integer","title":"Limit"}},"type":"object","required":["items","next_cursor","limit"],"title":"_ThreadPageOut"},"_ThreadPatchIn":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settings"}},"type":"object","title":"_ThreadPatchIn"},"ErrorBody":{"title":"ErrorBody","type":"object","required":["code","message","status"],"properties":{"code":{"title":"Code","type":"string","description":"Stable machine-readable code: `http_<status>` for aborted requests, `validation_error` for a rejected request body."},"message":{"title":"Message","type":"string"},"status":{"title":"Status","type":"integer"}}},"ErrorResponse":{"title":"ErrorResponse","type":"object","required":["detail","error"],"properties":{"detail":{"title":"Detail","type":"string","description":"Human-readable reason. Prefer `error.code`."},"error":{"$ref":"#/components/schemas/ErrorBody"}}},"ValidationErrorResponse":{"title":"ValidationErrorResponse","type":"object","required":["detail","error"],"properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}},"error":{"$ref":"#/components/schemas/ErrorBody"}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Platform credential, sent as `Authorization: Bearer <token>`. Either a control-plane JWT issued by the dashboard sign-in flow or a Keycloak OIDC access token.\n\nIt is **not** accepted by every operation on this header: the SCIM endpoints take a `scimToken` and the hosted agent API takes an `agentApiToken`. Each operation names the scheme it accepts.\n\nThe browser session cookie is deliberately *not* offered as a second scheme. It is `HttpOnly`, carries the `__Host-` prefix, and every unsafe method additionally requires the dashboard `Origin` (see `enforce_browser_session_csrf`), so it is a first-party browser credential rather than something an API client can use."},"scimToken":{"type":"http","scheme":"bearer","description":"Organisation SCIM token (`a2a_scim_...`), sent as `Authorization: Bearer <token>`. Minted per organisation from `POST /v1/organizations/{slug}/scim/tokens` and handed to the identity provider. It authenticates the *directory*, carries no user identity, and a platform JWT is rejected here."},"agentApiToken":{"type":"http","scheme":"bearer","description":"Per-agent API token, sent as `Authorization: Bearer <token>`. Minted from `POST /v1/agents/{name}/api-tokens`, scoped to that one agent and to `invoke`/`mcp`. It is the credential an integrator embeds in an app that calls a hosted agent; a platform JWT is rejected on the invoke surface."},"workspaceGrant":{"type":"apiKey","in":"header","name":"X-A2A-Grant","description":"Signed workspace capability token. Minted by the control plane and handed to a running agent; it bounds path, mode, and lifetime on its own and is not interchangeable with a platform bearer token."},"landingBuildKey":{"type":"apiKey","in":"header","name":"X-A2A-Landing-Key","description":"First-party shared secret for the marketing site's guest Studio runs. Not issued to API consumers."}},"responses":{"BadRequest":{"description":"The request is well-formed but semantically rejected: an unusable field value, an unsupported option, or a payload the target cannot accept.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"No credential was supplied, or it is expired, malformed, or of a token type that is not valid for this API.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"PaymentRequired":{"description":"The account has no credit or no active plan for this operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"The credential is valid but not permitted for this operation: not the owner, or outside the token's scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"The addressed resource does not exist, or is not visible to this caller.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Conflict":{"description":"The request conflicts with current state - a duplicate name, an unsupported state transition, or an already-settled record.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Gone":{"description":"The resource existed and has been retired; it will not come back at this address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"PayloadTooLarge":{"description":"The request body exceeds the limit this operation accepts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UnsupportedMediaType":{"description":"The request body's content type is not one this operation accepts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"MethodNotAllowed":{"description":"The addressed resource exists but does not serve this HTTP method.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UnprocessableEntity":{"description":"The request failed validation; `detail` lists the offending fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"TooManyRequests":{"description":"The caller exceeded the request-rate ceiling for this class of endpoint. `Retry-After` carries the number of seconds until the window resets. Only the endpoint classes named in `control_plane.rate_limit` carry a ceiling; the rest of the API has none.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller's window resets.","schema":{"type":"integer","minimum":1}},"RateLimit-Limit":{"description":"Requests allowed per window for this endpoint class.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window resets. Mirrors `Retry-After`.","schema":{"type":"integer"}}}},"InternalServerError":{"description":"The control plane failed while carrying out an otherwise valid request. Safe to retry once.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"BadGateway":{"description":"A system the control plane depends on (the agent, the registry, the identity provider) answered with an error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"ServiceUnavailable":{"description":"A capability this operation needs is not configured or is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"GatewayTimeout":{"description":"A system the control plane depends on did not answer in time.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"security":[{"bearerAuth":[]}]}