Update a character
Edit a character’s name and attributes. Refs are immutable.
PATCH /v1/characters/{id} updates the mutable fields of a character: name and attributes. Send only the fields you want to change. Omitted fields are preserved.
The reference images themselves (refs[]) are immutable by design — the cover image is the first ref in synthesize order or the first uploaded ref, and is not customer-controllable in v1.0. To change the visual identity, regenerate a single pose via POST /v1/characters/{id}/refs/regenerate or rerun the whole synthesis via POST /v1/characters/{id}/resynthesize.
When to use
- Renaming a character.
- Updating
attributes.additional_detailsto add notes you want to surface in your UI.
Examples
Limits
- Rate limit: bucket
characters_post— 30 requests/min sustained, 60 burst per team.
Errors
| Code | HTTP | When |
|---|---|---|
resource_not_found | 404 | Unknown ID, soft-deleted character, or cross-team. error.param is "character_id". |
invalid_request | 400 | Body validation failure (e.g. name over the length cap). error.param names the offending field. |
Common pitfalls
- The platform applies a strict whitelist server-side. Sending fields outside the v1.0 mutable set (
name,attributes) — for examplerefs,id,team_id,status, oraurous_version— returns400 invalid_requestwitherror.paramnaming the first rejected field and a message listing every offending key. This is intentional: a silent-ignore policy would let a buggy client believe a non-existent field had taken effect. If you need a field to be mutable, send a feature request — new mutable fields land in v1.1 schema bumps. - PATCH on a
deletedcharacter returns 404resource_not_found— revive flows are not part of v1.0. attributesis not deep-merged; sendingattributes: { eye_color: "blue" }replaces the whole object. Re-send all fields you want preserved.
Authorizations
Your team API key (starts with al_live_).
Headers
Optional API version pin (YYYY-MM-DD). Defaults to your team's pinned version, or the system default 2026-05-15 for unauthenticated requests.
^\d{4}-\d{2}-\d{2}$"2026-05-15"
Path Parameters
Opaque character ID
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Body
Response
Updated character
Opaque character ID.
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Discriminator
character "character"
Display name.
"Aurora the Adventurer"
Lifecycle state. synthesizing: synthesize flow running. reviewing: synthesize completed, awaiting POST /:id/save. ready: usable on POST /v1/images. failed: synthesize failed; use POST /:id/resynthesize to retry. deleted: soft-deleted (filtered out of list endpoint).
synthesizing, reviewing, ready, failed, deleted "ready"
Reference images (typically 4 poses).
Creation timestamp (ISO 8601).
"2026-05-08T10:00:00Z"
Last-update timestamp (ISO 8601).
"2026-05-08T10:00:00Z"
Caller-supplied reference echoed back (the value sent on create). Null if unset.
"bot_8472"
Character attributes. Null when unset.
Error message when status is failed. Null otherwise.
null
API contract version applied at the time this row was minted (D25 — frozen for replay across future version bumps).
"2026-05-15"

