Get the conductor
GET
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.
header
X-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.
avatarId*stringFormat
uuidThe conductor.
application/json- response
avatarId*stringFormat
uuidgraph*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?numberAs set; absent when it was not (the default, 0.5, applies).
Format
doublenodes*integerThe graph's node count.
edges*integerThe graph's edge count, all nodes together.
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}
