List footage
curl --request GET \
--url https://api.solaraai.com/api/v1/projects/{id}/media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects/{id}/media"
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}/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"byte_size": 123,
"content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "image",
"purpose": "shot",
"source": "upload",
"state": "uploading",
"description": "<string>",
"duration_ms": 123,
"failure": "<string>",
"file_name": "<string>",
"has_audio": true,
"height": 123,
"sort_order": 123,
"tags": [
"<string>"
],
"url": "<string>",
"width": 123
}
],
"limits": {
"clip_bytes": 123,
"clip_ms": 123,
"items": 123,
"photo_bytes": 123,
"video_ms": 123
},
"used": {
"items": 123,
"video_ms": 123
}
}{
"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"
}Footage
List footage
Solara AI API: The video’s own photos and clips, oldest first, and where each stands: pending while Solara describes it, described once it can be placed, failed with why. Also the limits and what holds a place under them.
Permission: Read (read).
GET
/
api
/
v1
/
projects
/
{id}
/
media
List footage
curl --request GET \
--url https://api.solaraai.com/api/v1/projects/{id}/media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects/{id}/media"
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}/media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"byte_size": 123,
"content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "image",
"purpose": "shot",
"source": "upload",
"state": "uploading",
"description": "<string>",
"duration_ms": 123,
"failure": "<string>",
"file_name": "<string>",
"has_audio": true,
"height": 123,
"sort_order": 123,
"tags": [
"<string>"
],
"url": "<string>",
"width": 123
}
],
"limits": {
"clip_bytes": 123,
"clip_ms": 123,
"items": 123,
"photo_bytes": 123,
"video_ms": 123
},
"used": {
"items": 123,
"video_ms": 123
}
}{
"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"
}Authorizations
Query Parameters
shot: the video's own footage (the plan card's, an agent's footage_status); block: the clips dropped into picture blocks (422 picture_blocks_off while they are off); auto_edit: an auto edit's files, in the customer's order (422 auto_edit_off while it is off)
Available options:
shot, block, auto_edit