{"openapi":"3.1.0","info":{"title":"VVDex Agent Service Lab","version":"0.3.0"},"paths":{"/api/lab/services":{"get":{"summary":"Lab Services","description":"What can run on a visitor's own file, with each input it needs and the limits.","operationId":"lab_services_api_lab_services_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/lab/limits":{"get":{"summary":"Lab Limits","operationId":"lab_limits_api_lab_limits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/lab/services/{service}/sample/{input_id}":{"get":{"summary":"Lab Sample","operationId":"lab_sample_api_lab_services__service__sample__input_id__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"input_id","in":"path","required":true,"schema":{"type":"string","title":"Input Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lab/runs":{"get":{"summary":"Lab Runs","operationId":"lab_runs_api_lab_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Lab Start","operationId":"lab_start_api_lab_runs_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/lab/runs/{run_id}":{"get":{"summary":"Lab Run","operationId":"lab_run_api_lab_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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lab/runs/{run_id}/decision":{"post":{"summary":"Lab Decide","operationId":"lab_decide_api_lab_runs__run_id__decision_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lab/runs/{run_id}/evidence":{"get":{"summary":"Lab Evidence","operationId":"lab_evidence_api_lab_runs__run_id__evidence_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":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lab/runs/{run_id}/evidence.html":{"get":{"summary":"Lab Evidence Page","operationId":"lab_evidence_page_api_lab_runs__run_id__evidence_html_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":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/lab/runs/{run_id}/artifacts/{name}":{"get":{"summary":"Lab Artifact","operationId":"lab_artifact_api_lab_runs__run_id__artifacts__name__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety":{"get":{"summary":"Safety Overview","description":"Every control's state in this workspace and what each caught, counted from the records.","operationId":"safety_overview_api_safety_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/stop":{"post":{"summary":"Set Stop","operationId":"set_stop_api_safety_stop_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/policies/{rule_id}":{"put":{"summary":"Set Policy","operationId":"set_policy_api_safety_policies__rule_id__put","parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/budgets":{"put":{"summary":"Set Budget","operationId":"set_budget_api_safety_budgets_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/pins/accept":{"post":{"summary":"Accept Pin","description":"Accept a changed tool definition (pins are shared by every workspace: the platform owner's call).","operationId":"accept_pin_api_safety_pins_accept_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/agents":{"get":{"summary":"Agent Inventory","description":"Every automation and agent of this workspace: owner, permissions, connected tools, spend, stage and\nlast run, read from the records that exist (deployments, contracts, connections, counters, events).","operationId":"agent_inventory_api_safety_agents_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/lineage/{intake_id}":{"get":{"summary":"Run Lineage","operationId":"run_lineage_api_safety_lineage__intake_id__get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/events":{"get":{"summary":"Safety Events","operationId":"safety_events_api_safety_events_get","parameters":[{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Run"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/coverage":{"get":{"summary":"Safety Coverage","description":"The risk-coverage map (public: it names our code, not anyone's data).","operationId":"safety_coverage_api_safety_coverage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/safety/policies/catalogue":{"get":{"summary":"Policy Catalogue","description":"The rules and where each is enforced (public: no workspace state).","operationId":"policy_catalogue_api_safety_policies_catalogue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/safety/retention":{"put":{"summary":"Set Retention","operationId":"set_retention_api_safety_retention_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetentionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/safety/retention/purge":{"post":{"summary":"Purge Runs","operationId":"purge_runs_api_safety_retention_purge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/triggers/compile":{"post":{"summary":"Compile Trigger","description":"A sentence, compiled into one of the Engine's triggers, for the owner to confirm. Nothing is saved:\nthe confirmed trigger goes to PUT /api/services/<id>/deployment/config.","operationId":"compile_trigger_api_triggers_compile_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerText"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/skill-steps":{"get":{"summary":"Skill Steps","operationId":"skill_steps_api_services__service_id__skill_steps_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/skills":{"get":{"summary":"List Skills","operationId":"list_skills_api_skills_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Save Skill","operationId":"save_skill_api_skills_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/skills/{skill_id}":{"delete":{"summary":"Delete Skill","operationId":"delete_skill_api_skills__skill_id__delete","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/skills/{skill_id}/apply":{"post":{"summary":"Apply Skill","description":"The new description with the skill's sentences added: compile it as usual, then check the carry-over.","operationId":"apply_skill_api_skills__skill_id__apply_post","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/skills/{skill_id}/check/{service_id}":{"get":{"summary":"Check Skill","description":"Did the skill's step, rules and tests carry over into this compiled automation?","operationId":"check_skill_api_skills__skill_id__check__service_id__get","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/pricing":{"get":{"summary":"Get Pricing","operationId":"get_pricing_api_admin_pricing_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put Pricing","operationId":"put_pricing_api_admin_pricing_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/spend":{"get":{"summary":"Team Spend","description":"Per team member: the token budget and the spend limit (estimated US dollars) per day, and what they\nused today, from the Safety layer's counters and its call ledger.","operationId":"team_spend_api_team_spend_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspaces":{"get":{"summary":"List Workspaces","operationId":"list_workspaces_api_workspaces_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Workspace","operationId":"create_workspace_api_workspaces_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewWorkspace"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/workspace/report":{"get":{"summary":"Workspace Report","operationId":"workspace_report_api_workspace_report_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":31,"minimum":1,"default":7,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/home":{"get":{"summary":"Client Home","operationId":"client_home_api_client_home_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/needs":{"get":{"summary":"Client Needs","operationId":"client_needs_api_client_needs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/needs/{intake_id}/approve":{"post":{"summary":"Client Approve","operationId":"client_approve_api_client_needs__intake_id__approve_post","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/needs/{intake_id}/reject":{"post":{"summary":"Client Reject","operationId":"client_reject_api_client_needs__intake_id__reject_post","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/runs":{"get":{"summary":"Client Runs","operationId":"client_runs_api_client_runs_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/runs/{intake_id}":{"get":{"summary":"Client Run","operationId":"client_run_api_client_runs__intake_id__get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/report":{"get":{"summary":"Client Report","operationId":"client_report_api_client_report_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":31,"minimum":1,"default":7,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/spend":{"get":{"summary":"Client Spend","operationId":"client_spend_api_client_spend_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/agents/{service_id}/stop":{"post":{"summary":"Client Stop","operationId":"client_stop_api_client_agents__service_id__stop_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/team":{"get":{"summary":"Client Team","operationId":"client_team_api_client_team_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/client/invites":{"post":{"summary":"Invite Client","description":"A named approver or viewer in this workspace, and their sign-in key, shown once (team.py stores only its\nhash). The key goes to the person by a channel the owner chooses; they paste it on /workspace.","operationId":"invite_client_api_client_invites_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/overview":{"get":{"summary":"Overview","operationId":"overview_api_studio_overview_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}":{"get":{"summary":"Studio Head","operationId":"studio_head_api_studio_a__sid__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/rules":{"get":{"summary":"Studio Rules","operationId":"studio_rules_api_studio_a__sid__rules_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/rules/preview":{"post":{"summary":"Rules Preview","operationId":"rules_preview_api_studio_a__sid__rules_preview_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulesBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/versions":{"post":{"summary":"Save Version","operationId":"save_version_api_studio_a__sid__versions_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulesBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Versions","operationId":"list_versions_api_studio_a__sid__versions_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/versions/{version}/rollback":{"post":{"summary":"Rollback","operationId":"rollback_api_studio_a__sid__versions__version__rollback_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/inspect":{"get":{"summary":"Inspect","operationId":"inspect_api_studio_a__sid__inspect_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"node","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Node"}},{"name":"intake","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intake"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/routing":{"get":{"summary":"Get Routing","operationId":"get_routing_api_studio_a__sid__routing_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put Routing","operationId":"put_routing_api_studio_a__sid__routing_put","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoutingBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/trigger":{"get":{"summary":"Get Trigger","operationId":"get_trigger_api_studio_a__sid__trigger_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put Trigger","description":"Save the sentence as this automation's planned trigger (kept with the deployment; it starts when the automation\nruns on the engine). An automation already on the engine changes its trigger in Go live (configure), which sends\nit back to validation; that path is not bypassed here.","operationId":"put_trigger_api_studio_a__sid__trigger_put","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/trigger/preview":{"post":{"summary":"Preview Trigger","operationId":"preview_trigger_api_studio_a__sid__trigger_preview_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/trigger/pause":{"post":{"summary":"Pause Trigger","operationId":"pause_trigger_api_studio_a__sid__trigger_pause_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/connections":{"get":{"summary":"Connections","operationId":"connections_api_studio_a__sid__connections_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/connections/check":{"post":{"summary":"Check Connections","description":"A read-only local check of every connection this automation uses: the record exists in this workspace, it\nis active, and its sealed secret opens with this Engine's vault key. No network call, nothing written, no secret\nshown.","operationId":"check_connections_api_studio_a__sid__connections_check_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/safe":{"get":{"summary":"Safe","operationId":"safe_api_studio_a__sid__safe_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/simulate":{"post":{"summary":"Simulate","operationId":"simulate_api_studio_a__sid__simulate_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/samples":{"get":{"summary":"Samples","operationId":"samples_api_studio_a__sid__samples_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/tests":{"get":{"summary":"Tests History","operationId":"tests_history_api_studio_a__sid__tests_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Run Tests","operationId":"run_tests_api_studio_a__sid__tests_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/a/{sid}/audit":{"get":{"summary":"Automation Audit","operationId":"automation_audit_api_studio_a__sid__audit_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs":{"get":{"summary":"Runs","operationId":"runs_api_studio_runs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"service","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Until"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Home Page","description":"The public product page: what VVDex does, the examples, and a place to start.","operationId":"home_page__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app":{"get":{"summary":"Index","description":"The console: compile, deploy, connect, approve, prove.","operationId":"index_app_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/workspace":{"get":{"summary":"Client Workspace Page","description":"The client view: what a company's own people see (client_api.py). Its own page, so none of the\noperator console's code is sent to a client's phone.","operationId":"client_workspace_page_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/problem/analyze":{"post":{"summary":"Analyze Problem","operationId":"analyze_problem_api_problem_analyze_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/definitions":{"post":{"summary":"Decide Definition","description":"Settle a business definition VVDex proposed. Until this is done the proposal decides\nnothing: the fact is undecided at run time and the service cannot be published. Accepting\ncompiles the service again in code (no model call); editing adds the owner's own sentence to\nthe description and reads it again, so the definition becomes the owner's words.","operationId":"decide_definition_api_services__service_id__definitions_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/meaning":{"post":{"summary":"Decide Meaning","operationId":"decide_meaning_api_services__service_id__meaning_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeaningDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/sources":{"post":{"summary":"Decide Event Source","description":"Declare the event's source authoritative for a fact the owner asked VVDex to verify or confirm\n(the trusted-source exception), or withdraw it. Compiled again in code; audited. A builder or the\nowner decides it for a workspace's service; nobody else, and never a model.","operationId":"decide_event_source_api_services__service_id__sources_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services":{"post":{"summary":"Build Service","description":"Anyone may compile. A signed-in caller's service is saved in their workspace;\nan anonymous one is a public draft that joins a workspace when first deployed.","operationId":"build_service_api_services_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List My Services","description":"The caller's workspace's services, newest first (the store sees only this workspace).","operationId":"list_my_services_api_services_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/process-ai":{"get":{"summary":"Process Ai Page","description":"Process AI: two record exports reconciled by rules, every change reviewed by a person.","operationId":"process_ai_page_process_ai_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/gtm":{"get":{"summary":"Gtm Page","description":"Go-to-market: the two client services and a brief builder into the Engine.","operationId":"gtm_page_gtm_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/product-ai":{"get":{"summary":"Product Ai Page","description":"Product AI: typed questions over your readings, every number checked by code.","operationId":"product_ai_page_product_ai_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/contact":{"get":{"summary":"Contact Page","operationId":"contact_page_contact_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents":{"get":{"summary":"Agents Page","description":"How the agents work: who plans, reads, decides, does, reviews and proves, in plain words.","operationId":"agents_page_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin Page","description":"The owner's own page: what visitors compiled and ran, who wrote, what the AI cost, and what\nis connected. The page itself is public; its data answers only the owner (api/admin/overview).","operationId":"admin_page_admin_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/overview":{"get":{"summary":"Admin Overview","description":"Everything the owner of this VVDex watches, in one answer. Owner only (like the messages).","operationId":"admin_overview_api_admin_overview_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":14,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/checkpoints":{"get":{"summary":"Admin Checkpoints","description":"The Jev checkpoints for the owner: whether Jev is configured and answering, each checkpoint's\nmode, every mode change, and the recent decision records (with their inputs, for replay).","operationId":"admin_checkpoints_api_admin_checkpoints_get","parameters":[{"name":"checkpoint","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkpoint"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Id"}},{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/checkpoints/mode":{"post":{"summary":"Admin Checkpoint Mode","description":"Change one checkpoint's mode; written to the audit with who and why.","operationId":"admin_checkpoint_mode_api_admin_checkpoints_mode_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckpointMode"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/run/{intake_id}":{"get":{"summary":"Admin Run","description":"One event's record for the admin's side panel: what came in and every step, releases included.","operationId":"admin_run_api_admin_run__intake_id__get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/conversations":{"get":{"summary":"Admin Conversations","operationId":"admin_conversations_api_admin_conversations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/conversations/{service_id}/{receiving_account}/{channel}/{contact}":{"get":{"summary":"Admin Conversation","operationId":"admin_conversation_api_admin_conversations__service_id___receiving_account___channel___contact__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"receiving_account","in":"path","required":true,"schema":{"type":"string","title":"Receiving Account"}},{"name":"channel","in":"path","required":true,"schema":{"type":"string","title":"Channel"}},{"name":"contact","in":"path","required":true,"schema":{"type":"string","title":"Contact"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/channels":{"get":{"summary":"Admin Channels","description":"Where people reach this VVDex and whether each way in works now: the WhatsApp number (its router, the\nservice that answers, who may use it), each Telegram bot (its webhook as Telegram reports it) and email.","operationId":"admin_channels_api_admin_channels_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/device":{"post":{"summary":"Admin Remember Device","description":"Remember the owner's admin on this device for 30 days, once the owner key has been accepted here.","operationId":"admin_remember_device_api_admin_device_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Admin Forget Device","operationId":"admin_forget_device_api_admin_device_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/admin/whatsapp-access":{"get":{"summary":"Admin Whatsapp Access","description":"Who the WhatsApp assistant answers: always (server setting), for a time (granted), and open invite codes.","operationId":"admin_whatsapp_access_api_admin_whatsapp_access_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Admin Whatsapp Access Change","operationId":"admin_whatsapp_access_change_api_admin_whatsapp_access_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppAccessChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/overview":{"get":{"summary":"Agents Overview","description":"The public facts behind /agents, read from the registry and the crew's own limits: the\nspecialists by kind of work, the reviewers, the quorum and the per-event limits. No model or\nprovider is named (public_names.py).","operationId":"agents_overview_api_agents_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/safety":{"get":{"summary":"Safety Page","description":"Safe: each control of the Safety layer working on a demo run, and the risk-coverage map.","operationId":"safety_page_safety_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/developers":{"get":{"summary":"Developers Page","description":"Developers: the REST API, the signed webhook, the MCP server and the command line, with curl examples.","operationId":"developers_page_developers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/use-cases":{"get":{"summary":"Use Cases Page","description":"Use cases: the catalogue grouped by the industries each entry's own \"buyer\" line names.","operationId":"use_cases_page_use_cases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/engagements":{"get":{"summary":"Engagements Page","description":"How we work: the steps from first email to live, what we need, the FarmQuick case, the questions. No prices.","operationId":"engagements_page_engagements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/trust":{"get":{"summary":"Trust Page","description":"Security and trust: the controls in code, data and access, and what it does not have (no certifications).","operationId":"trust_page_trust_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/compare":{"get":{"summary":"Compare Page","description":"VVDex Engine next to Gumloop, StackAI, Sim and Waxell, each claim of theirs linked to its source.","operationId":"compare_page_compare_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/changelog":{"get":{"summary":"Changelog Page","description":"The commit history by date (tools/build_changelog.py writes it).","operationId":"changelog_page_changelog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/proof":{"get":{"summary":"Proof Page","description":"Proof: a real sealed run anyone can re-verify, the tests, the rules the engine enforces,\npublic engineering source, and what it does not do yet.","operationId":"proof_page_proof_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/{service_id}":{"get":{"summary":"Demo Page","description":"A compiled service (a visitor's own, from the console) running as a working demo.","operationId":"demo_page_demo__service_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/enquiries":{"post":{"summary":"Send Enquiry","description":"Talk to us (enquiries.py): stored, then emailed to the owner with Reply-To the sender.","operationId":"send_enquiry_api_enquiries_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Enquiries","description":"The messages people sent through Talk to us: for the owner of this VVDex only.","operationId":"list_enquiries_api_enquiries_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/services":{"get":{"summary":"Catalogue Page","description":"The fifty agent services: find one, see exactly what it does, try it, use it.","operationId":"catalogue_page_services_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/services/{service}":{"get":{"summary":"Catalogue Service Page","operationId":"catalogue_service_page_services__service__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/catalog":{"get":{"summary":"List Catalogue","operationId":"list_catalogue_api_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/catalog/{service}":{"get":{"summary":"Get Catalogue Service","operationId":"get_catalogue_service_api_catalog__service__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/catalog/{service}/try":{"post":{"summary":"Try Catalogue Service","description":"What this service would do with your input, and why. Nothing is executed.","operationId":"try_catalogue_service_api_catalog__service__try_post","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/catalog/{service}/tests":{"post":{"summary":"Run Catalogue Tests","description":"Run Engine's own test suite on one catalogue automation now and return the sealed results.\nNo side effects outside the in-memory test systems of this call.","operationId":"run_catalogue_tests_api_catalog__service__tests_post","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/tests":{"post":{"summary":"Run Service Tests","description":"The console's Prove: the same suite as a catalogue page, on one automation the caller can see, now.\nRuns against in-memory test systems only (no model, no connection, nothing written outside this call);\nsealed with the evidence code; cached per contract hash for a minute and rate-limited per address.","operationId":"run_service_tests_api_services__service_id__tests_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/spend":{"get":{"summary":"Workspace Spend","description":"Today's AI spend for the caller's workspace against its daily limit (the numbers _guard_model_request\nalready enforces), and the per-address hourly request limit. Read-only.","operationId":"workspace_spend_api_spend_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/services/{service_id}":{"get":{"summary":"Demo Service","description":"The run panel's description of a service's demo: its own steps and what it asks for.","operationId":"demo_service_api_demo_services__service_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/services/{service_id}/sample":{"get":{"summary":"Demo Sample","description":"Our sample event for this service: checked and kept for a catalogue service, written\non request (and kept with its contract) for one a visitor compiled.","operationId":"demo_sample_api_demo_services__service_id__sample_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs":{"post":{"summary":"Start Demo","operationId":"start_demo_api_demo_runs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoRunRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blueprints/{service_id}":{"get":{"summary":"Blueprint Of","description":"The workflow blueprint of a service, and optionally one demo run painted on it (the run must belong to this\nservice and this revision; otherwise it is refused or reported as another revision, never repainted).","operationId":"blueprint_of_api_blueprints__service_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"run","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Run"}},{"name":"format","in":"query","required":false,"schema":{"enum":["json","mermaid"],"type":"string","default":"json","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blueprints/{service_id}/steps/{node_id}":{"get":{"summary":"Blueprint Step","description":"For an agent: one step's dependencies, downstream effects, requirements, open inputs and evidence ids.","operationId":"blueprint_step_api_blueprints__service_id__steps__node_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"node_id","in":"path","required":true,"schema":{"type":"string","title":"Node Id"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"default":1,"title":"Depth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/blueprints/intake/{intake_id}":{"get":{"summary":"Blueprint Of Event","description":"A live (or shadow) event painted on the blueprint of the revision it ran on.","operationId":"blueprint_of_event_api_blueprints_intake__intake_id__get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}":{"get":{"summary":"Demo Run","operationId":"demo_run_api_demo_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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}/decision":{"post":{"summary":"Demo Decide","operationId":"demo_decide_api_demo_runs__run_id__decision_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}/evidence":{"get":{"summary":"Demo Evidence","operationId":"demo_evidence_api_demo_runs__run_id__evidence_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":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}/sandbox":{"get":{"summary":"Demo Run Sandbox","description":"The run's sandbox systems: what was there before it ran and what it wrote (never sent outside).\nWith the n8n lane, also the run's delivered mail in the sandbox mailbox (only this run's, by tag).","operationId":"demo_run_sandbox_api_demo_runs__run_id__sandbox_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":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}/artifacts/{name}":{"get":{"summary":"Demo Artifact","operationId":"demo_artifact_api_demo_runs__run_id__artifacts__name__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/demo/runs/{run_id}/evidence.html":{"get":{"summary":"Demo Evidence Page","operationId":"demo_evidence_page_api_demo_runs__run_id__evidence_html_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays":{"get":{"summary":"Replay Index","operationId":"replay_index_api_replays_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/replays/{service}":{"get":{"summary":"Replay Service","operationId":"replay_service_api_replays__service__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays/{service}/{slug}":{"get":{"summary":"Replay One","operationId":"replay_one_api_replays__service___slug__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays/{service}/{slug}/runs/{run_id}/evidence":{"get":{"summary":"Replay Evidence","operationId":"replay_evidence_api_replays__service___slug__runs__run_id__evidence_get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays/{service}/{slug}/runs/{run_id}/sandbox":{"get":{"summary":"Replay Sandbox","operationId":"replay_sandbox_api_replays__service___slug__runs__run_id__sandbox_get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays/{service}/{slug}/runs/{run_id}/artifacts/{name}":{"get":{"summary":"Replay Artifact","operationId":"replay_artifact_api_replays__service___slug__runs__run_id__artifacts__name__get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/replays/{service}/{slug}/runs/{run_id}/evidence.html":{"get":{"summary":"Replay Evidence Page","operationId":"replay_evidence_page_api_replays__service___slug__runs__run_id__evidence_html_get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/rules":{"get":{"summary":"Service Rules","description":"What a compiled service does, in plain words, with each fact's label: the console's\nTry it asks the visitor exactly these facts, as a catalogue page does.","operationId":"service_rules_api_services__service_id__rules_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/try":{"post":{"summary":"Try Service","description":"Try any compiled service you can see, the same way. Nothing is executed.","operationId":"try_service_api_services__service_id__try_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/catalog/{service}/use":{"post":{"summary":"Use Catalogue Service","description":"Put the catalogue service, exactly as compiled, into the caller's workspace (a public\ndraft when signed out). Nothing is re-planned, so no model is called.","operationId":"use_catalogue_service_api_catalog__service__use_post","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}":{"get":{"summary":"Get Service","operationId":"get_service_api_services__service_id__get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/bindings":{"get":{"summary":"Get Bindings","operationId":"get_bindings_api_services__service_id__bindings_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"provider","in":"query","required":false,"schema":{"enum":["activepieces","engine"],"type":"string","default":"engine","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/execution-plan":{"get":{"summary":"Get Execution Plan","operationId":"get_execution_plan_api_services__service_id__execution_plan_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"provider","in":"query","required":false,"schema":{"enum":["activepieces","engine"],"type":"string","default":"engine","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/activepieces-specs":{"get":{"summary":"Get Activepieces Specs","operationId":"get_activepieces_specs_api_services__service_id__activepieces_specs_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"provider","in":"query","required":false,"schema":{"const":"activepieces","type":"string","default":"activepieces","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/deploy/activepieces/draft":{"post":{"summary":"Deploy Activepieces Drafts","operationId":"deploy_activepieces_drafts_api_services__service_id__deploy_activepieces_draft_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/deployment":{"get":{"summary":"Get Deployment","operationId":"get_deployment_api_services__service_id__deployment_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put Deployment","description":"Record where this service's release flow lives, bound to the CURRENT contract.\n\nUsed for flows built outside the draft endpoint. Recording a target starts\nvalidation again; lifecycle changes use the status endpoint and its gates.\nThe contract hash is taken from the stored service, never from the caller.","operationId":"put_deployment_api_services__service_id__deployment_put","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/deployment/status":{"post":{"summary":"Set Deployment Status","description":"Lifecycle step. Moving to shadow or live starts the engine's trigger for a\nnative deployment; shadow holds every event and releases nothing.","operationId":"set_deployment_status_api_services__service_id__deployment_status_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intake":{"post":{"summary":"Accept Execution Intake","operationId":"accept_execution_intake_api_execution_intake_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionIntakeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes":{"get":{"summary":"List Execution Intakes","operationId":"list_execution_intakes_api_execution_intakes_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}":{"get":{"summary":"Get Execution Intake","operationId":"get_execution_intake_api_execution_intakes__intake_id__get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/review":{"get":{"summary":"Review Execution Intake","description":"Everything an approver needs to decide, and exactly what approval would release.","operationId":"review_execution_intake_api_execution_intakes__intake_id__review_get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/approve":{"post":{"summary":"Approve Execution Intake","operationId":"approve_execution_intake_api_execution_intakes__intake_id__approve_post","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/approval-roles":{"get":{"summary":"Approval Roles","operationId":"approval_roles_api_services__service_id__approval_roles_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/reject":{"post":{"summary":"Reject Execution Intake","operationId":"reject_execution_intake_api_execution_intakes__intake_id__reject_post","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeRejectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/release/consume":{"post":{"summary":"Consume Release Grant","operationId":"consume_release_grant_api_execution_release_consume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseConsumeRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/dispatches":{"get":{"summary":"List Release Dispatches","operationId":"list_release_dispatches_api_execution_dispatches_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/dispatches/{dispatch_id}":{"get":{"summary":"Get Release Dispatch","operationId":"get_release_dispatch_api_execution_dispatches__dispatch_id__get","parameters":[{"name":"dispatch_id","in":"path","required":true,"schema":{"type":"string","title":"Dispatch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/dispatches/{dispatch_id}/retry":{"post":{"summary":"Retry Release Dispatch","description":"Re-deliver the SAME signed grant. Never mints a new one.","operationId":"retry_release_dispatch_api_execution_dispatches__dispatch_id__retry_post","parameters":[{"name":"dispatch_id","in":"path","required":true,"schema":{"type":"string","title":"Dispatch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/methods":{"get":{"summary":"Auth Methods","operationId":"auth_methods_api_auth_methods_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/email/start":{"post":{"summary":"Login Start","description":"Email a one-time code. The answer is the same whether or not the address has\nan account, so the endpoint cannot be used to find out who has one.","operationId":"login_start_api_auth_email_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/email/verify":{"post":{"summary":"Login Verify","operationId":"login_verify_api_auth_email_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"summary":"Logout","operationId":"logout_api_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/google/start":{"get":{"summary":"Google Login Start","operationId":"google_login_start_api_auth_google_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/google/callback":{"get":{"summary":"Google Login Callback","operationId":"google_login_callback_api_auth_google_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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/me":{"get":{"summary":"Whoami","operationId":"whoami_api_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/session":{"get":{"summary":"Session State","description":"For the public pages' header: the signed-in person's name, or nobody. Never a 401:\non a public page a visitor who is not signed in is the normal case, not an error.","operationId":"session_state_api_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/team":{"get":{"summary":"List Team","operationId":"list_team_api_team_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/operators":{"post":{"summary":"Create Operator","operationId":"create_operator_api_team_operators_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/operators/{operator_id}/disable":{"post":{"summary":"Disable Operator","operationId":"disable_operator_api_team_operators__operator_id__disable_post","parameters":[{"name":"operator_id","in":"path","required":true,"schema":{"type":"string","title":"Operator Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/operators/{operator_id}/keys":{"post":{"summary":"Create Api Key","description":"The full key is returned ONCE. Only its SHA-256 hash is stored.","operationId":"create_api_key_api_team_operators__operator_id__keys_post","parameters":[{"name":"operator_id","in":"path","required":true,"schema":{"type":"string","title":"Operator Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/team/keys/{prefix}":{"delete":{"summary":"Revoke Api Key","operationId":"revoke_api_key_api_team_keys__prefix__delete","parameters":[{"name":"prefix","in":"path","required":true,"schema":{"type":"string","title":"Prefix"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/audit":{"get":{"summary":"Audit Log","operationId":"audit_log_api_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/channels":{"get":{"summary":"List Channels","operationId":"list_channels_api_notifications_channels_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Add Channel","operationId":"add_channel_api_notifications_channels_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/channels/{channel_id}":{"delete":{"summary":"Remove Channel","operationId":"remove_channel_api_notifications_channels__channel_id__delete","parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","title":"Channel Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/notifications/test":{"post":{"summary":"Test Notifications","operationId":"test_notifications_api_notifications_test_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/approve/{token}":{"get":{"summary":"Approve Link Page","description":"Shows the decision. GET never decides anything: link scanners open links.","operationId":"approve_link_page_approve__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Approve Link Decide","operationId":"approve_link_decide_approve__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/engine":{"get":{"summary":"Engine Status","operationId":"engine_status_api_engine_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents":{"get":{"summary":"Agent Catalogue","description":"The agents the Engine can put to work (ruvnet/ruflo's, MIT, pinned; and the Engine's own),\nwhat became of each ruflo skill, command and tool, how the crew uses the agents, and what each\nspecialist did on this workspace's services in the last 30 days (counted from the events).","operationId":"agent_catalogue_api_agents_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/dashboard":{"get":{"summary":"Agents Dashboard","description":"Everything about this workspace's agents in one place: who they are and whether they are on,\nwhat each did (counted from the events), what they read, what approvers did with their work, the\nlessons they learned and where each was used, the settings, and every change to them.","operationId":"agents_dashboard_api_agents_dashboard_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/settings":{"put":{"summary":"Save Agent Controls","description":"The owner's controls over this workspace's agents; every change is in the audit log.","operationId":"save_agent_controls_api_agents_settings_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentControls"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/lessons/{lesson_id}":{"post":{"summary":"Decide Lesson","description":"Switch a lesson on or off, or forget it (its text is erased; that it existed and how it was used\nstays). Every decision is in the audit log.","operationId":"decide_lesson_api_agents_lessons__lesson_id__post","parameters":[{"name":"lesson_id","in":"path","required":true,"schema":{"type":"integer","title":"Lesson Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/agents/{agent_id}":{"get":{"summary":"Agent Detail","description":"One agent, with the role and method it is given when it does a step.","operationId":"agent_detail_api_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections":{"post":{"summary":"Add Connection","description":"API-token connectors (Zendesk). The credential is checked against the\nvendor first, then encrypted; it is never returned by any endpoint.","operationId":"add_connection_api_connections_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/hubspot/test":{"post":{"summary":"Test Hubspot Key","description":"A safe, read-only test of a HubSpot Service Key (or legacy private-app token): each check with\nHubSpot's own status and reason. Nothing is stored or created, and the key is never returned.","operationId":"test_hubspot_key_api_connections_hubspot_test_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubSpotTestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/{connection_id}":{"delete":{"summary":"Revoke Connection","operationId":"revoke_connection_api_connections__connection_id__delete","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/gmail/start":{"post":{"summary":"Gmail Start","operationId":"gmail_start_api_connections_gmail_start_post","parameters":[{"name":"admin","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Admin"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/gmail/callback":{"get":{"summary":"Gmail Callback","operationId":"gmail_callback_api_connections_gmail_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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/deploy/native":{"post":{"summary":"Deploy Native","description":"Deploy on the VVDex engine. Refused while any capability is unresolved or any\nconnection is missing or ambiguous: nothing is guessed.","operationId":"deploy_native_api_services__service_id__deploy_native_post","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NativeDeployRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/engine":{"get":{"summary":"Service Engine Status","operationId":"service_engine_status_api_services__service_id__engine_get","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/runlog":{"get":{"summary":"Intake Runlog","description":"Every block of one live (or shadow) run: the time it took, its model calls, tokens and estimated\ncost, and its failures and retries, from the run's receipts and the Safety layer's call ledger.","operationId":"intake_runlog_api_execution_intakes__intake_id__runlog_get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/evidence":{"get":{"summary":"Live Evidence","operationId":"live_evidence_api_execution_intakes__intake_id__evidence_get","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/releases/{jti}":{"get":{"summary":"Release Status","operationId":"release_status_api_execution_releases__jti__get","parameters":[{"name":"jti","in":"path","required":true,"schema":{"type":"string","title":"Jti"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/releases/{jti}/retry":{"post":{"summary":"Retry Release","description":"Resume a failed release with the SAME grant. Finished writes are not repeated; a write whose\noutcome was unknown runs again only when the person states what they checked at the vendor.","operationId":"retry_release_api_execution_releases__jti__retry_post","parameters":[{"name":"jti","in":"path","required":true,"schema":{"type":"string","title":"Jti"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RetryRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connectors":{"get":{"summary":"Connector Library","operationId":"connector_library_api_connectors_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connectors/{key}":{"get":{"summary":"Connector Detail","operationId":"connector_detail_api_connectors__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connectors/{key}/actions/{action}/options":{"post":{"summary":"Connector Options","description":"Load a dynamic pick-list (channels, lists, pipelines...) from the vendor. A read.","operationId":"connector_options_api_connectors__key__actions__action__options_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/oauth/{key}/start":{"post":{"summary":"Oauth Start","operationId":"oauth_start_api_connections_oauth__key__start_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"admin","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Admin"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connections/oauth/callback":{"get":{"summary":"Oauth Callback","operationId":"oauth_callback_api_connections_oauth_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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connectors/{key}/actions/{action}/read":{"post":{"summary":"Connector Read","operationId":"connector_read_api_connectors__key__actions__action__read_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/connectors/{key}/actions/{action}/propose":{"post":{"summary":"Connector Propose","description":"Propose a write on any installed connector. It is held; nothing runs until a\nperson signs these exact parameters in Approvals.","operationId":"connector_propose_api_connectors__key__actions__action__propose_post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/history":{"get":{"summary":"Execution History","operationId":"execution_history_api_execution_history_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"service","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/execution/intakes/{intake_id}/replay":{"post":{"summary":"Replay Intake","description":"Run a past event again through the service's CURRENT design, as a new held\nevent. It never re-uses the old decision or grant.","operationId":"replay_intake_api_execution_intakes__intake_id__replay_post","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/services/{service_id}/deployment/config":{"put":{"summary":"Configure Service","description":"Trigger + steps for a service on the VVDex engine. Any change sends the\ndeployment back to Validated: a live service is never re-plumbed silently.","operationId":"configure_service_api_services__service_id__deployment_config_put","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceConfigRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hooks/{hook_id}":{"post":{"summary":"Receive Webhook","operationId":"receive_webhook_api_hooks__hook_id__post","parameters":[{"name":"hook_id","in":"path","required":true,"schema":{"type":"string","title":"Hook Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/hooks/{hook_id}/telegram":{"post":{"summary":"Receive Telegram","description":"A service started by messages to a Telegram bot (setWebhook to this address with the derived\nsecret). Telegram cannot sign a body; it returns the secret in a header, checked in constant time.\nEach update is taken once (its update_id); Telegram gets 200 fast and the agents work after.","operationId":"receive_telegram_api_hooks__hook_id__telegram_post","parameters":[{"name":"hook_id","in":"path","required":true,"schema":{"type":"string","title":"Hook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/whatsapp/webhook":{"get":{"summary":"Whatsapp Subscribe","description":"Meta's subscription check: echo hub.challenge only for our verify token.","operationId":"whatsapp_subscribe_api_whatsapp_webhook_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Whatsapp Events","description":"Every event for the VVDex WhatsApp number (control_plane/whatsapp.py): verified, forwarded\nunchanged to the address that had it before, and a text from a number on the answer list starts\nthe Engine's WhatsApp service once per message id.","operationId":"whatsapp_events_api_whatsapp_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/forms/{form_id}":{"get":{"summary":"Show Form","operationId":"show_form_forms__form_id__get","parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"string","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Submit Form","operationId":"submit_form_forms__form_id__post","parameters":[{"name":"form_id","in":"path","required":true,"schema":{"type":"string","title":"Form Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp":{"post":{"summary":"Mcp Endpoint","operationId":"mcp_endpoint_mcp_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Mcp Get","operationId":"mcp_get_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/evidence/verify":{"post":{"summary":"Verify Evidence","description":"Recompute a bundle's digest from its receipts. Pure computation: lets a\nreviewer alter any receipt and watch verification fail.","operationId":"verify_evidence_api_evidence_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionClass":{"type":"string","enum":["READ","SEARCH","WRITE","DESTRUCTIVE","INTERNAL"],"title":"ActionClass"},"ActionGuard":{"properties":{"action":{"type":"string","title":"Action"},"text":{"type":"string","title":"Text"},"deny_when":{"$ref":"#/components/schemas/Expr"},"params":{"items":{"type":"string"},"type":"array","title":"Params"},"facts":{"items":{"type":"string"},"type":"array","title":"Facts"},"provenance":{"type":"string","title":"Provenance","default":"user_rule"},"requirement_ids":{"items":{"type":"string"},"type":"array","title":"Requirement Ids"}},"type":"object","required":["action","text","deny_when"],"title":"ActionGuard","description":"A hard \"never\" rule on the ARGUMENTS of an action the service may take.\n\n`deny_when` tests the action's own arguments (as facts named `arg.<param>`) and the\nevent's facts. It is checked in code on the exact arguments before the action runs,\nand again at execution, on every path: released by policy or approved by a person.\nIt denies when the condition holds AND when it cannot be decided (an argument or a\nfact missing): fail closed. An approval never overrides it; there is no approver."},"AgentControls":{"properties":{"learning":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Learning"},"secondModelReviews":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Secondmodelreviews"},"disabledAgents":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Disabledagents"}},"type":"object","title":"AgentControls"},"AnnotationRule":{"properties":{"text":{"type":"string","maxLength":1000,"minLength":1,"title":"Text"},"when":{"additionalProperties":true,"type":"object","title":"When"},"field":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$","title":"Field"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["text","when","field","value"],"title":"AnnotationRule"},"ApplyBody":{"properties":{"problem":{"type":"string","maxLength":6000,"title":"Problem","default":""}},"type":"object","title":"ApplyBody"},"ApprovalBranch":{"properties":{"approver":{"type":"string","title":"Approver"},"when":{"$ref":"#/components/schemas/Expr"},"basis":{"type":"string","enum":["owner","default","invariant","floor","check","follows"],"title":"Basis","default":"owner"}},"type":"object","required":["approver","when"],"title":"ApprovalBranch","description":"Who must approve, and on which branch (a rule may name several approvers)."},"AuthorityPolicy":{"type":"string","enum":["allow","prepare_only","require_approval","conditional_approval","allow_when","branched","deny"],"title":"AuthorityPolicy"},"AuthorityRule":{"properties":{"action":{"type":"string","title":"Action"},"policy":{"$ref":"#/components/schemas/AuthorityPolicy"},"reason":{"type":"string","title":"Reason"},"conditions":{"items":{"$ref":"#/components/schemas/RuleCondition"},"type":"array","title":"Conditions"},"requirement_ids":{"items":{"type":"string"},"type":"array","title":"Requirement Ids"},"release_when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"approve_when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"forbid_when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"approver":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approver"},"approvals":{"items":{"$ref":"#/components/schemas/ApprovalBranch"},"type":"array","title":"Approvals"},"follows":{"items":{"type":"string"},"type":"array","title":"Follows"}},"type":"object","required":["action","policy","reason"],"title":"AuthorityRule"},"BudgetBody":{"properties":{"kind":{"type":"string","enum":["automation","agent","person"],"title":"Kind"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"tokens":{"anyOf":[{"type":"integer","maximum":10000000000.0,"minimum":0.0},{"type":"null"}],"title":"Tokens"},"usd":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Usd"}},"type":"object","required":["kind","name"],"title":"BudgetBody"},"BuildResult":{"properties":{"proposal":{"$ref":"#/components/schemas/ServiceProposal"},"graph":{"$ref":"#/components/schemas/CompiledGraph"},"evaluations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Evaluations"},"coverage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Coverage"},"planner":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Planner"}},"type":"object","required":["proposal","graph","evaluations"],"title":"BuildResult"},"Capability":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"classification":{"$ref":"#/components/schemas/ActionClass"},"idempotent":{"type":"boolean","title":"Idempotent"},"purpose":{"type":"string","title":"Purpose"},"synthetic":{"type":"boolean","title":"Synthetic","default":true},"step_kind":{"anyOf":[{"type":"string","enum":["deterministic","model_reasoning"]},{"type":"null"}],"title":"Step Kind"},"automatic":{"type":"boolean","title":"Automatic","default":false},"signal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signal"},"requirement_ids":{"items":{"type":"string"},"type":"array","title":"Requirement Ids"},"dependency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dependency"},"produces":{"items":{"$ref":"#/components/schemas/FactSpec"},"type":"array","title":"Produces"},"guard":{"items":{"$ref":"#/components/schemas/RuleCondition"},"type":"array","title":"Guard"},"when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"params":{"items":{"$ref":"#/components/schemas/ParamSpec"},"type":"array","title":"Params"},"carries":{"additionalProperties":true,"type":"object","title":"Carries"},"operation":{"anyOf":[{"$ref":"#/components/schemas/OperationSpec"},{"type":"null"}]}},"type":"object","required":["id","label","classification","idempotent","purpose"],"title":"Capability"},"ChannelRequest":{"properties":{"kind":{"type":"string","enum":["telegram","gmail","webhook"],"title":"Kind"},"connectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connectionid"},"target":{"type":"string","maxLength":300,"title":"Target"},"events":{"items":{"type":"string"},"type":"array","title":"Events","default":["approval.needed","release.failed","trigger.error"]},"operatorId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operatorid"}},"type":"object","required":["kind","target"],"title":"ChannelRequest"},"CheckpointMode":{"properties":{"checkpoint":{"type":"string","pattern":"^cp[123]$","title":"Checkpoint"},"mode":{"type":"string","pattern":"^(off|shadow|enforce)$","title":"Mode"},"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"}},"type":"object","required":["checkpoint","mode"],"title":"CheckpointMode"},"CompiledGraph":{"properties":{"schema":{"type":"string","enum":["vvdex.service-graph/v1","vvdex.service-graph/v2"],"title":"Schema","default":"vvdex.service-graph/v1"},"serviceId":{"type":"string","title":"Serviceid"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category","default":"generated"},"family":{"type":"string","title":"Family","default":"problem-to-service"},"riskClass":{"type":"string","enum":["low","medium","high"],"title":"Riskclass","default":"medium"},"serviceVersion":{"type":"string","title":"Serviceversion","default":"0.1.0"},"graphVersion":{"type":"string","title":"Graphversion","default":"1"},"definitionHash":{"type":"string","title":"Definitionhash"},"startNodeId":{"type":"string","title":"Startnodeid"},"nodeCount":{"type":"integer","title":"Nodecount"},"edgeCount":{"type":"integer","title":"Edgecount"},"humanGateCount":{"type":"integer","const":1,"title":"Humangatecount","default":1},"nodes":{"items":{"$ref":"#/components/schemas/GraphNode"},"type":"array","title":"Nodes"},"edges":{"items":{"$ref":"#/components/schemas/GraphEdge"},"type":"array","title":"Edges"},"publicBoundary":{"additionalProperties":true,"type":"object","title":"Publicboundary"}},"type":"object","required":["serviceId","name","definitionHash","startNodeId","nodeCount","edgeCount","nodes","edges"],"title":"CompiledGraph"},"ConnectionRequest":{"properties":{"connector":{"type":"string","title":"Connector"},"secret":{"additionalProperties":true,"type":"object","title":"Secret"},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Displayname"}},"type":"object","required":["connector","secret"],"title":"ConnectionRequest"},"ConnectorActionRequest":{"properties":{"connectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connectionid"},"props":{"additionalProperties":true,"type":"object","title":"Props","default":{}},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"ConnectorActionRequest"},"Decision":{"properties":{"contentHash":{"type":"string","maxLength":64,"minLength":64,"title":"Contenthash"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","required":["contentHash"],"title":"Decision"},"DefinitionDecision":{"properties":{"fact":{"type":"string","maxLength":120,"title":"Fact"},"decision":{"type":"string","enum":["accept","edit","records"],"title":"Decision"},"text":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Text"},"lookup":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Lookup"},"inputs":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Inputs"}},"type":"object","required":["fact","decision"],"title":"DefinitionDecision","description":"The owner's answer to a definition VVDex proposed: accept it as it is, or say in their\nown words what makes the term true (that sentence joins the description and is read again)."},"DemoDecision":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"}},"type":"object","required":["decision"],"title":"DemoDecision"},"DemoRunRequest":{"properties":{"serviceId":{"type":"string","maxLength":120,"minLength":1,"title":"Serviceid"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"answers":{"additionalProperties":true,"type":"object","title":"Answers"},"sample":{"type":"boolean","title":"Sample","default":false}},"type":"object","required":["serviceId"],"title":"DemoRunRequest"},"DeploymentRequest":{"properties":{"intakeFlowId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intakeflowid"},"releaseFlowId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Releaseflowid"},"releaseWebhookUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Releasewebhookurl"},"status":{"type":"string","title":"Status","default":"drafts_validated"},"activepiecesProject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Activepiecesproject"},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks","default":{}},"plannedTrigger":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Plannedtrigger"},"label":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Label"}},"type":"object","title":"DeploymentRequest"},"DeploymentStatusRequest":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"DeploymentStatusRequest"},"EvidenceVerifyRequest":{"properties":{"bundle":{"additionalProperties":true,"type":"object","title":"Bundle"}},"type":"object","required":["bundle"],"title":"EvidenceVerifyRequest"},"ExecutionIntakeRequest":{"properties":{"serviceId":{"type":"string","title":"Serviceid"},"contractHash":{"type":"string","title":"Contracthash"},"eventId":{"type":"string","title":"Eventid"},"event":{"title":"Event"},"context":{"additionalProperties":true,"type":"object","title":"Context","default":{}}},"type":"object","required":["serviceId","contractHash","eventId","event"],"title":"ExecutionIntakeRequest"},"Expr":{"properties":{"op":{"type":"string","enum":["all","any","not","test"],"title":"Op"},"args":{"items":{"$ref":"#/components/schemas/Expr"},"type":"array","title":"Args"},"test":{"anyOf":[{"$ref":"#/components/schemas/RuleCondition"},{"type":"null"}]}},"type":"object","required":["op"],"title":"Expr","description":"A condition tree over produced facts: `all` and `any` combine `args`, `not`\nnegates its one arg, `test` is one RuleCondition. `all` with no args always\nholds; `any` with no args never does. Evaluated three-valued: a fact nobody\ncould decide makes a test undecided, and undecided never releases a write."},"FactSpec":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","enum":["boolean","number","enum","text","date","list"],"title":"Type"},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"item_type":{"anyOf":[{"type":"string","enum":["boolean","number","enum","text","date"]},{"type":"null"}],"title":"Item Type"},"derivation":{"type":"string","enum":["deterministic","model","event"],"title":"Derivation"},"description":{"type":"string","title":"Description","default":""},"source":{"anyOf":[{"type":"string","enum":["event","lookup","history","derived","judgment","clock"]},{"type":"null"}],"title":"Source"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"lookup":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lookup"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"inputs":{"items":{"type":"string"},"type":"array","title":"Inputs"},"window":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Window"},"shift":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Shift"},"extract":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extract"},"compute":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Compute"},"rule":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"absent":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"null"}],"title":"Absent"},"producer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Producer"},"depends_on":{"items":{"type":"string"},"type":"array","title":"Depends On"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence"},"provenance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provenance"},"proposed_rule":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"definition_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definition Text"},"confirmed":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Confirmed"},"trust":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trust"},"establish":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Establish"},"compiled":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Compiled"}},"type":"object","required":["name","type","derivation"],"title":"FactSpec","description":"A typed business fact a step produces, which later conditions may test.\n\n`derivation` says who decides the value: `deterministic` code over the event,\nthe owner's records or history; a `model` that must quote the document; or the\n`event` itself (a field read from it). Enum facts list every allowed value."},"GraphEdge":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"},"branchType":{"type":"string","enum":["clean","exception","approval","rejection","escalation","retry","policy_clear","guard","review"],"title":"Branchtype"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"}},"type":"object","required":["id","source","target","branchType"],"title":"GraphEdge"},"GraphNode":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"type":{"type":"string","title":"Type"},"index":{"type":"integer","title":"Index"},"concurrencyGroup":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concurrencygroup"},"sideEffect":{"type":"string","enum":["none","prepared","automatic","authorized","internal"],"title":"Sideeffect"}},"type":"object","required":["id","label","type","index","sideEffect"],"title":"GraphNode"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HubSpotTestRequest":{"properties":{"secret":{"additionalProperties":true,"type":"object","title":"Secret"}},"type":"object","required":["secret"],"title":"HubSpotTestRequest"},"IntakeApprovalRequest":{"properties":{"reviewer":{"type":"string","title":"Reviewer","default":"service owner"},"reason":{"type":"string","title":"Reason","default":"Approved in VVDex"},"releasePayload":{"additionalProperties":true,"type":"object","title":"Releasepayload"}},"type":"object","required":["releasePayload"],"title":"IntakeApprovalRequest"},"IntakeRejectRequest":{"properties":{"reviewer":{"type":"string","title":"Reviewer","default":"service owner"},"reason":{"type":"string","title":"Reason","default":"Rejected in VVDex"}},"type":"object","title":"IntakeRejectRequest"},"Invariant":{"properties":{"action":{"type":"string","title":"Action"},"constraint":{"type":"string","enum":["never_automatic","never"],"title":"Constraint"},"text":{"type":"string","title":"Text"},"when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]}},"type":"object","required":["action","constraint","text"],"title":"Invariant"},"Invite":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"role":{"type":"string","enum":["approver","viewer"],"title":"Role"},"email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Email"}},"type":"object","required":["name","role"],"title":"Invite"},"KeyRequest":{"properties":{"label":{"type":"string","maxLength":80,"title":"Label","default":""}},"type":"object","title":"KeyRequest"},"LessonDecision":{"properties":{"status":{"type":"string","enum":["active","disabled","forgotten"],"title":"Status"}},"type":"object","required":["status"],"title":"LessonDecision"},"LoginStartRequest":{"properties":{"email":{"type":"string","maxLength":320,"title":"Email"}},"type":"object","required":["email"],"title":"LoginStartRequest"},"LoginVerifyRequest":{"properties":{"email":{"type":"string","maxLength":320,"title":"Email"},"code":{"type":"string","maxLength":12,"title":"Code"}},"type":"object","required":["email","code"],"title":"LoginVerifyRequest"},"MeaningDecision":{"properties":{"sentence":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Sentence"},"decision":{"type":"string","const":"accept","title":"Decision"}},"type":"object","required":["sentence","decision"],"title":"MeaningDecision","description":"The owner's answer to a sentence the independent meaning check says was not kept: accept the\nservice as compiled for it (kept on record with who and when). To change it instead, edit the\ndescription; it is read again."},"NativeDeployRequest":{"properties":{"gmailFilter":{"type":"string","maxLength":200,"title":"Gmailfilter","default":""}},"type":"object","title":"NativeDeployRequest"},"NewWorkspace":{"properties":{"name":{"type":"string","maxLength":60,"minLength":2,"title":"Name"}},"type":"object","required":["name"],"title":"NewWorkspace"},"OperationSpec":{"properties":{"kind":{"type":"string","enum":["select_records","compare_records"],"title":"Kind"},"inputs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Inputs"},"fact_paths":{"additionalProperties":{"type":"string"},"type":"object","title":"Fact Paths"},"report_fields":{"additionalProperties":{"type":"string"},"type":"object","title":"Report Fields"},"exclude":{"items":{"$ref":"#/components/schemas/SelectionRule"},"type":"array","maxItems":30,"title":"Exclude"},"annotate":{"items":{"$ref":"#/components/schemas/AnnotationRule"},"type":"array","maxItems":30,"title":"Annotate"},"identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity"},"fields":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Fields"},"fields_input":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fields Input"},"required_sources":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Required Sources"}},"additionalProperties":false,"type":"object","required":["kind","inputs"],"title":"OperationSpec"},"OperatorRequest":{"properties":{"name":{"type":"string","maxLength":80,"title":"Name"},"role":{"type":"string","title":"Role"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"}},"type":"object","required":["name","role"],"title":"OperatorRequest"},"OptionsRequest":{"properties":{"prop":{"type":"string","title":"Prop"},"connectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connectionid"},"props":{"additionalProperties":true,"type":"object","title":"Props","default":{}},"search":{"type":"string","maxLength":200,"title":"Search","default":""}},"type":"object","required":["prop"],"title":"OptionsRequest"},"ParamSpec":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","enum":["boolean","number","enum","text","date"],"title":"Type"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"values":{"items":{"type":"string"},"type":"array","title":"Values"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["name","type"],"title":"ParamSpec","description":"One argument of an external action, as the owner's hard rules name it."},"PauseBody":{"properties":{"paused":{"type":"boolean","title":"Paused"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","required":["paused"],"title":"PauseBody"},"PinBody":{"properties":{"kind":{"type":"string","maxLength":40,"title":"Kind"},"name":{"type":"string","maxLength":300,"title":"Name"}},"type":"object","required":["kind","name"],"title":"PinBody"},"PolicyBody":{"properties":{"on":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"On"},"threshold":{"title":"Threshold"}},"type":"object","title":"PolicyBody"},"PricingBody":{"properties":{"prices":{"additionalProperties":{"additionalProperties":{"type":"number"},"type":"object"},"type":"object","title":"Prices"}},"type":"object","required":["prices"],"title":"PricingBody"},"ProblemRequest":{"properties":{"problem":{"type":"string","maxLength":2000,"title":"Problem"}},"type":"object","required":["problem"],"title":"ProblemRequest"},"PurgeBody":{"properties":{"dryRun":{"type":"boolean","title":"Dryrun","default":true}},"type":"object","title":"PurgeBody"},"ReleaseConsumeRequest":{"properties":{"grant":{"additionalProperties":true,"type":"object","title":"Grant"}},"type":"object","required":["grant"],"title":"ReleaseConsumeRequest"},"Requirement":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["trigger","check","extraction","reasoning","action","authority_rule","prohibition","review","invariant","unresolved"],"title":"Kind"},"text":{"type":"string","title":"Text"},"verb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verb"},"object":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"verb_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verb Class"},"maps_to":{"items":{"type":"string"},"type":"array","title":"Maps To"},"unresolved_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unresolved Reason"},"source":{"type":"string","enum":["deterministic","model","semantic","user"],"title":"Source","default":"deterministic"},"scope":{"items":{"type":"string"},"type":"array","title":"Scope"},"all_writes":{"type":"boolean","title":"All Writes","default":false},"conditions":{"items":{"$ref":"#/components/schemas/RuleCondition"},"type":"array","title":"Conditions"},"guard":{"items":{"$ref":"#/components/schemas/RuleCondition"},"type":"array","title":"Guard"},"guard_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guard Text"},"when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"},"rules":{"items":{"$ref":"#/components/schemas/RequirementRule"},"type":"array","title":"Rules"},"critic_status":{"anyOf":[{"type":"string","enum":["passed","failed","not_confirmed","incomplete","untested"]},{"type":"null"}],"title":"Critic Status"},"trace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Trace"}},"type":"object","required":["id","kind","text"],"title":"Requirement","description":"One material thing the user asked for, kept in their words and mapped to\nexactly where the contract/graph implements it (or declared unresolved)."},"RequirementRule":{"properties":{"rule":{"type":"string","title":"Rule"},"mode":{"type":"string","title":"Mode"},"when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]},"actions":{"items":{"type":"string"},"type":"array","title":"Actions"}},"type":"object","required":["rule","mode"],"title":"RequirementRule"},"RequirementsModel":{"properties":{"schema_version":{"type":"string","const":"vvdex.requirements/v1","title":"Schema Version","default":"vvdex.requirements/v1"},"extractor":{"type":"string","title":"Extractor","default":"deterministic"},"trigger":{"type":"string","title":"Trigger"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"},"entities":{"items":{"type":"string"},"type":"array","title":"Entities"},"requirements":{"items":{"$ref":"#/components/schemas/Requirement"},"type":"array","title":"Requirements"}},"type":"object","required":["trigger","entities","requirements"],"title":"RequirementsModel","description":"The business requirements IR: what the user asked for, before any\ncapability is chosen. Capability discovery reads this, never the raw text."},"RetentionBody":{"properties":{"contentDays":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Contentdays"}},"type":"object","title":"RetentionBody"},"RetryRequest":{"properties":{"checkedNotWritten":{"anyOf":[{"type":"string","maxLength":500,"minLength":10},{"type":"null"}],"title":"Checkednotwritten"}},"type":"object","title":"RetryRequest"},"RollbackBody":{"properties":{"note":{"type":"string","maxLength":300,"title":"Note","default":""}},"type":"object","title":"RollbackBody"},"RoutingBody":{"properties":{"approvers":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Approvers"},"channels":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Channels"},"quorum":{"type":"integer","enum":[1,2],"title":"Quorum","default":1}},"type":"object","title":"RoutingBody"},"RuleCondition":{"properties":{"kind":{"type":"string","enum":["threshold","signal","predicate","always"],"title":"Kind"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"op":{"anyOf":[{"type":"string","enum":[">",">=","<","<=","==","!=","in","not_in","exists","not_exists","contains","not_contains"]},{"type":"null"}],"title":"Op"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"signal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signal"},"fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fact"},"values":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Values"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"text":{"type":"string","title":"Text"}},"type":"object","required":["kind","text"],"title":"RuleCondition","description":"One test over a produced fact. `threshold` compares a number read from the\nevent with an exact value and unit; `signal` is a check's raised/clear result;\n`predicate` compares a typed fact (boolean or enum) with values; `always` is an\nunconditional rule. Every non-`always` condition names the fact it reads in\n`fact`, and that fact must be produced upstream (compiler invariant)."},"RulesBody":{"properties":{"problem":{"type":"string","maxLength":4000,"minLength":10,"title":"Problem"},"note":{"type":"string","maxLength":300,"title":"Note","default":""}},"type":"object","required":["problem"],"title":"RulesBody"},"SelectionRule":{"properties":{"text":{"type":"string","maxLength":1000,"minLength":1,"title":"Text"},"when":{"additionalProperties":true,"type":"object","title":"When"}},"additionalProperties":false,"type":"object","required":["text","when"],"title":"SelectionRule"},"ServiceConfigRequest":{"properties":{"trigger":{"$ref":"#/components/schemas/TriggerConfig"},"steps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Steps","default":[]},"checks":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Checks","default":{}},"operations":{"additionalProperties":{"additionalProperties":{"anyOf":[{"type":"string"},{"additionalProperties":{"type":"string"},"type":"object"}]},"type":"object"},"type":"object","title":"Operations"},"approvalRoles":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Approvalroles"},"gmailFilter":{"type":"string","maxLength":200,"title":"Gmailfilter","default":""},"gmailConnectionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gmailconnectionid"},"agentTools":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Agenttools"},"playbooks":{"additionalProperties":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"type":"object","title":"Playbooks"}},"type":"object","required":["trigger"],"title":"ServiceConfigRequest"},"ServiceContract":{"properties":{"schema_version":{"type":"string","const":"vvdex.agent-service/v2","title":"Schema Version","default":"vvdex.agent-service/v2"},"service_id":{"type":"string","title":"Service Id"},"name":{"type":"string","title":"Name"},"problem":{"type":"string","title":"Problem"},"outcome":{"type":"string","title":"Outcome"},"trigger":{"type":"string","title":"Trigger"},"inputs":{"items":{"type":"string"},"type":"array","title":"Inputs"},"outputs":{"items":{"type":"string"},"type":"array","title":"Outputs"},"capabilities":{"items":{"$ref":"#/components/schemas/Capability"},"type":"array","title":"Capabilities"},"authority":{"items":{"$ref":"#/components/schemas/AuthorityRule"},"type":"array","title":"Authority"},"prohibited_actions":{"items":{"type":"string"},"type":"array","title":"Prohibited Actions"},"steps":{"items":{"$ref":"#/components/schemas/ServiceStep"},"type":"array","title":"Steps"},"success_metrics":{"items":{"type":"string"},"type":"array","title":"Success Metrics"},"assumptions":{"items":{"type":"string"},"type":"array","title":"Assumptions"},"requirements":{"anyOf":[{"$ref":"#/components/schemas/RequirementsModel"},{"type":"null"}]},"completeness":{"type":"string","enum":["complete","incomplete"],"title":"Completeness","default":"complete"},"invariants":{"items":{"$ref":"#/components/schemas/Invariant"},"type":"array","title":"Invariants"},"schedule":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schedule"},"questions":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Questions"},"planner":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Planner"},"process_ir":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Process Ir"},"semantic_tests":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Semantic Tests"},"proposals":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Proposals"},"executability":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Executability"},"blockers":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Blockers"},"guards":{"items":{"$ref":"#/components/schemas/ActionGuard"},"type":"array","title":"Guards"},"fidelity":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Fidelity"}},"type":"object","required":["service_id","name","problem","outcome","trigger","inputs","outputs","capabilities","authority","prohibited_actions","steps","success_metrics","assumptions"],"title":"ServiceContract"},"ServiceProposal":{"properties":{"service_id":{"type":"string","title":"Service Id"},"name":{"type":"string","title":"Name"},"problem":{"type":"string","title":"Problem"},"outcome":{"type":"string","title":"Outcome"},"trigger":{"type":"string","title":"Trigger"},"human_summary":{"type":"string","title":"Human Summary"},"systems_needed":{"items":{"type":"string"},"type":"array","title":"Systems Needed"},"service_contract":{"$ref":"#/components/schemas/ServiceContract"}},"type":"object","required":["service_id","name","problem","outcome","trigger","human_summary","systems_needed","service_contract"],"title":"ServiceProposal"},"ServiceStep":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"kind":{"type":"string","enum":["intake","deterministic","model_reasoning","independent_verifier","policy_decision","side_effect_preparation","human_gate","human_review","result_verification","terminal"],"title":"Kind"},"capability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"},"guard":{"items":{"$ref":"#/components/schemas/RuleCondition"},"type":"array","title":"Guard"},"when":{"anyOf":[{"$ref":"#/components/schemas/Expr"},{"type":"null"}]}},"type":"object","required":["id","label","kind"],"title":"ServiceStep"},"SimBody":{"properties":{"event":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Event"},"intakeId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Intakeid"},"problem":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Problem"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"SimBody"},"SkillBody":{"properties":{"serviceId":{"type":"string","maxLength":200,"minLength":1,"title":"Serviceid"},"stepId":{"type":"string","maxLength":200,"minLength":1,"title":"Stepid"},"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"}},"type":"object","required":["serviceId","stepId","name"],"title":"SkillBody"},"SourceDecision":{"properties":{"fact":{"type":"string","maxLength":120,"title":"Fact"},"decision":{"type":"string","enum":["trusted","untrusted"],"title":"Decision"}},"type":"object","required":["fact","decision"],"title":"SourceDecision","description":"The owner's answer to \"Need a source for X\": the event's source is authoritative for this fact\n(what the event carries for it is then established), or it no longer is."},"StopBody":{"properties":{"scope":{"type":"string","enum":["workspace","automation","platform"],"title":"Scope"},"on":{"type":"boolean","title":"On"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""},"serviceId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Serviceid"}},"type":"object","required":["scope","on"],"title":"StopBody"},"StopRequest":{"properties":{"reason":{"type":"string","maxLength":300,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"StopRequest"},"TrialRequest":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":6000},{"type":"null"}],"title":"Text"},"event":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Event"},"answers":{"additionalProperties":true,"type":"object","title":"Answers"}},"type":"object","title":"TrialRequest"},"TriggerBody":{"properties":{"text":{"type":"string","maxLength":300,"minLength":3,"title":"Text"}},"type":"object","required":["text"],"title":"TriggerBody"},"TriggerConfig":{"properties":{"type":{"type":"string","enum":["gmail","webhook","schedule","form"],"title":"Type"},"everyMinutes":{"anyOf":[{"type":"integer","maximum":44640.0,"minimum":5.0},{"type":"null"}],"title":"Everyminutes"},"atMinute":{"anyOf":[{"type":"integer","exclusiveMaximum":10080.0,"minimum":0.0},{"type":"null"}],"title":"Atminute"},"weekdays":{"anyOf":[{"items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"type":"array"},{"type":"null"}],"title":"Weekdays"},"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"intro":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Intro"},"fields":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Fields"},"eventFields":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Eventfields"},"chatMemory":{"type":"boolean","title":"Chatmemory","default":false},"knowledge":{"anyOf":[{"type":"string","const":"vvdex"},{"type":"null"}],"title":"Knowledge"},"replyGuard":{"type":"boolean","title":"Replyguard","default":false},"fallbackReply":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Fallbackreply"},"rotateSecret":{"type":"boolean","title":"Rotatesecret","default":false}},"type":"object","required":["type"],"title":"TriggerConfig"},"TriggerText":{"properties":{"text":{"type":"string","maxLength":300,"minLength":3,"title":"Text"}},"type":"object","required":["text"],"title":"TriggerText"},"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"},"WhatsAppAccessChange":{"properties":{"action":{"type":"string","enum":["allow","remove","invite"],"title":"Action"},"number":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Number"},"hours":{"type":"integer","maximum":720.0,"minimum":1.0,"title":"Hours","default":24}},"type":"object","required":["action"],"title":"WhatsAppAccessChange"}}}}