v1

Declare Name

Declare that this end user is also called name.

The store never merges two names of a person by itself: two people can share a name, and a merge it guessed wrong would close one person's facts with another's. This is the declaration that does it. From now on a fact written about name in this end user's memory is a fact about the end user, and the facts already written about name are read so at once (their written words stay as they were). It is the alias the dashboard makes (POST /admin/aliases), for the key's project and this end user.

end_user is the user_id exactly as written, percent-encoded as one path segment. Declaring the same name again answers the same. 409 when name is already declared for somebody else in this memory, 422 when it is not a name.

There is no undo here: DELETE /admin/aliases/{id} removes the alias, and the facts take back the names their words give; two open facts it merged stay one, and a plan it closed stays closed.

post/v1/users/{end_user}/names

Request

  • Base URL: https://api.korely.ai
  • URL: https://api.korely.ai/v1/users/{end_user}/names
  • Auth: HTTP bearer

Path parameters

end_userstring required

Request body

namestring required

Another name of the end user, as the memories write it: a full name ("Maria Rossi") for the id maria.

agent_idstring nullable

The agent namespace whose memory the name is declared in; none for the end user's own memory.

Response

Successful Response

user_idstring required
namestring required
agent_idstring nullable
sincestring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.