cURL
curl --request POST \ --url https://api.weav.com/v1/training-data/url/process \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "urls": [ "<string>" ], "title": "<string>", "agent_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "auto_resync": true } '
{ "success": true, "training_data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "slug": "<string>", "status": "<string>" }, "urls_count": 123 }
Creates URL training data from the provided URLs. In production, URL processing jobs are queued and run asynchronously.
Workspace API token. Include abilities external-api:read and/or external-api:write.
external-api:read
external-api:write
1
255
URLs accepted for processing
Show child attributes