Sync assets
curl --request POST \
--url https://api.rendermate.com/v1/assets/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{
"path": "<string>",
"sha256": "<string>",
"size": 1,
"content_type": null,
"multipart": {
"upload_id": "<string>",
"count": null,
"from": null,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
}
}
],
"delete_missing": false,
"prefix": "",
"project_id": null
}
'import requests
url = "https://api.rendermate.com/v1/assets/sync"
payload = {
"files": [
{
"path": "<string>",
"sha256": "<string>",
"size": 1,
"content_type": None,
"multipart": {
"upload_id": "<string>",
"count": None,
"from": None,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
}
}
],
"delete_missing": False,
"prefix": "",
"project_id": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
files: [
{
path: '<string>',
sha256: '<string>',
size: 1,
content_type: null,
multipart: {
upload_id: '<string>',
count: null,
from: null,
parts: [{etag: '<string>', part_number: 123}]
}
}
],
delete_missing: false,
prefix: '',
project_id: null
})
};
fetch('https://api.rendermate.com/v1/assets/sync', 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/sync",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
[
'path' => '<string>',
'sha256' => '<string>',
'size' => 1,
'content_type' => null,
'multipart' => [
'upload_id' => '<string>',
'count' => null,
'from' => null,
'parts' => [
[
'etag' => '<string>',
'part_number' => 123
]
]
]
]
],
'delete_missing' => false,
'prefix' => '',
'project_id' => 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/sync"
payload := strings.NewReader("{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.rendermate.com/v1/assets/sync")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/assets/sync")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}"
response = http.request(request)
puts response.read_body{
"deleted": [
"launch/old-intro.mp4"
],
"recorded": [
"launch/intro.mp4"
],
"uploads": [
{
"name": "launch/outro.mp4",
"upload": {
"expires_at": "2026-12-03T11:15:00Z",
"headers": {
"content-type": "video/mp4",
"x-amz-checksum-sha256": "nyxOGns9X44MKitN8eHFWnudDy4MaLHn5+nJoLLU9m4="
},
"method": "PUT",
"url": "https://media.rendermate.com/ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30/blobs/9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e??X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261203T101500Z&X-Amz-Expires=86400&X-Amz-Signature=5d1f…"
}
}
]
}Assets
Sync assets
Make a folder of assets match a local folder in one call: give every file’s path, SHA-256 and size. Files the workspace has are recorded at once; you get an upload to make for each of the others, then call again to record them. A file over 100 MiB gets a multipart upload: PUT each part, keep each part’s ETag, and in the next call give that file multipart (its upload_id and every part’s part_number and etag).
MCP tool: sync_assets.
POST
/
v1
/
assets
/
sync
Sync assets
curl --request POST \
--url https://api.rendermate.com/v1/assets/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{
"path": "<string>",
"sha256": "<string>",
"size": 1,
"content_type": null,
"multipart": {
"upload_id": "<string>",
"count": null,
"from": null,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
}
}
],
"delete_missing": false,
"prefix": "",
"project_id": null
}
'import requests
url = "https://api.rendermate.com/v1/assets/sync"
payload = {
"files": [
{
"path": "<string>",
"sha256": "<string>",
"size": 1,
"content_type": None,
"multipart": {
"upload_id": "<string>",
"count": None,
"from": None,
"parts": [
{
"etag": "<string>",
"part_number": 123
}
]
}
}
],
"delete_missing": False,
"prefix": "",
"project_id": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
files: [
{
path: '<string>',
sha256: '<string>',
size: 1,
content_type: null,
multipart: {
upload_id: '<string>',
count: null,
from: null,
parts: [{etag: '<string>', part_number: 123}]
}
}
],
delete_missing: false,
prefix: '',
project_id: null
})
};
fetch('https://api.rendermate.com/v1/assets/sync', 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/sync",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
[
'path' => '<string>',
'sha256' => '<string>',
'size' => 1,
'content_type' => null,
'multipart' => [
'upload_id' => '<string>',
'count' => null,
'from' => null,
'parts' => [
[
'etag' => '<string>',
'part_number' => 123
]
]
]
]
],
'delete_missing' => false,
'prefix' => '',
'project_id' => 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/sync"
payload := strings.NewReader("{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.rendermate.com/v1/assets/sync")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/assets/sync")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n {\n \"path\": \"<string>\",\n \"sha256\": \"<string>\",\n \"size\": 1,\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 }\n ],\n \"delete_missing\": false,\n \"prefix\": \"\",\n \"project_id\": null\n}"
response = http.request(request)
puts response.read_body{
"deleted": [
"launch/old-intro.mp4"
],
"recorded": [
"launch/intro.mp4"
],
"uploads": [
{
"name": "launch/outro.mp4",
"upload": {
"expires_at": "2026-12-03T11:15:00Z",
"headers": {
"content-type": "video/mp4",
"x-amz-checksum-sha256": "nyxOGns9X44MKitN8eHFWnudDy4MaLHn5+nJoLLU9m4="
},
"method": "PUT",
"url": "https://media.rendermate.com/ws_use_0193f2a1b7c84e6d9a2f5b8c1d4e7f30/blobs/9f2c4e1a7b3d5f8e0c6a2b4d8f1e3c5a7b9d0f2e4c6a8b1d3f5e7c9a0b2d4f6e??X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20261203T101500Z&X-Amz-Expires=86400&X-Amz-Signature=5d1f…"
}
}
]
}Authorizations
Body
application/json