Atmee.aiDocs
APIAPI referenceAvatars

Get the conductor

GET
/v1/avatars/{avatarId}/conductor

Returns a v2 avatar's conductor as saved: the whole graph and speakAfterS. GET /v1/avatars/{avatarId} only reports whether one is set and its node count.

Authorization

headerX-Api-Key<token>

Your secret API key (sk_atmee_...; older keys start sk_live_), sent as X-Api-Key. Keep it on your server and never send it to a browser.

Path Parameters

avatarId*string
Formatuuid

Response Body

The conductor.

application/json
  1. response
avatarId*string
Formatuuid
graph*

The steps of the conversation (nodes) and the one it starts in (start). Every node must be reachable from start. Only start, nodes and reasoning are accepted.

speakAfterS?number

As set; absent when it was not (the default, 0.5, applies).

Formatdouble
nodes*integer

The graph's node count.

edges*integer

The graph's edge count, all nodes together.

Example Request
curl -X GET 'https://api.atmanity.us/v1/avatars/497f6eca-6276-4993-bfeb-53cbbbba6f08/conductor'
Example Response
{  "avatarId": "ac572b6e-802b-4b9e-a602-0786d4441e67",  "graph": {    "start": "string",    "nodes": [      {        "id": "string",        "instructions": "string",        "edges": [          {            "to": "string",            "when": "string",            "weight": 0.1,            "speak": true          }        ],        "random": true,        "emotion": "string",        "role_play": true,        "languages": [          "string"        ],        "replan": true      }    ],    "reasoning": null  },  "speakAfterS": 0.1,  "nodes": 0,  "edges": 0}