Skip to content
Follow yggy on LinkedInFollow @yggy_tech on X

Details of a notes graph node

GET
/api/v1/saga/graph/nodes/{id}/details
curl --request GET \
--url https://api.yggy.tech/api/v1/saga/graph/nodes/example/details \
--header 'Authorization: Bearer <token>'

Other names, dates, readable facts, 20 relations (those of the note it was opened from first, then the most confirmed, then the newest) and the newest 20 notes that mention it. Counts from a capped read carry a flag saying more may exist.

id
required

Graph node id

string
>= 1 characters <= 64 characters /^0x[0-9a-f]+$/i/

Graph node id

note

The note the details were opened from; its relations are listed first.

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i/

The note the details were opened from; its relations are listed first.

Node details

Media type application/json
object
id
required
string
label
required
string
type
required
string
degree
integer
aliases
required

Other names of the same thing.

Array<string>
createdAt
string
updatedAt
string
firstNote

The note it was first noted in, only when its date agrees with when the thing was stored.

object
id
required
string
title
required
string
notes
required

The newest notes that mention it, at most 20.

Array<object>
object
id
required
string
title
required
string
createdAt
string
noteCount
required
integer
notesMore
required

More notes mention it than are listed, or the read hit a cap.

boolean
hasSources
required

False when no live note backs this node.

boolean
dataPoints
required

Facts a person can read; identifiers, links and secret-shaped values are left out.

Array<object>
object
property
required
string
value
required
string
datatype
required
string
relations
required

The newest relations, at most 20.

Array<object>
object
id
required
string
predicate
required
string
direction
required

Out: this node is the subject.

string
Allowed values: out in
other
required
object
label
required
string
mark

Said in one note, in more than one, or flagged as in conflict.

string
Allowed values: new confirmed contradicts
relationCount
required

Relations listed.

integer
relationsMore
required

More relations exist than are listed.

boolean
Example
{
"relations": [
{
"direction": "out",
"mark": "new"
}
]
}

Not a yggy notes workspace

Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{
"success": false
}

No such node in this workspace

Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{
"success": false
}

Too many graph requests

Media type application/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
details
Example
{
"success": false
}