This sends an agent to build a dataset with a specific data schema
A JSON schema to extract against
An in-progress result, which you can retrieve later with /result/{result_id}
"started"
true
const response = await fetch('https://api.jsonify.com/api/v2/dataset/start?query=text', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "name": "<the users name>", "company": "<the users company>" }), }); const data = await response.json();
{ "message": "started", "result": { "id": "e4ab8b5b-45bd-4e0f-8abb-5ce8a4db255e" }, "success": true }