Start reading the notes saved without credits
POST
/api/v1/saga/notes/analyse-stored
const url = 'https://api.yggy.tech/api/v1/saga/notes/analyse-stored';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.yggy.tech/api/v1/saga/notes/analyse-stored \ --header 'Authorization: Bearer <token>'Starts analysis of the caller’s notes and attached files that were saved while the account had no credits, oldest first, at most as many as the credits left. Without credits nothing starts and queued is 0.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Started and waiting notes
Media type application/json
object
queued
required
Notes and files that started now
integer
remaining
required
Notes and files that still wait for credits
integer
Example generated
{ "queued": 1, "remaining": 1}Not a yggy notes workspace
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}