curl --request PUT \
--url https://api.rendermate.com/v1/assets/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content_type": null,
"multipart": {
"upload_id": "<string>",
"count": null,
"from": null,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
},
"overwrite": true,
"project_id": null,
"sha256": null,
"size": null
}
'import requests
url = "https://api.rendermate.com/v1/assets/{name}"
payload = {
"content_type": None,
"multipart": {
"upload_id": "<string>",
"count": None,
"from": None,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
},
"overwrite": True,
"project_id": None,
"sha256": None,
"size": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content_type: null,
multipart: {
upload_id: '<string>',
count: null,
from: null,
parts: [{etag: '<string>', part_number: 123}]
},
overwrite: true,
project_id: null,
sha256: null,
size: null
})
};
fetch('https://api.rendermate.com/v1/assets/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rendermate.com/v1/assets/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'content_type' => null,
'multipart' => [
'upload_id' => '<string>',
'count' => null,
'from' => null,
'parts' => [
[
'etag' => '<string>',
'part_number' => 123
]
]
],
'overwrite' => true,
'project_id' => null,
'sha256' => null,
'size' => null
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/assets/{name}"
payload := strings.NewReader("{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.rendermate.com/v1/assets/{name}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/assets/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}"
response = http.request(request)
puts response.read_body{
"asset": {
"content_type": "video/mp4",
"created_at": "2026-12-03T10:15:00Z",
"created_by": "api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W",
"name": "launch/intro.mp4",
"project_id": "prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V",
"sha256": "9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e",
"size": 48211877,
"updated_at": "2026-12-03T10:15:00Z"
},
"status": "recorded"
}Upload asset
Upload a file you have locally as an asset. Give its name, SHA-256 and size; if the workspace already has that content, it’s recorded without uploading. Otherwise you get an upload to make (method, URL, headers): make it, then call upload_asset again with the same arguments to record the asset. A file over 100 MiB gets a multipart upload instead: PUT each part to its URL, keep the ETag header each PUT returns, then call upload_asset again with the same arguments plus multipart (its upload_id and every part’s part_number and etag). For a file still being written, such as a recording, leave out the SHA-256 and size: you get a multipart upload to PUT parts to as the file grows, every part but the last part_size bytes; call again with multipart (its upload_id and from, the next part’s number) for more part URLs, and finish with the SHA-256, the size and every part’s ETag. For a file on the web, use import_asset.
MCP tool: upload_asset.
curl --request PUT \
--url https://api.rendermate.com/v1/assets/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"content_type": null,
"multipart": {
"upload_id": "<string>",
"count": null,
"from": null,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
},
"overwrite": true,
"project_id": null,
"sha256": null,
"size": null
}
'import requests
url = "https://api.rendermate.com/v1/assets/{name}"
payload = {
"content_type": None,
"multipart": {
"upload_id": "<string>",
"count": None,
"from": None,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
},
"overwrite": True,
"project_id": None,
"sha256": None,
"size": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content_type: null,
multipart: {
upload_id: '<string>',
count: null,
from: null,
parts: [{etag: '<string>', part_number: 123}]
},
overwrite: true,
project_id: null,
sha256: null,
size: null
})
};
fetch('https://api.rendermate.com/v1/assets/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rendermate.com/v1/assets/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'content_type' => null,
'multipart' => [
'upload_id' => '<string>',
'count' => null,
'from' => null,
'parts' => [
[
'etag' => '<string>',
'part_number' => 123
]
]
],
'overwrite' => true,
'project_id' => null,
'sha256' => null,
'size' => null
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/assets/{name}"
payload := strings.NewReader("{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.rendermate.com/v1/assets/{name}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/assets/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content_type\": null,\n \"multipart\": {\n \"upload_id\": \"<string>\",\n \"count\": null,\n \"from\": null,\n \"parts\": [\n {\n \"etag\": \"<string>\",\n \"part_number\": 123\n }\n ]\n },\n \"overwrite\": true,\n \"project_id\": null,\n \"sha256\": null,\n \"size\": null\n}"
response = http.request(request)
puts response.read_body{
"asset": {
"content_type": "video/mp4",
"created_at": "2026-12-03T10:15:00Z",
"created_by": "api_key_01JF3Q1C5E7G9J2M4N6Q8S0T2W",
"name": "launch/intro.mp4",
"project_id": "prj_01JF3Q4A8C2E6G0J3K5N7Q9S1V",
"sha256": "9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e",
"size": 48211877,
"updated_at": "2026-12-03T10:15:00Z"
},
"status": "recorded"
}