Agents
Upload an Agent avatar
Upload an Agent avatar. The request enforces Agent roles, ownership, workspace boundaries, and lifecycle state.
POST
Upload an Agent avatar
Last modified on September 5, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Upload an Agent avatar. The request enforces Agent roles, ownership, workspace boundaries, and lifecycle state.
curl --request POST \
--url https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'const form = new FormData();
form.append('file', 'report.pdf');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)curl --request POST \
--url https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'const form = new FormData();
form.append('file', 'report.pdf');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/uploadAvatar"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)