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/
const url = 'https://example.com/datanotes/sessions/identify/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"session":"example","model":"example","harness":"example"}'};
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://example.com/datanotes/sessions/identify/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "session": "example", "model": "example", "harness": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
session
required
string
model
string
harness
string
Example generated
{ "session": "example", "model": "example", "harness": "example"}Responses
Section titled “Responses”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"}