cURL
curl --request POST \ --url https://www.citedy.com/api/agent/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "content": "<string>", "source_type": "upload", "source_name": "<string>", "source_url": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "source_type": "<string>", "chunks_count": 1, "chunks_failed": 1, "partial": true, "token_count": 1 }
Bearer citedy_agent_* key
1 - 500
1 - 500000
upload
url
manual
500
2000
Document uploaded and embedded
x >= 0