Skip to content

Tell the engine the model and harness behind an agent session (what an MCP server reports): later requests carrying that session in `X-Datanotes-Actor` are journaled with it. Any token may call it.

POST
/datanotes/sessions/identify/
curl --request POST \
--url https://example.com/datanotes/sessions/identify/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "session": "example", "model": "example", "harness": "example" }'
Media typeapplication/json
object
session
required
string
model
string
harness
string

Example generated

{
"session": "example",
"model": "example",
"harness": "example"
}

Done.

Media typeapplication/json
object
ok
boolean

Example

{
"ok": true
}

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"
}

Unexpected error.

Media typeapplication/json
object
error
required

What went wrong, for a person or an agent.

string

Example generated

{
"error": "example"
}