cURL
curl --request POST \ --url https://app.phonely.ai/api/agent-websites \ --header 'Content-Type: application/json' \ --header 'X-Authorization: <api-key>' \ --data '{ "uid": "<string>", "agentId": "<string>", "url": "<string>", "limit": 5, "maxDepth": 1, "excludePaths": [ "<string>" ], "includePaths": [ "<string>" ] }'
{ "message": "<string>" }
Crawl and add websites to an agent’s knowledge base. Supports customizable crawling parameters including depth limit, URL filtering, and page limits.
Websites added successfully
The response is of type object.
object