Start reading one note saved without credits
POST
/api/v1/saga/notes/{id}/analyse
const url = 'https://api.yggy.tech/api/v1/saga/notes/example/analyse';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/example/analyse \ --header 'Authorization: Bearer <token>'Starts analysis of one of the caller’s notes when it was saved without credits, then of each of its files saved the same way, oldest first, at most as many as the credits left. A note with nothing waiting answers 0 and 0.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Started and waiting documents of the note
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" }}Note not found
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" }}