Skip to main content
POST
Create agent avatar

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

agent_id
string
required
Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9_-]+$

Query Parameters

source_target_kind
string
target_branch_id
string<uuid> | null

Body

application/json
assign
boolean
default:false

Persist the generated avatar_url onto the agent. Defaults to false; set true to assign it to an existing agent.

config
object

Avatar configuration. Omit seed to generate a new avatar. With an explicit seed, omitted visual options use the existing avatar configuration if available. New agents use generator defaults.

Response

Agent avatar generated

avatar_url
string<uri>
required

API upload URL of the generated SVG, stored as a project upload. The agent ID may be existing or prospective; the URL is persisted on the agent only when assign is true.