Download a video
curl --request GET \
--url https://api.solaraai.com/api/v1/projects/{id}/download \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects/{id}/download"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/projects/{id}/download', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Export
Download a video
Solara AI API: A short-lived URL to the exported MP4. Download it right away.
Permission: Export (export).
GET
/
api
/
v1
/
projects
/
{id}
/
download
Download a video
curl --request GET \
--url https://api.solaraai.com/api/v1/projects/{id}/download \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects/{id}/download"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/projects/{id}/download', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}