Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.
API key for authentication. Get your key from the API Keys page.
Body
application/json
Automation task parameters
url
string<uri>
required
Target website URL to automate
Example:
"https://example.com"
goal
string
required
Natural language description of what to accomplish on the website
Minimum string length: 1
Example:
"Find the pricing page and extract all plan details"
browser_profile
enum<string>
Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.
Available options:
lite,
stealth
Example:
"lite"
api_integration
string
Name of the integration making this API call (e.g., "dify", "zapier", "n8n"). Used for analytics.
Example:
"dify"
agent_config
object
Agent behavior configuration
Show child attributes
capture_config
object
Configure which data to capture during the run.
Show child attributes
webhook_url
string<uri>
HTTPS URL to receive webhook notifications for run lifecycle events. Must use HTTPS.
use_vault
boolean
Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.
Example:
true
use_profile
boolean
Opt-in to the default Browser Context Profile if Browser Context Profiles are enabled; legacy callers are silently ignored when the profiles feature is disabled. Returns 400 when enabled but no default profile is set.
Example:
true
profile_id
string
Browser Context Profile ID to use when use_profile is true.
Minimum string length: 1
Example:
"prof_abc123def4567890"
credential_item_ids
string[]
Scope vault credentials to specific credential URIs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used.
Automation completed or failed after execution started. Returns run details.
Automation run response. Check status to determine success/failure. On success: result is populated, error is null. On failure: result is null, error contains message.
run_id
string | null
required
Unique identifier for the automation run
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
status
enum<string>
required
Final status of the automation run
Available options:
COMPLETED,
FAILED
Example:
"COMPLETED"
started_at
string | null
required
ISO 8601 timestamp when the run started
Example:
"2024-01-01T00:00:00Z"
finished_at
string | null
required
ISO 8601 timestamp when the run finished
Example:
"2024-01-01T00:00:30Z"
num_of_steps
number | null
required
Number of steps taken during the automation. Null while the run is still in progress.
Example:
5
result
object | null
required
Structured JSON result extracted from the automation. Null if the run failed.
Show child attributes
Example:
{ "product": "iPhone 15", "price": "$799" }
error
object | null
required
Error details. Null if the run succeeded.
Show child attributes
profile_hint
object
Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TinyFish","colors":{"primary":"#D74B28","light":"#D74B28","dark":"#D74B28"},"logo":{"light":"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_Horizontal.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=3ff7a57ebbe744005f4f984e986f16b9","dark":"https://mintcdn.com/tinyfish/VrMSbq950IKhOmzd/logo/dark.svg?fit=max\u0026auto=format\u0026n=VrMSbq950IKhOmzd\u0026q=85\u0026s=78303ae67f6f601a47cdfd79f978f941","href":"https://agent.tinyfish.ai"},"favicon":"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_ICON.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=9151d20cf17b84686c03e299a8997a32","navbar":{"primary":{"type":"button","label":"Get API Key","href":"https://agent.tinyfish.ai/api-keys"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/tinyfish-ai","x":"https://x.com/Tiny_Fish","discord":"https://discord.gg/tinyfish","youtube":"https://www.youtube.com/@TinyFish-AI"}},"integrations":{"ga4":{"measurementId":"G-P52K96QP6R"},"posthog":{"apiKey":"phc_NJaHVgJntoRghYPq3Q92cniMBBbLRh4cE2S5xX1XVyL"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tinyfish","hasAudioNarration":false,"actualSubdomain":"tinyfish","customDomains":["docs.tinyfish.ai"],"gitSource":{"type":"github","owner":"tinyfish-io","repo":"ux-labs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b0608a5ab2fdfae58270d0f","clientVersion":"0.0.4330","searchFilterCounts":[{"language":"default","tag":"API Reference","count":86},{"language":"default","tag":"Documentation","count":78},{"language":"default","tag":"TinyAgent","count":31},{"language":"default","tag":"TinyAgent \u0026 Runs","count":28},{"language":"default","tag":"How-to","count":13},{"language":"default","tag":"TinySet","count":12},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Browser Context Profiles","count":10},{"language":"default","tag":"TinyResearch","count":9},{"language":"default","tag":"Tools \u0026 Integrations","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"li[id=\"/tinyagent\"]>button,li[id=\"/account-billing\"]>button{font-weight:600}li[id=\"/tinyagent\"][data-active]>button,li[id=\"/account-billing\"][data-active]>button{background-color:color-mix(in oklab, rgb(var(--primary)) 10%, transparent);color:rgb(var(--primary))}li[id=\"/tinyagent\"][data-active]>button svg:not(.transition-transform),li[id=\"/account-billing\"][data-active]>button svg:not(.transition-transform){background-color:rgb(var(--primary))}li[id=\"/tinyagent\"][data-active]>button svg.transition-transform,li[id=\"/account-billing\"][data-active]>button svg.transition-transform{color:rgb(var(--gray-400))}:is(.dark) li[id=\"/tinyagent\"][data-active]>button,:is(.dark) li[id=\"/account-billing\"][data-active]>button{background-color:color-mix(in oklab, rgb(var(--primary-light)) 10%, transparent);color:rgb(var(--primary-light))}:is(.dark) li[id=\"/tinyagent\"][data-active]>button svg:not(.transition-transform),:is(.dark) li[id=\"/account-billing\"][data-active]>button svg:not(.transition-transform){background-color:rgb(var(--primary-light))}:is(.dark) li[id=\"/tinyagent\"][data-active]>button svg.transition-transform,:is(.dark) li[id=\"/account-billing\"][data-active]>button svg.transition-transform{color:rgb(var(--gray-500))}"}]}
{"page":{"pagePath":"api-reference/automation/run-browser-automation-synchronously","slug":"/api-reference/automation/run-browser-automation-synchronously","pageMetadata":{"title":"Run browser automation synchronously","description":"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use `/v1/automation/run-async` or `/v1/automation/run-sse` instead.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run","href":"/api-reference/automation/run-browser-automation-synchronously","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use \", _jsx(_components.code, {\n children: \"/v1/automation/run-async\"\n }), \" or \", _jsx(_components.code, {\n children: \"/v1/automation/run-sse\"\n }), \" instead.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Run browser automation synchronously","description":"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use `/v1/automation/run-async` or `/v1/automation/run-sse` instead.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run","href":"/api-reference/automation/run-browser-automation-synchronously","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"run","description":"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use `/v1/automation/run-async` or `/v1/automation/run-sse` instead.","summary":"Run browser automation synchronously","tags":["Automation"],"security":["866376b9-7713-4213-b803-b226272076e4"],"requestBody":"a7fc4136-523f-455c-a0f4-658ebf480a49","responses":{"200":"ec89ea2e-ed80-42ff-8044-1e50c44fe1ef","400":"280349bd-f855-4a85-83c9-0b9c530f7438","401":"81093593-25f4-45bd-8004-96bc24d975fe","402":"18ddb0d1-0b32-4b80-8290-e7ee27e1d375","403":"36d755b2-e9d3-4d72-bad9-e4d048463c80","500":"64675e68-d1ff-40f8-bc50-960fccc5f273"},"method":"post","type":"path","servers":["f34bc098-3134-485b-b5ad-aa3e461d5afb"],"path":"/v1/automation/run","baseUrlOptions":["https://agent.tinyfish.ai"],"title":"Run browser automation synchronously","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Automation task parameters","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Target website URL to automate","example":"https://example.com","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"goal":{"type":"string","minLength":1,"description":"Natural language description of what to accomplish on the website","example":"Find the pricing page and extract all plan details","isRequired":true,"uniqueKey":"goal","typeLabel":"string"},"browser_profile":{"type":"string","enum":["lite","stealth"],"description":"Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.","example":"lite","uniqueKey":"browser_profile","typeLabel":"enum\u003cstring>"},"api_integration":{"type":"string","description":"Name of the integration making this API call (e.g., \"dify\", \"zapier\", \"n8n\"). Used for analytics.","example":"dify","uniqueKey":"api_integration","typeLabel":"string"},"agent_config":{"type":"object","properties":{"mode":{"type":"string","enum":["default","strict"],"description":"Agent behavior mode. \"strict\" enables fail-fast for test automation.","example":"strict","uniqueKey":"agent_config.mode","typeLabel":"enum\u003cstring>"},"cursor_style":{"type":"string","enum":["fish","standard","green-pointer"],"description":"Cursor style for the browser agent.","example":"standard","uniqueKey":"agent_config.cursor_style","typeLabel":"enum\u003cstring>"},"max_steps":{"type":"integer","minimum":1,"maximum":500,"description":"Maximum tool-call steps before the agent stops. Defaults to 150.","example":50,"uniqueKey":"agent_config.max_steps","typeLabel":"integer"},"max_duration_seconds":{"type":"integer","minimum":1,"description":"Maximum wall-clock seconds before the agent stops. Defaults to no limit. If you set it, use 300 or more.","example":300,"uniqueKey":"agent_config.max_duration_seconds","typeLabel":"integer"}},"description":"Agent behavior configuration","additionalProperties":false,"uniqueKey":"agent_config","typeLabel":"object"},"capture_config":{"type":"object","properties":{"elements":{"type":"boolean","uniqueKey":"capture_config.elements","typeLabel":"boolean"},"snapshots":{"type":"boolean","uniqueKey":"capture_config.snapshots","typeLabel":"boolean"},"screenshots":{"type":"boolean","uniqueKey":"capture_config.screenshots","typeLabel":"boolean"},"recording":{"type":"boolean","uniqueKey":"capture_config.recording","typeLabel":"boolean"},"html":{"type":"boolean","uniqueKey":"capture_config.html","typeLabel":"boolean"}},"description":"Configure which data to capture during the run.","additionalProperties":false,"uniqueKey":"capture_config","typeLabel":"object"},"webhook_url":{"type":"string","format":"uri","description":"HTTPS URL to receive webhook notifications for run lifecycle events. Must use HTTPS.","uniqueKey":"webhook_url","typeLabel":"string\u003curi>"},"use_vault":{"type":"boolean","description":"Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.","example":true,"uniqueKey":"use_vault","typeLabel":"boolean"},"use_profile":{"type":"boolean","description":"Opt-in to the default Browser Context Profile if Browser Context Profiles are enabled; legacy callers are silently ignored when the profiles feature is disabled. Returns 400 when enabled but no default profile is set.","example":true,"uniqueKey":"use_profile","typeLabel":"boolean"},"profile_id":{"type":"string","minLength":1,"description":"Browser Context Profile ID to use when use_profile is true.","example":"prof_abc123def4567890","uniqueKey":"profile_id","typeLabel":"string"},"credential_item_ids":{"type":"array","items":{"type":"string","minLength":1,"uniqueKey":"credential_item_ids.items.[INDEX]","typeLabel":"string"},"minItems":1,"description":"Scope vault credentials to specific credential URIs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used.","example":["cred:conn-abc:Work:item-123","cred:conn-def:Personal:item-456"],"uniqueKey":"credential_item_ids","typeLabel":"string[]"},"proxy_config":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable proxy for this automation run","example":true,"isRequired":true,"uniqueKey":"proxy_config.enabled","typeLabel":"boolean"},"country_code":{"type":"string","description":"Proxy exit country (ISO 3166-1 alpha-2). Defaults to US.","example":"US","uniqueKey":"proxy_config.country_code","typeLabel":"string"}},"required":["enabled"],"description":"Proxy configuration","additionalProperties":false,"uniqueKey":"proxy_config","typeLabel":"object"},"output_schema":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"output_schema.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.additionalProperties","typeLabel":"null"},"description":"Optional provider-supported structured-output schema subset for the run result. Unsupported fields are rejected before the request is accepted.","example":{"type":"object","properties":{"title":{"type":"string"},"price":{"type":"number"}},"required":["title","price"]},"uniqueKey":"output_schema","typeLabel":"object"}},"required":["url","goal"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"url":"https://example.com","goal":"Find the pricing page and extract all plan details","browser_profile":"lite","api_integration":"dify","agent_config":{"mode":"strict","cursor_style":"standard","max_steps":50,"max_duration_seconds":300},"capture_config":{"elements":true,"snapshots":true,"screenshots":true,"recording":true,"html":true},"webhook_url":"\u003cstring>","use_vault":true,"use_profile":true,"profile_id":"prof_abc123def4567890","credential_item_ids":["cred:conn-abc:Work:item-123","cred:conn-def:Personal:item-456"],"output_schema":{"type":"object","properties":{"title":{"type":"string"},"price":{"type":"number"}},"required":["title","price"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ec89ea2e-ed80-42ff-8044-1e50c44fe1ef":{"description":"Automation completed or failed after execution started. Returns run details.","content":{"application/json":{"schema":{"type":"object","properties":{"run_id":{"oneOf":[{"type":"string","description":"Unique identifier for the automation run","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"run_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique identifier for the automation run","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"run_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"run_id","typeLabel":"string | null"},"status":{"type":"string","enum":["COMPLETED","FAILED"],"description":"Final status of the automation run","example":"COMPLETED","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"started_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp when the run started","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"started_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp when the run started","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"started_at","typeLabel":"string | null"},"finished_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp when the run finished","example":"2024-01-01T00:00:30Z","isRequired":true,"uniqueKey":"finished_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp when the run finished","example":"2024-01-01T00:00:30Z","isRequired":true,"uniqueKey":"finished_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"finished_at","typeLabel":"string | null"},"num_of_steps":{"oneOf":[{"type":"number","description":"Number of steps taken during the automation. Null while the run is still in progress.","example":5,"isRequired":true,"uniqueKey":"num_of_steps.oneOf.0","typeLabel":"number"},{"type":"null","description":"Number of steps taken during the automation. Null while the run is still in progress.","example":5,"isRequired":true,"uniqueKey":"num_of_steps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"num_of_steps","typeLabel":"number | null"},"result":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"result.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.additionalProperties","typeLabel":"null"},"description":"Structured JSON result extracted from the automation. Null if the run failed.","example":{"product":"iPhone 15","price":"$799"},"isRequired":true,"uniqueKey":"result.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"result.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.additionalProperties","typeLabel":"null"},"description":"Structured JSON result extracted from the automation. Null if the run failed.","example":{"product":"iPhone 15","price":"$799"},"isRequired":true,"uniqueKey":"result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result","typeLabel":"object | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Error message describing why the run failed","example":"Browser crashed during execution","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"category":{"type":"string","enum":["SYSTEM_FAILURE","AGENT_FAILURE","BILLING_FAILURE","UNKNOWN"],"description":"Error category. SYSTEM_FAILURE = TinyFish issue (retry). AGENT_FAILURE = run issue (fix input). BILLING_FAILURE = out of credits (add credits). UNKNOWN = unclassified (treat as retryable).","example":"SYSTEM_FAILURE","isRequired":true,"uniqueKey":"error.oneOf.0.category","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"service_busy","uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"number","description":"Suggested retry delay in seconds (null if not retryable)","example":60,"uniqueKey":"error.oneOf.0.retry_after.oneOf.0","typeLabel":"number"},{"type":"null","description":"Suggested retry delay in seconds (null if not retryable)","example":60,"uniqueKey":"error.oneOf.0.retry_after.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.retry_after","typeLabel":"number | null"},"help_url":{"type":"string","description":"URL to documentation for troubleshooting","example":"https://docs.tinyfish.ai/prompting-guide","uniqueKey":"error.oneOf.0.help_url","typeLabel":"string"},"help_message":{"type":"string","description":"Human-readable help message with guidance","example":"Need help? Check out our goal prompting guide for tips and examples.","uniqueKey":"error.oneOf.0.help_message","typeLabel":"string"},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges.","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.message","typeLabel":"string"},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.setup_url","typeLabel":"string"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.reason","typeLabel":"enum\u003cstring>"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile.","uniqueKey":"error.oneOf.0.profile_hint","typeLabel":"object"}},"required":["message","category"],"description":"Error details. Null if the run succeeded.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"service_busy"},"message":{"type":"string","description":"Error message describing why the run failed","example":"Browser crashed during execution"},"category":{"type":"string","enum":["SYSTEM_FAILURE","AGENT_FAILURE","BILLING_FAILURE","UNKNOWN"],"description":"Error category. SYSTEM_FAILURE = TinyFish issue (retry). AGENT_FAILURE = run issue (fix input). BILLING_FAILURE = out of credits (add credits). UNKNOWN = unclassified (treat as retryable).","example":"SYSTEM_FAILURE"},"retry_after":{"oneOf":[{"type":"number","description":"Suggested retry delay in seconds (null if not retryable)","example":60},{"type":"null","description":"Suggested retry delay in seconds (null if not retryable)","example":60}]},"help_url":{"type":"string","description":"URL to documentation for troubleshooting","example":"https://docs.tinyfish.ai/prompting-guide"},"help_message":{"type":"string","description":"Human-readable help message with guidance","example":"Need help? Check out our goal prompting guide for tips and examples."},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges."},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile."}},"required":["message","category"],"description":"Error details. Null if the run succeeded.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges.","isRequired":true,"uniqueKey":"profile_hint.message","typeLabel":"string"},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge","isRequired":true,"uniqueKey":"profile_hint.setup_url","typeLabel":"string"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall","isRequired":true,"uniqueKey":"profile_hint.reason","typeLabel":"enum\u003cstring>"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile.","uniqueKey":"profile_hint","typeLabel":"object"}},"required":["run_id","status","started_at","finished_at","num_of_steps","result","error"],"description":"Automation run response. Check status to determine success/failure. On success: result is populated, error is null. On failure: result is null, error contains message.","uniqueKey":"","typeLabel":"object"},"example":{"run_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","status":"COMPLETED","started_at":"2024-01-01T00:00:00Z","finished_at":"2024-01-01T00:00:30Z","num_of_steps":5,"result":{"product":"iPhone 15","price":"$799"},"error":null},"examples":{"Example":{"title":"Example","value":{"run_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","status":"COMPLETED","started_at":"2024-01-01T00:00:00Z","finished_at":"2024-01-01T00:00:30Z","num_of_steps":5,"result":{"product":"iPhone 15","price":"$799"},"error":null}}},"exampleType":"examples"}},"exampleType":"examples"},"280349bd-f855-4a85-83c9-0b9c530f7438":{"description":"Invalid request - missing required fields or invalid format","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"81093593-25f4-45bd-8004-96bc24d975fe":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"18ddb0d1-0b32-4b80-8290-e7ee27e1d375":{"description":"Payment required - wallet balance too low to start this run","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"36d755b2-e9d3-4d72-bad9-e4d048463c80":{"description":"Forbidden - Insufficient credits or no active subscription, or a workflow key cannot use personal vault items or Browser Context Profiles (FORBIDDEN, details.reason workflow_key_personal_credentials); use a personal key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["MISSING_API_KEY","INVALID_API_KEY","INVALID_INPUT","RATE_LIMIT_EXCEEDED","DAILY_LIMIT_EXCEEDED","INTERNAL_ERROR","RETRY_REQUIRED","UNAUTHORIZED","VAULT_RECONNECT_REQUIRED","FORBIDDEN","NOT_FOUND","FEATURE_NOT_AVAILABLE","SERVICE_BUSY","TIMEOUT","INSUFFICIENT_CREDITS","FREE_ALLOWANCE_EXHAUSTED","CONTENT_POLICY_VIOLATION","MAX_STEPS_EXCEEDED","SITE_BLOCKED","TASK_FAILED","CANCELLED"],"description":"Machine-readable error code","example":"INVALID_INPUT","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Field \"url\" is required and must be a string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (validation errors, etc.)","uniqueKey":"error.details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (validation errors, etc.)","type":"null","uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"any | null"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request correlation ID, also returned as the X-Request-ID response header. Include it when reporting issues.","example":"8f9dba20-e37b-4749-a919-2269e28b4a2c","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"description":"Standard error response format","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_INPUT","message":"Field \"url\" is required and must be a string","details":"\u003cunknown>"},"request_id":"8f9dba20-e37b-4749-a919-2269e28b4a2c"}}},"exampleType":"generated"}},"exampleType":"generated"},"64675e68-d1ff-40f8-bc50-960fccc5f273":{"description":"Server error - Automation failed during execution or internal infrastructure error occurred. Returns run details with error. For infrastructure errors (before run creation), run_id will be null and timestamps will be null.","content":{"application/json":{"schema":{"type":"object","properties":{"run_id":{"oneOf":[{"type":"string","description":"Unique identifier for the automation run","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"run_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique identifier for the automation run","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","isRequired":true,"uniqueKey":"run_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"run_id","typeLabel":"string | null"},"status":{"type":"string","enum":["COMPLETED","FAILED"],"description":"Final status of the automation run","example":"COMPLETED","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"started_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp when the run started","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"started_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp when the run started","example":"2024-01-01T00:00:00Z","isRequired":true,"uniqueKey":"started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"started_at","typeLabel":"string | null"},"finished_at":{"oneOf":[{"type":"string","description":"ISO 8601 timestamp when the run finished","example":"2024-01-01T00:00:30Z","isRequired":true,"uniqueKey":"finished_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 8601 timestamp when the run finished","example":"2024-01-01T00:00:30Z","isRequired":true,"uniqueKey":"finished_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"finished_at","typeLabel":"string | null"},"num_of_steps":{"oneOf":[{"type":"number","description":"Number of steps taken during the automation. Null while the run is still in progress.","example":5,"isRequired":true,"uniqueKey":"num_of_steps.oneOf.0","typeLabel":"number"},{"type":"null","description":"Number of steps taken during the automation. Null while the run is still in progress.","example":5,"isRequired":true,"uniqueKey":"num_of_steps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"num_of_steps","typeLabel":"number | null"},"result":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"result.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.0.additionalProperties","typeLabel":"null"},"description":"Structured JSON result extracted from the automation. Null if the run failed.","example":{"product":"iPhone 15","price":"$799"},"isRequired":true,"uniqueKey":"result.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"result.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.oneOf.1.additionalProperties","typeLabel":"null"},"description":"Structured JSON result extracted from the automation. Null if the run failed.","example":{"product":"iPhone 15","price":"$799"},"isRequired":true,"uniqueKey":"result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result","typeLabel":"object | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Error message describing why the run failed","example":"Browser crashed during execution","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"category":{"type":"string","enum":["SYSTEM_FAILURE","AGENT_FAILURE","BILLING_FAILURE","UNKNOWN"],"description":"Error category. SYSTEM_FAILURE = TinyFish issue (retry). AGENT_FAILURE = run issue (fix input). BILLING_FAILURE = out of credits (add credits). UNKNOWN = unclassified (treat as retryable).","example":"SYSTEM_FAILURE","isRequired":true,"uniqueKey":"error.oneOf.0.category","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"service_busy","uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"retry_after":{"oneOf":[{"type":"number","description":"Suggested retry delay in seconds (null if not retryable)","example":60,"uniqueKey":"error.oneOf.0.retry_after.oneOf.0","typeLabel":"number"},{"type":"null","description":"Suggested retry delay in seconds (null if not retryable)","example":60,"uniqueKey":"error.oneOf.0.retry_after.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.retry_after","typeLabel":"number | null"},"help_url":{"type":"string","description":"URL to documentation for troubleshooting","example":"https://docs.tinyfish.ai/prompting-guide","uniqueKey":"error.oneOf.0.help_url","typeLabel":"string"},"help_message":{"type":"string","description":"Human-readable help message with guidance","example":"Need help? Check out our goal prompting guide for tips and examples.","uniqueKey":"error.oneOf.0.help_message","typeLabel":"string"},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges.","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.message","typeLabel":"string"},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.setup_url","typeLabel":"string"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall","isRequired":true,"uniqueKey":"error.oneOf.0.profile_hint.reason","typeLabel":"enum\u003cstring>"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile.","uniqueKey":"error.oneOf.0.profile_hint","typeLabel":"object"}},"required":["message","category"],"description":"Error details. Null if the run succeeded.","isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"code":{"type":"string","description":"Machine-readable error code for programmatic handling","example":"service_busy"},"message":{"type":"string","description":"Error message describing why the run failed","example":"Browser crashed during execution"},"category":{"type":"string","enum":["SYSTEM_FAILURE","AGENT_FAILURE","BILLING_FAILURE","UNKNOWN"],"description":"Error category. SYSTEM_FAILURE = TinyFish issue (retry). AGENT_FAILURE = run issue (fix input). BILLING_FAILURE = out of credits (add credits). UNKNOWN = unclassified (treat as retryable).","example":"SYSTEM_FAILURE"},"retry_after":{"oneOf":[{"type":"number","description":"Suggested retry delay in seconds (null if not retryable)","example":60},{"type":"null","description":"Suggested retry delay in seconds (null if not retryable)","example":60}]},"help_url":{"type":"string","description":"URL to documentation for troubleshooting","example":"https://docs.tinyfish.ai/prompting-guide"},"help_message":{"type":"string","description":"Human-readable help message with guidance","example":"Need help? Check out our goal prompting guide for tips and examples."},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges."},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile."}},"required":["message","category"],"description":"Error details. Null if the run succeeded.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"profile_hint":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable profile setup nudge for auth walls and bot challenges.","isRequired":true,"uniqueKey":"profile_hint.message","typeLabel":"string"},"setup_url":{"type":"string","description":"Internal URL to set up the caller’s default Browser Context Profile.","example":"/profiles/prof_abc123/setup?domain=example.com\u0026returnTo=%2Fruns%2Frun_123\u0026ref=run_error_nudge","isRequired":true,"uniqueKey":"profile_hint.setup_url","typeLabel":"string"},"reason":{"type":"string","enum":["auth_wall","bot_challenge"],"description":"Why a Browser Context Profile may solve this failed run.","example":"auth_wall","isRequired":true,"uniqueKey":"profile_hint.reason","typeLabel":"enum\u003cstring>"}},"required":["message","setup_url","reason"],"description":"Optional nudge shown when a failed run is likely solvable by setting up a Browser Context Profile.","uniqueKey":"profile_hint","typeLabel":"object"}},"required":["run_id","status","started_at","finished_at","num_of_steps","result","error"],"description":"Automation run response. Check status to determine success/failure. On success: result is populated, error is null. On failure: result is null, error contains message.","uniqueKey":"","typeLabel":"object"},"examples":{"automationFailed":{"title":"automationFailed","summary":"Automation execution failed","value":{"run_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","status":"FAILED","started_at":"2024-01-01T00:00:00Z","finished_at":"2024-01-01T00:00:15Z","num_of_steps":3,"result":null,"error":{"message":"Browser crashed during execution"}}},"infrastructureError":{"title":"infrastructureError","summary":"Infrastructure error (before run creation)","value":{"run_id":null,"status":"FAILED","started_at":null,"finished_at":null,"num_of_steps":0,"result":null,"error":{"message":"Internal server error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"866376b9-7713-4213-b803-b226272076e4":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get your key from the API Keys page.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"f34bc098-3134-485b-b5ad-aa3e461d5afb":{"url":"https://agent.tinyfish.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get your key from the API Keys page.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API key for authentication. Get your key from the API Keys page.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://agent.tinyfish.ai/v1/openapi/main"},"subdomain":"tinyfish","siteName":"TinyFish","title":"Run browser automation synchronously - TinyFish","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T21:40:01.429Z","originalFileLocation":"api-reference/automation/run-browser-automation-synchronously.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TinyFish\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run browser automation synchronously - TinyFish\">\u003cmeta data-mint-head property=\"og:description\" content=\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TinyFish\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tinyfish.mintlify.site/_mintlify/api/og/v2?division=Automation\u0026amp;title=Run+browser+automation+synchronously\u0026amp;description=Execute+a+browser+automation+task+synchronously+and+wait+for+completion.+Returns+the+final+result+once+the+automation+finishes+%28success+or+failure%29.+Use+this+en\u0026amp;theme=dac8b9f91d0f0e9c999d650c\u0026amp;signature=e427a0598f28705e17d8ca62e11f639a1b47d32c9a624c0975eeaddd390cb56f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Run browser automation synchronously - TinyFish\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tinyfish.mintlify.site/_mintlify/api/og/v2?division=Automation\u0026amp;title=Run+browser+automation+synchronously\u0026amp;description=Execute+a+browser+automation+task+synchronously+and+wait+for+completion.+Returns+the+final+result+once+the+automation+finishes+%28success+or+failure%29.+Use+this+en\u0026amp;theme=dac8b9f91d0f0e9c999d650c\u0026amp;signature=e427a0598f28705e17d8ca62e11f639a1b47d32c9a624c0975eeaddd390cb56f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tinyfish/05k5zsm6ySkMI6wO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TinyFish\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D74B28\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/automation/run-browser-automation-synchronously.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tinyfish.ai/#organization\",\"name\":\"TinyFish\",\"url\":\"https://docs.tinyfish.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tinyfish/SAWuKzAHuR-ZMRAB/logo/TF_Horizontal.svg?fit=max\u0026auto=format\u0026n=SAWuKzAHuR-ZMRAB\u0026q=85\u0026s=3ff7a57ebbe744005f4f984e986f16b9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tinyfish.ai#website\",\"name\":\"TinyFish\",\"url\":\"https://docs.tinyfish.ai\",\"publisher\":{\"@id\":\"https://docs.tinyfish.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously#webpage\",\"url\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously\",\"name\":\"Run browser automation synchronously\",\"description\":\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.\",\"dateModified\":\"2026-11-24T21:40:01.429Z\",\"isPartOf\":{\"@id\":\"https://docs.tinyfish.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TinyAgent \u0026 Runs\",\"item\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-with-sse-streaming\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automation\",\"item\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-with-sse-streaming\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run browser automation synchronously\",\"item\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously#apireference\",\"headline\":\"Run browser automation synchronously\",\"name\":\"Run browser automation synchronously\",\"description\":\"Execute a browser automation task synchronously and wait for completion. Returns the final result once the automation finishes (success or failure). Use this endpoint when you need the complete result in a single response. Note: Runs created via this endpoint cannot be cancelled. If you need cancellation support, use /v1/automation/run-async or /v1/automation/run-sse instead.\",\"url\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tinyfish.ai/api-reference/automation/run-browser-automation-synchronously#webpage\"},\"dateModified\":\"2026-11-24T21:40:01.429Z\",\"publisher\":{\"@id\":\"https://docs.tinyfish.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tinyfish.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TinyFish\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TinyFish\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/automation/run-browser-automation-synchronously.md","siteName":"TinyFish","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","icon":"code","groups":[{"group":"TinyAgent \u0026 Runs","icon":"sparkles","pages":[{"group":"Automation","pages":[{"title":"Run browser automation with SSE streaming","description":"Execute a browser automation task with Server-Sent Events (SSE) streaming. Returns a real-time event stream with automation progress, browser streaming URL, and final results.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-sse","href":"/api-reference/automation/run-browser-automation-with-sse-streaming"},{"title":"Run browser automation synchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run","href":"/api-reference/automation/run-browser-automation-synchronously"},{"title":"Start automation asynchronously","description":"Creates and enqueues an automation run, returning the run_id immediately without waiting for completion. Use this for long-running automations where you want to poll for results separately.","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-async","href":"/api-reference/automation/start-automation-asynchronously"},{"title":"Start multiple automations asynchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/automation/run-batch","href":"/api-reference/automation/start-multiple-automations-asynchronously"}]},{"group":"Runs","pages":[{"title":"List and search runs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs","href":"/api-reference/runs/list-and-search-runs"},{"title":"Get multiple runs by IDs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/batch","href":"/api-reference/runs/get-multiple-runs-by-ids"},{"title":"Cancel multiple runs by IDs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/batch/cancel","href":"/api-reference/runs/cancel-multiple-runs-by-ids"},{"title":"Get run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}","href":"/api-reference/runs/get-run-by-id"},{"title":"Cancel run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/runs/{id}/cancel","href":"/api-reference/runs/cancel-run-by-id"},{"title":"Get step screenshot","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}/steps/{stepId}/screenshot","href":"/api-reference/runs/get-step-screenshot"},{"title":"Get step HTML snapshot","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/runs/{id}/steps/{stepId}/html","href":"/api-reference/runs/get-step-html-snapshot"}]},{"group":"Browser Context Profiles","pages":[{"title":"List Browser Context Profiles","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/profiles","href":"/api-reference/browser-context-profiles/list-browser-context-profiles"},{"title":"Create a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles","href":"/api-reference/browser-context-profiles/create-a-browser-context-profile"},{"title":"Get a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/get-a-browser-context-profile"},{"title":"Delete a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/delete-a-browser-context-profile"},{"title":"Update a Browser Context Profile","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main patch /v1/profiles/{profileId}","href":"/api-reference/browser-context-profiles/update-a-browser-context-profile"},{"title":"Create a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/setup-session","href":"/api-reference/browser-context-profiles/create-a-profile-setup-session"},{"title":"Cancel a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/setup-session/cancel","href":"/api-reference/browser-context-profiles/cancel-a-profile-setup-session"},{"title":"Save a profile setup session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/save","href":"/api-reference/browser-context-profiles/save-a-profile-setup-session"},{"title":"Upload Browser Context Profile state","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/profiles/{profileId}/upload","href":"/api-reference/browser-context-profiles/upload-browser-context-profile-state"},{"title":"Delete a saved profile domain","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/profiles/{profileId}/domains/{domain}","href":"/api-reference/browser-context-profiles/delete-a-saved-profile-domain"}]},{"group":"Vault","pages":[{"title":"List vault connections","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/vault/connections","href":"/api-reference/vault/list-vault-connections"},{"title":"Connect a vault provider","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/vault/connections","href":"/api-reference/vault/connect-a-vault-provider"},{"title":"Disconnect a vault provider","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main delete /v1/vault/connections/{connectionId}","href":"/api-reference/vault/disconnect-a-vault-provider"},{"title":"List vault items","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/vault/items","href":"/api-reference/vault/list-vault-items"},{"title":"Sync vault items","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/vault/items/sync","href":"/api-reference/vault/sync-vault-items"}]},{"group":"Wallet","pages":[{"title":"Get wallet","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main get /v1/wallet","href":"/api-reference/wallet/get-wallet"},{"title":"Top up wallet (agent-paid)","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/main post /v1/wallet/top-up","href":"/api-reference/wallet/top-up-wallet-agent-paid"}]}]},{"group":"TinyResearch","icon":"telescope","pages":[{"group":"API Reference","pages":[{"title":"Run research with SSE streaming","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/automation/run-research","href":"/api-reference/run-research-with-sse-streaming"},{"title":"Start research asynchronously","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/automation/run-research-async","href":"/api-reference/start-research-asynchronously"},{"title":"Attach to research progress","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run/{research_run_id}/events","href":"/api-reference/attach-to-research-progress"},{"title":"List research runs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run","href":"/api-reference/list-research-runs"},{"title":"Get research run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research get /v1/research-run/{research_run_id}","href":"/api-reference/get-research-run-by-id"},{"title":"Cancel research run by ID","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/research post /v1/research-run/{research_run_id}/cancel","href":"/api-reference/cancel-research-run-by-id"}]}]},{"group":"TinyAnswer","icon":"comment","pages":[{"group":"API Reference","pages":[{"title":"Answer a question","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/answer post /","href":"/api-reference/answer-a-question"}]}]},{"group":"TinyFetch","icon":"bolt","pages":[{"group":"API Reference","pages":[{"title":"Fetch and extract content from URLs","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/fetch post /","href":"/api-reference/fetch-and-extract-content-from-urls"},{"title":"List fetch usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/fetch get /usage","href":"/api-reference/list-fetch-usage"}]}]},{"group":"TinySearch","icon":"magnifying-glass","pages":[{"group":"API Reference","pages":[{"title":"Search the web","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/search get /","href":"/api-reference/search-the-web"},{"title":"List search usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/search get /usage","href":"/api-reference/list-search-usage"}]}]},{"group":"TinyBrowser","icon":"browser","pages":[{"group":"API Reference","pages":[{"title":"Create a remote browser session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser post /","href":"/api-reference/create-a-remote-browser-session"},{"title":"List browser session usage","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser get /usage","href":"/api-reference/list-browser-session-usage"},{"title":"Terminate a browser session","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/browser delete /{sessionId}","href":"/api-reference/terminate-a-browser-session"}]}]},{"group":"TinyMonitor","icon":"eye","pages":[{"group":"API Reference","pages":[{"title":"List Monitors","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor get /v1/monitors","href":"/api-reference/list-monitors"},{"title":"Create a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor post /v1/monitors","href":"/api-reference/create-a-monitor"},{"title":"Get a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor get /v1/monitors/{id}","href":"/api-reference/get-a-monitor"},{"title":"Delete a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor delete /v1/monitors/{id}","href":"/api-reference/delete-a-monitor"},{"title":"Update a Monitor","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor patch /v1/monitors/{id}","href":"/api-reference/update-a-monitor"},{"title":"Run a Monitor now","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/monitor post /v1/monitors/{id}/runs","href":"/api-reference/run-a-monitor-now"}]}]},{"group":"TinySet","icon":"table","pages":[{"group":"API Reference","pages":[{"title":"List datasets","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets","href":"/api-reference/list-datasets"},{"title":"Create a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets","href":"/api-reference/create-a-dataset"},{"title":"Plan a dataset schema","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/plan","href":"/api-reference/plan-a-dataset-schema"},{"title":"Get a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}","href":"/api-reference/get-a-dataset"},{"title":"Delete a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets delete /v1/datasets/{id}","href":"/api-reference/delete-a-dataset"},{"title":"Get rows","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}/rows","href":"/api-reference/get-rows"},{"title":"Populate a dataset","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/{id}/populate","href":"/api-reference/populate-a-dataset"},{"title":"Cancel a run","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets post /v1/datasets/{id}/runs/{runId}/cancel","href":"/api-reference/cancel-a-run"},{"title":"Follow a run","deprecated":null,"version":null,"openapi":"https://agent.tinyfish.ai/v1/openapi/datasets get /v1/datasets/{id}/runs/{runId}/events","href":"/api-reference/follow-a-run"}]}]}]},{"tab":"Cookbook","icon":"utensils","href":"https://github.com/tinyfish-io/tinyfish-cookbook"}]},"basePath":"","title":"Run browser automation synchronously - TinyFish","deploymentId":"dpl_GvkCDNzSMF8rzjWibcqz4RHGyof6","buildId":"dpl_GvkCDNzSMF8rzjWibcqz4RHGyof6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BT-gNXsx.js","snippetPresets-t1GE-A0I.js","utils-BnfovG5Y.js","style-to-object-BY3JEAdk.js","utils-DeG_ta4n.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-8QcGBhjX.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BWwar1pQ.js","_Uint8Array-DHKset-L.js","isObject-FP1Yky1u.js","ApiExamples-qCJrPSqY.js","usePlaygroundInputsStore-B4wrGqjo.js","shallow-CAGbQGUn.js","isEqual-C7guYU2p.js","CodeSnippets-C5CCkdNg.js","CodeSnippet-Cp7y2ScP.js","use-playground-group-access-DOWzVKl_.js","Page-dKKTKkJo.js","api-description-markdown-BlWHp84w.js","DynamicMarkdown-ddEWq4Sb.js","SectionHeading-B2XCIQxM.js","MethodPill-91jw8MWv.js","getPastedJson-DjcD0eRU.js","Check2Icon-CEEZHK-k.js","axios-CsQoIw0U.js","Markdown-C6U0vKIZ.js","AssistantPageLink-dws35x9H.js","dist-DNuvr41g.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}