Skip to main content
GET
/
projects
/
{project_reference}
/
agents
/
{agent_id}
/
avatar.svg
Get Agent Avatar SVG
curl --request GET \
  --url https://api.veryfront.com/projects/{project_reference}/agents/{agent_id}/avatar.svg \
  --header 'Authorization: Bearer <token>'
"<string>"

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
agent_id
string
required

Query Parameters

source_target_kind
enum<string>

Provide the source target kind. Read the avatar from this source target. Defaults to "project". Ignored for template projects.

Available options:
project,
main_branch,
environment,
preview_branch
target_branch_id
string

Branch id when source_target_kind=preview_branch.

Response

SVG avatar markup

The response is of type file.