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

Create a personality

POST
/v1/ai-agents/library/personalities

Saves a personality, up to 20 per workspace. 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_....

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 new personality.

application/json
  1. response
data?
curl -X POST 'https://api.eksis.io/v1/ai-agents/library/personalities' \  -H 'Authorization: Bearer eksis_sk_...' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "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"  }}