{"openapi":"3.1.0","info":{"title":"TradeOS","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Dashboard","operationId":"dashboard__get","parameters":[{"name":"case","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queue":{"get":{"summary":"Queue Page","description":"Seeded multilingual demo queue (DEMO DATA). Read-only view: no DB rows, no PayPal calls, no actions.","operationId":"queue_page_queue_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/inbox":{"get":{"summary":"Inbox Page","description":"The returns inbox: every request from customers and AI agents, and what each needs from the merchant.\nServer-rendered as a table (works without JavaScript); static/app.js upgrades it to a sortable grid.","operationId":"inbox_page_inbox_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox":{"get":{"summary":"Inbox Api","description":"The inbox rows as JSON (what the grid loads). Read-only.","operationId":"inbox_api_api_inbox_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/run/{scenario}":{"post":{"summary":"Run Demo","operationId":"run_demo_demo_run__scenario__post","parameters":[{"name":"scenario","in":"path","required":true,"schema":{"type":"string","title":"Scenario"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/merchant-order":{"post":{"summary":"Merchant Demo Order","description":"Make a captured Sandbox demo order first, then show its agent return pass once.","operationId":"merchant_demo_order_demo_merchant_order_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_merchant_demo_order_demo_merchant_order_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/merchant/import-sandbox-capture":{"post":{"summary":"Import Sandbox Capture","description":"Private merchant intake; never offered to an agent or the public shared demo.","operationId":"import_sandbox_capture_merchant_import_sandbox_capture_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_import_sandbox_capture_merchant_import_sandbox_capture_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/merchant/orders/{case_id}/revoke-return-pass":{"post":{"summary":"Revoke Return Pass","description":"Private merchant may cancel an unused agent authorization.","operationId":"revoke_return_pass_merchant_orders__case_id__revoke_return_pass_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/agent-scenes":{"post":{"summary":"Run Agent Scenes","description":"Judge path for the agent gateway: a scripted MCP client plays three scenes through the real tools.","operationId":"run_agent_scenes_demo_agent_scenes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/fill-inbox":{"post":{"summary":"Fill Inbox Route","description":"An empty demo (Render wipes it on every restart) gets real requests in one click: Cases A and B and the\nthree agent scenes, run in the background on the progress page, which ends with a link to the inbox.","operationId":"fill_inbox_route_demo_fill_inbox_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/live-agent":{"post":{"summary":"Run Live Agent","description":"A real model pursues a goal with the MCP tools. Its whole run is recorded on the order's hash chain.","operationId":"run_live_agent_demo_live_agent_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_run_live_agent_demo_live_agent_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-runs/{run_id}":{"get":{"summary":"Agent Run Page","description":"Watch a live agent run. Rendered with what has happened so far; static/app.js polls for the rest.","operationId":"agent_run_page_agent_runs__run_id__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/agent-runs/{run_id}":{"get":{"summary":"Agent Run Api","operationId":"agent_run_api_api_agent_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"}}}}}}},"/cases/free":{"post":{"summary":"Run Free Text","description":"The judge's own message (or a one-click preset) through the same loop.","operationId":"run_free_text_cases_free_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_run_free_text_cases_free_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/reset":{"post":{"summary":"Reset Demo","description":"Shared demo: confirm step in the page (JS confirm), per-IP + global cooldown.\n\nOn the open public demo (no operator token) reset is off unless TRADEOS_ALLOW_PUBLIC_RESET=1,\nso one visitor cannot archive every other judge's cases. Private operator-gated demos keep it.","operationId":"reset_demo_demo_reset_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cases/{case_id}/approve":{"post":{"summary":"Approve","operationId":"approve_cases__case_id__approve_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/decline":{"post":{"summary":"Decline","operationId":"decline_cases__case_id__decline_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/safety-reviewed":{"post":{"summary":"Safety Reviewed","description":"Safety Gate follow-up: a person records a note + decision. No money, no refund flow.","operationId":"safety_reviewed_cases__case_id__safety_reviewed_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_safety_reviewed_cases__case_id__safety_reviewed_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/refund":{"post":{"summary":"Refund","description":"Retry endpoint. Same hard guard as approve: policy ELIGIBLE + human APPROVED.","operationId":"refund_cases__case_id__refund_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/batches/{batch_id}/approve":{"post":{"summary":"Approve Batch","operationId":"approve_batch_cases__case_id__batches__batch_id__approve_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_approve_batch_cases__case_id__batches__batch_id__approve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/batches/{batch_id}/decline":{"post":{"summary":"Decline Batch","operationId":"decline_batch_cases__case_id__batches__batch_id__decline_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/batches/{batch_id}/retry":{"post":{"summary":"Retry Batch","operationId":"retry_batch_cases__case_id__batches__batch_id__retry_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/batches/{batch_id}/confirm-refund":{"post":{"summary":"Confirm Batch Refund","operationId":"confirm_batch_refund_cases__case_id__batches__batch_id__confirm_refund_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_confirm_batch_refund_cases__case_id__batches__batch_id__confirm_refund_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/lines/{line_no}/resolve":{"post":{"summary":"Resolve Line","operationId":"resolve_line_cases__case_id__lines__line_no__resolve_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"line_no","in":"path","required":true,"schema":{"type":"integer","title":"Line No"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_resolve_line_cases__case_id__lines__line_no__resolve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/mixed/propose":{"post":{"summary":"Repropose","operationId":"repropose_cases__case_id__mixed_propose_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/retry-payment":{"post":{"summary":"Retry Payment","description":"The payment call timed out: ask PayPal again with the same PayPal-Request-Id (never a second charge).","operationId":"retry_payment_cases__case_id__retry_payment_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/retry-policy":{"post":{"summary":"Retry Policy","description":"Payment captured but PayPal could not be read for the policy check: run the check again.","operationId":"retry_policy_cases__case_id__retry_policy_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/mock-webhook/{case_id}":{"post":{"summary":"Mock Signed Webhook","description":"MOCK mode only: PayPal 'settles' the pending mock refund and sends a signed\nPAYMENT.CAPTURE.REFUNDED, verified by the mock verifier through the normal webhook path.","operationId":"mock_signed_webhook_demo_mock_webhook__case_id__post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/approve-twice":{"post":{"summary":"Approve Twice","description":"Failure-mode demo (scenario D only): simulates a double-clicked Approve.","operationId":"approve_twice_cases__case_id__approve_twice_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/paypal":{"post":{"summary":"Paypal Webhook","description":"Second, independent confirmation: PayPal pushes PAYMENT.CAPTURE.REFUNDED; we verify the\nsignature with PayPal's verify-webhook-signature API before trusting it.","operationId":"paypal_webhook_webhooks_paypal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/disputes":{"get":{"summary":"Disputes Page","operationId":"disputes_page_disputes_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/disputes/sync":{"post":{"summary":"Disputes Sync","description":"Read-only: GET the dispute list (and each dispute) from PayPal and store it. No write calls exist.","operationId":"disputes_sync_disputes_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/disputes/{dispute_id}/refresh":{"post":{"summary":"Disputes Refresh","operationId":"disputes_refresh_disputes__dispute_id__refresh_post","parameters":[{"name":"dispute_id","in":"path","required":true,"schema":{"type":"string","title":"Dispute Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/refresh-refund":{"post":{"summary":"Refresh Refund","operationId":"refresh_refund_cases__case_id__refresh_refund_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/confirm-refund":{"post":{"summary":"Confirm Refund","operationId":"confirm_refund_cases__case_id__confirm_refund_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_confirm_refund_cases__case_id__confirm_refund_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/paypal-return":{"get":{"summary":"Paypal Return","description":"PayPal redirects the buyer here with a GET. GET never changes state (no capture, no CSRF\nexposure): it only shows the case with a 'Capture payment' button that POSTs below.","operationId":"paypal_return_cases__case_id__paypal_return_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Paypal Return Capture","operationId":"paypal_return_capture_cases__case_id__paypal_return_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/audit/verify":{"get":{"summary":"Audit Verify","description":"Recompute the case's hash chain. Read-only. See README 'Hash-chained audit trail' for limits.","operationId":"audit_verify_cases__case_id__audit_verify_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/evidence.json":{"get":{"summary":"Evidence Json","description":"Downloadable evidence bundle (JSON). Read-only; moves no money and calls no PayPal API.","operationId":"evidence_json_cases__case_id__evidence_json_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/evidence":{"get":{"summary":"Evidence Page","description":"Printable evidence report (use the browser's Save as PDF). Read-only.","operationId":"evidence_page_cases__case_id__evidence_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/audit/heads":{"get":{"summary":"Audit Heads","description":"The chain head of every case, for retention OUTSIDE this database (the deploy-verify\nworkflow saves one list per deployment as a workflow artifact). Two head lists recorded at\ndifferent times are what make a truncated or rewritten chain detectable — README\n'Hash-chained audit trail': tamper-evident, not tamper-proof.","operationId":"audit_heads_audit_heads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/cases/{case_id}":{"get":{"summary":"Case Json","operationId":"case_json_api_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_approve_batch_cases__case_id__batches__batch_id__approve_post":{"properties":{"expected_total":{"type":"string","title":"Expected Total","default":""},"expected_hash":{"type":"string","title":"Expected Hash","default":""}},"type":"object","title":"Body_approve_batch_cases__case_id__batches__batch_id__approve_post"},"Body_confirm_batch_refund_cases__case_id__batches__batch_id__confirm_refund_post":{"properties":{"refund_id":{"type":"string","title":"Refund Id","default":""}},"type":"object","title":"Body_confirm_batch_refund_cases__case_id__batches__batch_id__confirm_refund_post"},"Body_confirm_refund_cases__case_id__confirm_refund_post":{"properties":{"refund_id":{"type":"string","title":"Refund Id","default":""}},"type":"object","title":"Body_confirm_refund_cases__case_id__confirm_refund_post"},"Body_import_sandbox_capture_merchant_import_sandbox_capture_post":{"properties":{"capture_id":{"type":"string","title":"Capture Id","default":""},"buyer_name":{"type":"string","title":"Buyer Name","default":""}},"type":"object","title":"Body_import_sandbox_capture_merchant_import_sandbox_capture_post"},"Body_merchant_demo_order_demo_merchant_order_post":{"properties":{"buyer_name":{"type":"string","title":"Buyer Name","default":""}},"type":"object","title":"Body_merchant_demo_order_demo_merchant_order_post"},"Body_resolve_line_cases__case_id__lines__line_no__resolve_post":{"properties":{"action":{"type":"string","title":"Action","default":""},"reason":{"type":"string","title":"Reason","default":"UNKNOWN"}},"type":"object","title":"Body_resolve_line_cases__case_id__lines__line_no__resolve_post"},"Body_run_free_text_cases_free_post":{"properties":{"message":{"type":"string","title":"Message","default":""},"late":{"type":"string","title":"Late","default":""},"preset":{"type":"string","title":"Preset","default":""}},"type":"object","title":"Body_run_free_text_cases_free_post"},"Body_run_live_agent_demo_live_agent_post":{"properties":{"goal":{"type":"string","title":"Goal","default":""}},"type":"object","title":"Body_run_live_agent_demo_live_agent_post"},"Body_safety_reviewed_cases__case_id__safety_reviewed_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_safety_reviewed_cases__case_id__safety_reviewed_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}}}}