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

string

The sitemap path

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.

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.

files[]
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