{"openapi":"3.1.0","info":{"title":"Dashboard Backend API","version":"0.1.0"},"paths":{"/api/v1/agents/{agent_id}/runs":{"post":{"tags":["agents"],"summary":"Create Agent Run","operationId":"create_agent_run_api_v1_agents__agent_id__runs_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["agents"],"summary":"List Agent Runs","description":"Read past runs of an agent (newest first), with filters. Lets a running\nagent inspect old inputs/outputs. Authorized against the agent's workspace;\nworkspace_id is derived from the agent (no header).","operationId":"list_agent_runs_api_v1_agents__agent_id__runs_get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Until"}},{"name":"trigger_source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Source"}},{"name":"include_output","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Output"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_recordings":{"get":{"tags":["dashboard"],"summary":"Get Recordings","operationId":"get_recordings_api_v1_get_recordings_get","parameters":[{"name":"endpoint_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by endpoint name pattern (case-insensitive)","title":"Endpoint Name"},"description":"Filter by endpoint name pattern (case-insensitive)"},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_tasks":{"get":{"tags":["dashboard"],"summary":"Get Tasks","operationId":"get_tasks_api_v1_get_tasks_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Items per page","default":50,"title":"Limit"},"description":"Items per page"},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["created_at","completed_at","status"],"type":"string","description":"Field to sort by","default":"created_at","title":"Sort By"},"description":"Field to sort by"},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","description":"Sort order","default":"desc","title":"Sort Order"},"description":"Sort order"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter by one or more statuses","title":"Status"},"description":"Filter by one or more statuses"},{"name":"recording_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter by one or more recording/workflow IDs","title":"Recording Id"},"description":"Filter by one or more recording/workflow IDs"},{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by task ID (partial match)","title":"Task Id"},"description":"Search by task ID (partial match)"},{"name":"created_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter tasks created on or after this date (ISO format)","title":"Created From"},"description":"Filter tasks created on or after this date (ISO format)"},{"name":"created_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter tasks created on or before this date (ISO format)","title":"Created To"},"description":"Filter tasks created on or before this date (ISO format)"},{"name":"is_cloud","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"boolean"}},{"type":"null"}],"description":"Filter by one or more type values (true for cloud, false for local)","title":"Is Cloud"},"description":"Filter by one or more type values (true for cloud, false for local)"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter tasks by one or more user ids. Use 'all' to include all workspace members. Omit to default to current user","title":"User Id"},"description":"Filter tasks by one or more user ids. Use 'all' to include all workspace members. Omit to default to current user"},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTasksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_analytics":{"get":{"tags":["dashboard"],"summary":"Get Analytics","operationId":"get_analytics_api_v1_get_analytics_get","parameters":[{"name":"recording_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter analytics by one or more recording/workflow IDs. Omit to aggregate across every workflow in the workspace.","title":"Recording Id"},"description":"Filter analytics by one or more recording/workflow IDs. Omit to aggregate across every workflow in the workspace."},{"name":"is_cloud","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by cloud/local (true for cloud, false for local, omit for both)","title":"Is Cloud"},"description":"Filter by cloud/local (true for cloud, false for local, omit for both)"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter analytics by one or more user ids. Omit (or pass 'all') to aggregate across every user in the workspace.","title":"User Id"},"description":"Filter analytics by one or more user ids. Omit (or pass 'all') to aggregate across every user in the workspace."},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Inclusive start date (YYYY-MM-DD) for the custom-range stats card. Defaults to 365 days ago.","title":"Start Date"},"description":"Inclusive start date (YYYY-MM-DD) for the custom-range stats card. Defaults to 365 days ago."},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Inclusive end date (YYYY-MM-DD) for the custom-range stats card. Defaults to today.","title":"End Date"},"description":"Inclusive end date (YYYY-MM-DD) for the custom-range stats card. Defaults to today."},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integration-secrets/{type}/encrypt":{"get":{"tags":["integration_secrets"],"summary":"Get Integration Secret Encrypt Route","operationId":"get_integration_secret_encrypt_route_api_v1_integration_secrets__type__encrypt_get","parameters":[{"name":"type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/IntegrationSecretType"}},{"name":"x-workspace-id","in":"header","required":false,"schema":{"type":"string","title":"X-Workspace-Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/save_demo":{"post":{"tags":["save_demo"],"summary":"Save Demo","operationId":"save_demo_api_v1_save_demo_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_save_demo_api_v1_save_demo_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/process_demo":{"post":{"tags":["save_demo"],"summary":"Process Demo","operationId":"process_demo_api_v1_process_demo_post","parameters":[{"name":"recording_id","in":"query","required":true,"schema":{"type":"string","title":"Recording Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/start_task":{"post":{"tags":["logging"],"summary":"Start Task","operationId":"start_task_api_v1_start_task_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskStartedRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/complete_task":{"post":{"tags":["logging"],"summary":"Complete Task","operationId":"complete_task_api_v1_complete_task_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/save_output_data":{"post":{"tags":["logging"],"summary":"Save Output Data","operationId":"save_output_data_api_v1_save_output_data_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskOutputDataRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/request_download_upload_urls":{"post":{"tags":["logging"],"summary":"Request Download Upload Urls","operationId":"request_download_upload_urls_api_v1_request_download_upload_urls_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestDownloadUploadUrlsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/confirm_downloads":{"post":{"tags":["logging"],"summary":"Confirm Downloads","operationId":"confirm_downloads_api_v1_confirm_downloads_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmDownloadsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/save_trajectory":{"post":{"tags":["logging"],"summary":"Save Trajectory","operationId":"save_trajectory_api_v1_save_trajectory_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_save_trajectory_api_v1_save_trajectory_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/inference":{"post":{"tags":["inference"],"summary":"Submit an automation task","description":"Queue a browser automation task for asynchronous execution. Returns immediately with a `task_id`; the automation runs in the background. Use `priority` to control queue position within your login group — lower numbers run first, `null`/omitted runs last.","operationId":"inference_api_v1_inference_post","parameters":[{"name":"x-callback-url","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Callback-Url"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/task_status":{"get":{"tags":["task_details"],"summary":"Get task status","description":"Returns the current status and lifecycle timestamps for a task.","operationId":"task_status_api_v1_task_status_get","parameters":[{"name":"task_id","in":"query","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_output_data":{"get":{"tags":["task_details"],"summary":"Get task output data","description":"Returns the structured output data produced by the automation.","operationId":"get_output_data_api_v1_get_output_data_get","parameters":[{"name":"task_id","in":"query","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutputDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_downloads":{"get":{"tags":["task_details"],"summary":"Get task download URLs","description":"Returns presigned download URLs for all files produced by the task.","operationId":"get_downloads_api_v1_get_downloads_get","parameters":[{"name":"task_id","in":"query","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDownloadsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/initiate_callback":{"post":{"tags":["task_details"],"summary":"Trigger task callback","description":"Accepts the task result for delivery to the configured callback URLs and returns without waiting for them. Delivery retries with exponential backoff for up to 5 minutes per URL. Returns immediately if no callback URL is set.","operationId":"initiate_callback_api_v1_initiate_callback_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_initiate_callback_api_v1_initiate_callback_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/get_callback_data":{"post":{"tags":["task_details"],"summary":"Get callback payload","description":"Returns the full task result payload in the same shape sent to callback URLs. Pass full_logs=true to also include for_loop_status.","operationId":"get_callback_data_api_v1_get_callback_data_post","parameters":[{"name":"full_logs","in":"query","required":false,"schema":{"type":"boolean","description":"When true, include for_loop_status in the payload.","default":false,"title":"Full Logs"},"description":"When true, include for_loop_status in the payload."},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_get_callback_data_api_v1_get_callback_data_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCallbackDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tasks/{task_id}/stream":{"get":{"tags":["streaming"],"summary":"Get Stream Endpoint","operationId":"get_stream_endpoint_api_v1_tasks__task_id__stream_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreamResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/add_example":{"post":{"tags":["add_example"],"summary":"Add a recording example","description":"Creates a new recording/automation example under the authenticated user.","operationId":"add_example_api_v1_add_example_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_add_example_api_v1_add_example_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/update_example":{"post":{"tags":["add_example"],"summary":"Update a recording example","description":"Updates the automation, description, and endpoint name of an existing recording example.","operationId":"update_example_api_v1_update_example_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_update_example_api_v1_update_example_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/fetch_email_messages":{"post":{"tags":["two_fa_actions"],"summary":"Fetch Email Messages","operationId":"fetch_email_messages_api_v1_fetch_email_messages_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FetchEmailMessagesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/fetch_slack_messages":{"post":{"tags":["two_fa_actions"],"summary":"Fetch Slack Messages","operationId":"fetch_slack_messages_api_v1_fetch_slack_messages_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FetchSlackMessagesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/fetch_sms_messages":{"post":{"tags":["two_fa_actions"],"summary":"Fetch Sms Messages","operationId":"fetch_sms_messages_api_v1_fetch_sms_messages_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FetchSMSMessagesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/human_in_loop":{"post":{"tags":["human_in_loop"],"summary":"Human In Loop","operationId":"human_in_loop_api_v1_human_in_loop_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanInLoopRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/human_in_loop_completed":{"post":{"tags":["human_in_loop"],"summary":"Human In Loop Completed","operationId":"human_in_loop_completed_api_v1_human_in_loop_completed_post","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanInLoopRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/update_recording/{recording_id}":{"patch":{"tags":["recording"],"summary":"Update a recording","description":"Updates the endpoint name, description, or other metadata of an existing recording.","operationId":"update_recording_api_v1_update_recording__recording_id__patch","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRecordingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recording/{recording_id}":{"get":{"tags":["recording"],"summary":"Get Recording For Child","description":"Return automation and resolved callback_url for a recording.\n\nCalled by child workers just before running a task to get fresh automation\nand the effective callback URL (recording-level, falling back to workspace).\nRequires workspace membership — the task was already authorized at creation\ntime so no additional ownership check is needed beyond this.","operationId":"get_recording_for_child_api_v1_recording__recording_id__get","parameters":[{"name":"recording_id","in":"path","required":true,"schema":{"type":"string","title":"Recording Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/health":{"get":{"summary":"Health","description":"Health check endpoint","operationId":"health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/test":{"get":{"summary":"Test","operationId":"test_api_v1_test_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/validate_api_key":{"post":{"summary":"Validate an API key","description":"Checks whether an API key belongs to a registered user. Returns `valid: true` on success.","operationId":"validate_api_key_api_v1_validate_api_key_post","requestBody":{"content":{"application/json":{"schema":{"type":"string","title":"Api Key"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"APICallExtraction":{"properties":{"url":{"type":"string","title":"Url"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"title":"Method","default":"GET"},"headers":{"additionalProperties":{"type":"string"},"type":"object","title":"Headers"},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Body"},"query_params":{"additionalProperties":{"type":"string"},"type":"object","title":"Query Params"},"output_variable_names":{"items":{"type":"string"},"type":"array","title":"Output Variable Names"},"timeout":{"type":"number","title":"Timeout","default":30.0},"poll_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poll Condition"},"poll_interval":{"type":"number","title":"Poll Interval","default":5.0},"max_poll_attempts":{"type":"integer","title":"Max Poll Attempts","default":10}},"type":"object","required":["url"],"title":"APICallExtraction"},"ActionNode":{"properties":{"type":{"type":"string","const":"action_node","title":"Type"},"interaction_action":{"anyOf":[{"$ref":"#/components/schemas/InteractionAction"},{"type":"null"}]},"assertion_action":{"anyOf":[{"$ref":"#/components/schemas/AssertionAction"},{"type":"null"}]},"extraction_action":{"anyOf":[{"$ref":"#/components/schemas/ExtractionAction"},{"type":"null"}]},"python_script_action":{"anyOf":[{"$ref":"#/components/schemas/PythonScriptAction"},{"type":"null"}]},"powershell_action":{"anyOf":[{"$ref":"#/components/schemas/PowerShellAction"},{"type":"null"}]},"sleep_action":{"anyOf":[{"$ref":"#/components/schemas/SleepAction"},{"type":"null"}]},"fail_state_action":{"anyOf":[{"$ref":"#/components/schemas/FailStateAction"},{"type":"null"}]},"captcha_action":{"anyOf":[{"$ref":"#/components/schemas/CaptchaAction"},{"type":"null"}]},"misc_action":{"anyOf":[{"$ref":"#/components/schemas/MiscAction"},{"type":"null"}]},"human_in_loop_action":{"anyOf":[{"$ref":"#/components/schemas/HumanInLoopAction"},{"type":"null"}]},"dynamic_form_mapping_action":{"anyOf":[{"$ref":"#/components/schemas/DynamicFormMappingAction"},{"type":"null"}]},"before_sleep_time":{"type":"number","title":"Before Sleep Time","default":0.0},"end_sleep_time":{"type":"number","title":"End Sleep Time","default":5.0},"expect_new_tab":{"type":"boolean","title":"Expect New Tab","default":false},"max_new_tab_wait_time":{"type":"number","title":"Max New Tab Wait Time","default":0.0},"localized_axtree_string":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Localized Axtree String"}},"type":"object","required":["type"],"title":"ActionNode"},"AgentDagSchema":{"properties":{"nodes":{"items":{"$ref":"#/components/schemas/AgentNodeSchema"},"type":"array","title":"Nodes","default":[]},"edges":{"items":{"$ref":"#/components/schemas/AgentEdgeSchema"},"type":"array","title":"Edges","default":[]}},"type":"object","title":"AgentDagSchema"},"AgentEdgeSchema":{"properties":{"source":{"type":"string","title":"Source"},"target":{"type":"string","title":"Target"}},"type":"object","required":["source","target"],"title":"AgentEdgeSchema"},"AgentNodeSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"type":{"type":"string","title":"Type"},"automation_ids":{"items":{"type":"string"},"type":"array","title":"Automation Ids","default":[]},"qa_answers":{"additionalProperties":{"type":"string"},"type":"object","title":"Qa Answers","default":{}},"branches":{"items":{"$ref":"#/components/schemas/BranchArmSchema"},"type":"array","title":"Branches","default":[]}},"type":"object","required":["id","name","type"],"title":"AgentNodeSchema"},"AgentRunResponse":{"properties":{"id":{"type":"string","title":"Id"},"agent_id":{"type":"string","title":"Agent Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"status":{"$ref":"#/components/schemas/AgentRunStatus"},"input_params":{"additionalProperties":true,"type":"object","title":"Input Params"},"output":{"anyOf":[{},{"type":"null"}],"title":"Output"},"tracked_task_ids":{"items":{"type":"string"},"type":"array","title":"Tracked Task Ids"},"container_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Container Id"},"container_port":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Container Port"},"container_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Container Host"},"node_logs":{"items":{"$ref":"#/components/schemas/NodeLog"},"type":"array","title":"Node Logs","default":[]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"suggested_fix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Fix"},"retry_count":{"type":"integer","title":"Retry Count","default":0},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"trigger_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Source"},"trigger_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Source Id"},"agent_dag_json":{"anyOf":[{"$ref":"#/components/schemas/AgentDagSchema"},{"type":"null"}]},"agent_plan_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Plan Summary"},"agent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Name"}},"type":"object","required":["id","agent_id","workspace_id","status","input_params","tracked_task_ids","created_by","created_at"],"title":"AgentRunResponse"},"AgentRunStatus":{"type":"string","enum":["pending","running","completed","failed"],"title":"AgentRunStatus"},"AgenticTask":{"properties":{"task":{"type":"string","title":"Task"},"max_steps":{"type":"integer","title":"Max Steps"},"backend":{"type":"string","enum":["browser_use","browserbase"],"title":"Backend","default":"browser_use"},"use_vision":{"type":"boolean","title":"Use Vision","default":false},"keep_alive":{"type":"boolean","title":"Keep Alive","default":true}},"type":"object","required":["task","max_steps"],"title":"AgenticTask"},"AmazonSecretsManagerParameter":{"properties":{"secret_name":{"type":"string","title":"Secret Name"},"region_name":{"type":"string","title":"Region Name"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"type":{"type":"string","enum":["raw","totp_secret"],"title":"Type","default":"raw"},"digits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digits"}},"type":"object","required":["secret_name","region_name"],"title":"AmazonSecretsManagerParameter"},"AnalyticsResponse":{"properties":{"total_workflows":{"type":"integer","title":"Total Workflows"},"last_6_hours":{"$ref":"#/components/schemas/TimePeriodStats"},"last_24_hours":{"$ref":"#/components/schemas/TimePeriodStats"},"last_3_days":{"$ref":"#/components/schemas/TimePeriodStats"},"last_7_days":{"$ref":"#/components/schemas/TimePeriodStats"},"last_30_days":{"$ref":"#/components/schemas/TimePeriodStats"},"custom_range":{"$ref":"#/components/schemas/TimePeriodStats"}},"type":"object","required":["total_workflows","last_6_hours","last_24_hours","last_3_days","last_7_days","last_30_days","custom_range"],"title":"AnalyticsResponse"},"AssertLocatorNode":{"properties":{"type":{"type":"string","const":"assert_locator_node","title":"Type"},"locator":{"type":"string","title":"Locator"},"assertion":{"type":"string","enum":["to_be_visible","to_be_hidden"],"title":"Assertion"},"output_variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Variable Name"},"timeout":{"type":"number","title":"Timeout","default":5.0}},"type":"object","required":["type","locator","assertion"],"title":"AssertLocatorNode","description":"Evaluate a Playwright locator assertion and store the boolean result.\n\nThe locator is evaluated against `page` via Browser.get_locator_from_command\n(same `eval(\"page.\" + command)` style used by interaction actions). If the\nassertion holds within `timeout` seconds the result is True, otherwise False.\nThe boolean is stored in generated_variables under `output_variable_name`\n(as a single-element list, e.g. {output_variable_name: [True]}) so it can be\nreferenced later via `{output_variable_name[0]}`, e.g. in an if_else_node\ncondition. When `output_variable_name` is omitted, the result is stored under\n`node{index}_output`, where index is the node's step index resolved at runtime."},"AssertionAction":{"properties":{"network_call":{"anyOf":[{"$ref":"#/components/schemas/NetworkCallAssertion"},{"type":"null"}]},"llm":{"anyOf":[{"$ref":"#/components/schemas/LLMAssertion"},{"type":"null"}]},"python_script":{"anyOf":[{"$ref":"#/components/schemas/PythonScriptAssertion"},{"type":"null"}]}},"type":"object","title":"AssertionAction"},"Automation":{"properties":{"browser_channel":{"type":"string","enum":["chromium","chrome","cloakbrowser","browser-use","rdp"],"title":"Browser Channel","default":"chromium"},"backend":{"type":"string","enum":["browser-use","computer-vision"],"title":"Backend","default":"browser-use"},"os_emulation":{"anyOf":[{"type":"string","enum":["windows","linux"]},{"type":"null"}],"title":"Os Emulation"},"allow_cookies":{"type":"boolean","title":"Allow Cookies","default":false},"max_retries":{"type":"integer","title":"Max Retries","default":0},"expected_downloads":{"type":"integer","title":"Expected Downloads","default":0},"remove_empty_nodes_in_axtree":{"type":"boolean","title":"Remove Empty Nodes In Axtree","default":true},"url":{"type":"string","title":"Url"},"reuse_page_if_already_on_url":{"type":"boolean","title":"Reuse Page If Already On Url","default":false},"take_final_screenshot":{"type":"boolean","title":"Take Final Screenshot","default":true},"parameters":{"$ref":"#/components/schemas/Parameters"},"nodes":{"items":{"oneOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}],"discriminator":{"propertyName":"type","mapping":{"action_node":"#/components/schemas/ActionNode","assert_locator_node":"#/components/schemas/AssertLocatorNode","for_loop_node":"#/components/schemas/ForLoopNode","if_else_node":"#/components/schemas/IfElseNode","private_node":"#/components/schemas/PrivateNode"}}},"type":"array","title":"Nodes"},"automation_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automation Description"},"automation_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automation Endpoint"},"post_processing_nodes":{"items":{"oneOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}],"discriminator":{"propertyName":"type","mapping":{"action_node":"#/components/schemas/ActionNode","assert_locator_node":"#/components/schemas/AssertLocatorNode","for_loop_node":"#/components/schemas/ForLoopNode","if_else_node":"#/components/schemas/IfElseNode","private_node":"#/components/schemas/PrivateNode"}}},"type":"array","title":"Post Processing Nodes","default":[]}},"type":"object","required":["url","parameters","nodes"],"title":"Automation"},"Body_add_example_api_v1_add_example_post":{"properties":{"automation":{"$ref":"#/components/schemas/Automation"},"description":{"type":"string","title":"Description"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["automation","description","endpoint_name"],"title":"Body_add_example_api_v1_add_example_post"},"Body_get_callback_data_api_v1_get_callback_data_post":{"properties":{"task_id":{"type":"string","title":"Task Id"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["task_id","endpoint_name"],"title":"Body_get_callback_data_api_v1_get_callback_data_post"},"Body_initiate_callback_api_v1_initiate_callback_post":{"properties":{"task_id":{"type":"string","title":"Task Id"},"endpoint_name":{"type":"string","title":"Endpoint Name"},"callback_url":{"anyOf":[{"$ref":"#/components/schemas/CallbackUrl"},{"type":"null"}]},"task_callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Callback Url"},"task_callback_api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Callback Api Key"}},"type":"object","required":["task_id","endpoint_name"],"title":"Body_initiate_callback_api_v1_initiate_callback_post"},"Body_save_demo_api_v1_save_demo_post":{"properties":{"code_file":{"type":"string","format":"binary","title":"Code File"},"compressed_data":{"type":"string","format":"binary","title":"Compressed Data"}},"type":"object","required":["code_file","compressed_data"],"title":"Body_save_demo_api_v1_save_demo_post"},"Body_save_trajectory_api_v1_save_trajectory_post":{"properties":{"task_id":{"type":"string","title":"Task Id"},"compressed_trajectory":{"type":"string","format":"binary","title":"Compressed Trajectory"}},"type":"object","required":["task_id","compressed_trajectory"],"title":"Body_save_trajectory_api_v1_save_trajectory_post"},"Body_update_example_api_v1_update_example_post":{"properties":{"automation":{"$ref":"#/components/schemas/Automation"},"description":{"type":"string","title":"Description"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["automation","description","endpoint_name"],"title":"Body_update_example_api_v1_update_example_post"},"BranchArmNodeSchema":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"type":{"type":"string","title":"Type","default":"step"},"automation_ids":{"items":{"type":"string"},"type":"array","title":"Automation Ids","default":[]}},"type":"object","required":["id","name"],"title":"BranchArmNodeSchema"},"BranchArmSchema":{"properties":{"id":{"type":"string","title":"Id"},"condition":{"type":"string","title":"Condition","default":""},"nodes":{"items":{"$ref":"#/components/schemas/BranchArmNodeSchema"},"type":"array","title":"Nodes","default":[]}},"type":"object","required":["id"],"title":"BranchArmSchema"},"CallbackDataItem":{"properties":{"task_id":{"type":"string","title":"Task Id"},"recording_id":{"type":"string","title":"Recording Id"},"output_data":{"anyOf":[{},{"type":"null"}],"title":"Output Data"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"status":{"type":"string","enum":["queued","allocated","running","success","failed","cancelled","killed"],"title":"Status"},"endpoint_name":{"type":"string","title":"Endpoint Name"},"downloads":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Downloads"},"downloads_with_metadata":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Downloads With Metadata"},"input_parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Parameters"},"unique_parameter_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Unique Parameter Names"},"for_loop_status":{"anyOf":[{},{"type":"null"}],"title":"For Loop Status"}},"type":"object","required":["task_id","recording_id","status","endpoint_name"],"title":"CallbackDataItem"},"CallbackStatusResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"status":{"type":"string","title":"Status"}},"type":"object","required":["success","status"],"title":"CallbackStatusResponse"},"CallbackUrl":{"properties":{"url":{"type":"string","title":"Url"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"type":"object","required":["url"],"title":"CallbackUrl"},"CaptchaAction":{"properties":{"locator":{"type":"string","title":"Locator"},"secondary_locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Locator"},"wait_time":{"type":"number","title":"Wait Time","default":2.0},"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"type":"string","title":"Llm Model Name","default":"gemini/gemini-2.5-pro"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["locator"],"title":"CaptchaAction"},"CheckAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"}},"type":"object","title":"CheckAction"},"ClickElementAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"},"double_click":{"type":"boolean","title":"Double Click","default":false},"expect_download":{"type":"boolean","title":"Expect Download","default":false},"download_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Filename"},"download_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Download Metadata"},"button":{"type":"string","enum":["left","right","middle"],"title":"Button","default":"left"},"mouse_click":{"type":"boolean","title":"Mouse Click","default":false},"mouse_click_deviation":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"object"},{"type":"null"}],"title":"Mouse Click Deviation"},"force":{"type":"boolean","title":"Force","default":false}},"type":"object","title":"ClickElementAction"},"CloseAllButLastTabAction":{"properties":{},"type":"object","title":"CloseAllButLastTabAction"},"CloseCurrentTabAction":{"properties":{},"type":"object","title":"CloseCurrentTabAction"},"CloseOverlayPopupAction":{"properties":{"task":{"type":"string","title":"Task","default":"\nThe primary goal of this task is to **automatically dismiss obstructing overlay popups** to enable a human-like, unobstructed view and interaction with the main website content.\n\n---\n\n### 🎯 Goal\nClear the entire viewport of any modal, overlay, or blocking element that prevents access to the underlying webpage content.\n\n### 📜 Scope of Target Overlays\nTarget elements include, but are not limited to, the following common types of overlays:\n* Cookie Consent Banners/Modals\n* Privacy Policy Notices\n* Email/Newsletter Sign-up Prompts\n* Age Verification Gates\n* Blocking Promotional Offers\n\n### ⚙️ Action Priority and Rules\n\nThe agent must only dismiss overlays that a typical human user would close to proceed with the site. The actions must follow these specific rules in order of priority:\n\n1.  **Cookie Consent:** When encountering a cookie or privacy consent overlay, **always accept** or agree to the policy. Click buttons labeled \"Accept,\" \"Agree,\" \"Got it,\" \"Allow All,\" or similar positive confirmation phrases.\n2.  **General Dismissal:** For all other overlays (sign-ups, promotions, etc.), prioritize clicking **dismissive buttons** that close the popup without requiring user input. Look for labels like \"Close,\" \"X\" (close icon), \"No Thanks,\" \"Maybe Later,\" \"Skip,\" or \"Continue to site.\"\n3.  **Avoidance:** Do **not** input text, or click buttons like \"Sign Up,\" \"Learn More,\" or links that navigate away from the current page (e.g., \"Read Full Policy\"). The goal is solely to dismiss the current obstruction.\n\n### 🛑 Completion State\nThe task is considered complete when the main body of the webpage is fully visible and ready for a user to interact with, meaning **no active overlays** are obstructing the content.\n"},"max_steps":{"type":"integer","title":"Max Steps","default":5},"backend":{"type":"string","enum":["browser_use","browserbase"],"title":"Backend","default":"browser_use"},"use_vision":{"type":"boolean","title":"Use Vision","default":true},"keep_alive":{"type":"boolean","title":"Keep Alive","default":true}},"type":"object","title":"CloseOverlayPopupAction"},"CloseTabsUntil":{"properties":{"matching_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matching Url"},"tab_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tab Index"}},"type":"object","title":"CloseTabsUntil"},"ConfirmDownloadsRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"},"filenames":{"items":{"type":"string"},"type":"array","title":"Filenames"},"downloads_metadata":{"anyOf":[{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},{"type":"null"}],"title":"Downloads Metadata"}},"type":"object","required":["task_id","filenames"],"title":"ConfirmDownloadsRequest"},"CountLocatorAction":{"properties":{"locator":{"type":"string","title":"Locator"},"name":{"type":"string","title":"Name"},"locator_timeout":{"type":"number","title":"Locator Timeout","default":5.0},"output_variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Variable Name"}},"type":"object","required":["locator","name"],"title":"CountLocatorAction","description":"Count how many elements a Playwright locator matches on the current page.\n\nThe integer count is stored in generated_variables under `name` as a\nsingle-element list (same wrapping as set_variable).\n\nWhen `output_variable_name` is set, the count is also appended to\n``output_data`` under that key."},"CreateRunRequest":{"properties":{"input_params":{"additionalProperties":true,"type":"object","title":"Input Params"},"user_api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Api Key"}},"type":"object","required":["input_params"],"title":"CreateRunRequest"},"DownloadUrlAsPdfAction":{"properties":{"download_filename":{"type":"string","title":"Download Filename"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"DownloadUrlAsPdfAction"},"DynamicFormMappingAction":{"properties":{"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"},"extraction_instructions":{"type":"string","title":"Extraction Instructions"},"extraction_format":{"additionalProperties":true,"type":"object","title":"Extraction Format"},"source":{"items":{"type":"string","enum":["axtree","screenshot"]},"type":"array","title":"Source","default":["axtree"]},"callback_url":{"$ref":"#/components/schemas/FormMappingCallbackUrl"},"include_screenshot":{"type":"boolean","title":"Include Screenshot","default":true},"full_page_screenshot":{"type":"boolean","title":"Full Page Screenshot","default":false},"include_axtree":{"type":"boolean","title":"Include Axtree","default":false},"include_live_stream_url":{"type":"boolean","title":"Include Live Stream Url","default":false},"max_wait_time":{"type":"number","maximum":120.0,"exclusiveMinimum":0.0,"title":"Max Wait Time","default":60.0},"output_variable_name":{"type":"string","title":"Output Variable Name","default":"form_values"}},"type":"object","required":["extraction_instructions","extraction_format","callback_url"],"title":"DynamicFormMappingAction","description":"Extract form field keys from the current page, POST them to a customer\nendpoint, and store the returned mapping for later nodes (typically\n``agentic_task``)."},"EmailTwoFAAction":{"properties":{"type":{"type":"string","const":"email_two_fa_action","title":"Type"},"receiver_email_address":{"type":"string","title":"Receiver Email Address"},"sender_email_address":{"type":"string","title":"Sender Email Address"},"integration_email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Email Address"}},"type":"object","required":["type","receiver_email_address","sender_email_address"],"title":"EmailTwoFAAction"},"ExtractionAction":{"properties":{"unique_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unique Identifier"},"allow_none":{"type":"boolean","title":"Allow None","default":false},"network_call":{"anyOf":[{"$ref":"#/components/schemas/NetworkCallExtraction"},{"type":"null"}]},"llm":{"anyOf":[{"$ref":"#/components/schemas/LLMExtraction"},{"type":"null"}]},"python_script":{"anyOf":[{"$ref":"#/components/schemas/PythonScriptExtraction"},{"type":"null"}]},"screenshot":{"anyOf":[{"$ref":"#/components/schemas/ScreenshotExtraction"},{"type":"null"}]},"state":{"anyOf":[{"$ref":"#/components/schemas/StateExtraction"},{"type":"null"}]},"two_fa_action":{"anyOf":[{"$ref":"#/components/schemas/TwoFAAction"},{"type":"null"}]},"pdf":{"anyOf":[{"$ref":"#/components/schemas/PDFExtraction"},{"type":"null"}]},"ocr_coordinates":{"anyOf":[{"$ref":"#/components/schemas/OCRCoordinatesExtraction"},{"type":"null"}]},"locator":{"anyOf":[{"$ref":"#/components/schemas/LocatorExtraction"},{"type":"null"}]},"vision":{"anyOf":[{"$ref":"#/components/schemas/VisionExtraction"},{"type":"null"}]},"api_call":{"anyOf":[{"$ref":"#/components/schemas/APICallExtraction"},{"type":"null"}]}},"type":"object","title":"ExtractionAction"},"FailStateAction":{"properties":{"failure_message":{"type":"string","title":"Failure Message","default":"Automation completed at one of the failure states."}},"type":"object","title":"FailStateAction"},"FetchEmailMessagesRequest":{"properties":{"receiver_email_address":{"type":"string","title":"Receiver Email Address"},"sender_email_address":{"type":"string","title":"Sender Email Address"},"integration_email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Integration Email Address"},"start_2fa_time":{"type":"string","format":"date-time","title":"Start 2Fa Time"},"end_2fa_time":{"type":"string","format":"date-time","title":"End 2Fa Time"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["receiver_email_address","sender_email_address","start_2fa_time","end_2fa_time","endpoint_name"],"title":"FetchEmailMessagesRequest"},"FetchSMSMessagesRequest":{"properties":{"from_number":{"type":"string","title":"From Number"},"to_number":{"type":"string","title":"To Number"},"start_2fa_time":{"type":"string","format":"date-time","title":"Start 2Fa Time"},"end_2fa_time":{"type":"string","format":"date-time","title":"End 2Fa Time"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["from_number","to_number","start_2fa_time","end_2fa_time","endpoint_name"],"title":"FetchSMSMessagesRequest"},"FetchSlackMessagesRequest":{"properties":{"slack_workspace_domain":{"type":"string","title":"Slack Workspace Domain"},"channel_name":{"type":"string","title":"Channel Name"},"sender_name":{"type":"string","title":"Sender Name"},"start_2fa_time":{"type":"string","format":"date-time","title":"Start 2Fa Time"},"end_2fa_time":{"type":"string","format":"date-time","title":"End 2Fa Time"},"endpoint_name":{"type":"string","title":"Endpoint Name"}},"type":"object","required":["slack_workspace_domain","channel_name","sender_name","start_2fa_time","end_2fa_time","endpoint_name"],"title":"FetchSlackMessagesRequest"},"ForLoopNode":{"properties":{"type":{"type":"string","const":"for_loop_node","title":"Type"},"variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variable Name","description":"Name of the list variable to iterate over; its length is the iteration count. Comma-separated names iterate in parallel, with the first one setting the length. Reference values in the loop body as {variable_name[<index_variable_name>]}. Mutually exclusive with locator: exactly one of the two must be set."},"locator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locator","description":"Playwright locator command evaluated against `page` (same grammar as assert_locator_node.locator), e.g. 'get_by_role(\"row\")'. The number of matched elements is the iteration count, so use this to loop over rows/items whose count is not known when authoring. Reference the current match in the loop body as {locator[<index_variable_name>]}, which expands to <locator>.nth(<N>) and can be chained: '{locator[row]}.locator(\"td.NameCell\")'. Mutually exclusive with variable_name: exactly one of the two must be set."},"index_variable_name":{"type":"string","title":"Index Variable Name","description":"Placeholder name bound to the current iteration's number, used as {var[<name>]} / {locator[<name>]} and bare {<name>}. Defaults to \"index\" for backward compatibility. Use distinct names when nesting loops so the outer index remains addressable inside the inner loop. Must not be 'index_of', must not be 'locator' in locator mode, and must not match a name listed in variable_name.","default":"index"},"locator_timeout":{"type":"number","title":"Locator Timeout","description":"Locator loops only: seconds to wait for the first match to attach before counting (Playwright's count() does not auto-wait, so without this a table that renders asynchronously counts as empty and the loop body never runs). After the first match, the runtime also waits until the match count stays unchanged for 1s so rows that stream in shortly after the first paint are included. A locator that never attaches yields zero iterations (with a warning) rather than an error, so an empty result table is handled without failing the run.","default":5.0},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations","description":"Cap on the number of iterations; extra items are skipped with a warning. Null means iterate over everything the source provides."},"nodes":{"items":{"oneOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}],"discriminator":{"propertyName":"type","mapping":{"action_node":"#/components/schemas/ActionNode","assert_locator_node":"#/components/schemas/AssertLocatorNode","for_loop_node":"#/components/schemas/ForLoopNode","if_else_node":"#/components/schemas/IfElseNode","private_node":"#/components/schemas/PrivateNode"}}},"type":"array","title":"Nodes"},"reset_nodes":{"items":{"oneOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}],"discriminator":{"propertyName":"type","mapping":{"action_node":"#/components/schemas/ActionNode","assert_locator_node":"#/components/schemas/AssertLocatorNode","for_loop_node":"#/components/schemas/ForLoopNode","if_else_node":"#/components/schemas/IfElseNode","private_node":"#/components/schemas/PrivateNode"}}},"type":"array","title":"Reset Nodes","default":[]},"on_error_in_loop":{"type":"string","enum":["continue","break","raise"],"title":"On Error In Loop","default":"raise"}},"type":"object","required":["type","nodes"],"title":"ForLoopNode"},"ForLoopStatus":{"properties":{"variable_name":{"type":"string","title":"Variable Name"},"index":{"type":"integer","title":"Index"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}],"title":"Value"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"status":{"type":"string","enum":["success","error","skipped"],"title":"Status"}},"type":"object","required":["variable_name","index","value","status"],"title":"ForLoopStatus"},"FormMappingCallbackUrl":{"properties":{"url":{"type":"string","title":"Url"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"type":"object","required":["url"],"title":"FormMappingCallbackUrl"},"GetCallbackDataResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/CallbackDataItem"},{"type":"null"}]}},"type":"object","required":["success"],"title":"GetCallbackDataResponse"},"GetDownloadsResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"urls":{"items":{},"type":"array","title":"Urls"}},"type":"object","required":["success","urls"],"title":"GetDownloadsResponse"},"GetStreamResponse":{"properties":{"stream_url":{"type":"string","title":"Stream Url"}},"type":"object","required":["stream_url"],"title":"GetStreamResponse"},"GoBackAction":{"properties":{},"type":"object","title":"GoBackAction"},"GoToUrlAction":{"properties":{"url":{"type":"string","title":"Url"},"new_tab":{"type":"boolean","title":"New Tab","default":false}},"type":"object","required":["url"],"title":"GoToUrlAction"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HoverAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"}},"type":"object","title":"HoverAction"},"HumanInLoopAction":{"properties":{"max_wait_time":{"type":"number","maximum":600.0,"exclusiveMinimum":0.0,"title":"Max Wait Time"}},"type":"object","required":["max_wait_time"],"title":"HumanInLoopAction"},"HumanInLoopRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"}},"type":"object","required":["task_id"],"title":"HumanInLoopRequest"},"IfElseNode":{"properties":{"type":{"type":"string","const":"if_else_node","title":"Type"},"condition":{"type":"string","title":"Condition"},"if_nodes":{"items":{"anyOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}]},"type":"array","title":"If Nodes"},"else_nodes":{"items":{"anyOf":[{"$ref":"#/components/schemas/ActionNode"},{"$ref":"#/components/schemas/IfElseNode"},{"$ref":"#/components/schemas/ForLoopNode"},{"$ref":"#/components/schemas/AssertLocatorNode"},{"$ref":"#/components/schemas/PrivateNode"}]},"type":"array","title":"Else Nodes","default":[]}},"type":"object","required":["type","condition","if_nodes"],"title":"IfElseNode"},"InferenceRequest":{"properties":{"endpoint_name":{"type":"string","title":"Endpoint Name"},"input_parameters":{"additionalProperties":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"array"},"type":"object","title":"Input Parameters"},"unique_parameter_names":{"items":{"type":"string"},"type":"array","title":"Unique Parameter Names"},"secure_parameters":{"additionalProperties":{"items":{"$ref":"#/components/schemas/SecureParameter"},"type":"array"},"type":"object","title":"Secure Parameters"},"rdp_parameter":{"anyOf":[{"$ref":"#/components/schemas/RDPParameter"},{"type":"null"}]},"max_timeout_in_minutes":{"type":"integer","title":"Max Timeout In Minutes","default":10},"use_proxy":{"type":"boolean","title":"Use Proxy","default":false},"is_dedicated":{"type":"boolean","title":"Is Dedicated","default":false},"task_callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Callback Url"},"task_callback_api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Callback Api Key"},"max_parallelism":{"type":"integer","title":"Max Parallelism","default":1},"per_login_parallelism":{"type":"integer","title":"Per Login Parallelism","default":1},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"}},"type":"object","required":["endpoint_name","input_parameters"],"title":"InferenceRequest"},"InferenceResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"task_id":{"type":"string","title":"Task Id"}},"type":"object","required":["success","message","task_id"],"title":"InferenceResponse"},"InputTextAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"},"input_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Input Text"},"is_slider":{"type":"boolean","title":"Is Slider","default":false},"fill_or_type":{"type":"string","enum":["fill","type","key_press"],"title":"Fill Or Type","default":"fill"},"press_enter":{"type":"boolean","title":"Press Enter","default":false},"click_before_input":{"type":"boolean","title":"Click Before Input","default":true}},"type":"object","title":"InputTextAction"},"IntegrationSecretType":{"type":"string","enum":["aws_secret_manager","one_password"],"title":"IntegrationSecretType"},"InteractionAction":{"properties":{"max_tries":{"type":"integer","title":"Max Tries","default":10},"max_timeout_seconds_per_try":{"type":"number","title":"Max Timeout Seconds Per Try","default":1.0},"verify_before_step":{"type":"boolean","title":"Verify Before Step","default":true},"click_element":{"anyOf":[{"$ref":"#/components/schemas/ClickElementAction"},{"type":"null"}]},"input_text":{"anyOf":[{"$ref":"#/components/schemas/InputTextAction"},{"type":"null"}]},"select_option":{"anyOf":[{"$ref":"#/components/schemas/SelectOptionAction"},{"type":"null"}]},"check":{"anyOf":[{"$ref":"#/components/schemas/CheckAction"},{"type":"null"}]},"uncheck":{"anyOf":[{"$ref":"#/components/schemas/UncheckAction"},{"type":"null"}]},"hover":{"anyOf":[{"$ref":"#/components/schemas/HoverAction"},{"type":"null"}]},"download_url_as_pdf":{"anyOf":[{"$ref":"#/components/schemas/DownloadUrlAsPdfAction"},{"type":"null"}]},"scroll":{"anyOf":[{"$ref":"#/components/schemas/ScrollAction"},{"type":"null"}]},"upload_file":{"anyOf":[{"$ref":"#/components/schemas/UploadFileAction"},{"type":"null"}]},"go_to_url":{"anyOf":[{"$ref":"#/components/schemas/GoToUrlAction"},{"type":"null"}]},"go_back":{"anyOf":[{"$ref":"#/components/schemas/GoBackAction"},{"type":"null"}]},"switch_tab":{"anyOf":[{"$ref":"#/components/schemas/SwitchTabAction"},{"type":"null"}]},"close_current_tab":{"anyOf":[{"$ref":"#/components/schemas/CloseCurrentTabAction"},{"type":"null"}]},"close_all_but_last_tab":{"anyOf":[{"$ref":"#/components/schemas/CloseAllButLastTabAction"},{"type":"null"}]},"close_tabs_until":{"anyOf":[{"$ref":"#/components/schemas/CloseTabsUntil"},{"type":"null"}]},"agentic_task":{"anyOf":[{"$ref":"#/components/schemas/AgenticTask"},{"type":"null"}]},"close_overlay_popup":{"anyOf":[{"$ref":"#/components/schemas/CloseOverlayPopupAction"},{"type":"null"}]},"key_press":{"anyOf":[{"$ref":"#/components/schemas/KeyPressAction"},{"type":"null"}]}},"type":"object","title":"InteractionAction"},"KeyPressAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"},"type":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Type"}},"type":"object","required":["type"],"title":"KeyPressAction"},"LLMAssertion":{"properties":{"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"},"source":{"items":{"type":"string","enum":["axtree","screenshot"]},"type":"array","title":"Source","default":["screenshot"]},"extraction_format":{"additionalProperties":true,"type":"object","title":"Extraction Format","default":{"assertion_result":"bool","assertion_reason":"str"}},"extraction_instructions":{"type":"string","title":"Extraction Instructions"},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"output_variable_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variable Names"},"include_full_page":{"type":"boolean","title":"Include Full Page","default":false}},"type":"object","required":["extraction_instructions"],"title":"LLMAssertion"},"LLMExtraction":{"properties":{"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"},"source":{"items":{"type":"string","enum":["axtree","screenshot"]},"type":"array","title":"Source","default":["axtree"]},"extraction_format":{"additionalProperties":true,"type":"object","title":"Extraction Format"},"extraction_instructions":{"type":"string","title":"Extraction Instructions"},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"output_variable_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variable Names"},"include_full_page":{"type":"boolean","title":"Include Full Page","default":false}},"type":"object","required":["extraction_format","extraction_instructions"],"title":"LLMExtraction"},"LLMQueryAction":{"properties":{"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"},"output_format":{"additionalProperties":true,"type":"object","title":"Output Format"},"prompt_instructions":{"type":"string","title":"Prompt Instructions"},"output_variable_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variable Names"}},"type":"object","required":["output_format","prompt_instructions"],"title":"LLMQueryAction"},"LocatorExtraction":{"properties":{"command":{"type":"string","title":"Command"},"output_variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Variable Name"},"extraction_format":{"additionalProperties":true,"type":"object","title":"Extraction Format"},"extraction_instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraction Instructions"},"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"}},"type":"object","required":["command","extraction_format"],"title":"LocatorExtraction"},"MiscAction":{"properties":{"set_variable":{"anyOf":[{"$ref":"#/components/schemas/SetVariableAction"},{"type":"null"}]},"llm_query":{"anyOf":[{"$ref":"#/components/schemas/LLMQueryAction"},{"type":"null"}]},"count_locator":{"anyOf":[{"$ref":"#/components/schemas/CountLocatorAction"},{"type":"null"}]}},"type":"object","title":"MiscAction","description":"Container for miscellaneous actions (set_variable, llm_query, etc.).\n\nExactly one sub-action must be provided."},"NetworkCallAssertion":{"properties":{"url_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Pattern"},"header_filter":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Header Filter"}},"type":"object","title":"NetworkCallAssertion"},"NetworkCallExtraction":{"properties":{"url_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Pattern"},"extract_from":{"anyOf":[{"type":"string","enum":["request","response"]},{"type":"null"}],"title":"Extract From","default":"response"},"download_from":{"anyOf":[{"type":"string","enum":["request","response"]},{"type":"null"}],"title":"Download From","default":"response"},"download_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Filename"}},"type":"object","title":"NetworkCallExtraction"},"NodeLog":{"properties":{"node_id":{"type":"string","title":"Node Id"},"node_name":{"type":"string","title":"Node Name"},"status":{"type":"string","title":"Status"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"output":{"anyOf":[{},{"type":"null"}],"title":"Output"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["node_id","node_name","status"],"title":"NodeLog"},"OCRCoordinatesExtraction":{"properties":{"source_variable":{"type":"string","title":"Source Variable"},"output_x_variable":{"type":"string","title":"Output X Variable","default":"coords_x"},"output_y_variable":{"type":"string","title":"Output Y Variable","default":"coords_y"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"}},"type":"object","required":["source_variable"],"title":"OCRCoordinatesExtraction"},"OnePasswordParameter":{"properties":{"vault_name":{"type":"string","title":"Vault Name"},"item_name":{"type":"string","title":"Item Name"},"field_name":{"type":"string","title":"Field Name"},"type":{"type":"string","enum":["raw","totp_secret"],"title":"Type","default":"raw"},"digits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Digits"}},"type":"object","required":["vault_name","item_name","field_name"],"title":"OnePasswordParameter"},"OutputDataResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"output_data":{"anyOf":[{},{"type":"null"}],"title":"Output Data"}},"type":"object","required":["success"],"title":"OutputDataResponse"},"PDFExtraction":{"properties":{"filename":{"type":"string","title":"Filename"},"extraction_format":{"additionalProperties":true,"type":"object","title":"Extraction Format"},"extraction_instructions":{"type":"string","title":"Extraction Instructions"},"llm_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Provider"},"llm_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Llm Model Name"}},"type":"object","required":["filename","extraction_format","extraction_instructions"],"title":"PDFExtraction"},"PaginatedTasksResponse":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/TaskSummary"},"type":"array","title":"Tasks"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["tasks","total","page","limit","total_pages"],"title":"PaginatedTasksResponse"},"Parameters":{"properties":{"input_parameters":{"additionalProperties":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"array"},"type":"object","title":"Input Parameters"},"secure_parameters":{"additionalProperties":{"items":{"$ref":"#/components/schemas/SecureParameter"},"type":"array"},"type":"object","title":"Secure Parameters"},"generated_parameters":{"additionalProperties":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"array"},"type":"object","title":"Generated Parameters"}},"type":"object","required":["input_parameters","generated_parameters"],"title":"Parameters"},"PowerShellAction":{"properties":{"commands":{"items":{"type":"string"},"type":"array","title":"Commands"},"exit_after_commands":{"type":"boolean","title":"Exit After Commands","default":true}},"type":"object","required":["commands"],"title":"PowerShellAction","description":"Run a list of PowerShell commands on the current RDP Windows machine.\n\nOpens PowerShell via Win+R, executes all commands sequentially,\nand closes the session (sends 'exit' automatically)."},"PrivateNode":{"properties":{"type":{"type":"string","const":"private_node","title":"Type"},"handler":{"type":"string","title":"Handler"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"output_variable_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variable Names"},"before_sleep_time":{"type":"number","title":"Before Sleep Time","default":0.0},"end_sleep_time":{"type":"number","title":"End Sleep Time","default":0.0}},"type":"object","required":["type","handler"],"title":"PrivateNode","description":"Calls a handler contributed by an installed plugin package.\n\n``handler`` and ``inputs`` are deliberately untyped here: the public schema\ncannot know what a closed-source distribution provides, so the registry\nresolves the name and the handler's own model validates the inputs at\nexecution time. See ``optexity.private_nodes``."},"PythonScriptAction":{"properties":{"execution_code":{"type":"string","title":"Execution Code"}},"type":"object","required":["execution_code"],"title":"PythonScriptAction"},"PythonScriptAssertion":{"properties":{"script":{"type":"string","title":"Script"}},"type":"object","required":["script"],"title":"PythonScriptAssertion"},"PythonScriptExtraction":{"properties":{"script":{"type":"string","title":"Script"},"extraction_format":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extraction Format"},"output_variable_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variable Names"},"timeout_seconds":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Timeout Seconds"}},"type":"object","required":["script"],"title":"PythonScriptExtraction"},"RDPParameter":{"properties":{"host":{"type":"string","title":"Host"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"type":"object","required":["host"],"title":"RDPParameter"},"RecordingUpdate":{"properties":{"automation":{"anyOf":[{"$ref":"#/components/schemas/Automation"},{"type":"null"}]},"endpoint_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Name"},"callback_url":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Callback Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notification_emails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notification Emails"}},"type":"object","title":"RecordingUpdate"},"RequestDownloadUploadUrlsRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"},"filenames":{"items":{"type":"string"},"type":"array","title":"Filenames"}},"type":"object","required":["task_id","filenames"],"title":"RequestDownloadUploadUrlsRequest"},"SMS2FAAction":{"properties":{"type":{"type":"string","const":"sms_two_fa_action","title":"Type"},"from_number":{"type":"string","title":"From Number"},"to_number":{"type":"string","title":"To Number"}},"type":"object","required":["type","from_number","to_number"],"title":"SMS2FAAction"},"ScreenshotExtraction":{"properties":{"filename":{"type":"string","title":"Filename"},"full_page":{"type":"boolean","title":"Full Page","default":true}},"type":"object","required":["filename"],"title":"ScreenshotExtraction"},"ScrollAction":{"properties":{"down":{"type":"boolean","title":"Down","default":true},"amount":{"type":"integer","title":"Amount","default":-1},"prompt_instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Instructions"}},"type":"object","title":"ScrollAction"},"SecureParameter":{"properties":{"onepassword":{"anyOf":[{"$ref":"#/components/schemas/OnePasswordParameter"},{"type":"null"}]},"amazon_secrets_manager":{"anyOf":[{"$ref":"#/components/schemas/AmazonSecretsManagerParameter"},{"type":"null"}]},"totp":{"anyOf":[{"$ref":"#/components/schemas/TOTPParameter"},{"type":"null"}]}},"type":"object","title":"SecureParameter"},"SelectOptionAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"},"select_values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Select Values"},"expect_download":{"type":"boolean","title":"Expect Download","default":false},"download_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Filename"},"download_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Download Metadata"}},"type":"object","title":"SelectOptionAction"},"SetVariableAction":{"properties":{"name":{"type":"string","title":"Name"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"boolean"},{"type":"null"}],"title":"Value"},"expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expression"},"output_variable_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Variable Name"}},"type":"object","required":["name"],"title":"SetVariableAction","description":"Set a value in generated_variables.\n\nUse `value` for a static value, or `expression` for a computed value\n(evaluated after variable replacement, e.g. \"{counter[0]} + 1\").\n\nWhen `output_variable_name` is set, the value is also appended to\n``output_data`` under that key."},"SlackTwoFAAction":{"properties":{"type":{"type":"string","const":"slack_two_fa_action","title":"Type"},"slack_workspace_domain":{"type":"string","title":"Slack Workspace Domain"},"channel_name":{"type":"string","title":"Channel Name"},"sender_name":{"type":"string","title":"Sender Name"}},"type":"object","required":["type","slack_workspace_domain","channel_name","sender_name"],"title":"SlackTwoFAAction"},"SleepAction":{"properties":{"sleep_time":{"type":"number","title":"Sleep Time"}},"type":"object","required":["sleep_time"],"title":"SleepAction"},"StateExtraction":{"properties":{},"type":"object","title":"StateExtraction"},"SuccessMessageResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"SuccessMessageResponse"},"SwitchTabAction":{"properties":{"tab_index":{"type":"integer","title":"Tab Index"}},"type":"object","required":["tab_index"],"title":"SwitchTabAction"},"SystemInfo":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"total_system_memory":{"type":"number","title":"Total System Memory"},"total_system_memory_used":{"type":"number","title":"Total System Memory Used"}},"type":"object","title":"SystemInfo"},"TOTPParameter":{"properties":{"totp_secret":{"type":"string","title":"Totp Secret"},"digits":{"type":"integer","title":"Digits","default":6}},"type":"object","required":["totp_secret"],"title":"TOTPParameter"},"TaskCompleteRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"},"child_process_id":{"type":"integer","title":"Child Process Id"},"unique_child_arn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unique Child Arn"},"status":{"type":"string","enum":["success","failed","cancelled","killed"],"title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"token_usage":{"anyOf":[{"$ref":"#/components/schemas/TokenUsage"},{"type":"null"}]},"retry_count":{"type":"integer","title":"Retry Count"}},"type":"object","required":["task_id","child_process_id","status","error","completed_at","retry_count"],"title":"TaskCompleteRequest"},"TaskOutputDataRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"},"output_data":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Output Data"},"final_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Screenshot"},"for_loop_status":{"anyOf":[{"items":{"items":{"$ref":"#/components/schemas/ForLoopStatus"},"type":"array"},"type":"array"},{"type":"null"}],"title":"For Loop Status"},"system_info":{"anyOf":[{"items":{"$ref":"#/components/schemas/SystemInfo"},"type":"array"},{"type":"null"}],"title":"System Info"},"unique_child_arn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unique Child Arn"}},"type":"object","required":["task_id","output_data","final_screenshot"],"title":"TaskOutputDataRequest"},"TaskStartedRequest":{"properties":{"task_id":{"type":"string","title":"Task Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"allocated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Allocated At"}},"type":"object","required":["task_id","started_at"],"title":"TaskStartedRequest"},"TaskStatusData":{"properties":{"task_id":{"type":"string","title":"Task Id"},"status":{"type":"string","title":"Status"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"allocated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allocated At"},"started_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["task_id","status"],"title":"TaskStatusData"},"TaskStatusResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"task":{"$ref":"#/components/schemas/TaskStatusData"}},"type":"object","required":["success","task"],"title":"TaskStatusResponse"},"TaskSummary":{"properties":{"task_id":{"type":"string","title":"Task Id"},"recording_id":{"type":"string","title":"Recording Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"endpoint_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Name"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"is_cloud":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cloud"}},"type":"object","required":["task_id","recording_id"],"title":"TaskSummary","description":"Lightweight task model for table view - only essential columns."},"TimePeriodStats":{"properties":{"total_tasks":{"type":"integer","title":"Total Tasks"},"success_count":{"type":"integer","title":"Success Count"},"failed_count":{"type":"integer","title":"Failed Count"},"cancelled_count":{"type":"integer","title":"Cancelled Count","default":0},"queued_count":{"type":"integer","title":"Queued Count","default":0},"running_count":{"type":"integer","title":"Running Count","default":0},"success_rate":{"type":"number","title":"Success Rate"},"median_duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Median Duration Seconds"},"total_agent_minutes":{"type":"integer","title":"Total Agent Minutes","default":0},"average_total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Total Cost"},"total_llm_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Llm Cost"}},"type":"object","required":["total_tasks","success_count","failed_count","success_rate"],"title":"TimePeriodStats"},"TokenUsage":{"properties":{"input_tokens":{"type":"integer","title":"Input Tokens","default":0},"output_tokens":{"type":"integer","title":"Output Tokens","default":0},"tool_use_tokens":{"type":"integer","title":"Tool Use Tokens","default":0},"thoughts_tokens":{"type":"integer","title":"Thoughts Tokens","default":0},"total_tokens":{"type":"integer","title":"Total Tokens","default":0},"calculated_total_tokens":{"type":"integer","title":"Calculated Total Tokens","default":0},"input_cost":{"type":"number","title":"Input Cost","default":0},"output_cost":{"type":"number","title":"Output Cost","default":0},"tool_use_cost":{"type":"number","title":"Tool Use Cost","default":0},"thoughts_cost":{"type":"number","title":"Thoughts Cost","default":0},"total_cost":{"type":"number","title":"Total Cost","default":0}},"type":"object","title":"TokenUsage"},"TwoFAAction":{"properties":{"action":{"oneOf":[{"$ref":"#/components/schemas/EmailTwoFAAction"},{"$ref":"#/components/schemas/SlackTwoFAAction"},{"$ref":"#/components/schemas/SMS2FAAction"}],"title":"Action","discriminator":{"propertyName":"type","mapping":{"email_two_fa_action":"#/components/schemas/EmailTwoFAAction","slack_two_fa_action":"#/components/schemas/SlackTwoFAAction","sms_two_fa_action":"#/components/schemas/SMS2FAAction"}}},"instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instructions"},"output_variable_name":{"type":"string","title":"Output Variable Name"},"max_wait_time":{"type":"number","title":"Max Wait Time","default":300.0},"check_interval":{"type":"number","title":"Check Interval","default":30.0},"start_2fa_time_offset_minutes":{"type":"number","title":"Start 2Fa Time Offset Minutes","default":0.0},"end_2fa_time_offset_minutes":{"type":"number","title":"End 2Fa Time Offset Minutes","default":0.0}},"type":"object","required":["action","output_variable_name"],"title":"TwoFAAction"},"UncheckAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"}},"type":"object","title":"UncheckAction"},"UpdateRecordingResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"UpdateRecordingResponse"},"UploadFileAction":{"properties":{"xpath":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xpath"},"coordinates":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Command"},"prompt_instructions":{"type":"string","title":"Prompt Instructions","default":""},"skip_command":{"type":"boolean","title":"Skip Command","default":false},"skip_prompt":{"type":"boolean","title":"Skip Prompt","default":false},"assert_locator_presence":{"type":"boolean","title":"Assert Locator Presence","default":false},"recording_screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Screenshot"},"bounding_box_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Bounding Box Variables"},"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Path"},"file_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Url"}},"type":"object","title":"UploadFileAction"},"ValidateApiKeyResponse":{"properties":{"valid":{"type":"boolean","title":"Valid"},"message":{"type":"string","title":"Message"}},"type":"object","required":["valid","message"],"title":"ValidateApiKeyResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VisionExtraction":{"properties":{"prompt":{"type":"string","title":"Prompt"},"output_variable_names":{"items":{"type":"string"},"type":"array","title":"Output Variable Names"}},"type":"object","required":["prompt","output_variable_names"],"title":"VisionExtraction"}}}}