Create an agent.

Creates a new agent by importing content from a sitemap URL or uploading a file. The imported content becomes the agent's knowledge base, which it uses to answer questions. The agent will begin processing the content immediately after creation.

Notes: Processing time depends on the amount of content. Check the agent's status to know when it's ready.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Create a new agent from a sitemap or a file

string

Agent name

boolean
Defaults to false

Whether this agent is a master agent. Can only be set at creation time — cannot be changed afterwards.

string

Supports YouTube, Vimeo, sitemaps, and websites.

boolean

File data retension

integer
enum

OCR processing mode: 0 = Disabled, 1 = OCR enabled, 2 = AI Vision

Allowed:
boolean

Anonymized

boolean

Whether to enable vision processing for images in the file source.

boolean

Whether to compress images for vision processing.

boolean
Defaults to false

Whether to enable Plan & Act mode for this agent. Defaults to false.

file

Single file upload. Discouraged - use files[] instead for new integrations.

files[]
array of files

Multiple file uploads. Submit each file as a separate files[] part in multipart/form-data. Up to 50 files per request, max 100MB each, max 1GB total batch size.

boolean
Defaults to false

Use a lower-performance crawl mode that is less likely to be blocked by websites with aggressive bot protection.

boolean
Defaults to false

Allow extra processing time when crawling slow or large sources.

boolean
Defaults to false

Crawl every URL discovered on the site rather than relying solely on the sitemap.

string
enum

The method used for extracting images from the website.

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json