Upload brand asset
Refused with validation_failed and a field error on /data or /content_type that says what to change (too large, not an image, the wrong type, animated, or an SVG using something a logo may not).
Request bodyBrandAssetUpload
content_typestringRequiredWhat the file is. It must match the bytes, which are checked.
One ofimage/pngimage/jpegimage/webpimage/svg+xmlat most 64 charactersdatastringRequiredThe file, base64 encoded (no data: prefix); at most 200 KB decoded.
Response201
idstringobjectstringbrand_assetcontent_typestringOne ofimage/pngimage/jpegimage/webpimage/svg+xmlcreated_atstringheightinteger or nullsha256stringsizeintegerwidthinteger or null
Status codes
- 201Successful Response
- 422The request is not valid:
errors[]names each field. - 4XXThe request was refused: the problem says why.
- 5XXThe API could not answer: the problem says why.
curl -X POST "https://api.mydeepagents.com/v1/brand-assets" \
-H "Authorization: Bearer $MDA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content_type": "image/png",
"data": "data"
}'{
"id": "id",
"object": "brand_asset",
"content_type": "image/png",
"created_at": "2026-11-10T09:30:00.000Z",
"height": 2,
"sha256": "sha256",
"size": 2,
"width": 2
}