Create an agent with data ingestion in a single API call.
This endpoint:
Request Format:
Example agent_json:
{
"name": "My AI Assistant",
"description": "An AI assistant with access to my documents",
"steps": ["Analyze the query", "Search knowledge base", "Provide helpful response"],
"instructions": "You are a helpful AI assistant. Use the knowledge base to answer questions accurately.",
"sources": [
{
"type": "file",
"name": "My Documents"
},
{
"type": "web",
"name": "Company Documentation",
"web_config": {
"url": "https://docs.company.com",
"web_connector_type": "recursive",
"mintlify_cleanup": true
}
}
]
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.