item.billing contains the billing result. Email messages retain subject and text.Cancellation is allowed only before the first execution, not while waiting for retries.
Behavior
Agent ownership and cursor ownership are checked.
Ordinary generation consumes one ordinary outreach allowance unit.
Research generation consumes one research outreach unit, including research and writing, without an additional ordinary unit.
Meta WhatsApp templates reuse the existing template result and consume an ordinary unit.
Confirmed generation failures refund the reservation.
Unknown outcomes retain the original billing batch for recovery without regenerating or assuming a refund.
Errors
HTTP
Code
Meaning
400
external_api_preview_input_invalid
Invalid input
403
permission_denied
Missing required permission
Ownership, allowance, and generation failures surface in the asynchronous job error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"REVOR AI Docs","description":"Guides and MCP documentation for using REVOR AI to discover prospects, research companies, find contacts, and work with trade data.","colors":{"primary":"#A548EE","light":"#C084FC","dark":"#8B2FD6"},"logo":{"light":"https://mintcdn.com/revor-ai/CE8Bfke7by555FCt/images/%E6%A8%AA%E6%8E%92%E7%BB%84%E5%90%88.png?fit=max\u0026auto=format\u0026n=CE8Bfke7by555FCt\u0026q=85\u0026s=d9680a7d6f451eeee322bb43e6143601","dark":"https://mintcdn.com/revor-ai/CE8Bfke7by555FCt/images/%E6%A8%AA%E6%8E%92%E7%BB%84%E5%90%88-%E5%8F%8D%E7%99%BD.png?fit=max\u0026auto=format\u0026n=CE8Bfke7by555FCt\u0026q=85\u0026s=aa6d00dd01b31a0682d1c886799add82"},"favicon":"https://mintcdn.com/revor-ai/fQBXgqodOjE4ghdP/images/favicon.ico?fit=max\u0026auto=format\u0026n=fQBXgqodOjE4ghdP\u0026q=85\u0026s=84518c2cc47fd29b45f8958cc10fded3","navbar":{"links":[{"href":"mailto:support@revor.ai","label":"Contact Support"}],"primary":{"type":"button","label":"Try Revor AI","href":"https://revor.ai/console"}},"footer":{"socials":{"x":"https://x.com/revor_ai","linkedin":"https://linkedin.com/company/revor-ai"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"guides"},{"language":"cn","navbar":{"links":[{"href":"mailto:support@revor.ai","label":"联系支持"}],"primary":{"type":"button","label":"使用 Revor AI","href":"https://revor.ai/console"}},"href":"guides/cn"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revor-ai","hasAudioNarration":false,"actualSubdomain":"revor-ai","customDomains":[],"gitSource":{"type":"github","owner":"laiye-revor","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6aee95cb4fd732799694152c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b094c9d21b193d00382b22e","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"en","tag":"API","count":53},{"language":"cn","tag":"API","count":53},{"language":"en","tag":"Agents","count":12},{"language":"en","tag":"Prospect lists","count":12},{"language":"cn","tag":"智能体","count":12},{"language":"cn","tag":"潜客名单","count":12},{"language":"en","tag":"Search and research","count":11},{"language":"cn","tag":"搜索与研究","count":11},{"language":"en","tag":"Outreach","count":10},{"language":"cn","tag":"触达","count":10},{"language":"cn","tag":"开始使用","count":10},{"language":"en","tag":"MCP","count":8},{"language":"cn","tag":"指南","count":8},{"language":"cn","tag":"MCP","count":8},{"language":"en","tag":"Smart outreach","count":7},{"language":"en","tag":"Guides","count":7},{"language":"cn","tag":"智能触达","count":7},{"language":"en","tag":"Getting started","count":5},{"language":"en","tag":"Get started","count":5},{"language":"cn","tag":"Agent Skills","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"sidebar-layout.css","content":"@media (min-width: 1024px){:root{--topbar-tabs-height: 0rem !important}#navbar .nav-tabs{position:absolute;top:0;left:50%;transform:translateX(-50%);height:4rem;margin:0;gap:0.25rem;align-items:center;white-space:nowrap;z-index:21}#navbar div:has(>.nav-tabs){height:0;padding:0}#navbar .nav-tabs-item{height:2.25rem;padding-inline:1rem;border-radius:9999px}#navbar .nav-tabs-item[data-active=\"true\"]{background:rgb(0 0 0 / 0.045)}#navbar .nav-tabs-item>div{display:none}#navbar div:has(>#search-bar-entry){flex:none;margin-left:auto}#navbar div:has(>nav[aria-label=\"Main\"]){flex:none;margin-left:0}#search-bar-entry,#assistant-entry{width:2.25rem;height:2.25rem;padding:0;justify-content:center;border-radius:9999px}#search-bar-entry [data-search-item=\"trigger-label\"],#search-bar-entry [data-search-item=\"trigger-hint\"],#assistant-entry>span{display:none}}@media (min-width: 1024px) and (max-width: 1199px){#navbar nav[aria-label=\"Main\"] .navbar-link{display:none}}"}]}
{"page":{"pagePath":"api/v2/agents-preview","slug":"/api/v2/agents-preview","pageMetadata":{"title":"Preview agent message","description":"Preview a single message against an agent before sending.","api":"POST https://revor.ai/api/v2/agents/preview","authMethod":"bearer","playground":"simple","keywords":["Revor AI","API v2","Preview agent message"],"href":"/api/v2/agents-preview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Preview a single message against an agent before sending.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,ParamField,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Preview a single message against an agent configuration before sending.`}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Method`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Path`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/api/v2/agents/preview`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Permission`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agents:write`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Idempotency`}),_jsxs(_components.td,{children:[`Required (`,_jsx(_components.code,{children:`Idempotency-Key`}),` header)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rate limit`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`expensive_create`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Returns`}),_jsxs(_components.td,{children:[`Public job (poll `,_jsx(_components.code,{children:`GET /api/v2/jobs/{id}`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsx(_components.p,{children:`UUID of the agent to preview against.`})}),`\n`,_jsx(ParamField,{body:`channel`,type:`string`,required:true,id:`param-channel`,children:_jsxs(_components.p,{children:[`One of `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`linkedin`}),`, or `,_jsx(_components.code,{children:`whatsapp`}),`.`]})}),`\n`,_jsx(ParamField,{body:`locale`,type:`string`,id:`param-locale`,children:_jsxs(_components.p,{children:[`Defaults to `,_jsx(_components.code,{children:`en`}),`.`]})}),`\n`,_jsx(ParamField,{body:`lead`,type:`object`,id:`param-lead`,children:_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`company`}),`. Either `,_jsx(_components.code,{children:`lead`}),` or `,_jsx(_components.code,{children:`lead_cursor`}),` must be supplied, but not both.`]})}),`\n`,_jsx(ParamField,{body:`lead_cursor`,type:`string`,id:`param-lead-cursor`,children:_jsx(_components.p,{children:`An existing preview contact cursor. Ownership is checked.`})}),`\n`,_jsx(ParamField,{body:`research_enabled`,type:`boolean`,id:`param-research-enabled`,children:_jsx(_components.p,{children:`Omitted uses the agent’s saved preview research toggle.`})}),`\n`,_jsx(ParamField,{body:`config`,type:`object`,id:`param-config`,children:_jsx(_components.p,{children:`Optional overrides applied only to this request.`})}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`18`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://revor.ai/api/v2/agents/preview\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk-revor-REPLACE_ME\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: preview-msg-001\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"agent-uuid\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"channel\": \"email\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"locale\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lead\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Alice\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Purchasing Manager\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"company\": \"Example Manufacturing\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"research_enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"send_language\": \"en\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`config-overrides`,children:`Config overrides`}),`\n`,_jsxs(_components.p,{children:[`The saved agent configuration is the base. Optional `,_jsx(_components.code,{children:`config`}),` overrides apply only to this request and are not saved.`]}),`\n`,_jsx(Accordion,{title:`All supported override fields`,id:`all-supported-override-fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`active_system_prompt`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`active_goal_prompt`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`active_reference_template`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`reference_template_strict`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`extra_context`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_name`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_title`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_company`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_company_website`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_company_summary`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`sender_bio`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`send_language`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`style_tags`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`content_generation_mode`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`content_input`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`goal_type`})}),`\n`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Preview does not publish the agent, send messages, or change the generation version.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:`202`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_xxx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"item\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"job-uuid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"queued\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent_preview\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`result`,children:`Result`}),`\n`,_jsxs(_components.p,{children:[`Successful `,_jsx(_components.code,{children:`item.result`}),` contains:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`agent_id`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`channel`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`messages`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`research_run_id`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`agent_version`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`item.billing`}),` contains the billing result. Email messages retain `,_jsx(_components.code,{children:`subject`}),` and `,_jsx(_components.code,{children:`text`}),`.`]}),`\n`,_jsx(_components.p,{children:`Cancellation is allowed only before the first execution, not while waiting for retries.`}),`\n`,_jsx(Heading,{level:`3`,id:`behavior`,children:`Behavior`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Agent ownership and cursor ownership are checked.`}),`\n`,_jsx(_components.li,{children:`Ordinary generation consumes one ordinary outreach allowance unit.`}),`\n`,_jsx(_components.li,{children:`Research generation consumes one research outreach unit, including research and writing, without an additional ordinary unit.`}),`\n`,_jsx(_components.li,{children:`Meta WhatsApp templates reuse the existing template result and consume an ordinary unit.`}),`\n`,_jsx(_components.li,{children:`Confirmed generation failures refund the reservation.`}),`\n`,_jsx(_components.li,{children:`Unknown outcomes retain the original billing batch for recovery without regenerating or assuming a refund.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`external_api_preview_input_invalid`})}),_jsx(_components.td,{children:`Invalid input`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`permission_denied`})}),_jsx(_components.td,{children:`Missing required permission`})]})]})]}),`\n`,_jsx(_components.p,{children:`Ownership, allowance, and generation failures surface in the asynchronous job error.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Preview agent message","description":"Preview a single message against an agent before sending.","api":"POST https://revor.ai/api/v2/agents/preview","authMethod":"bearer","playground":"simple","keywords":["Revor AI","API v2","Preview agent message"],"href":"/api/v2/agents-preview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[{"title":"Config overrides","slug":"config-overrides","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Result","slug":"result","depth":3,"children":[]},{"title":"Behavior","slug":"behavior","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Preview agent message","path":"/api/v2/agents/preview","servers":[{"url":"https://revor.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"agent_id":[{"type":"string","description":"UUID of the agent to preview against.","required":true}],"channel":[{"type":"string","description":"One of `email` , `linkedin` , or `whatsapp` .","required":true}],"locale":[{"type":"string","description":"Defaults to `en` ."}],"lead":[{"type":"object","properties":{},"description":"Requires `company` . Either `lead` or `lead_cursor` must be supplied, but not both."}],"lead_cursor":[{"type":"string","description":"An existing preview contact cursor. Ownership is checked."}],"research_enabled":[{"type":"boolean","description":"Omitted uses the agent’s saved preview research toggle."}],"config":[{"type":"object","properties":{},"description":"Optional overrides applied only to this request."}]}}],"examples":{"example":{"value":{"agent_id":"\u003cstring>","channel":"\u003cstring>","locale":"\u003cstring>","lead":{},"lead_cursor":"\u003cstring>","research_enabled":true,"config":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/revor-ai/8feeda43196be2b9/revor-favicon.js"],"subdomain":"revor-ai","siteName":"REVOR AI Docs","title":"Preview agent message - REVOR AI Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/v2/agents-preview","matchLevel":0},"cn":{"href":"/cn/api/v2/agents-preview","matchLevel":1}}},"lastModified":"2026-11-24T14:05:46.939Z","originalFileLocation":"api/v2/agents-preview.mdx","locale":"en"},"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=\"Preview a single message against an agent before sending.\">\u003cmeta data-mint-head name=\"application-name\" content=\"REVOR AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_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=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Preview agent message - REVOR AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Preview a single message against an agent before sending.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"REVOR AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revor-ai.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=Preview+agent+message\u0026amp;description=Preview+a+single+message+against+an+agent+before+sending.\u0026amp;theme=d7a6a35c2524d2f460e41128\u0026amp;signature=c0f58ddc097ff5635bd54a77bb82854b4adbba3298e02b029d772aed2fad0839\">\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=\"Preview agent message - REVOR AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Preview a single message against an agent before sending.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revor-ai.mintlify.site/docs/_mintlify/api/og/v2?division=Agents\u0026amp;title=Preview+agent+message\u0026amp;description=Preview+a+single+message+against+an+agent+before+sending.\u0026amp;theme=d7a6a35c2524d2f460e41128\u0026amp;signature=c0f58ddc097ff5635bd54a77bb82854b4adbba3298e02b029d772aed2fad0839\">\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=\"/docs/mintlify-assets/_mintlify/favicons/revor-ai/41odBN-Yve5uQ_Zx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"REVOR AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A548EE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api/v2/agents-preview.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://revor-ai.mintlify.dev/docs/cn/api/v2/agents-preview\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://revor-ai.mintlify.dev/#organization\",\"name\":\"REVOR AI Docs\",\"url\":\"https://revor-ai.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/revor-ai/CE8Bfke7by555FCt/images/%E6%A8%AA%E6%8E%92%E7%BB%84%E5%90%88.png?fit=max\u0026auto=format\u0026n=CE8Bfke7by555FCt\u0026q=85\u0026s=d9680a7d6f451eeee322bb43e6143601\"}},{\"@type\":\"WebSite\",\"@id\":\"https://revor-ai.mintlify.dev/docs#website\",\"name\":\"REVOR AI Docs\",\"url\":\"https://revor-ai.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://revor-ai.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview#webpage\",\"url\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\",\"name\":\"Preview agent message\",\"description\":\"Preview a single message against an agent before sending.\",\"dateModified\":\"2026-11-24T14:05:46.939Z\",\"isPartOf\":{\"@id\":\"https://revor-ai.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Preview agent message\",\"item\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview#apireference\",\"headline\":\"Preview agent message\",\"name\":\"Preview agent message\",\"description\":\"Preview a single message against an agent before sending.\",\"url\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview\",\"mainEntityOfPage\":{\"@id\":\"https://revor-ai.mintlify.dev/docs/api/v2/agents-preview#webpage\"},\"dateModified\":\"2026-11-24T14:05:46.939Z\",\"keywords\":\"Revor AI, API v2, Preview agent message\",\"publisher\":{\"@id\":\"https://revor-ai.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://revor-ai.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"REVOR AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"REVOR AI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api/v2/agents-preview.md","siteName":"REVOR AI Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"API","groups":[{"group":"Getting started","pages":[{"title":"Get started","href":"/api/v2/overview"},{"title":"Prospect imports, table research and smart outreach","sidebarTitle":"Imports, research and outreach workflow","href":"/api/v2/prospect-workflow"},{"title":"Rate limits, concurrency, and retries","href":"/api/v2/rate-limits"},{"title":"Check credit balance","api":"GET https://revor.ai/api/v2/credits","playground":"simple","href":"/api/v2/credits"},{"title":"Get an asynchronous job","api":"GET https://revor.ai/api/v2/jobs/{id}","playground":"simple","href":"/api/v2/jobs"}]},{"group":"Prospect lists","pages":[{"title":"Prospect discovery","href":"/api/v2/targets"},{"title":"Create a prospect list","api":"POST https://revor.ai/api/v2/prospect-lists","playground":"simple","href":"/api/v2/websets-create"},{"title":"List prospect lists","api":"GET https://revor.ai/api/v2/prospect-lists","playground":"simple","href":"/api/v2/websets-list"},{"title":"Get a prospect list","api":"GET https://revor.ai/api/v2/prospect-lists/{webset_id}","playground":"simple","href":"/api/v2/websets-detail"},{"title":"Get discovery criteria and strategy","api":"GET https://revor.ai/api/v2/prospect-lists/{webset_id}/search-plan","playground":"simple","href":"/api/v2/websets-strategy"},{"title":"List prospect items","api":"GET https://revor.ai/api/v2/prospect-lists/{webset_id}/prospects","playground":"simple","href":"/api/v2/websets-items"},{"title":"Stream prospect items","api":"GET https://revor.ai/api/v2/prospect-lists/{webset_id}/prospects/stream","playground":"simple","href":"/api/v2/websets-items-stream"},{"title":"Find more prospects","api":"POST https://revor.ai/api/v2/prospect-lists/{webset_id}/expand","playground":"simple","href":"/api/v2/websets-find-more"},{"title":"Stream a Find More operation","api":"GET https://revor.ai/api/v2/prospect-lists/{webset_id}/expand/stream","playground":"simple","href":"/api/v2/websets-find-more-stream"},{"group":"Imports","pages":[{"title":"Create import","api":"POST https://revor.ai/api/v2/imports","playground":"simple","href":"/api/v2/workflow-imports-create"},{"title":"Complete file import","api":"POST https://revor.ai/api/v2/imports/{runId}/complete","playground":"simple","href":"/api/v2/workflow-imports-complete"},{"title":"Get import status","api":"GET https://revor.ai/api/v2/imports/{runId}","playground":"simple","href":"/api/v2/workflow-imports-get"}]}]},{"group":"Search and research","pages":[{"group":"Company and people search","pages":[{"title":"Company and people search","sidebarTitle":"Overview","href":"/api/v2/search"},{"title":"Search companies","api":"POST https://revor.ai/api/v2/search/companies","playground":"simple","href":"/api/v2/search-companies"},{"title":"Search people","api":"POST https://revor.ai/api/v2/search/people","playground":"simple","href":"/api/v2/search-people"}]},{"group":"Public web and contacts","pages":[{"title":"Public-web and company-contact search","sidebarTitle":"Overview","href":"/api/v2/research"},{"title":"Research public web","api":"POST https://revor.ai/api/v2/research/public-web","playground":"simple","href":"/api/v2/research-public-web"},{"title":"Research company contacts","api":"POST https://revor.ai/api/v2/research/contacts","playground":"simple","href":"/api/v2/research-contacts"}]},{"group":"Table research","pages":[{"title":"List research columns","api":"GET https://revor.ai/api/v2/websets/{websetId}/research/columns","playground":"simple","href":"/api/v2/workflow-research-columns"},{"title":"Start research run","api":"POST https://revor.ai/api/v2/websets/{websetId}/research/runs","playground":"simple","href":"/api/v2/workflow-research-start"},{"title":"Get research run","api":"GET https://revor.ai/api/v2/websets/{websetId}/research/runs/{runId}","playground":"simple","href":"/api/v2/workflow-research-get"}]},{"group":"Table contacts","pages":[{"title":"Get contacts","api":"GET https://revor.ai/api/v2/websets/{websetId}/items/{itemId}/contacts/{fieldKey}","playground":"simple","href":"/api/v2/workflow-contacts-get"},{"title":"Update contacts","api":"PATCH https://revor.ai/api/v2/websets/{websetId}/items/{itemId}/contacts/{fieldKey}","playground":"simple","href":"/api/v2/workflow-contacts-update"}]}]},{"group":"Customs trade data","pages":[{"title":"Customs trade data API","sidebarTitle":"Overview","href":"/api/v2/customs"},{"title":"Find customs company candidates","api":"POST https://revor.ai/api/v2/customs/company-candidates","playground":"simple","href":"/api/v2/customs-company-candidates"},{"title":"Discover companies by trade","api":"POST https://revor.ai/api/v2/customs/companies/search","playground":"simple","href":"/api/v2/customs-companies-search"}]},{"group":"Agents","pages":[{"title":"Agent configuration and channel bindings","sidebarTitle":"Overview","href":"/api/v2/agents"},{"title":"List agents","api":"GET https://revor.ai/api/v2/agents","playground":"simple","href":"/api/v2/agents-list"},{"title":"Get agent","api":"GET https://revor.ai/api/v2/agents/{agentId}","playground":"simple","href":"/api/v2/agents-get"},{"title":"Update agent","api":"PATCH https://revor.ai/api/v2/agents/{agentId}","playground":"simple","href":"/api/v2/agents-update"},{"title":"Create agent from website","description":"Create a draft agent from a company website.","api":"POST https://revor.ai/api/v2/agents/from-website","playground":"simple","href":"/api/v2/agents-from-website"},{"title":"Preview agent message","api":"POST https://revor.ai/api/v2/agents/preview","playground":"simple","href":"/api/v2/agents-preview"},{"title":"Bind channel","description":"Bind or rebind a channel to an agent.","api":"PUT https://revor.ai/api/v2/agents/{agentId}/channel-bindings/{channel}","playground":"simple","href":"/api/v2/agents-bind-channel"},{"title":"Unbind channel","api":"DELETE https://revor.ai/api/v2/agents/{agentId}/channel-bindings/{channel}","playground":"simple","href":"/api/v2/agents-unbind-channel"},{"title":"Get sequence","api":"GET https://revor.ai/api/v2/agents/{agentId}/sequence","playground":"simple","href":"/api/v2/agents-sequence-get"},{"title":"Update sequence","api":"PUT https://revor.ai/api/v2/agents/{agentId}/sequence","playground":"simple","href":"/api/v2/agents-sequence-update"},{"title":"Generate sequence round content","api":"POST https://revor.ai/api/v2/agents/{agentId}/sequence/generate","playground":"simple","href":"/api/v2/agents-sequence-generate"},{"title":"Preview sequence follow-up","api":"POST https://revor.ai/api/v2/agents/{agentId}/sequence/preview","playground":"simple","href":"/api/v2/agents-sequence-preview"}]},{"group":"Outreach","pages":[{"group":"Smart outreach","pages":[{"title":"Get outreach plan","api":"GET https://revor.ai/api/v2/websets/{websetId}/smart-outreach","playground":"simple","href":"/api/v2/workflow-outreach-get"},{"title":"Start outreach","api":"POST https://revor.ai/api/v2/websets/{websetId}/smart-outreach/start","playground":"simple","href":"/api/v2/workflow-outreach-start"},{"title":"Stop outreach","api":"POST https://revor.ai/api/v2/websets/{websetId}/smart-outreach/stop","playground":"simple","href":"/api/v2/workflow-outreach-stop"},{"title":"Batch outreach statuses","api":"POST https://revor.ai/api/v2/websets/{websetId}/smart-outreach/statuses","playground":"simple","href":"/api/v2/workflow-outreach-statuses"},{"title":"Get outreach item targets","api":"GET https://revor.ai/api/v2/websets/{websetId}/smart-outreach/items/{itemId}","playground":"simple","href":"/api/v2/workflow-outreach-item"},{"title":"Get outreach draft","api":"GET https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}","playground":"simple","href":"/api/v2/workflow-outreach-draft-get"},{"title":"Update outreach draft","api":"PATCH https://revor.ai/api/v2/websets/{websetId}/smart-outreach/drafts/{targetId}","playground":"simple","href":"/api/v2/workflow-outreach-draft-update"}]},{"group":"One-off outreach","pages":[{"title":"List Connect accounts","api":"GET https://revor.ai/api/v2/connect/accounts","playground":"simple","href":"/api/v2/connect-accounts"},{"title":"Send one outreach message","api":"POST https://revor.ai/api/v2/outreach/dispatches","playground":"simple","href":"/api/v2/outreach-dispatches"},{"title":"Find and like a relevant LinkedIn post","api":"POST https://revor.ai/api/v2/outreach/linkedin/post-likes","playground":"simple","href":"/api/v2/linkedin-post-likes"}]}]}]}]},{"language":"cn","navbar":{"links":[{"href":"mailto:support@revor.ai","label":"联系支持"}],"primary":{"type":"button","label":"使用 Revor AI","href":"https://revor.ai/console"}},"pages":[{"title":"cn","href":"/cn/api/v2/agents-preview"}]}]},"basePath":"","title":"Preview agent message - REVOR AI Docs","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CqAH5gmw.js","snippetPresets-BJgunkn7.js","utils-2nvZyCRg.js","style-to-object-BY3JEAdk.js","utils-Dg_ccOpq.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Dx13yQ3Z.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BF2bK8_8.js","_Uint8Array-CroFGttd.js","isObject-FP1Yky1u.js","ApiExamples-DVMMKE_5.js","usePlaygroundInputsStore-CZqNhEOQ.js","shallow-lVKuG6ys.js","isEqual-BtwhVrrv.js","CodeSnippets-D1j3p1Ld.js","CodeSnippet-DZ0X6n6h.js","use-playground-group-access-CHc7bwGD.js","Page-Dsa0ree3.js","api-description-markdown-D8YljcAx.js","DynamicMarkdown-BpzBQATn.js","SectionHeading-DbMHVbf0.js","MethodPill-Bw-UUkE7.js","getPastedJson-DSpdmJSt.js","Check2Icon-CQQrmKnL.js","axios-CsQoIw0U.js"]}