Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.
JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.
JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Nimble Docs","colors":{"primary":"#edc602","light":"#edc602","dark":"#edc602"},"logo":{"light":"https://mintcdn.com/nimble-f5a8283f/o--9pIuMkGtkmWwc/images/light.svg?fit=max\u0026auto=format\u0026n=o--9pIuMkGtkmWwc\u0026q=85\u0026s=4f01d3ff0f6702dfa400db4d8d46d71a","dark":"https://mintcdn.com/nimble-f5a8283f/o--9pIuMkGtkmWwc/images/dark.svg?fit=max\u0026auto=format\u0026n=o--9pIuMkGtkmWwc\u0026q=85\u0026s=884461c581a8cd728bd01f0887180dc4","href":"https://www.nimbleway.com"},"favicon":"https://mintcdn.com/nimble-f5a8283f/p44s6zCqqsFm92lY/images/favicon.png?fit=max\u0026auto=format\u0026n=p44s6zCqqsFm92lY\u0026q=85\u0026s=2c068e67e4853cc4e392c1f9e65d8766","api":{"playground":{"display":"interactive","proxy":true}},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"href":"https://portal.usepylon.com/nimble","label":"Support"},{"href":"https://nimbleway.com/contact-general/","label":"Book a Demo"}],"primary":{"type":"button","label":"Ask Nimble","href":"https://online.nimbleway.com/workflow-builder"}},"footer":{"socials":{"website":"https://www.nimbleway.com/","linkedin":"https://www.linkedin.com/company/nimbledata","x":"https://x.com/nimble_search"}},"seo":{"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"posthog":{"apiKey":"phc_WSssX85HFXGf9WkKvKgjHR80zijmy5KLO3HdyiSMY3S","apiHost":"https://x.nimbleway.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","mcp","add-mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Ask Nimble","icon":"wand-magic-sparkles","color":{"light":"#edc602","dark":"#edc602"},"href":"https://online.nimbleway.com/workflow-builder"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nimble-f5a8283f","hasAudioNarration":false,"actualSubdomain":"nimble-f5a8283f","customDomains":["docs.nimbleway.com"],"gitSource":{"type":"github","owner":"nimbleway","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1cb6e83326b7b15e9318d","collectionId":"dd486f83-e1be-4db1-93ae-201e54692a01","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1cb6e83326b7b15e9318d"},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1cb6e83326b7b15e9318d","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Integrations","count":72},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Proxy","count":22},{"language":"default","tag":"Connectors","count":16},{"language":"default","tag":"Agent","count":16},{"language":"default","tag":"Extraction Tools","count":16},{"language":"default","tag":"Partnerships","count":13},{"language":"default","tag":"Jobs API","count":13},{"language":"default","tag":"Agents API","count":13}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"llms-txt-v2","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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/public-api/create-agent","slug":"/api-reference/public-api/create-agent","pageMetadata":{"title":"Create Agent","description":"Create an Agent. Either pass `template` to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with `display_name`, `goals`, `sources`, and an optional `output_schema` for structured results.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/agents","href":"/api-reference/public-api/create-agent","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: [\"Create an Agent. Either pass \", _jsx(_components.code, {\n children: \"template\"\n }), \" to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with \", _jsx(_components.code, {\n children: \"display_name\"\n }), \", \", _jsx(_components.code, {\n children: \"goals\"\n }), \", \", _jsx(_components.code, {\n children: \"sources\"\n }), \", and an optional \", _jsx(_components.code, {\n children: \"output_schema\"\n }), \" for structured results.\"]\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Create Agent","description":"Create an Agent. Either pass `template` to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with `display_name`, `goals`, `sources`, and an optional `output_schema` for structured results.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/agents","href":"/api-reference/public-api/create-agent","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"create_agent_public_v2_api_v2_public_web_search_agents_post","requestBody":"fa1945ee-5077-4e0e-b7f0-ed3db19dc6c4","responses":{"201":"8e253cc7-1f8c-46d9-b3f0-3d1707e7df44","422":"be2c191d-5ecf-4393-aa9e-d6f6b393dd69"},"summary":"Create Agent","tags":["Public API"],"description":"Create an Agent. Either pass `template` to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with `display_name`, `goals`, `sources`, and an optional `output_schema` for structured results.","security":["ee08a138-c974-49f1-94b5-bac7a12ab096"],"method":"post","type":"path","servers":["750ab62d-ab67-4bbe-8cf4-3493ce6ece35"],"path":"/v2/agents","baseUrlOptions":["https://sdk.nimbleway.com"],"title":"Create Agent","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"agent_name":{"oneOf":[{"type":"string","title":"Agent Name","description":"Stable agent name.","uniqueKey":"agent_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Agent Name","description":"Stable agent name.","uniqueKey":"agent_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Agent description shown to users.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Agent description shown to users.","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"display_name":{"oneOf":[{"type":"string","title":"Display Name","description":"Human-friendly agent name shown to users.","uniqueKey":"display_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Display Name","description":"Human-friendly agent name shown to users.","uniqueKey":"display_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"display_name","typeLabel":"string | null"},"effort":{"description":"Default effort level for this agent's runs.","enum":["low","medium","high","x-high","max"],"title":"Effort","type":"string","default":"high","uniqueKey":"effort","typeLabel":"enum\u003cstring>"},"goals":{"description":"Ordered goals for the agent to follow.","items":{"type":"string","uniqueKey":"goals.items.[INDEX]","typeLabel":"string"},"title":"Goals","type":"array","example":["Find recent company announcements","Summarize funding history"],"uniqueKey":"goals","typeLabel":"string[]"},"icon":{"oneOf":[{"type":"string","title":"Icon","description":"Icon identifier used when presenting the agent.","uniqueKey":"icon.oneOf.0","typeLabel":"string"},{"type":"null","title":"Icon","description":"Icon identifier used when presenting the agent.","uniqueKey":"icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"icon","typeLabel":"string | null"},"is_active":{"default":true,"description":"Whether the agent can be used to start new runs.","title":"Is Active","type":"boolean","uniqueKey":"is_active","typeLabel":"boolean"},"output_schema":{"oneOf":[{"type":"object","title":"Output Schema","description":"JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.","additionalProperties":true,"uniqueKey":"output_schema.oneOf.0","typeLabel":"Output Schema · object"},{"type":"null","title":"Output Schema","description":"JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.","uniqueKey":"output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema","typeLabel":"Output Schema · object | null"},"skill":{"oneOf":[{"type":"string","title":"Skill","description":"Skill or operating context for the agent.","uniqueKey":"skill.oneOf.0","typeLabel":"string"},{"type":"null","title":"Skill","description":"Skill or operating context for the agent.","uniqueKey":"skill.oneOf.1","typeLabel":"null"}],"uniqueKey":"skill","typeLabel":"string | null"},"sources":{"additionalProperties":false,"properties":{"allow":{"description":"Source groups the agent is allowed to use.","items":{"properties":{"domains":{"description":"Domains included in this source group.","items":{"type":"string","uniqueKey":"sources.allow.items.[INDEX].domains.items.[INDEX]","typeLabel":"string"},"title":"Domains","type":"array","example":["linkedin.com","crunchbase.com"],"isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].domains","typeLabel":"string[]"},"title":{"description":"Source group title.","title":"Title","type":"string","example":"Professional networks","isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].title","typeLabel":"string"},"order":{"default":0,"description":"Zero-based source group position.","title":"Order","type":"integer","uniqueKey":"sources.allow.items.[INDEX].order","typeLabel":"integer"}},"required":["title","domains"],"title":"WebSearchAgentSourceCreateRequestPublicV2","type":"object","uniqueKey":"sources.allow.items.[INDEX]","typeLabel":"WebSearchAgentSourceCreateRequestPublicV2 · object"},"title":"Allow","type":"array","uniqueKey":"sources.allow","typeLabel":"WebSearchAgentSourceCreateRequestPublicV2 · object[]"},"avoid":{"oneOf":[{"type":"string","title":"Avoid","description":"Free-text guidance describing sources or domains to avoid.","uniqueKey":"sources.avoid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avoid","description":"Free-text guidance describing sources or domains to avoid.","uniqueKey":"sources.avoid.oneOf.1","typeLabel":"null"}],"uniqueKey":"sources.avoid","typeLabel":"string | null"},"block":{"description":"Source groups the agent should not use.","items":{"properties":{"domains":{"description":"Domains included in this source group.","items":{"type":"string","uniqueKey":"sources.block.items.[INDEX].domains.items.[INDEX]","typeLabel":"string"},"title":"Domains","type":"array","example":["linkedin.com","crunchbase.com"],"isRequired":true,"uniqueKey":"sources.block.items.[INDEX].domains","typeLabel":"string[]"},"title":{"description":"Source group title.","title":"Title","type":"string","example":"Professional networks","isRequired":true,"uniqueKey":"sources.block.items.[INDEX].title","typeLabel":"string"},"order":{"default":0,"description":"Zero-based source group position.","title":"Order","type":"integer","uniqueKey":"sources.block.items.[INDEX].order","typeLabel":"integer"}},"required":["title","domains"],"title":"WebSearchAgentSourceCreateRequestPublicV2","type":"object","uniqueKey":"sources.block.items.[INDEX]","typeLabel":"WebSearchAgentSourceCreateRequestPublicV2 · object"},"title":"Block","type":"array","uniqueKey":"sources.block","typeLabel":"WebSearchAgentSourceCreateRequestPublicV2 · object[]"},"prioritize":{"oneOf":[{"type":"string","title":"Prioritize","description":"Free-text guidance describing sources or domains to prioritize.","uniqueKey":"sources.prioritize.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prioritize","description":"Free-text guidance describing sources or domains to prioritize.","uniqueKey":"sources.prioritize.oneOf.1","typeLabel":"null"}],"uniqueKey":"sources.prioritize","typeLabel":"string | null"}},"title":"AgentSourcesPublicV2","type":"object","description":"Source guidance for the agent.","uniqueKey":"sources","typeLabel":"AgentSourcesPublicV2 · object"},"suggested_questions":{"description":"Suggested prompts users can run with this agent.","items":{"type":"string","uniqueKey":"suggested_questions.items.[INDEX]","typeLabel":"string"},"title":"Suggested Questions","type":"array","uniqueKey":"suggested_questions","typeLabel":"string[]"},"template":{"oneOf":[{"type":"string","title":"Template","description":"Template name to materialize this instance from. When set, the scalar fields and child rows are copied from the template.","example":"linkedin_company_profiles","uniqueKey":"template.oneOf.0","typeLabel":"string"},{"type":"null","title":"Template","description":"Template name to materialize this instance from. When set, the scalar fields and child rows are copied from the template.","example":"linkedin_company_profiles","uniqueKey":"template.oneOf.1","typeLabel":"null"}],"uniqueKey":"template","typeLabel":"string | null"},"use_case":{"oneOf":[{"type":"string","title":"WebSearchAgentUseCase","description":"Primary use case supported by the agent.","enum":["research","enrichment","dataset_building"],"uniqueKey":"use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Primary use case supported by the agent.","uniqueKey":"use_case.oneOf.1","typeLabel":"null"}],"uniqueKey":"use_case","typeLabel":"enum\u003cstring> | null"}},"title":"WebSearchAgentCreateRequestPublicV2","type":"object","uniqueKey":"","typeLabel":"WebSearchAgentCreateRequestPublicV2 · object"},"examples":{"Example":{"title":"Example","value":{"agent_name":"\u003cstring>","description":"\u003cstring>","display_name":"\u003cstring>","effort":"high","goals":["Find recent company announcements","Summarize funding history"],"icon":"\u003cstring>","is_active":true,"output_schema":{},"skill":"\u003cstring>","sources":{"allow":[{"domains":["linkedin.com","crunchbase.com"],"title":"Professional networks","order":0}],"avoid":"\u003cstring>","block":[{"domains":["linkedin.com","crunchbase.com"],"title":"Professional networks","order":0}],"prioritize":"\u003cstring>"},"suggested_questions":["\u003cstring>"],"template":"linkedin_company_profiles"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"8e253cc7-1f8c-46d9-b3f0-3d1707e7df44":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"When the agent was created.","format":"date-time","title":"Created At","type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"description":{"description":"Agent description shown to users.","title":"Description","type":"string","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"display_name":{"description":"Human-friendly agent name shown to users.","title":"Display Name","type":"string","example":"Company News Tracker","isRequired":true,"uniqueKey":"display_name","typeLabel":"string"},"effort":{"description":"Default effort level for this agent's runs.","enum":["low","medium","high","x-high","max"],"title":"Effort","type":"string","example":"high","isRequired":true,"uniqueKey":"effort","typeLabel":"enum\u003cstring>"},"goals":{"description":"Ordered goals for the agent to follow.","items":{"properties":{"goal":{"description":"Goal text.","title":"Goal","type":"string","isRequired":true,"uniqueKey":"goals.items.[INDEX].goal","typeLabel":"string"},"id":{"description":"Unique goal identifier (wsag_\u003cuuid>).","title":"Id","type":"string","isRequired":true,"uniqueKey":"goals.items.[INDEX].id","typeLabel":"string"},"order":{"description":"Zero-based goal position.","title":"Order","type":"integer","isRequired":true,"uniqueKey":"goals.items.[INDEX].order","typeLabel":"integer"}},"required":["id","goal","order"],"title":"WebSearchAgentGoalResponsePublicV2","type":"object","uniqueKey":"goals.items.[INDEX]","typeLabel":"WebSearchAgentGoalResponsePublicV2 · object"},"title":"Goals","type":"array","isRequired":true,"uniqueKey":"goals","typeLabel":"WebSearchAgentGoalResponsePublicV2 · object[]"},"icon":{"description":"Icon identifier used when presenting the agent.","title":"Icon","type":"string","isRequired":true,"uniqueKey":"icon","typeLabel":"string"},"id":{"description":"Unique Agent identifier (wsa_\u003cuuid>).","title":"Id","type":"string","example":"wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"is_active":{"description":"Whether the agent can be used to start new runs.","title":"Is Active","type":"boolean","isRequired":true,"uniqueKey":"is_active","typeLabel":"boolean"},"output_schema":{"oneOf":[{"type":"object","title":"Output Schema","description":"JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.","additionalProperties":true,"isRequired":true,"uniqueKey":"output_schema.oneOf.0","typeLabel":"Output Schema · object"},{"type":"null","title":"Output Schema","description":"JSON Schema for structured output. Root must be an object with non-empty properties or an array of objects. Hard limits: nesting depth ≤ 5, ≤ 100 properties, ≤ 500 enum values, no unsupported keywords (format, pattern, min/max*, root anyOf, standalone null). Invalid schemas return 422.","isRequired":true,"uniqueKey":"output_schema.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output_schema","typeLabel":"Output Schema · object | null"},"skill":{"description":"Skill or operating context for the agent.","title":"Skill","type":"string","isRequired":true,"uniqueKey":"skill","typeLabel":"string"},"sources":{"additionalProperties":false,"properties":{"allow":{"description":"Source groups the agent is allowed to use.","items":{"properties":{"domains":{"description":"Domains included in this source group.","items":{"type":"string","uniqueKey":"sources.allow.items.[INDEX].domains.items.[INDEX]","typeLabel":"string"},"title":"Domains","type":"array","example":["linkedin.com","crunchbase.com"],"isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].domains","typeLabel":"string[]"},"id":{"description":"Unique source group identifier (wsas_\u003cuuid>).","title":"Id","type":"string","isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].id","typeLabel":"string"},"order":{"description":"Zero-based source group position.","title":"Order","type":"integer","isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].order","typeLabel":"integer"},"title":{"description":"Source group title.","title":"Title","type":"string","example":"Professional networks","isRequired":true,"uniqueKey":"sources.allow.items.[INDEX].title","typeLabel":"string"}},"required":["id","title","domains","order"],"title":"WebSearchAgentSourceResponsePublicV2","type":"object","uniqueKey":"sources.allow.items.[INDEX]","typeLabel":"WebSearchAgentSourceResponsePublicV2 · object"},"title":"Allow","type":"array","uniqueKey":"sources.allow","typeLabel":"WebSearchAgentSourceResponsePublicV2 · object[]"},"avoid":{"oneOf":[{"type":"string","title":"Avoid","description":"Free-text guidance describing sources or domains to avoid.","uniqueKey":"sources.avoid.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avoid","description":"Free-text guidance describing sources or domains to avoid.","uniqueKey":"sources.avoid.oneOf.1","typeLabel":"null"}],"uniqueKey":"sources.avoid","typeLabel":"string | null"},"block":{"description":"Source groups the agent should not use.","items":{"properties":{"domains":{"description":"Domains included in this source group.","items":{"type":"string","uniqueKey":"sources.block.items.[INDEX].domains.items.[INDEX]","typeLabel":"string"},"title":"Domains","type":"array","example":["linkedin.com","crunchbase.com"],"isRequired":true,"uniqueKey":"sources.block.items.[INDEX].domains","typeLabel":"string[]"},"id":{"description":"Unique source group identifier (wsas_\u003cuuid>).","title":"Id","type":"string","isRequired":true,"uniqueKey":"sources.block.items.[INDEX].id","typeLabel":"string"},"order":{"description":"Zero-based source group position.","title":"Order","type":"integer","isRequired":true,"uniqueKey":"sources.block.items.[INDEX].order","typeLabel":"integer"},"title":{"description":"Source group title.","title":"Title","type":"string","example":"Professional networks","isRequired":true,"uniqueKey":"sources.block.items.[INDEX].title","typeLabel":"string"}},"required":["id","title","domains","order"],"title":"WebSearchAgentSourceResponsePublicV2","type":"object","uniqueKey":"sources.block.items.[INDEX]","typeLabel":"WebSearchAgentSourceResponsePublicV2 · object"},"title":"Block","type":"array","uniqueKey":"sources.block","typeLabel":"WebSearchAgentSourceResponsePublicV2 · object[]"},"prioritize":{"oneOf":[{"type":"string","title":"Prioritize","description":"Free-text guidance describing sources or domains to prioritize.","uniqueKey":"sources.prioritize.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prioritize","description":"Free-text guidance describing sources or domains to prioritize.","uniqueKey":"sources.prioritize.oneOf.1","typeLabel":"null"}],"uniqueKey":"sources.prioritize","typeLabel":"string | null"}},"title":"AgentSourcesResponsePublicV2","type":"object","description":"Source guidance for the agent.","isRequired":true,"uniqueKey":"sources","typeLabel":"AgentSourcesResponsePublicV2 · object"},"suggested_questions":{"description":"Suggested prompts users can run with this agent.","items":{"properties":{"id":{"description":"Unique suggested question identifier (wsasq_\u003cuuid>).","title":"Id","type":"string","isRequired":true,"uniqueKey":"suggested_questions.items.[INDEX].id","typeLabel":"string"},"order":{"description":"Zero-based suggested question position.","title":"Order","type":"integer","isRequired":true,"uniqueKey":"suggested_questions.items.[INDEX].order","typeLabel":"integer"},"question":{"description":"Suggested prompt text.","title":"Question","type":"string","isRequired":true,"uniqueKey":"suggested_questions.items.[INDEX].question","typeLabel":"string"}},"required":["id","question","order"],"title":"WebSearchAgentSuggestedQuestionResponsePublicV2","type":"object","uniqueKey":"suggested_questions.items.[INDEX]","typeLabel":"WebSearchAgentSuggestedQuestionResponsePublicV2 · object"},"title":"Suggested Questions","type":"array","isRequired":true,"uniqueKey":"suggested_questions","typeLabel":"WebSearchAgentSuggestedQuestionResponsePublicV2 · object[]"},"updated_at":{"description":"When the agent was last updated.","format":"date-time","title":"Updated At","type":"string","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"enum":["research","enrichment","dataset_building"],"title":"WebSearchAgentUseCase","type":"string","description":"Primary use case supported by the agent.","example":"research","isRequired":true,"uniqueKey":"use_case","typeLabel":"enum\u003cstring>"},"agent_name":{"oneOf":[{"type":"string","title":"Agent Name","description":"Stable agent name.","uniqueKey":"agent_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Agent Name","description":"Stable agent name.","uniqueKey":"agent_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"agent_name","typeLabel":"string | null"}},"required":["id","display_name","description","icon","effort","skill","use_case","output_schema","is_active","created_at","updated_at","sources","goals","suggested_questions"],"title":"WebSearchAgentResponsePublicV2","type":"object","uniqueKey":"","typeLabel":"WebSearchAgentResponsePublicV2 · object"},"examples":{"Example":{"title":"Example","value":{"created_at":"2023-11-07T05:31:56Z","description":"\u003cstring>","display_name":"Company News Tracker","effort":"high","goals":[{"goal":"\u003cstring>","id":"\u003cstring>","order":123}],"icon":"\u003cstring>","id":"wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00","is_active":true,"output_schema":{},"skill":"\u003cstring>","sources":{"allow":[{"domains":["linkedin.com","crunchbase.com"],"id":"\u003cstring>","order":123,"title":"Professional networks"}],"avoid":"\u003cstring>","block":[{"domains":["linkedin.com","crunchbase.com"],"id":"\u003cstring>","order":123,"title":"Professional networks"}],"prioritize":"\u003cstring>"},"suggested_questions":[{"id":"\u003cstring>","order":123,"question":"\u003cstring>"}],"updated_at":"2023-11-07T05:31:56Z","use_case":"research","agent_name":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"be2c191d-5ecf-4393-aa9e-d6f6b393dd69":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"title":"Location","type":"array","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"title":"Message","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"title":"Error Type","type":"string","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"ctx":{"title":"Context","type":"object","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"title":"Detail","type":"array","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"title":"HTTPValidationError","type":"object","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","ctx":{},"input":"\u003cunknown>"}]}}},"exampleType":"generated"}},"description":"Validation Error","exampleType":"generated"}},"security":{"ee08a138-c974-49f1-94b5-bac7a12ab096":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"750ab62d-ab67-4bbe-8cf4-3493ce6ece35":{"url":"https://sdk.nimbleway.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"nimble-f5a8283f","siteName":"Nimble Docs","title":"Create Agent - Nimble Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T22:09:37.012Z","originalFileLocation":"api-reference/public-api/create-agent.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nimble Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Agent - Nimble Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nimble Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nimbleway.com/api-reference/public-api/create-agent\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nimble-f5a8283f.mintlify.app/_mintlify/api/og/v2?division=Agents+API\u0026amp;title=Create+Agent\u0026amp;description=Create+an+Agent.+Either+pass+%60template%60+to+materialize+a+pre-built+template+%28its+fields%2C+goals%2C+sources%2C+and+suggested+questions+are+copied%29%2C+or+define+the+agen\u0026amp;theme=e511cdab2c346c886a5a73f0\u0026amp;signature=c97f1737281ccea29161f291a53e29d686aa99853d90c89f89ec19650555a3f2\">\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=\"Create Agent - Nimble Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nimble-f5a8283f.mintlify.app/_mintlify/api/og/v2?division=Agents+API\u0026amp;title=Create+Agent\u0026amp;description=Create+an+Agent.+Either+pass+%60template%60+to+materialize+a+pre-built+template+%28its+fields%2C+goals%2C+sources%2C+and+suggested+questions+are+copied%29%2C+or+define+the+agen\u0026amp;theme=e511cdab2c346c886a5a73f0\u0026amp;signature=c97f1737281ccea29161f291a53e29d686aa99853d90c89f89ec19650555a3f2\">\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/nimble-f5a8283f/O9QbVEd4KNgIUIh9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nimble Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#edc602\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nimbleway.com/api-reference/public-api/create-agent\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/public-api/create-agent.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nimbleway.com/#organization\",\"name\":\"Nimble Docs\",\"url\":\"https://docs.nimbleway.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nimble-f5a8283f/o--9pIuMkGtkmWwc/images/light.svg?fit=max\u0026auto=format\u0026n=o--9pIuMkGtkmWwc\u0026q=85\u0026s=4f01d3ff0f6702dfa400db4d8d46d71a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nimbleway.com#website\",\"name\":\"Nimble Docs\",\"url\":\"https://docs.nimbleway.com\",\"publisher\":{\"@id\":\"https://docs.nimbleway.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent#webpage\",\"url\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent\",\"name\":\"Create Agent\",\"description\":\"Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.\",\"dateModified\":\"2026-10-14T22:09:37.012Z\",\"isPartOf\":{\"@id\":\"https://docs.nimbleway.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents API\",\"item\":\"https://docs.nimbleway.com/api-reference/public-api/create-run\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Agent\",\"item\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent#apireference\",\"headline\":\"Create Agent\",\"name\":\"Create Agent\",\"description\":\"Create an Agent. Either pass template to materialize a pre-built template (its fields, goals, sources, and suggested questions are copied), or define the agent from scratch with display_name, goals, sources, and an optional output_schema for structured results.\",\"url\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nimbleway.com/api-reference/public-api/create-agent#webpage\"},\"dateModified\":\"2026-10-14T22:09:37.012Z\",\"publisher\":{\"@id\":\"https://docs.nimbleway.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nimbleway.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nimble Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nimble Docs","nav":{"global":{"anchors":[{"anchor":"Ask Nimble","icon":"wand-magic-sparkles","color":{"light":"#edc602","dark":"#edc602"},"href":"https://online.nimbleway.com/workflow-builder"}]},"tabs":[{"tab":"Home","icon":"house-blank","pages":[{"title":"Home","href":"/home"}]},{"tab":"Hackathon","hidden":true,"pages":[{"title":"Hackathon","href":"/hackathon"}]},{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/nimble-sdk/getting-started/overview"}]},{"tab":"Nimble Platform","hidden":true,"pages":[{"title":"Nimble Platform","href":"/nimble-platform/agents/managed-agents"}]},{"tab":"Integrations","icon":"link-horizontal","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Search API","icon":"magnifying-glass","pages":[{"title":"Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/search","href":"/api-reference/search/search"}]},{"group":"Agents API","icon":"bullseye-pointer","tag":"NEW","pages":[{"title":"Create Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/agents/runs","href":"/api-reference/public-api/create-run"},{"title":"Create Agent Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/agents/{agent_id}/runs","href":"/api-reference/public-api/create-agent-run"},{"title":"Get Agent Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/{agent_id}/runs/{run_id}","href":"/api-reference/public-api/get-agent-run"},{"title":"Get Agent Run Result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/{agent_id}/runs/{run_id}/result","href":"/api-reference/public-api/get-agent-run-result"},{"title":"Stream Agent Run Events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/{agent_id}/runs/{run_id}/events","href":"/api-reference/public-api/stream-agent-run-events"},{"title":"List Agent Runs","description":"List the runs of an agent, newest first, paginated with `offset`/`limit`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/{agent_id}/runs","href":"/api-reference/public-api/list-agent-runs"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/agents","href":"/api-reference/public-api/create-agent"},{"title":"List Agents","description":"List the active Agents in your account. Results are scoped to the workspace resolved from your token (or the optional `workspace_id` query parameter) and paginated with `offset`/`limit`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents","href":"/api-reference/public-api/list-agents"},{"title":"Get Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/{agent_id}","href":"/api-reference/public-api/get-agent"},{"title":"Update Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v2/agents/{agent_id}","href":"/api-reference/public-api/update-agent"},{"title":"Deactivate Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/agents/{agent_id}","href":"/api-reference/public-api/deactivate-agent"},{"title":"List Agent Templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/templates","href":"/api-reference/public-api/list-agent-templates"},{"title":"Get Agent Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/agents/templates/{template_name}","href":"/api-reference/public-api/get-agent-template"}]},{"group":"Extract API","icon":"arrows-to-circle","pages":[{"title":"Extract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract","href":"/api-reference/extract/extract"},{"title":"Extract Async","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/async","href":"/api-reference/extract/extract-async"},{"title":"Extract Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/batch","href":"/api-reference/extract/extract-batch"}]},{"group":"Extract Templates API","icon":"table-cells","tag":"NEW","pages":[{"title":"Run Extract Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/templates/run","href":"/api-reference/extract-templates-api/run-extract-template"},{"title":"Run Extract Template (Async)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/templates/async","href":"/api-reference/extract-templates-api/run-extract-template-async"},{"title":"Run Extract Template (Batch)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/templates/batch","href":"/api-reference/extract-templates-api/run-extract-template-batch"},{"title":"List Extract Templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/extract/templates","href":"/api-reference/extract-templates-api/list-extract-templates"},{"title":"Get Extract Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/extract/templates/{extract_template_name}","href":"/api-reference/extract-templates-api/get-extract-template"},{"title":"Update Extract Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v2/extract/templates/{extract_template_name}","href":"/api-reference/extract-templates-api/update-extract-template"},{"title":"Delete Extract Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/extract/templates/{extract_template_name}","href":"/api-reference/extract-templates-api/delete-extract-template"},{"title":"List Extract Template Versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/extract/templates/{extract_template_name}/versions","href":"/api-reference/extract-templates-api/list-extract-template-versions"},{"title":"Get Extract Template Version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/extract/templates/{extract_template_name}/versions/{version_id}","href":"/api-reference/extract-templates-api/get-extract-template-version"},{"title":"Create Extract Template Generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/extract/templates/generations","href":"/api-reference/extract-templates-api/create-extract-template-generation"},{"title":"Get Extract Template Generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/extract/templates/generations/{generation_id}","href":"/api-reference/extract-templates-api/get-extract-template-generation"}]},{"group":"Map API","icon":"sitemap","pages":[{"title":"Map","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/map","href":"/api-reference/map/map"}]},{"group":"Crawl API","icon":"spider","pages":[{"title":"Create Crawl","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/crawl","href":"/api-reference/crawl/create-crawl"},{"title":"List Crawls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/crawl","href":"/api-reference/crawl/list-crawls"},{"title":"Crawl by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/crawl/{id}","href":"/api-reference/crawl/crawl-by-id"},{"title":"Cancel Crawl","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/crawl/{id}","href":"/api-reference/crawl/cancel-crawl"}]},{"group":"SERP API","icon":"search","tag":"NEW","pages":[{"title":"SERP","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/serp","href":"/api-reference/serp/serp"},{"title":"SERP Async","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/serp/async","href":"/api-reference/serp/serp-async"},{"title":"SERP Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/serp/batch","href":"/api-reference/serp/serp-batch"}]},{"group":"Media API","icon":"image","tag":"NEW","pages":[{"title":"Media Download","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/media","href":"/api-reference/media/media-download"},{"title":"Media Download Async","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/media/async","href":"/api-reference/media/media-download-async"}]},{"group":"Domain Knowledge API","icon":"brain","tag":"NEW","pages":[{"title":"Get Driver","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/domain-knowledge/driver","href":"/api-reference/domain-knowledge/get-driver"}]},{"group":"Domain Health API","icon":"heart-pulse","tag":"NEW","pages":[{"title":"Check Domain Health","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/domain-health/check","href":"/api-reference/domain-health/check-domain-health"}]},{"group":"Jobs API","icon":"timer","tag":"NEW","pages":[{"title":"Create Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/jobs","href":"/api-reference/jobs/create-job"},{"title":"List Jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs","href":"/api-reference/jobs/list-jobs"},{"title":"Get Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/{job_id}","href":"/api-reference/jobs/get-job"},{"title":"Update Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v2/jobs/{job_id}","href":"/api-reference/jobs/update-job"},{"title":"Delete Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v2/jobs/{job_id}","href":"/api-reference/jobs/delete-job"},{"title":"Trigger Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/jobs/{job_id}/runs","href":"/api-reference/jobs/trigger-run"},{"title":"List Runs for Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/{job_id}/runs","href":"/api-reference/jobs/list-runs-for-job"},{"title":"Get Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/runs/{run_id}","href":"/api-reference/jobs/get-run"},{"title":"Cancel Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/jobs/runs/{run_id}/cancel","href":"/api-reference/jobs/cancel-run"},{"title":"List Run Artifacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/runs/{run_id}/artifacts","href":"/api-reference/jobs/list-run-artifacts"},{"title":"Get Run Artifact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/runs/{run_id}/artifacts/{artifact_id}","href":"/api-reference/jobs/get-run-artifact"},{"title":"Preview Run Artifact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/runs/{run_id}/artifacts/{artifact_id}/preview","href":"/api-reference/jobs/preview-run-artifact"},{"title":"Get Run Artifact Download URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/jobs/runs/{run_id}/artifacts/{artifact_id}/download-url","href":"/api-reference/jobs/get-run-artifact-download-url"}]},{"group":"Tasks \u0026 Batches API","icon":"list-check","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Task Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tasks/{task_id}","href":"/api-reference/tasks/task-status"},{"title":"Task Result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/tasks/{task_id}/results","href":"/api-reference/tasks/task-result"},{"title":"List batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/batches","href":"/api-reference/tasks/list-batches"},{"title":"Get batch details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/batches/{batch_id}","href":"/api-reference/tasks/get-batch-details"},{"title":"Get batch progress","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/batches/{batch_id}/progress","href":"/api-reference/tasks/get-batch-progress"}]},{"group":"Proxy API","icon":"globe","pages":[]},{"group":"Fast SERP API","icon":"bolt","hidden":true,"tag":"NEW","pages":[{"title":"Fast Google SERP","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/realtime/serp","href":"/api-reference/fast-serp/fast-google-serp"}]}]},{"tab":"Changelog","icon":"bullhorn","pages":[{"title":"Changelog","href":"/changelog/release-notes"}]}]},"basePath":"","title":"Create Agent - Nimble Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}