Skip to main content

FAQ

Common questions about avatars, authentication, documents, and limits.

Getting started​

Do I need to train an avatar before I can build anything?

No. Stock avatars are pre-trained and ready immediately, and they hold conversations through the same API as custom ones. Start with GET /v1/avatars/stock and swap in a custom avatar later by changing the avatar_id you pass. The difference is ownership: a stock avatar is shared, so PATCH, retrain, and delete are refused on it — changing its voice, model, or persona means training an avatar of your own.

Why doesn't GET /v1/avatars show the stock avatars?

GET /v1/avatars returns only avatars you created. Use GET /v1/avatars/stock for the shared pre-trained set. There is no endpoint returning both — call each and merge. This catches most people once.

Is there a sandbox or test mode?

Not a separate one. Use a stock avatar and a throwaway account — stock avatars need no training, so there is no cost to experimenting.

Authentication​

Do the API keys in the dashboard work?

Yes. Keys created under API in the dashboard are the only way to authenticate the public API — send one as the X-Api-Key header. Earlier versions of these docs said otherwise, because the screen predated the backend that now issues real keys. See Authentication.

Does my API key expire?

No. An API key stays valid until you revoke it in the dashboard, and revocation takes effect on the next request. There is nothing to refresh. If calls suddenly fail with invalid_api_key, the key was revoked or the one you are sending is not the whole secret. (A valid key from a different account does not fail this way — it authenticates, and your resources read as 404.)

What's the difference between an API key and a session token?

Your API key authenticates every /v1/ request and does not expire — it is valid until you revoke it. A session token is minted for you inside conversation_url when you create a conversation, is scoped to that one conversation, and lasts 60 minutes. You never request a session token directly.

Can I call the API from the browser?

No. An API key in browser JavaScript is public the moment it ships, and anyone holding it can create avatars and conversations billed to your account. Call /v1/ from your backend and pass only per-conversation results to the browser.

Avatars and training​

How long does training take?

Long enough that it is a background job, not something to block a request on. Poll GET /v1/avatars/{id}/status, or GET /v1/avatars/{id}/training-jobs for a percentage.

What video formats can I upload?

.mp4, .mov, .webm, .mkv, .avi, and .m4v — or any file sent with a video/* content type. Recording conditions matter far more than format — read the video recording guide before shooting.

Can I retrain an avatar with better video?

POST /v1/avatars/{id}/retrain re-runs training on the same video, which helps only if the original run failed for a transient reason. Different footage means a new video upload and a new avatar.

Can I change an avatar's voice or model after training?

Yes. Voice, language model, and speech engines are configuration, not part of the trained model — update them with PATCH /v1/avatars/{id} at any time.

Documents​

What formats and sizes are accepted?

PDF and DOCX, up to 50 MB per file, and up to five files in one request through the batch endpoints. Convert other formats to PDF before uploading.

Can several avatars share one document?

Not one copy across your own avatars. A document answers only for the avatar it is uploaded or attached to, and it links to at most one of your avatars, so upload a copy to each avatar that needs it. A document left unattached in the account bank is used by no avatar. The exception is stock avatars: one bank document can be attached to any number of them, and it stays in the bank when you do.

My document uploaded but the avatar can't find anything in it

Check chunk_count on the item. A scanned PDF with no text layer reaches completed with nothing extractable. Run it through OCR and re-upload. If chunks look fine, test the question with POST /v1/knowledge-bank/search to separate retrieval problems from prompt problems.

How do I update a document?

Delete the old one and upload the replacement. There is no versioning, and deleting first avoids a window where both versions are searchable.

Conversations​

Is there an iframe embed?

Yes. POST /v1/conversations returns a conversation_url built for exactly that — create the conversation on your server and use the URL as an iframe src, with allow="microphone; camera; autoplay" — the embed turns the camera on when the visitor presses Start. The token in it lasts 60 minutes, so mint one per visitor. See Embed an avatar.

Does the avatar remember previous conversations?

Only within a memory scope. Pass the same end_user_id when you create each of a person's conversations and the avatar starts the next one knowing what came before. Memory is written shortly after a conversation ends, so a session started right away may not see it yet. Memory is kept per avatar, so the same end_user_id on a different avatar starts with nothing. Leave it out and the conversation gets memory of its own that nothing else can see. To check what the avatar knows, GET /v1/avatars/{avatar_id}/memory with the end_user_id returns it, and its pending_conversations tells you whether anything is still being written. See Memory, and Memory and end users.

Can I get a transcript after the conversation?

Yes — GET /v1/conversations/{id}/transcript returns every message with a timestamp_offset in seconds from the start, so it lines up against the recording.

Are conversations recorded?

When a recording is captured, recording_status moves to ready and GET /v1/conversations/{id}/recording returns a time-limited URL. Fetch it when you need it rather than storing the URL.

Why does the avatar's video sometimes look softer?

The engine adapts the video to the viewer's connection. When frames back up, it sends a smaller size, such as 480p instead of 720p, and climbs back one step at a time once the connection has kept up for about 15 seconds. Each session also starts one step below the top. The audio is never reduced. In the embed, the quality badge shows the current size and turns amber while it is reduced. See Adaptive video quality.

How many conversations can run at once?

The engine has a capacity limit, and connections are rejected at the handshake when it is reached. If you are planning a launch or load test, talk to us first.

Contact​

Still stuck? Reach your Golden Engine contact, and include the request path, the status code, and the error.code and error.message from the response body — plus the avatar or conversation ID where relevant. For a WebSocket problem, the close code is the most useful single detail.