{"openapi":"3.1.0","info":{"title":"Actionbox API","description":"Durable human decisions for software that cannot wait at the terminal.","version":"0.1.7"},"paths":{"/":{"get":{"tags":["system"],"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Root  Get"}}}}}}},"/v1/receipts/keys":{"get":{"tags":["system"],"summary":"Receipt Keys","description":"Publish the public keys required for offline receipt verification.","operationId":"receipt_keys_v1_receipts_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Receipt Keys V1 Receipts Keys Get"}}}}}}},"/v1/docs":{"get":{"tags":["documentation"],"summary":"User Documentation","description":"Return the public, client-readable Actionbox user guide.","operationId":"user_documentation_v1_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response User Documentation V1 Docs Get"}}}}}}},"/health":{"get":{"tags":["system"],"summary":"Health","description":"Process liveness only; never disclose deployment identity publicly.","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/ready":{"get":{"tags":["system"],"summary":"Readiness","description":"Dependency-aware readiness for load balancers and orchestrators.","operationId":"readiness_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Readiness Ready Get"}}}}}}},"/v1/auth/providers":{"get":{"tags":["auth"],"summary":"Auth Providers","operationId":"auth_providers_v1_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Auth Providers V1 Auth Providers Get"}}}}}}},"/v1/auth/google/native":{"post":{"tags":["auth"],"summary":"Native Google Login","description":"Exchange a Google native ID token for an Actionbox bearer session.","operationId":"native_google_login_v1_auth_google_native_post","parameters":[{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeGoogleLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Native Google Login V1 Auth Google Native Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/google/native/challenge":{"post":{"tags":["auth"],"summary":"Native Google Challenge","description":"Issue a short-lived, single-attempt nonce for native Google Sign-In.","operationId":"native_google_challenge_v1_auth_google_native_challenge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Native Google Challenge V1 Auth Google Native Challenge Post"}}}}}}},"/v1/auth/apple/native/challenge":{"post":{"tags":["auth"],"summary":"Native Apple Challenge","description":"Issue a short-lived, single-attempt nonce for native Apple Sign-In.","operationId":"native_apple_challenge_v1_auth_apple_native_challenge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Native Apple Challenge V1 Auth Apple Native Challenge Post"}}}}}}},"/v1/auth/apple/native":{"post":{"tags":["auth"],"summary":"Native Apple Login","description":"Exchange a verified Apple native identity token for a bearer session.","operationId":"native_apple_login_v1_auth_apple_native_post","parameters":[{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeAppleLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Native Apple Login V1 Auth Apple Native Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/apple/android":{"post":{"tags":["auth"],"summary":"Apple Android Login","description":"Exchange the Android web-flow code for an Actionbox bearer session.","operationId":"apple_android_login_v1_auth_apple_android_post","parameters":[{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleAuthorizationCodeLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Apple Android Login V1 Auth Apple Android Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/session":{"get":{"tags":["auth"],"summary":"Auth Session","operationId":"auth_session_v1_auth_session_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Auth Session V1 Auth Session Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces":{"get":{"tags":["workspaces"],"summary":"Workspaces Endpoint","operationId":"workspaces_endpoint_v1_workspaces_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workspaces Endpoint V1 Workspaces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/select":{"post":{"tags":["workspaces"],"summary":"Select Workspace Endpoint","operationId":"select_workspace_endpoint_v1_workspaces_select_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSelect"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Select Workspace Endpoint V1 Workspaces Select Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/members":{"get":{"tags":["workspaces"],"summary":"Workspace Members Endpoint","operationId":"workspace_members_endpoint_v1_workspaces_members_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workspace Members Endpoint V1 Workspaces Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/invitations":{"get":{"tags":["workspaces"],"summary":"Workspace Invitations Endpoint","operationId":"workspace_invitations_endpoint_v1_workspaces_invitations_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workspace Invitations Endpoint V1 Workspaces Invitations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"post":{"tags":["workspaces"],"summary":"Create Workspace Invitation Endpoint","operationId":"create_workspace_invitation_endpoint_v1_workspaces_invitations_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Workspace Invitation Endpoint V1 Workspaces Invitations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/invitations/{invitation_id}":{"delete":{"tags":["workspaces"],"summary":"Revoke Workspace Invitation Endpoint","operationId":"revoke_workspace_invitation_endpoint_v1_workspaces_invitations__invitation_id__delete","parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Workspace Invitation Endpoint V1 Workspaces Invitations  Invitation Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspace-invitations/accept":{"post":{"tags":["workspaces"],"summary":"Accept Workspace Invitation Endpoint","operationId":"accept_workspace_invitation_endpoint_v1_workspace_invitations_accept_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAccept"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Accept Workspace Invitation Endpoint V1 Workspace Invitations Accept Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/members/{user_id}":{"patch":{"tags":["workspaces"],"summary":"Update Workspace Member Endpoint","operationId":"update_workspace_member_endpoint_v1_workspaces_members__user_id__patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipRoleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Workspace Member Endpoint V1 Workspaces Members  User Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"delete":{"tags":["workspaces"],"summary":"Remove Workspace Member Endpoint","operationId":"remove_workspace_member_endpoint_v1_workspaces_members__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/notifications":{"get":{"tags":["notifications"],"summary":"Notifications Endpoint","operationId":"notifications_endpoint_v1_notifications_get","parameters":[{"name":"unread_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unread Only"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Notifications Endpoint V1 Notifications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/notifications/summary":{"get":{"tags":["notifications"],"summary":"Notification Summary Endpoint","operationId":"notification_summary_endpoint_v1_notifications_summary_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Notification Summary Endpoint V1 Notifications Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/notifications/read-all":{"post":{"tags":["notifications"],"summary":"Read All Notifications Endpoint","operationId":"read_all_notifications_endpoint_v1_notifications_read_all_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read All Notifications Endpoint V1 Notifications Read All Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/notifications/{notification_id}/read":{"post":{"tags":["notifications"],"summary":"Read Notification Endpoint","operationId":"read_notification_endpoint_v1_notifications__notification_id__read_post","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Notification Endpoint V1 Notifications  Notification Id  Read Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/notification-preferences":{"get":{"tags":["notifications"],"summary":"Notification Preferences Endpoint","operationId":"notification_preferences_endpoint_v1_notification_preferences_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Notification Preferences Endpoint V1 Notification Preferences Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"patch":{"tags":["notifications"],"summary":"Update Notification Preferences Endpoint","operationId":"update_notification_preferences_endpoint_v1_notification_preferences_patch","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferenceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Notification Preferences Endpoint V1 Notification Preferences Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/workspaces/notification-policy":{"get":{"tags":["notifications"],"summary":"Workspace Notification Policy Endpoint","operationId":"workspace_notification_policy_endpoint_v1_workspaces_notification_policy_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workspace Notification Policy Endpoint V1 Workspaces Notification Policy Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"patch":{"tags":["notifications"],"summary":"Update Workspace Notification Policy Endpoint","operationId":"update_workspace_notification_policy_endpoint_v1_workspaces_notification_policy_patch","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceNotificationPolicyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Workspace Notification Policy Endpoint V1 Workspaces Notification Policy Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/billing":{"get":{"tags":["billing"],"summary":"Billing Endpoint","description":"Return server-authoritative plan, usage, and entitlement limits.","operationId":"billing_endpoint_v1_billing_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Endpoint V1 Billing Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/billing/portal":{"post":{"tags":["billing"],"summary":"Billing Portal Endpoint","description":"Redirect the billing owner to a short-lived customer billing portal.","operationId":"billing_portal_endpoint_v1_billing_portal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_v1_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Logout V1 Auth Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/account/export":{"get":{"tags":["account"],"summary":"Account Export","operationId":"account_export_v1_account_export_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Account Export V1 Account Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/account":{"delete":{"tags":["account"],"summary":"Account Delete","operationId":"account_delete_v1_account_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeleteRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/bootstrap":{"get":{"tags":["dashboard"],"summary":"Bootstrap","operationId":"bootstrap_v1_bootstrap_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/analytics/summary":{"get":{"tags":["analytics"],"summary":"Analytics Summary Endpoint","operationId":"analytics_summary_endpoint_v1_analytics_summary_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Analytics Summary Endpoint V1 Analytics Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/analytics/events":{"post":{"tags":["analytics"],"summary":"Analytics Event Endpoint","operationId":"analytics_event_endpoint_v1_analytics_events_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsEventRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Analytics Event Endpoint V1 Analytics Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/me/actions":{"get":{"tags":["actions"],"summary":"List My Actions","operationId":"list_my_actions_v1_me_actions_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Status"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Search"}},{"name":"source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"}},{"name":"priority","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Priority"},{"type":"null"}],"title":"Priority"}},{"name":"environment","in":"query","required":false,"schema":{"enum":["live","test","all"],"type":"string","default":"live","title":"Environment"}},{"name":"scope","in":"query","required":false,"schema":{"enum":["mine","unassigned","all"],"type":"string","default":"all","title":"Scope"}},{"name":"routing","in":"query","required":false,"schema":{"anyOf":[{"enum":["mine","unassigned","all"],"type":"string"},{"type":"null"}],"title":"Routing"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/runs":{"post":{"tags":["runs"],"summary":"Create Run Endpoint","operationId":"create_run_endpoint_v1_runs_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/RunCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Run Endpoint V1 Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]},"get":{"tags":["runs"],"summary":"List Runs Endpoint","operationId":"list_runs_endpoint_v1_runs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["queued","running","waiting","succeeded","failed","cancelled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"environment","in":"query","required":false,"schema":{"enum":["live","test","all"],"type":"string","default":"live","title":"Environment"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Runs Endpoint V1 Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/runs/{run_id}":{"get":{"tags":["runs"],"summary":"Get Run Endpoint","operationId":"get_run_endpoint_v1_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run Endpoint V1 Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/source/runs/{run_id}":{"get":{"tags":["runs"],"summary":"Get Source Run Endpoint","operationId":"get_source_run_endpoint_v1_source_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Source Run Endpoint V1 Source Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/runs/{run_id}/progress":{"patch":{"tags":["runs"],"summary":"Update Run Progress Endpoint","operationId":"update_run_progress_endpoint_v1_source_runs__run_id__progress_patch","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run 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/RunProgress"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Run Progress Endpoint V1 Source Runs  Run Id  Progress Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/runs/{run_id}/complete":{"post":{"tags":["runs"],"summary":"Complete Run Endpoint","operationId":"complete_run_endpoint_v1_source_runs__run_id__complete_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run 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/RunComplete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Complete Run Endpoint V1 Source Runs  Run Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}":{"get":{"tags":["actions"],"summary":"Get Action","operationId":"get_action_v1_actions__action_id__get","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"environment","in":"query","required":false,"schema":{"enum":["live","test","all"],"type":"string","default":"live","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Action V1 Actions  Action Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]},{"UserBearer":[]},{"SessionCookie":[]}]},"patch":{"tags":["actions"],"summary":"Patch Action Endpoint","operationId":"patch_action_endpoint_v1_actions__action_id__patch","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action 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/ActionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Action Endpoint V1 Actions  Action Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}/comments":{"get":{"tags":["actions"],"summary":"Action Comments Endpoint","operationId":"action_comments_endpoint_v1_actions__action_id__comments_get","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Action Comments Endpoint V1 Actions  Action Id  Comments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"post":{"tags":["actions"],"summary":"Create Action Comment Endpoint","operationId":"create_action_comment_endpoint_v1_actions__action_id__comments_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCommentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Action Comment Endpoint V1 Actions  Action Id  Comments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/source/actions/{action_id}":{"get":{"tags":["actions"],"summary":"Get Source Action","description":"Return one Action to the exact Source that created it.\n\nSupports long-polling via `wait_seconds` (0–30s). When wait_seconds > 0 and the\naction is open, the connection waits asynchronously until a decision is reached\nor timeout expires, reducing polling load by >95%.","operationId":"get_source_action_v1_source_actions__action_id__get","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"wait_seconds","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":0,"default":0,"title":"Wait Seconds"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Source Action V1 Source Actions  Action Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions":{"post":{"tags":["actions"],"summary":"Create Action Endpoint","operationId":"create_action_endpoint_v1_actions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Actionbox-Blocking","in":"header","required":false,"schema":{"type":"boolean","default":false,"title":"X-Actionbox-Blocking"}},{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Action Endpoint V1 Actions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}/decision":{"post":{"tags":["actions"],"summary":"Decision Endpoint","operationId":"decision_endpoint_v1_actions__action_id__decision_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Decision Endpoint V1 Actions  Action Id  Decision Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/actions/{action_id}/claim":{"post":{"tags":["actions"],"summary":"Claim Action Endpoint","operationId":"claim_action_endpoint_v1_actions__action_id__claim_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Claim Action Endpoint V1 Actions  Action Id  Claim Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/actions/{action_id}/assignment":{"patch":{"tags":["actions"],"summary":"Assign Action Endpoint","operationId":"assign_action_endpoint_v1_actions__action_id__assignment_patch","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignmentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Assign Action Endpoint V1 Actions  Action Id  Assignment Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/actions/{action_id}/resolve":{"post":{"tags":["actions"],"summary":"Resolve Endpoint","operationId":"resolve_endpoint_v1_actions__action_id__resolve_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ResolveRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resolve Endpoint V1 Actions  Action Id  Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}/outcome":{"post":{"tags":["actions"],"summary":"Report Action Outcome Endpoint","operationId":"report_action_outcome_endpoint_v1_actions__action_id__outcome_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action 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/ActionOutcomeReport"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Report Action Outcome Endpoint V1 Actions  Action Id  Outcome Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}/cancel":{"post":{"tags":["actions"],"summary":"Cancel Endpoint","operationId":"cancel_endpoint_v1_actions__action_id__cancel_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CancelRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Endpoint V1 Actions  Action Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/actions/{action_id}/snooze":{"post":{"tags":["actions"],"summary":"Snooze Endpoint","operationId":"snooze_endpoint_v1_actions__action_id__snooze_post","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"X-Actionbox-Client","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Actionbox-Client"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnoozeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Snooze Endpoint V1 Actions  Action Id  Snooze Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/sources":{"get":{"tags":["sources"],"summary":"Sources Endpoint","operationId":"sources_endpoint_v1_sources_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sources Endpoint V1 Sources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"post":{"tags":["sources"],"summary":"Create Source Endpoint","operationId":"create_source_endpoint_v1_sources_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Source Endpoint V1 Sources Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/sources/{source_id}":{"get":{"tags":["sources"],"summary":"Source Detail Endpoint","operationId":"source_detail_endpoint_v1_sources__source_id__get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Source Detail Endpoint V1 Sources  Source Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"patch":{"tags":["sources"],"summary":"Update Source Endpoint","operationId":"update_source_endpoint_v1_sources__source_id__patch","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Source Endpoint V1 Sources  Source Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"delete":{"tags":["sources"],"summary":"Delete Source Endpoint","description":"Revoke a Source while preserving its Actions and audit history.","operationId":"delete_source_endpoint_v1_sources__source_id__delete","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/sources/{source_id}/keys/rotate":{"post":{"tags":["sources"],"summary":"Rotate Source Key Endpoint","operationId":"rotate_source_key_endpoint_v1_sources__source_id__keys_rotate_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rotate Source Key Endpoint V1 Sources  Source Id  Keys Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/sources/{source_id}/keys/test/rotate":{"post":{"tags":["sources"],"summary":"Rotate Test Source Key Endpoint","operationId":"rotate_test_source_key_endpoint_v1_sources__source_id__keys_test_rotate_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rotate Test Source Key Endpoint V1 Sources  Source Id  Keys Test Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/sources/{source_id}/webhook-secret/rotate":{"post":{"tags":["sources"],"summary":"Rotate Webhook Secret Endpoint","description":"Rotate a Source callback secret; the raw secret is returned once.","operationId":"rotate_webhook_secret_endpoint_v1_sources__source_id__webhook_secret_rotate_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rotate Webhook Secret Endpoint V1 Sources  Source Id  Webhook Secret Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/source/watches":{"get":{"tags":["watches"],"summary":"Source Watches Endpoint","description":"List only the active Watches owned by the authenticated Source.","operationId":"source_watches_endpoint_v1_source_watches_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":{"type":"object","additionalProperties":true,"title":"Response Source Watches Endpoint V1 Source Watches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]},"post":{"tags":["watches"],"summary":"Source Create Watch Endpoint","description":"Create a Watch for this Source without widening Source credentials.","operationId":"source_create_watch_endpoint_v1_source_watches_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/WatchCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Source Create Watch Endpoint V1 Source Watches Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/watches/{watch_id}/pause":{"post":{"tags":["watches"],"summary":"Source Pause Watch Endpoint","operationId":"source_pause_watch_endpoint_v1_source_watches__watch_id__pause_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Source Pause Watch Endpoint V1 Source Watches  Watch Id  Pause Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/watches/{watch_id}/resume":{"post":{"tags":["watches"],"summary":"Source Resume Watch Endpoint","operationId":"source_resume_watch_endpoint_v1_source_watches__watch_id__resume_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Source Resume Watch Endpoint V1 Source Watches  Watch Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/watches/{watch_id}/token/rotate":{"post":{"tags":["watches"],"summary":"Source Rotate Watch Token Endpoint","operationId":"source_rotate_watch_token_endpoint_v1_source_watches__watch_id__token_rotate_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Source Rotate Watch Token Endpoint V1 Source Watches  Watch Id  Token Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/source/watches/{watch_id}":{"delete":{"tags":["watches"],"summary":"Source Archive Watch Endpoint","operationId":"source_archive_watch_endpoint_v1_source_watches__watch_id__delete","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SourceBearer":[]}]}},"/v1/watches":{"get":{"tags":["watches"],"summary":"Watches Endpoint","operationId":"watches_endpoint_v1_watches_get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["new","healthy","down","paused"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Watches Endpoint V1 Watches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"post":{"tags":["watches"],"summary":"Create Watch Endpoint","operationId":"create_watch_endpoint_v1_watches_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Watch Endpoint V1 Watches Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/watches/{watch_id}":{"get":{"tags":["watches"],"summary":"Watch Detail Endpoint","operationId":"watch_detail_endpoint_v1_watches__watch_id__get","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Watch Detail Endpoint V1 Watches  Watch Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"patch":{"tags":["watches"],"summary":"Update Watch Endpoint","operationId":"update_watch_endpoint_v1_watches__watch_id__patch","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Watch Endpoint V1 Watches  Watch Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"delete":{"tags":["watches"],"summary":"Archive Watch Endpoint","operationId":"archive_watch_endpoint_v1_watches__watch_id__delete","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/watches/{watch_id}/events":{"get":{"tags":["watches"],"summary":"Watch Events Endpoint","operationId":"watch_events_endpoint_v1_watches__watch_id__events_get","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Watch Events Endpoint V1 Watches  Watch Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/watches/{watch_id}/pause":{"post":{"tags":["watches"],"summary":"Pause Watch Endpoint","operationId":"pause_watch_endpoint_v1_watches__watch_id__pause_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pause Watch Endpoint V1 Watches  Watch Id  Pause Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/watches/{watch_id}/resume":{"post":{"tags":["watches"],"summary":"Resume Watch Endpoint","operationId":"resume_watch_endpoint_v1_watches__watch_id__resume_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resume Watch Endpoint V1 Watches  Watch Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/watches/{watch_id}/token/rotate":{"post":{"tags":["watches"],"summary":"Rotate Watch Token Endpoint","operationId":"rotate_watch_token_endpoint_v1_watches__watch_id__token_rotate_post","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rotate Watch Token Endpoint V1 Watches  Watch Id  Token Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/devices":{"get":{"tags":["devices"],"summary":"Devices Endpoint","operationId":"devices_endpoint_v1_devices_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Devices Endpoint V1 Devices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]},"post":{"tags":["devices"],"summary":"Register Device Endpoint","operationId":"register_device_endpoint_v1_devices_post","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Register Device Endpoint V1 Devices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/devices/{device_id}/heartbeat":{"post":{"tags":["devices"],"summary":"Heartbeat Endpoint","operationId":"heartbeat_endpoint_v1_devices__device_id__heartbeat_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DeviceHeartbeat"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Heartbeat Endpoint V1 Devices  Device Id  Heartbeat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/devices/{device_id}":{"delete":{"tags":["devices"],"summary":"Revoke Device Endpoint","operationId":"revoke_device_endpoint_v1_devices__device_id__delete","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/webhooks":{"get":{"tags":["webhooks"],"summary":"Webhooks Endpoint","operationId":"webhooks_endpoint_v1_webhooks_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"environment","in":"query","required":false,"schema":{"enum":["live","test","all"],"type":"string","default":"live","title":"Environment"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Webhooks Endpoint V1 Webhooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/webhooks/summary":{"get":{"tags":["webhooks"],"summary":"Webhook Summary Endpoint","operationId":"webhook_summary_endpoint_v1_webhooks_summary_get","parameters":[{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Webhook Summary Endpoint V1 Webhooks Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/webhooks/{delivery_id}":{"get":{"tags":["webhooks"],"summary":"Webhook Detail Endpoint","operationId":"webhook_detail_endpoint_v1_webhooks__delivery_id__get","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Webhook Detail Endpoint V1 Webhooks  Delivery Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}},"/v1/webhooks/{delivery_id}/retry":{"post":{"tags":["webhooks"],"summary":"Retry Webhook Endpoint","operationId":"retry_webhook_endpoint_v1_webhooks__delivery_id__retry_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"x-user-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-User-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"actionbox_session","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actionbox Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retry Webhook Endpoint V1 Webhooks  Delivery Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"UserBearer":[]},{"SessionCookie":[]}]}}},"components":{"schemas":{"AccountDeleteRequest":{"properties":{"confirmation":{"type":"string","maxLength":64,"minLength":1,"title":"Confirmation"}},"type":"object","required":["confirmation"],"title":"AccountDeleteRequest"},"ActionCommentCreate":{"properties":{"body":{"type":"string","maxLength":2000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"ActionCommentCreate"},"ActionCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":10000,"title":"Description","default":""},"priority":{"$ref":"#/components/schemas/Priority","default":"normal"},"open_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Open Url"},"dedupe_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Dedupe Key"},"callback_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Callback Url"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"on_expire":{"oneOf":[{"$ref":"#/components/schemas/ReturnExpiredOutcome"},{"$ref":"#/components/schemas/ResolveOnExpireOutcome"}],"title":"On Expire","discriminator":{"propertyName":"type","mapping":{"resolve":"#/components/schemas/ResolveOnExpireOutcome","return_expired":"#/components/schemas/ReturnExpiredOutcome"}}},"context":{"items":{"oneOf":[{"$ref":"#/components/schemas/KeyValueContext"},{"$ref":"#/components/schemas/TextualContext"},{"$ref":"#/components/schemas/JsonContext"},{"$ref":"#/components/schemas/MetricsContext"},{"$ref":"#/components/schemas/LinksContext"}],"discriminator":{"propertyName":"type","mapping":{"code":"#/components/schemas/TextualContext","command":"#/components/schemas/TextualContext","diff":"#/components/schemas/TextualContext","json":"#/components/schemas/JsonContext","key_value":"#/components/schemas/KeyValueContext","links":"#/components/schemas/LinksContext","logs":"#/components/schemas/TextualContext","metrics":"#/components/schemas/MetricsContext"}}},"type":"array","maxItems":12,"title":"Context"},"decision_class":{"anyOf":[{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9_.-]+$"},{"type":"null"}],"title":"Decision Class"},"decision_context":{"anyOf":[{"$ref":"#/components/schemas/DecisionContext"},{"type":"null"}]},"options":{"items":{"$ref":"#/components/schemas/ActionOptionInput"},"type":"array","maxItems":3,"title":"Options"},"interaction":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/BooleanInteraction"},{"$ref":"#/components/schemas/SingleChoiceInteraction"},{"$ref":"#/components/schemas/MultiChoiceInteraction"},{"$ref":"#/components/schemas/TextInteraction"},{"$ref":"#/components/schemas/IntegerInteraction"},{"$ref":"#/components/schemas/NumberInteraction"},{"$ref":"#/components/schemas/RatingInteraction"},{"$ref":"#/components/schemas/FormInteraction"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/BooleanInteraction","form":"#/components/schemas/FormInteraction","integer":"#/components/schemas/IntegerInteraction","multi_choice":"#/components/schemas/MultiChoiceInteraction","number":"#/components/schemas/NumberInteraction","rating":"#/components/schemas/RatingInteraction","single_choice":"#/components/schemas/SingleChoiceInteraction","text":"#/components/schemas/TextInteraction"}}},{"type":"null"}],"title":"Interaction"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"assignee_user_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Assignee User Id"},"run_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Run Id"}},"type":"object","required":["title"],"title":"ActionCreate"},"ActionOptionInput":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"style":{"$ref":"#/components/schemas/OptionStyle","default":"default"}},"type":"object","required":["id","label"],"title":"ActionOptionInput"},"ActionOutcomeReport":{"properties":{"status":{"$ref":"#/components/schemas/OutcomeStatus"},"duration_ms":{"anyOf":[{"type":"integer","maximum":2592000000.0,"minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"rollback":{"type":"boolean","title":"Rollback","default":false},"reason_code":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Z][A-Z0-9_]*$"},{"type":"null"}],"title":"Reason Code"},"action_version":{"type":"integer","minimum":1.0,"title":"Action Version"},"fingerprint":{"type":"string","maxLength":71,"minLength":71,"pattern":"^sha256:[0-9a-f]{64}$","title":"Fingerprint"}},"type":"object","required":["status","action_version","fingerprint"],"title":"ActionOutcomeReport"},"ActionPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Description"},"priority":{"anyOf":[{"$ref":"#/components/schemas/Priority"},{"type":"null"}]},"open_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Open Url"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"on_expire":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ReturnExpiredOutcome"},{"$ref":"#/components/schemas/ResolveOnExpireOutcome"}],"discriminator":{"propertyName":"type","mapping":{"resolve":"#/components/schemas/ResolveOnExpireOutcome","return_expired":"#/components/schemas/ReturnExpiredOutcome"}}},{"type":"null"}],"title":"On Expire"},"context":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/KeyValueContext"},{"$ref":"#/components/schemas/TextualContext"},{"$ref":"#/components/schemas/JsonContext"},{"$ref":"#/components/schemas/MetricsContext"},{"$ref":"#/components/schemas/LinksContext"}],"discriminator":{"propertyName":"type","mapping":{"code":"#/components/schemas/TextualContext","command":"#/components/schemas/TextualContext","diff":"#/components/schemas/TextualContext","json":"#/components/schemas/JsonContext","key_value":"#/components/schemas/KeyValueContext","links":"#/components/schemas/LinksContext","logs":"#/components/schemas/TextualContext","metrics":"#/components/schemas/MetricsContext"}}},"type":"array","maxItems":12},{"type":"null"}],"title":"Context"},"decision_class":{"anyOf":[{"type":"string","maxLength":120,"minLength":1,"pattern":"^[A-Za-z0-9_.-]+$"},{"type":"null"}],"title":"Decision Class"},"decision_context":{"anyOf":[{"$ref":"#/components/schemas/DecisionContext"},{"type":"null"}]},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"ActionPatch"},"AnalyticsEventRequest":{"properties":{"event_name":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-z][a-z0-9_]+$","title":"Event Name"},"action_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Action Id"},"source_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Source Id"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["event_name"],"title":"AnalyticsEventRequest"},"AppleAuthorizationCodeLoginRequest":{"properties":{"authorization_code":{"type":"string","maxLength":4096,"minLength":10,"title":"Authorization Code"},"challenge_id":{"type":"string","maxLength":64,"minLength":8,"pattern":"^nac_[a-f0-9]{32}$","title":"Challenge Id"},"email":{"anyOf":[{"type":"string","maxLength":320,"minLength":3},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["authorization_code","challenge_id"],"title":"AppleAuthorizationCodeLoginRequest","description":"Apple web/Android authorization-code exchange request."},"AssignmentUpdate":{"properties":{"assignee_user_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Assignee User Id"}},"type":"object","title":"AssignmentUpdate"},"BooleanInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"boolean","title":"Type"},"true_label":{"type":"string","maxLength":80,"minLength":1,"title":"True Label","default":"Yes"},"false_label":{"type":"string","maxLength":80,"minLength":1,"title":"False Label","default":"No"}},"type":"object","required":["label","type"],"title":"BooleanInteraction"},"BooleanResponse":{"properties":{"type":{"type":"string","const":"boolean","title":"Type"},"value":{"type":"boolean","title":"Value"}},"type":"object","required":["type","value"],"title":"BooleanResponse"},"CancelRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CancelRequest"},"DecisionContext":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"},"current_state":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Current State"},"proposed_change":{"type":"string","maxLength":2000,"minLength":1,"title":"Proposed Change"},"expected_effect":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Expected Effect"},"risk_level":{"type":"string","enum":["unknown","low","medium","high","critical"],"title":"Risk Level"},"risk_summary":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Risk Summary"},"reversibility":{"type":"string","enum":["unknown","reversible","partially_reversible","irreversible"],"title":"Reversibility"},"rollback_plan":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Rollback Plan"},"affected_scope":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Affected Scope"}},"type":"object","required":["reason","proposed_change","risk_level","reversibility"],"title":"DecisionContext"},"DecisionRequest":{"properties":{"action_version":{"type":"integer","minimum":1.0,"title":"Action Version","default":1},"fingerprint":{"anyOf":[{"type":"string","maxLength":71,"minLength":71,"pattern":"^sha256:[0-9a-f]{64}$"},{"type":"null"}],"title":"Fingerprint"},"option_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Option Id"},"response":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/BooleanResponse"},{"$ref":"#/components/schemas/TextResponse"},{"$ref":"#/components/schemas/IntegerResponse"},{"$ref":"#/components/schemas/NumberResponse"},{"$ref":"#/components/schemas/RatingResponse"},{"$ref":"#/components/schemas/SingleChoiceResponse"},{"$ref":"#/components/schemas/MultiChoiceResponse"},{"$ref":"#/components/schemas/FormResponse"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/BooleanResponse","form":"#/components/schemas/FormResponse","integer":"#/components/schemas/IntegerResponse","multi_choice":"#/components/schemas/MultiChoiceResponse","number":"#/components/schemas/NumberResponse","rating":"#/components/schemas/RatingResponse","single_choice":"#/components/schemas/SingleChoiceResponse","text":"#/components/schemas/TextResponse"}}},{"type":"null"}],"title":"Response"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"DecisionRequest"},"DeviceCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"platform":{"type":"string","maxLength":40,"title":"Platform","default":"MACOS"},"push_token":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Push Token"},"app_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"App Version"}},"type":"object","required":["name"],"title":"DeviceCreate"},"DeviceHeartbeat":{"properties":{"push_token":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Push Token"}},"type":"object","title":"DeviceHeartbeat"},"FormBooleanField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"boolean","title":"Type"},"true_label":{"type":"string","maxLength":80,"minLength":1,"title":"True Label","default":"Yes"},"false_label":{"type":"string","maxLength":80,"minLength":1,"title":"False Label","default":"No"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","id"],"title":"FormBooleanField"},"FormIntegerField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"integer","title":"Type"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"},"step":{"type":"integer","maximum":2000000000.0,"minimum":1.0,"title":"Step","default":1},"unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","id"],"title":"FormIntegerField"},"FormInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"form","title":"Type"},"fields":{"items":{"oneOf":[{"$ref":"#/components/schemas/FormBooleanField"},{"$ref":"#/components/schemas/FormSingleChoiceField"},{"$ref":"#/components/schemas/FormMultiChoiceField"},{"$ref":"#/components/schemas/FormTextField"},{"$ref":"#/components/schemas/FormIntegerField"},{"$ref":"#/components/schemas/FormNumberField"},{"$ref":"#/components/schemas/FormRatingField"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/FormBooleanField","integer":"#/components/schemas/FormIntegerField","multi_choice":"#/components/schemas/FormMultiChoiceField","number":"#/components/schemas/FormNumberField","rating":"#/components/schemas/FormRatingField","single_choice":"#/components/schemas/FormSingleChoiceField","text":"#/components/schemas/FormTextField"}}},"type":"array","maxItems":12,"minItems":1,"title":"Fields"}},"type":"object","required":["label","type","fields"],"title":"FormInteraction"},"FormMultiChoiceField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"multi_choice","title":"Type"},"options":{"items":{"$ref":"#/components/schemas/ActionOptionInput"},"type":"array","maxItems":50,"minItems":1,"title":"Options"},"min_selections":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Min Selections","default":0},"max_selections":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":1.0},{"type":"null"}],"title":"Max Selections"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","options","id"],"title":"FormMultiChoiceField"},"FormNumberField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"number","title":"Type"},"min":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Max"},"step":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Step","default":1,"gt":0},"unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","id"],"title":"FormNumberField"},"FormRatingField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"rating","title":"Type"},"min":{"type":"integer","maximum":9.0,"minimum":0.0,"title":"Min","default":1},"max":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Max","default":5},"low_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Low Label"},"high_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"High Label"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","id"],"title":"FormRatingField"},"FormResponse":{"properties":{"type":{"type":"string","const":"form","title":"Type"},"values":{"additionalProperties":true,"type":"object","title":"Values"}},"type":"object","required":["type","values"],"title":"FormResponse"},"FormSingleChoiceField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"single_choice","title":"Type"},"options":{"items":{"$ref":"#/components/schemas/ActionOptionInput"},"type":"array","maxItems":50,"minItems":1,"title":"Options"},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","options","id"],"title":"FormSingleChoiceField"},"FormTextField":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"text","title":"Type"},"placeholder":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Placeholder"},"multiline":{"type":"boolean","title":"Multiline","default":false},"min_length":{"type":"integer","maximum":2000.0,"minimum":0.0,"title":"Min Length","default":0},"max_length":{"type":"integer","maximum":2000.0,"minimum":0.0,"title":"Max Length","default":2000},"id":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Id"},"required":{"type":"boolean","title":"Required","default":true}},"type":"object","required":["label","type","id"],"title":"FormTextField"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IntegerInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"integer","title":"Type"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"},"step":{"type":"integer","maximum":2000000000.0,"minimum":1.0,"title":"Step","default":1},"unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit"}},"type":"object","required":["label","type"],"title":"IntegerInteraction"},"IntegerResponse":{"properties":{"type":{"type":"string","const":"integer","title":"Type"},"value":{"type":"integer","title":"Value"}},"type":"object","required":["type","value"],"title":"IntegerResponse"},"InvitationAccept":{"properties":{"token":{"type":"string","maxLength":512,"minLength":32,"title":"Token"}},"type":"object","required":["token"],"title":"InvitationAccept"},"InvitationCreate":{"properties":{"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"},"role":{"type":"string","enum":["admin","approver","viewer"],"title":"Role","default":"approver"},"expires_in_days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Expires In Days","default":7}},"type":"object","required":["email"],"title":"InvitationCreate"},"JsonContext":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"json","title":"Type"},"value":{"title":"Value"}},"type":"object","required":["type","value"],"title":"JsonContext"},"KeyValueContext":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"key_value","title":"Type"},"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object","maxProperties":50,"minProperties":1,"title":"Items"}},"type":"object","required":["type","items"],"title":"KeyValueContext"},"LinkItem":{"properties":{"label":{"type":"string","maxLength":120,"minLength":1,"title":"Label"},"url":{"type":"string","maxLength":2048,"minLength":1,"format":"uri","title":"Url"}},"type":"object","required":["label","url"],"title":"LinkItem"},"LinksContext":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"links","title":"Type"},"items":{"items":{"$ref":"#/components/schemas/LinkItem"},"type":"array","maxItems":20,"minItems":1,"title":"Items"}},"type":"object","required":["type","items"],"title":"LinksContext"},"MembershipRoleUpdate":{"properties":{"role":{"type":"string","enum":["owner","admin","approver","viewer"],"title":"Role"}},"type":"object","required":["role"],"title":"MembershipRoleUpdate"},"MetricItem":{"properties":{"label":{"type":"string","maxLength":120,"minLength":1,"title":"Label"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"}],"title":"Value"},"unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit"}},"type":"object","required":["label","value"],"title":"MetricItem"},"MetricsContext":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"metrics","title":"Type"},"items":{"items":{"$ref":"#/components/schemas/MetricItem"},"type":"array","maxItems":20,"minItems":1,"title":"Items"}},"type":"object","required":["type","items"],"title":"MetricsContext"},"MultiChoiceInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"multi_choice","title":"Type"},"options":{"items":{"$ref":"#/components/schemas/ActionOptionInput"},"type":"array","maxItems":50,"minItems":1,"title":"Options"},"min_selections":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Min Selections","default":0},"max_selections":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":1.0},{"type":"null"}],"title":"Max Selections"}},"type":"object","required":["label","type","options"],"title":"MultiChoiceInteraction"},"MultiChoiceResponse":{"properties":{"type":{"type":"string","const":"multi_choice","title":"Type"},"value":{"items":{"type":"string"},"type":"array","title":"Value"}},"type":"object","required":["type","value"],"title":"MultiChoiceResponse"},"NativeAppleLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":16000,"minLength":100,"title":"Id Token"},"challenge_id":{"type":"string","maxLength":64,"minLength":8,"pattern":"^nac_[a-f0-9]{32}$","title":"Challenge Id"},"email":{"anyOf":[{"type":"string","maxLength":320,"minLength":3},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["id_token","challenge_id"],"title":"NativeAppleLoginRequest"},"NativeGoogleLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":16000,"minLength":100,"title":"Id Token"},"challenge_id":{"type":"string","maxLength":64,"minLength":8,"pattern":"^ngc_[a-f0-9]{32}$","title":"Challenge Id"}},"type":"object","required":["id_token","challenge_id"],"title":"NativeGoogleLoginRequest"},"NotificationPreferenceUpdate":{"properties":{"push_enabled":{"type":"boolean","title":"Push Enabled"},"new_action_enabled":{"type":"boolean","title":"New Action Enabled","default":true},"assignment_enabled":{"type":"boolean","title":"Assignment Enabled"},"reminder_enabled":{"type":"boolean","title":"Reminder Enabled"},"escalation_enabled":{"type":"boolean","title":"Escalation Enabled"},"priorities":{"items":{"type":"string","enum":["low","normal","high","urgent"]},"type":"array","maxItems":4,"minItems":0,"title":"Priorities"},"quiet_hours_enabled":{"type":"boolean","title":"Quiet Hours Enabled"},"quiet_start_minute":{"type":"integer","exclusiveMaximum":1440.0,"minimum":0.0,"title":"Quiet Start Minute"},"quiet_end_minute":{"type":"integer","exclusiveMaximum":1440.0,"minimum":0.0,"title":"Quiet End Minute"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone"},"notification_preview":{"type":"string","enum":["hidden","title","full"],"title":"Notification Preview","default":"hidden"}},"type":"object","required":["push_enabled","assignment_enabled","reminder_enabled","escalation_enabled","priorities","quiet_hours_enabled","quiet_start_minute","quiet_end_minute","timezone"],"title":"NotificationPreferenceUpdate"},"NumberInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"number","title":"Type"},"min":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Max"},"step":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Step","default":1,"gt":0},"unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Unit"}},"type":"object","required":["label","type"],"title":"NumberInteraction"},"NumberResponse":{"properties":{"type":{"type":"string","const":"number","title":"Type"},"value":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Value"}},"type":"object","required":["type","value"],"title":"NumberResponse"},"OptionStyle":{"type":"string","enum":["default","primary","destructive"],"title":"OptionStyle"},"OutcomeStatus":{"type":"string","enum":["success","failed"],"title":"OutcomeStatus"},"Priority":{"type":"string","enum":["low","normal","high","urgent"],"title":"Priority"},"RatingInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"rating","title":"Type"},"min":{"type":"integer","maximum":9.0,"minimum":0.0,"title":"Min","default":1},"max":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Max","default":5},"low_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Low Label"},"high_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"High Label"}},"type":"object","required":["label","type"],"title":"RatingInteraction"},"RatingResponse":{"properties":{"type":{"type":"string","const":"rating","title":"Type"},"value":{"type":"integer","title":"Value"}},"type":"object","required":["type","value"],"title":"RatingResponse"},"ResolveOnExpireOutcome":{"properties":{"type":{"type":"string","const":"resolve","title":"Type"},"response":{"oneOf":[{"$ref":"#/components/schemas/BooleanResponse"},{"$ref":"#/components/schemas/TextResponse"},{"$ref":"#/components/schemas/IntegerResponse"},{"$ref":"#/components/schemas/NumberResponse"},{"$ref":"#/components/schemas/RatingResponse"},{"$ref":"#/components/schemas/SingleChoiceResponse"},{"$ref":"#/components/schemas/MultiChoiceResponse"},{"$ref":"#/components/schemas/FormResponse"}],"title":"Response","discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/BooleanResponse","form":"#/components/schemas/FormResponse","integer":"#/components/schemas/IntegerResponse","multi_choice":"#/components/schemas/MultiChoiceResponse","number":"#/components/schemas/NumberResponse","rating":"#/components/schemas/RatingResponse","single_choice":"#/components/schemas/SingleChoiceResponse","text":"#/components/schemas/TextResponse"}}},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason","default":"expiration fallback"}},"type":"object","required":["type","response"],"title":"ResolveOnExpireOutcome"},"ResolveRequest":{"properties":{"action_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Action Version"},"fingerprint":{"anyOf":[{"type":"string","maxLength":71,"minLength":71,"pattern":"^sha256:[0-9a-f]{64}$"},{"type":"null"}],"title":"Fingerprint"},"option_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Option Id"},"response":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/BooleanResponse"},{"$ref":"#/components/schemas/TextResponse"},{"$ref":"#/components/schemas/IntegerResponse"},{"$ref":"#/components/schemas/NumberResponse"},{"$ref":"#/components/schemas/RatingResponse"},{"$ref":"#/components/schemas/SingleChoiceResponse"},{"$ref":"#/components/schemas/MultiChoiceResponse"},{"$ref":"#/components/schemas/FormResponse"}],"discriminator":{"propertyName":"type","mapping":{"boolean":"#/components/schemas/BooleanResponse","form":"#/components/schemas/FormResponse","integer":"#/components/schemas/IntegerResponse","multi_choice":"#/components/schemas/MultiChoiceResponse","number":"#/components/schemas/NumberResponse","rating":"#/components/schemas/RatingResponse","single_choice":"#/components/schemas/SingleChoiceResponse","text":"#/components/schemas/TextResponse"}}},{"type":"null"}],"title":"Response"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"ResolveRequest"},"ReturnExpiredOutcome":{"properties":{"type":{"type":"string","const":"return_expired","title":"Type","default":"return_expired"}},"type":"object","title":"ReturnExpiredOutcome"},"RunComplete":{"properties":{"status":{"type":"string","enum":["succeeded","failed","cancelled"],"title":"Status"},"progress_sequence":{"type":"integer","minimum":0.0,"title":"Progress Sequence"},"reason_code":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[A-Z][A-Z0-9_]*$"},{"type":"null"}],"title":"Reason Code"}},"type":"object","required":["status","progress_sequence"],"title":"RunComplete"},"RunCreate":{"properties":{"external_id":{"type":"string","maxLength":255,"minLength":1,"title":"External Id"},"agent_name":{"type":"string","maxLength":120,"minLength":1,"title":"Agent Name"},"task_id":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Task Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"status":{"type":"string","enum":["queued","running"],"title":"Status","default":"running"},"stage":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Stage"},"checkpoint":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Checkpoint"},"stall_after_seconds":{"anyOf":[{"type":"integer","maximum":2592000.0,"minimum":60.0},{"type":"null"}],"title":"Stall After Seconds"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["external_id","agent_name","title"],"title":"RunCreate"},"RunProgress":{"properties":{"sequence":{"type":"integer","minimum":1.0,"title":"Sequence"},"status":{"anyOf":[{"type":"string","enum":["running","waiting"]},{"type":"null"}],"title":"Status"},"stage":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Stage"},"checkpoint":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Checkpoint"}},"type":"object","required":["sequence"],"title":"RunProgress"},"SingleChoiceInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"single_choice","title":"Type"},"options":{"items":{"$ref":"#/components/schemas/ActionOptionInput"},"type":"array","maxItems":50,"minItems":1,"title":"Options"}},"type":"object","required":["label","type","options"],"title":"SingleChoiceInteraction"},"SingleChoiceResponse":{"properties":{"type":{"type":"string","const":"single_choice","title":"Type"},"value":{"type":"string","title":"Value"}},"type":"object","required":["type","value"],"title":"SingleChoiceResponse"},"SnoozeRequest":{"properties":{"until":{"type":"string","format":"date-time","title":"Until"}},"type":"object","required":["until"],"title":"SnoozeRequest"},"SourceCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"default_priority":{"$ref":"#/components/schemas/Priority","default":"normal"}},"type":"object","required":["name"],"title":"SourceCreate"},"SourceUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"default_priority":{"anyOf":[{"$ref":"#/components/schemas/Priority"},{"type":"null"}]}},"type":"object","title":"SourceUpdate"},"TextInteraction":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"type":{"type":"string","const":"text","title":"Type"},"placeholder":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Placeholder"},"multiline":{"type":"boolean","title":"Multiline","default":false},"min_length":{"type":"integer","maximum":2000.0,"minimum":0.0,"title":"Min Length","default":0},"max_length":{"type":"integer","maximum":2000.0,"minimum":0.0,"title":"Max Length","default":2000}},"type":"object","required":["label","type"],"title":"TextInteraction"},"TextResponse":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"value":{"type":"string","title":"Value"}},"type":"object","required":["type","value"],"title":"TextResponse"},"TextualContext":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Title"},"type":{"type":"string","enum":["code","diff","logs","command"],"title":"Type"},"content":{"type":"string","maxLength":20000,"minLength":1,"title":"Content"},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language"}},"type":"object","required":["type","content"],"title":"TextualContext"},"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"},"WatchCreate":{"properties":{"source_id":{"type":"string","maxLength":64,"minLength":1,"title":"Source Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"schedule_type":{"type":"string","enum":["interval","cron"],"title":"Schedule Type"},"interval_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Interval Seconds"},"cron_expression":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Cron Expression"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone","default":"UTC"},"grace_seconds":{"type":"integer","minimum":0.0,"title":"Grace Seconds","default":0},"max_runtime_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Runtime Seconds"},"priority":{"$ref":"#/components/schemas/Priority","default":"normal"},"runbook_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Runbook Url"},"signal_method":{"type":"string","enum":["any","post"],"title":"Signal Method","default":"any"}},"type":"object","required":["source_id","name","schedule_type"],"title":"WatchCreate"},"WatchUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"schedule_type":{"anyOf":[{"type":"string","enum":["interval","cron"]},{"type":"null"}],"title":"Schedule Type"},"interval_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Interval Seconds"},"cron_expression":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Cron Expression"},"timezone":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Timezone"},"grace_seconds":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Grace Seconds"},"max_runtime_seconds":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Runtime Seconds"},"priority":{"anyOf":[{"$ref":"#/components/schemas/Priority"},{"type":"null"}]},"runbook_url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Runbook Url"},"signal_method":{"anyOf":[{"type":"string","enum":["any","post"]},{"type":"null"}],"title":"Signal Method"}},"type":"object","title":"WatchUpdate"},"WorkspaceNotificationPolicyUpdate":{"properties":{"reminders_enabled":{"type":"boolean","title":"Reminders Enabled"},"reminder_minutes_before_expiry":{"type":"integer","maximum":10080.0,"minimum":1.0,"title":"Reminder Minutes Before Expiry"},"escalations_enabled":{"type":"boolean","title":"Escalations Enabled"},"escalation_minutes_after_creation":{"type":"integer","maximum":10080.0,"minimum":1.0,"title":"Escalation Minutes After Creation"},"escalation_priorities":{"items":{"type":"string","enum":["low","normal","high","urgent"]},"type":"array","maxItems":4,"minItems":0,"title":"Escalation Priorities"}},"type":"object","required":["reminders_enabled","reminder_minutes_before_expiry","escalations_enabled","escalation_minutes_after_creation","escalation_priorities"],"title":"WorkspaceNotificationPolicyUpdate"},"WorkspaceSelect":{"properties":{"workspace_id":{"type":"string","maxLength":64,"minLength":1,"title":"Workspace Id"}},"type":"object","required":["workspace_id"],"title":"WorkspaceSelect"}},"securitySchemes":{"SourceBearer":{"type":"http","scheme":"bearer","description":"Source API key (`axb_live_…` or `axb_test_…`)."},"UserBearer":{"type":"http","scheme":"bearer","description":"User session bearer token."},"SessionCookie":{"type":"apiKey","in":"cookie","name":"actionbox_session"}}},"servers":[{"url":"https://api.actionbox.cloud"}]}