Get an avatar's copy options
What a copy of this avatar (POST /v1/avatars/{avatarId}/duplicate)
may bring along and where it may go: whether its knowledge may come
(and how many files and facts it has) and its integrations (how
many), and the accounts it may be copied into, each with why not
when it may not and whether the knowledge may come along there
(knowledgeAllowed). Owners and admins may copy the account's
avatars into their other accounts; a plain member may too when the
owner lets anyone copy the avatar, and then brings its knowledge
only if the owner shares it. Integrations come along only into the
source's own account; conversation memory never comes along. A signed-in user
may ask about its own avatars and about another account's avatar
its owner lets others copy; an API key about its own account's
avatars, with that account as the only target. Any other avatar is 404 avatar_not_found. Each target is
judged on the engine the copy would be made on: engine as
duplicate would take it, absent for the source's.
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*stringuuidengine?stringThe engine the copy would be made on (v1 or v2Creating Atmee V2 HD avatars needs Growth and up; V2 HD avatars you already have keep working. See pricing. , or v2hd; v2pro is read as v2hd), whose plan gate each target must pass; absent is the source's.
"v1""v2""v2hd""v2pro"The copy options.
application/json- response
relation*stringown: an avatar of one of your accounts. public: another account's avatar its owner lets others copy.
"own""public"knowledge*integrations*allowed is for a copy into the source's own account; they never come along into another.
targets*array<>The accounts the copy may go to (an API key's own only), each with whether it may and why not.
curl -X GET 'https://api.atmanity.us/v1/avatars/497f6eca-6276-4993-bfeb-53cbbbba6f08/copy-options'{ "relation": "own", "knowledge": { "allowed": true, "files": 0, "facts": 0 }, "integrations": { "allowed": true, "count": 0 }, "targets": [ { "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "name": "string", "kind": "string", "allowed": true, "knowledgeAllowed": true, "reason": "string", "requiredPlan": "pro" } ]}
