cURL
curl --request POST \ --url https://api.weav.com/v1/training-data \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "text", "content": "<string>", "title": "<string>", "description": "<string>", "agent_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "text", "source": "<string>", "title": "<string>", "description": "<string>", "slug": "<string>", "is_processed": true, "status": "queued", "training_folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Supported types:
metadata
Workspace API token. Include abilities external-api:read and/or external-api:write.
external-api:read
external-api:write
text
255
Training data created
url
file
video
qa
queued
processing
completed
failed