The API reference moved here from eksis.io/developers.
AI Agents

Change a personality

PATCH
/v1/ai-agents/library/personalities/{personalityId}

Changes only what you send; persona merges into what is saved. Every agent that uses it, active ones included, answers with the change from the next message. Needs the admin role. Needs AI Agent on the workspace's account; without it the endpoint answers 404 feature.unavailable.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Path Parameters

personalityId*string

Request Body

application/json
  1. body
name?string
Length1 <= length <= 60
description?string
Lengthlength <= 200
persona?

Keys you leave out keep their saved value, or the default on a new personality.

Response Body

The personality after the change.

application/json
  1. response
data?
curl -X PATCH 'https://api.eksis.io/v1/ai-agents/library/personalities/string' \  -H 'Authorization: Bearer eksis_sk_...' \  -H 'Content-Type: application/json' \  -d '{}'
{  "data": {    "id": "string",    "name": "string",    "description": "string",    "persona": {      "greeting": "string",      "language": "match",      "styles": [        "friendly"      ],      "vary": true,      "variation": "low",      "noRepeat": true,      "varyDm": true,      "disclose": true    },    "usedBy": [      {        "id": "string",        "name": "string"      }    ],    "updatedAt": "2019-08-24T14:15:22Z"  }}