Skip to main content
POST
Upload File

Authorizations

Authorization
string
header
required

Company API Key

Body

File upload options - text content, file upload, or URLs for web scraping

agent_id
string
required

ID of the agent

text
string

Text content (for text upload option)

name
string

Name of the file (required when using text option)

urls
string

Newline-separated URLs for web scraping (for web scraping option)

Response

File uploaded successfully