List of allowed URL patterns using glob syntax on the domain and path. If not provided, all URLs are allowed. To match everything on example.com, use https://**.example.com/**.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Smooth","colors":{"primary":"#0081ff","light":"#0081ff","dark":"#0081ff"},"logo":{"light":"https://mintcdn.com/circlemind/Mu7wQpBuZpaA5aGS/logo/light.svg?fit=max\u0026auto=format\u0026n=Mu7wQpBuZpaA5aGS\u0026q=85\u0026s=3ef2856d16446bbb39913daec1ee01ea","dark":"https://mintcdn.com/circlemind/Mu7wQpBuZpaA5aGS/logo/dark.svg?fit=max\u0026auto=format\u0026n=Mu7wQpBuZpaA5aGS\u0026q=85\u0026s=04b4f3599eac0bf914ed1e5f0b55fac1"},"favicon":"/favicon.svg","navbar":{"links":[{"href":"mailto:hi@circlemind.co","label":"Support"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.smooth.sh"}},"footer":{"socials":{"x":"https://x.com/circlemind_ai","github":"https://github.com/orgs/circlemind-ai/repositories","linkedin":"https://linkedin.com/company/circlemindai","discord":"https://discord.com/invite/zFcCZ2eZ6N"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Playground","icon":"play","href":"https://app.smooth.sh"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/VcdgMwUmMG"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"circlemind","hasAudioNarration":false,"actualSubdomain":"circlemind","customDomains":["docs.smooth.sh"],"gitSource":{"type":"github","owner":"circlemind-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae922543e9b7a540d5114f4:success","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"API reference","count":18},{"language":"default","tag":"Features","count":15},{"language":"default","tag":"Endpoints","count":14},{"language":"default","tag":"CLI Browser","count":13},{"language":"default","tag":"Use cases","count":10},{"language":"default","tag":"Automation SDK","count":7},{"language":"default","tag":"Tools","count":6},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Session Workflow","count":5}]},"assistantConfig":{},"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":"workos-onboarding","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/task/submit-task","slug":"/api-reference/task/submit-task","pageMetadata":{"title":"Submit Task","description":"Submits a task to be executed by the Smooth agent. If `task` is `null`, opens a browser session that waits for actions via the Event endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /task","href":"/api-reference/task/submit-task","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: [\"Submits a task to be executed by the Smooth agent. If \", _jsx(_components.code, {\n children: \"task\"\n }), \" is \", _jsx(_components.code, {\n children: \"null\"\n }), \", opens a browser session that waits for actions via the Event endpoint.\"]\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":"Submit Task","description":"Submits a task to be executed by the Smooth agent. If `task` is `null`, opens a browser session that waits for actions via the Event endpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /task","href":"/api-reference/task/submit-task","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Submit Task","description":"Submits a task to be executed by the Smooth agent. If `task` is `null`, opens a browser session that waits for actions via the Event endpoint.","tags":["Task"],"operationId":"submit_task","requestBody":"39d0e970-7b10-44ce-9f00-f65d93a58e77","responses":{"200":"04e94bdd-a13b-4557-a92c-dd8941c41a38","400":"0ec13655-8a0c-4297-be2b-7eee55bd7e7c","403":"25eff77e-2011-4816-a1f3-717532e2e17a","422":"20c76cbc-86b4-4bbe-b688-0f2ed42d8922","429":"15bbb74f-7509-454c-a505-6bbdb1531dec"},"x-codeSamples":[{"lang":"curl","label":"cURL","source":"curl -X POST \"https://api.smooth.sh/api/v1/task\" \\\n -H \"Content-Type: application/json\" \\\n -H \"apikey: YOUR_API_KEY\" \\\n -d '{\n \"task\": \"Go to hacker news and get the top 5 stories.\",\n \"device\": \"desktop\",\n \"max_steps\": 32,\n \"enable_recording\": true\n }'"},{"lang":"python","label":"Python (sync)","source":"from smooth import SmoothClient\n\nclient = SmoothClient(api_key=\"YOUR_API_KEY\")\n\ntask_handle = client.run(\n task=\"Go to hacker news and get the top 5 stories.\",\n device=\"desktop\",\n max_steps=32\n)\n\nprint(f\"Task ID: {task_handle.id()}\")\nprint(f\"Live URL: {task_handle.live_url()}\")\n\n# Wait for the result\nresult = task_handle.result()\nprint(f\"Output: {result.output}\")"},{"lang":"python","label":"Python (async)","source":"import asyncio\nfrom smooth import SmoothAsyncClient\n\nasync def run_task():\n async with SmoothAsyncClient(api_key=\"YOUR_API_KEY\") as client:\n task_handle = await client.run(\n task=\"Go to hacker news and get the top 5 stories.\",\n device=\"desktop\",\n max_steps=32\n )\n print(f\"Task ID: {task_handle.id()}\")\n \n result = await task_handle.result()\n print(f\"Output: {result.output}\")\n\nasyncio.run(run_task())"},{"lang":"javascript","label":"JavaScript","source":"const apiKey = 'YOUR_API_KEY';\nconst url = 'https://api.smooth.sh/api/v1/task';\n\nconst payload = {\n task: 'Go to hacker news and get the top 5 stories.',\n device: 'desktop',\n max_steps: 32,\n enable_recording: true\n};\n\nasync function runTask() {\n const response = await fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'apikey': apiKey\n },\n body: JSON.stringify(payload)\n });\n\n const data = await response.json();\n console.log('Task ID:', data.r.id);\n // Poll GET /task/{id} for results\n}\n\nrunTask();"}],"method":"post","type":"path","servers":["3b9db505-2902-467b-9e38-cc451da8704a"],"security":["6eb7f4e0-74b9-4860-9477-e266a1c63af2"],"path":"/task","baseUrlOptions":["https://api.smooth.sh/api/v1"],"title":"Submit Task","codeSamples":[{"label":"cURL","lang":"curl","source":"curl -X POST \"https://api.smooth.sh/api/v1/task\" \\\n -H \"Content-Type: application/json\" \\\n -H \"apikey: YOUR_API_KEY\" \\\n -d '{\n \"task\": \"Go to hacker news and get the top 5 stories.\",\n \"device\": \"desktop\",\n \"max_steps\": 32,\n \"enable_recording\": true\n }'"},{"label":"Python (sync)","lang":"python","source":"from smooth import SmoothClient\n\nclient = SmoothClient(api_key=\"YOUR_API_KEY\")\n\ntask_handle = client.run(\n task=\"Go to hacker news and get the top 5 stories.\",\n device=\"desktop\",\n max_steps=32\n)\n\nprint(f\"Task ID: {task_handle.id()}\")\nprint(f\"Live URL: {task_handle.live_url()}\")\n\n# Wait for the result\nresult = task_handle.result()\nprint(f\"Output: {result.output}\")"},{"label":"Python (async)","lang":"python","source":"import asyncio\nfrom smooth import SmoothAsyncClient\n\nasync def run_task():\n async with SmoothAsyncClient(api_key=\"YOUR_API_KEY\") as client:\n task_handle = await client.run(\n task=\"Go to hacker news and get the top 5 stories.\",\n device=\"desktop\",\n max_steps=32\n )\n print(f\"Task ID: {task_handle.id()}\")\n \n result = await task_handle.result()\n print(f\"Output: {result.output}\")\n\nasyncio.run(run_task())"},{"label":"JavaScript","lang":"javascript","source":"const apiKey = 'YOUR_API_KEY';\nconst url = 'https://api.smooth.sh/api/v1/task';\n\nconst payload = {\n task: 'Go to hacker news and get the top 5 stories.',\n device: 'desktop',\n max_steps: 32,\n enable_recording: true\n};\n\nasync function runTask() {\n const response = await fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'apikey': apiKey\n },\n body: JSON.stringify(payload)\n });\n\n const data = await response.json();\n console.log('Task ID:', data.r.id);\n // Poll GET /task/{id} for results\n}\n\nrunTask();"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"task":{"oneOf":[{"type":"string","title":"Task","description":"The task to run. If `null`, opens a browser session that waits for actions via the Event endpoint.","uniqueKey":"task.oneOf.0","typeLabel":"string"},{"type":"null","title":"Task","description":"The task to run. If `null`, opens a browser session that waits for actions via the Event endpoint.","uniqueKey":"task.oneOf.1","typeLabel":"null"}],"uniqueKey":"task","typeLabel":"string | null"},"response_model":{"oneOf":[{"type":"object","title":"Response Model","description":"JSON schema describing the desired output structure. If provided, the agent will return structured data matching this schema.","uniqueKey":"response_model.oneOf.0","typeLabel":"Response Model · object"},{"type":"null","title":"Response Model","description":"JSON schema describing the desired output structure. If provided, the agent will return structured data matching this schema.","uniqueKey":"response_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"response_model","typeLabel":"Response Model · object | null"},"url":{"oneOf":[{"type":"string","title":"URL","description":"The starting URL for the task. If not provided, the agent will infer it from the task.","format":"uri","uniqueKey":"url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","title":"URL","description":"The starting URL for the task. If not provided, the agent will infer it from the task.","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string\u003curi> | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Variables or parameters passed to the agent. Max 16 keys, max 2048 chars per value.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Variables or parameters passed to the agent. Max 16 keys, max 2048 chars per value.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"files":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"files.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Files","description":"List of file IDs (from Upload File endpoint) to pass to the agent.","uniqueKey":"files.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Files","description":"List of file IDs (from Upload File endpoint) to pass to the agent.","uniqueKey":"files.oneOf.1","typeLabel":"null"}],"uniqueKey":"files","typeLabel":"string[] | null"},"agent":{"type":"string","enum":["smooth","smooth-lite"],"description":"The agent to use for the task.","default":"smooth","title":"Agent","uniqueKey":"agent","typeLabel":"enum\u003cstring>"},"max_steps":{"type":"integer","minimum":2,"maximum":128,"description":"Maximum number of steps the agent can take.","default":32,"title":"Max Steps","uniqueKey":"max_steps","typeLabel":"integer"},"device":{"type":"string","enum":["desktop","mobile","desktop-lg"],"description":"Device type for the task.","default":"desktop","title":"Device","uniqueKey":"device","typeLabel":"enum\u003cstring>"},"allowed_urls":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"allowed_urls.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed URLs","description":"List of allowed URL patterns using glob syntax on the domain and path. If not provided, all URLs are allowed. To match everything on example.com, use `https://**.example.com/**`.","uniqueKey":"allowed_urls.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Allowed URLs","description":"List of allowed URL patterns using glob syntax on the domain and path. If not provided, all URLs are allowed. To match everything on example.com, use `https://**.example.com/**`.","uniqueKey":"allowed_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"allowed_urls","typeLabel":"string[] | null"},"enable_recording":{"type":"boolean","description":"Enable video recording of the task execution.","default":true,"title":"Enable Recording","uniqueKey":"enable_recording","typeLabel":"boolean"},"profile_id":{"oneOf":[{"type":"string","title":"Profile ID","description":"Browser profile ID to use. Each profile maintains its own cookies and login credentials.","uniqueKey":"profile_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Profile ID","description":"Browser profile ID to use. Each profile maintains its own cookies and login credentials.","uniqueKey":"profile_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"profile_id","typeLabel":"string | null"},"profile_read_only":{"type":"boolean","description":"If true, changes made during the task will not be saved to the profile.","default":false,"title":"Profile Read Only","uniqueKey":"profile_read_only","typeLabel":"boolean"},"stealth_mode":{"type":"boolean","description":"Run the browser in stealth mode to avoid detection.","default":false,"title":"Stealth Mode","uniqueKey":"stealth_mode","typeLabel":"boolean"},"proxy_server":{"oneOf":[{"type":"string","title":"Proxy Server","description":"Proxy server URL (e.g., `http://proxy.example.com:8080` or `socks5://proxy.example.com:1080`). Use `self` to route through your own IP.","uniqueKey":"proxy_server.oneOf.0","typeLabel":"string"},{"type":"null","title":"Proxy Server","description":"Proxy server URL (e.g., `http://proxy.example.com:8080` or `socks5://proxy.example.com:1080`). Use `self` to route through your own IP.","uniqueKey":"proxy_server.oneOf.1","typeLabel":"null"}],"uniqueKey":"proxy_server","typeLabel":"string | null"},"proxy_username":{"oneOf":[{"type":"string","title":"Proxy Username","description":"Proxy server username for authentication.","uniqueKey":"proxy_username.oneOf.0","typeLabel":"string"},{"type":"null","title":"Proxy Username","description":"Proxy server username for authentication.","uniqueKey":"proxy_username.oneOf.1","typeLabel":"null"}],"uniqueKey":"proxy_username","typeLabel":"string | null"},"proxy_password":{"oneOf":[{"type":"string","title":"Proxy Password","description":"Proxy server password for authentication.","uniqueKey":"proxy_password.oneOf.0","typeLabel":"string"},{"type":"null","title":"Proxy Password","description":"Proxy server password for authentication.","uniqueKey":"proxy_password.oneOf.1","typeLabel":"null"}],"uniqueKey":"proxy_password","typeLabel":"string | null"},"certificates":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"file":{"type":"string","description":"Base64-encoded p12 certificate file.","title":"File","isRequired":true,"uniqueKey":"certificates.oneOf.0.items.[INDEX].file","typeLabel":"string"},"password":{"oneOf":[{"type":"string","title":"Password","description":"Password for the certificate file.","uniqueKey":"certificates.oneOf.0.items.[INDEX].password.oneOf.0","typeLabel":"string"},{"type":"null","title":"Password","description":"Password for the certificate file.","uniqueKey":"certificates.oneOf.0.items.[INDEX].password.oneOf.1","typeLabel":"null"}],"uniqueKey":"certificates.oneOf.0.items.[INDEX].password","typeLabel":"string | null"}},"required":["file"],"title":"Certificate","description":"Client certificate for secure websites.","uniqueKey":"certificates.oneOf.0.items.[INDEX]","typeLabel":"Certificate · object"},"title":"Certificates","description":"List of client certificates for accessing secure websites.","uniqueKey":"certificates.oneOf.0","typeLabel":"Certificate · object[]"},{"type":"null","title":"Certificates","description":"List of client certificates for accessing secure websites.","uniqueKey":"certificates.oneOf.1","typeLabel":"null"}],"uniqueKey":"certificates","typeLabel":"Certificate · object[] | null"},"use_adblock":{"oneOf":[{"type":"boolean","title":"Use Adblock","description":"Enable ad-blocking in the browser.","default":true,"uniqueKey":"use_adblock.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Use Adblock","description":"Enable ad-blocking in the browser.","default":true,"uniqueKey":"use_adblock.oneOf.1","typeLabel":"null"}],"uniqueKey":"use_adblock","typeLabel":"boolean | null"},"additional_tools":{"oneOf":[{"type":"object","title":"Additional Tools","description":"Additional built-in tools to enable. Supported: `screenshot`, `hover`, `print_page`. Use `null` for default config.","additionalProperties":{"oneOf":[{"type":"object","uniqueKey":"additional_tools.oneOf.0.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"additional_tools.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"additional_tools.oneOf.0.additionalProperties","typeLabel":"object | null"},"uniqueKey":"additional_tools.oneOf.0","typeLabel":"Additional Tools · object"},{"type":"null","title":"Additional Tools","description":"Additional built-in tools to enable. Supported: `screenshot`, `hover`, `print_page`. Use `null` for default config.","uniqueKey":"additional_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"additional_tools","typeLabel":"Additional Tools · object | null"},"custom_tools":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the tool.","title":"Name","isRequired":true,"uniqueKey":"custom_tools.oneOf.0.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"A description of what the tool does and when to use it.","title":"Description","isRequired":true,"uniqueKey":"custom_tools.oneOf.0.items.[INDEX].description","typeLabel":"string"},"inputs":{"type":"object","description":"JSON schema describing the tool's input parameters.","title":"Inputs","isRequired":true,"uniqueKey":"custom_tools.oneOf.0.items.[INDEX].inputs","typeLabel":"Inputs · object"},"output":{"type":"string","description":"Description of the tool's output type.","title":"Output","isRequired":true,"uniqueKey":"custom_tools.oneOf.0.items.[INDEX].output","typeLabel":"string"}},"required":["name","description","inputs","output"],"title":"ToolSignature","description":"Custom tool definition.","uniqueKey":"custom_tools.oneOf.0.items.[INDEX]","typeLabel":"ToolSignature · object"},"title":"Custom Tools","description":"Custom tool definitions that the agent can call during execution.","uniqueKey":"custom_tools.oneOf.0","typeLabel":"ToolSignature · object[]"},{"type":"null","title":"Custom Tools","description":"Custom tool definitions that the agent can call during execution.","uniqueKey":"custom_tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"custom_tools","typeLabel":"ToolSignature · object[] | null"},"experimental_features":{"oneOf":[{"type":"object","title":"Experimental Features","description":"Experimental features to enable.","uniqueKey":"experimental_features.oneOf.0","typeLabel":"Experimental Features · object"},{"type":"null","title":"Experimental Features","description":"Experimental features to enable.","uniqueKey":"experimental_features.oneOf.1","typeLabel":"null"}],"uniqueKey":"experimental_features","typeLabel":"Experimental Features · object | null"},"extensions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"extensions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Extensions","description":"List of extension IDs (from Upload Extension endpoint) to load in the browser.","uniqueKey":"extensions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Extensions","description":"List of extension IDs (from Upload Extension endpoint) to load in the browser.","uniqueKey":"extensions.oneOf.1","typeLabel":"null"}],"uniqueKey":"extensions","typeLabel":"string[] | null"},"show_cursor":{"type":"boolean","description":"Show mouse cursor in the browser.","default":false,"title":"Show Cursor","uniqueKey":"show_cursor","typeLabel":"boolean"}},"title":"TaskRequest","description":"Request model for submitting a task.","uniqueKey":"","typeLabel":"TaskRequest · object"},"examples":{"simple_task":{"title":"simple_task","value":{"task":"Go to hacker news and get the top 5 stories.","device":"desktop","max_steps":32}},"session_mode":{"title":"session_mode","description":"Opens a browser session that waits for actions via the Event endpoint","value":{"task":null,"url":"https://example.com","device":"desktop"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"04e94bdd-a13b-4557-a92c-dd8941c41a38":{"description":"Task successfully submitted. The initial response will have a status of 'waiting'.","content":{"application/json":{"schema":{"type":"object","properties":{"r":{"type":"object","properties":{"id":{"type":"string","description":"The unique ID of the task.","title":"ID","isRequired":true,"uniqueKey":"r.id","typeLabel":"string"},"status":{"type":"string","enum":["waiting","running","done","failed","cancelled"],"description":"The current status of the task.","title":"Status","isRequired":true,"uniqueKey":"r.status","typeLabel":"enum\u003cstring>"},"output":{"oneOf":[{"title":"Output","description":"The output of the task. If `response_model` was provided, this matches the specified schema.","uniqueKey":"r.output.oneOf.0","typeLabel":"any"},{"type":"null","title":"Output","description":"The output of the task. If `response_model` was provided, this matches the specified schema.","uniqueKey":"r.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.output","typeLabel":"any | null"},"credits_used":{"oneOf":[{"type":"integer","title":"Credits Used","description":"Number of credits used. 1 credit = $0.01.","uniqueKey":"r.credits_used.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Credits Used","description":"Number of credits used. 1 credit = $0.01.","uniqueKey":"r.credits_used.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.credits_used","typeLabel":"integer | null"},"device":{"oneOf":[{"type":"string","title":"Device","description":"The device type used for the task.","enum":["desktop","mobile","desktop-lg"],"uniqueKey":"r.device.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Device","description":"The device type used for the task.","uniqueKey":"r.device.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.device","typeLabel":"enum\u003cstring> | null"},"live_url":{"oneOf":[{"type":"string","title":"Live URL","description":"URL to view the task execution in real-time.","uniqueKey":"r.live_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Live URL","description":"URL to view the task execution in real-time.","uniqueKey":"r.live_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.live_url","typeLabel":"string | null"},"recording_url":{"oneOf":[{"type":"string","title":"Recording URL","description":"URL to download the video recording (available after task completes).","uniqueKey":"r.recording_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Recording URL","description":"URL to download the video recording (available after task completes).","uniqueKey":"r.recording_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.recording_url","typeLabel":"string | null"},"downloads_url":{"oneOf":[{"type":"string","title":"Downloads URL","description":"URL to download files created during the task.","uniqueKey":"r.downloads_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Downloads URL","description":"URL to download files created during the task.","uniqueKey":"r.downloads_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.downloads_url","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"integer","title":"Created At","description":"Unix timestamp when the task was created.","uniqueKey":"r.created_at.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Created At","description":"Unix timestamp when the task was created.","uniqueKey":"r.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.created_at","typeLabel":"integer | null"},"events":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Event type: `browser_action`, `session_action`, or `tool_call`.","title":"Name","isRequired":true,"uniqueKey":"r.events.oneOf.0.items.[INDEX].name","typeLabel":"string"},"payload":{"type":"object","description":"Event payload. For actions: `{name, input}`. For tool responses: `{code, output}`.","title":"Payload","isRequired":true,"uniqueKey":"r.events.oneOf.0.items.[INDEX].payload","typeLabel":"Payload · object"},"id":{"oneOf":[{"type":"string","title":"ID","description":"Unique event ID. Used to match responses to requests.","uniqueKey":"r.events.oneOf.0.items.[INDEX].id.oneOf.0","typeLabel":"string"},{"type":"null","title":"ID","description":"Unique event ID. Used to match responses to requests.","uniqueKey":"r.events.oneOf.0.items.[INDEX].id.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.events.oneOf.0.items.[INDEX].id","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"integer","title":"Timestamp","description":"Unix timestamp of the event.","uniqueKey":"r.events.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Timestamp","description":"Unix timestamp of the event.","uniqueKey":"r.events.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.events.oneOf.0.items.[INDEX].timestamp","typeLabel":"integer | null"}},"required":["name","payload"],"title":"TaskEvent","description":"Event model for sending actions to running tasks.","uniqueKey":"r.events.oneOf.0.items.[INDEX]","typeLabel":"TaskEvent · object"},"title":"Events","description":"List of new events fired since last poll (when using `event_t` parameter).","uniqueKey":"r.events.oneOf.0","typeLabel":"TaskEvent · object[]"},{"type":"null","title":"Events","description":"List of new events fired since last poll (when using `event_t` parameter).","uniqueKey":"r.events.oneOf.1","typeLabel":"null"}],"uniqueKey":"r.events","typeLabel":"TaskEvent · object[] | null"}},"required":["id","status"],"title":"TaskResponse","description":"Response model for task operations.","isRequired":true,"uniqueKey":"r","typeLabel":"TaskResponse · object"}},"required":["r"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"r":{"id":"\u003cstring>","status":"waiting","output":"\u003cunknown>","credits_used":123,"device":"desktop","live_url":"\u003cstring>","recording_url":"\u003cstring>","downloads_url":"\u003cstring>","created_at":123,"events":[{"name":"\u003cstring>","payload":{},"id":"\u003cstring>","timestamp":123}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"0ec13655-8a0c-4297-be2b-7eee55bd7e7c":{"description":"Invalid Request","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"25eff77e-2011-4816-a1f3-717532e2e17a":{"description":"Access to a premium feature was requested, but it is not available on the current plan.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"20c76cbc-86b4-4bbe-b688-0f2ed42d8922":{"description":"Validation Error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"15bbb74f-7509-454c-a505-6bbdb1531dec":{"description":"API credits exhausted or concurrent session limit reached.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"6eb7f4e0-74b9-4860-9477-e266a1c63af2":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"apikey","scopes":[]}}},"servers":{"3b9db505-2902-467b-9e38-cc451da8704a":{"url":"https://api.smooth.sh/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"apikey","scopes":[]},"schema":{"title":"apikey","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"apikey"}],"title":"APIKeyHeader"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"circlemind","siteName":"Smooth","title":"Submit Task - Smooth","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-25T00:29:45.082Z","originalFileLocation":"api-reference/task/submit-task.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=\"Submits a task to be executed by the Smooth agent. If task is null, opens a browser session that waits for actions via the Event endpoint.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Smooth\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_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/circlemind/pxoXaTBb-CzVy2Ki/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Submit Task - Smooth\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submits a task to be executed by the Smooth agent. If task is null, opens a browser session that waits for actions via the Event endpoint.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Smooth\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.smooth.sh/api-reference/task/submit-task\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://circlemind.mintlify.site/_mintlify/api/og/v2?division=Task\u0026amp;title=Submit+Task\u0026amp;description=Submits+a+task+to+be+executed+by+the+Smooth+agent.+If+%60task%60+is+%60null%60%2C+opens+a+browser+session+that+waits+for+actions+via+the+Event+endpoint.\u0026amp;theme=19f17e9a7292a020747028fe\u0026amp;signature=938ceea8e39ae5d14e23a9291a283486ec49cfd4a8287cc791af1f734cd6ccf1\">\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=\"Submit Task - Smooth\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submits a task to be executed by the Smooth agent. If task is null, opens a browser session that waits for actions via the Event endpoint.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://circlemind.mintlify.site/_mintlify/api/og/v2?division=Task\u0026amp;title=Submit+Task\u0026amp;description=Submits+a+task+to+be+executed+by+the+Smooth+agent.+If+%60task%60+is+%60null%60%2C+opens+a+browser+session+that+waits+for+actions+via+the+Event+endpoint.\u0026amp;theme=19f17e9a7292a020747028fe\u0026amp;signature=938ceea8e39ae5d14e23a9291a283486ec49cfd4a8287cc791af1f734cd6ccf1\">\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/circlemind/pxoXaTBb-CzVy2Ki/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Smooth\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0081ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.smooth.sh/api-reference/task/submit-task\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/task/submit-task.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.smooth.sh/#organization\",\"name\":\"Smooth\",\"url\":\"https://docs.smooth.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/circlemind/Mu7wQpBuZpaA5aGS/logo/light.svg?fit=max\u0026auto=format\u0026n=Mu7wQpBuZpaA5aGS\u0026q=85\u0026s=3ef2856d16446bbb39913daec1ee01ea\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.smooth.sh#website\",\"name\":\"Smooth\",\"url\":\"https://docs.smooth.sh\",\"publisher\":{\"@id\":\"https://docs.smooth.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.smooth.sh/api-reference/task/submit-task#webpage\",\"url\":\"https://docs.smooth.sh/api-reference/task/submit-task\",\"name\":\"Submit Task\",\"description\":\"Submits a task to be executed by the Smooth agent. If task is null, opens a browser session that waits for actions via the Event endpoint.\",\"dateModified\":\"2026-03-25T00:29:45.082Z\",\"isPartOf\":{\"@id\":\"https://docs.smooth.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.smooth.sh/api-reference/task/submit-task#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.smooth.sh/api-reference/task/submit-task#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.smooth.sh/api-reference/task/list-tasks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Task\",\"item\":\"https://docs.smooth.sh/api-reference/task/list-tasks\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Submit Task\",\"item\":\"https://docs.smooth.sh/api-reference/task/submit-task\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.smooth.sh/api-reference/task/submit-task#apireference\",\"headline\":\"Submit Task\",\"name\":\"Submit Task\",\"description\":\"Submits a task to be executed by the Smooth agent. If task is null, opens a browser session that waits for actions via the Event endpoint.\",\"url\":\"https://docs.smooth.sh/api-reference/task/submit-task\",\"mainEntityOfPage\":{\"@id\":\"https://docs.smooth.sh/api-reference/task/submit-task#webpage\"},\"dateModified\":\"2026-03-25T00:29:45.082Z\",\"publisher\":{\"@id\":\"https://docs.smooth.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.smooth.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Smooth\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Smooth\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/task/submit-task.md","siteName":"Smooth","nav":{"global":{"anchors":[{"anchor":"Playground","icon":"play","href":"https://app.smooth.sh"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/VcdgMwUmMG"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"CLI Browser","pages":[{"title":"CLI Browser","href":"/cli/overview"}]},{"tab":"API reference","groups":[{"group":"Getting Started","pages":[{"title":"API Overview","href":"/api-reference/introduction"}]},{"group":"Guides","pages":[{"title":"Session Workflow","href":"/api-reference/sessions"},{"title":"Custom Tools","href":"/api-reference/custom-tools"},{"title":"Polling Mechanism","href":"/api-reference/polling"}]},{"group":"Endpoints","pages":[{"group":"Task","pages":[{"title":"List Tasks","description":"List all tasks for the authenticated user.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /task","href":"/api-reference/task/list-tasks"},{"title":"Submit Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /task","href":"/api-reference/task/submit-task"},{"title":"Get Task","description":"Returns the status and result of a task by its ID. Use `event_t` parameter for polling to receive only new events since the given timestamp.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /task/{task_id}","href":"/api-reference/task/get-task"},{"title":"Cancel Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /task/{task_id}","href":"/api-reference/task/cancel-task"}]},{"group":"Event","pages":[{"title":"Send Event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /task/{task_id}/event","href":"/api-reference/event/send-event"}]},{"group":"Profile","pages":[{"title":"List Profiles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /profile","href":"/api-reference/profile/list-profiles"},{"title":"Create Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /profile","href":"/api-reference/profile/create-profile"},{"title":"Delete Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /profile/{profile_id}","href":"/api-reference/profile/delete-profile"},{"title":"Open Browser Session (Deprecated)","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /browser/session","href":"/api-reference/profile/open-browser-session-deprecated"}]},{"group":"File","pages":[{"title":"Upload File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /file","href":"/api-reference/file/upload-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /file/{file_id}","href":"/api-reference/file/delete-file"}]},{"group":"Extension","pages":[{"title":"List Extensions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /extension","href":"/api-reference/extension/list-extensions"},{"title":"Upload Extension","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /extension","href":"/api-reference/extension/upload-extension"},{"title":"Delete Extension","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /browser/extension/{extension_id}","href":"/api-reference/extension/delete-extension"}]}]}]}]},"basePath":"","title":"Submit Task - Smooth","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}