Skip to content

The semantic search index: `enabled`, `provider`, `model`, `files`, `passages`, `pending`,

POST
/datanotes/operations/describe_semantic_index/
curl --request POST \
--url https://example.com/datanotes/operations/describe_semantic_index/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

The semantic search index: enabled, provider, model, files, passages, pending, running, last_sync, last_error. sync_semantic_index brings it up to date.

X-Datanotes-View-As
string

Owner only, on reads only (an operation that only reads, tokens/me/, extensions/, the change stream): the request runs with this named token’s permissions and read scope, and the token’s last_seen does not change. A named token sending it gets 403; a request that is not a read gets 400.

Media typeapplication/json
object

Example generated

{}

Done.

Media typeapplication/json
SemanticStatus

State of the semantic index (action status).

object
enabled
required
boolean
provider
required
string
model
required
string
files
required

Notes indexed.

integer
passages
required

Passages indexed.

integer
pending
required

Notes waiting to be (re)embedded.

integer
running
required

An update is running.

boolean
last_sync
string
last_error
string

Example generated

{
"enabled": true,
"provider": "example",
"model": "example",
"files": 1,
"passages": 1,
"pending": 1,
"running": true,
"last_sync": "example",
"last_error": "example"
}

Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.

Media typeapplication/json
object
error
required

What went wrong, for a person or an agent.

string

Example generated

{
"error": "example"
}

Missing or wrong bearer token.

Media typeapplication/json
object
error
required

What went wrong, for a person or an agent.

string

Example generated

{
"error": "example"
}

A named token whose read patterns do not cover the table, view or note the request names (such as token cook may not read personal.health.weight). Sets it did not name (listings, bases, search, the graph, the change feed) are filtered instead.

Media typeapplication/json
object
error
required

What went wrong, for a person or an agent.

string

Example generated

{
"error": "example"
}

Unexpected error.

Media typeapplication/json
object
error
required

What went wrong, for a person or an agent.

string

Example generated

{
"error": "example"
}