Get projects
Retrieve the list of video projects associated current account that have been already exported. Video project in the list are ready to be downloaded.
1. API endpoint
https://app.aistudios.com/api/odin/v3/editor/project
2. Response parameters
key | desc | type |
---|---|---|
id | Unique identifier of the video project | String |
name | Name of the project | String |
state | Export state of the project. This field should be "exported" to be ready for download | String |
download_url | Download path of the file created. | String |
3. Sample Request
- cURL
- Node.js
- Python
curl https://app.aistudios.com/api/odin/v3/editor/project \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X GET
import axios from "axios";
const token = ${API KEY};
const customWebhookUrl = ${webhook_delivery_address};
axios.get('https://app.aistudios.com/api/odin/v3/editor/projects',
{
headers: {
'Authorization': ${token},
'Content-Type': 'application/json'
}
}
)
.then((res) => {
console.log(res.data);
})
.catch((error) => {
console.error(error);
})
import requests
import json
url = "https://app.aistudios.com/api/odin/v3/editor/projects"
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.get(url, data=json.dumps(body), headers=headers)