Read what your plan gives you in Cinema Studio
What your own plan gives you in Cinema Studio, as it is in force now — whether it includes Cinema Studio at all, calls in your projects and publishing them, and its nine quotas (projects, elements …
curl https://api.auray.ai/v1/studio/plan \
-H "Authorization: Bearer $AURAY_API_KEY"const res = await fetch("https://api.auray.ai/v1/studio/plan", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.AURAY_API_KEY}` },
});
console.log(await res.json());import os, requests
r = requests.get(
"https://api.auray.ai/v1/studio/plan",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/studio/plan", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AURAY_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/studio/plan");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AURAY_API_KEY"),
],
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/studio/plan")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer #{ENV.fetch("AURAY_API_KEY")}"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/studio/plan"))
.header("Authorization", "Bearer " + System.getenv("AURAY_API_KEY"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("AURAY_API_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/studio/plan");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"figures": {
"enabled": true,
"calls": true,
"publish": true,
"max_projects": 123,
"max_items": 123,
"max_elements": 123,
"max_canvases": 123,
"max_members": 123,
"max_folders": 123,
"max_presets": 123,
"max_pending_invites": 123,
"bytes_per_item": 123,
"socials": true,
"social_posts_per_day": 123
},
"held": {
"projects": 123,
"elements": 123,
"read_only": 123,
"presets": 123,
"bytes": 123
},
"fullest": [
{
"id": "<string>",
"name": "<string>",
"items": 123,
"canvases": 123,
"members": 123
}
],
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}What your own plan gives you in Cinema Studio, as it is in force now — whether it includes Cinema Studio at all, calls in your projects and publishing them, and its nine quotas (projects, elements and presets you keep; items, canvases, people, folders and invitations waiting in a project you own; the bytes your projects' files may weigh) — how much of them you hold, and your three fullest projects measured against them. Only about you: a project someone shares with you is held to its owner's plan, which the project's own plan and limits tell you as far as they bind you, and no other account's plan is ever named. Read it to draw a lock or a count before the press, never to decide one: every write is decided by the plan in force when it is made, and answers studio_not_in_plan or studio_limit_reached (with whose) in its own words. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both unticked — or the desktop's own session key. Spends nothing.
Authorizations
Bearer auray_sk_… — a key with the scope the route names.
OK.
"studio_plan".GET /v1/plans prints for every plan on the pricing page as limits.studio.*, and this answers for your plan whether or not it is listed there.Show child attributes
studio.enabled). False, you can own nothing new in it — no project, element or preset, no upload for an element (in a project or outside one), and no project handed over to you — and every project you own is read-only; projects others share with you still open, held to their owner's plan.studio.calls). A call there also needs Cinema Studio on your plan and room for two people or more; the project's own plan.calls says all three at once.studio.publish). Publishing also needs Cinema Studio on your plan (enabled); the project's own plan.publish says both at once. Withdrawing one never asks.studio.max_projects). 1 to ….studio.max_items). 1 to ….studio.max_elements). 1 to ….studio.max_canvases). 1 to ….studio.max_members); 1 is a project for you alone. 1 to ….studio.max_folders). 1 to ….studio.max_presets); held.presets counts what you keep. 1 to ….studio.max_pending_invites). 1 to ….max_items lets a project hold (studio.bytes_per_item): max_items times this is the most your Cinema Studio files may weigh together; held.bytes counts what they weigh now. 1000000 to ….studio.socials). Each platform also opens on its own: while one is paused, nothing is connected or sent there, whatever this says — a post may still be scheduled to an account already connected, and waits.studio.social_posts_per_day). 1 to ….Show child attributes
figures.enabled is false, else none. Nothing in them was deleted, and they can still be opened, downloaded, emptied, deleted or handed over. 0 to ….figures.max_presets. 0 to ….figures.max_items times figures.bytes_per_item. 0 to ….Show child attributes
figures.max_items. 0 to ….figures.max_canvases. 0 to ….figures.max_members. 0 to ….Headers:
| Header | Description |
|---|---|
RateLimit-Limit | Burst capacity. |
RateLimit-Remaining | |
RateLimit-Reset | Seconds until refill. |
X-RateLimit-Limit | |
X-RateLimit-Remaining | |
X-RateLimit-Reset | Unix seconds. The X- spelling is what client libraries read. |
X-Request-Id |
Was this page helpful?
curl https://api.auray.ai/v1/studio/plan \
-H "Authorization: Bearer $AURAY_API_KEY"const res = await fetch("https://api.auray.ai/v1/studio/plan", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.AURAY_API_KEY}` },
});
console.log(await res.json());import os, requests
r = requests.get(
"https://api.auray.ai/v1/studio/plan",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/studio/plan", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AURAY_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/studio/plan");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AURAY_API_KEY"),
],
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/studio/plan")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer #{ENV.fetch("AURAY_API_KEY")}"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/studio/plan"))
.header("Authorization", "Bearer " + System.getenv("AURAY_API_KEY"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("AURAY_API_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/studio/plan");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"figures": {
"enabled": true,
"calls": true,
"publish": true,
"max_projects": 123,
"max_items": 123,
"max_elements": 123,
"max_canvases": 123,
"max_members": 123,
"max_folders": 123,
"max_presets": 123,
"max_pending_invites": 123,
"bytes_per_item": 123,
"socials": true,
"social_posts_per_day": 123
},
"held": {
"projects": 123,
"elements": 123,
"read_only": 123,
"presets": 123,
"bytes": 123
},
"fullest": [
{
"id": "<string>",
"name": "<string>",
"items": 123,
"canvases": 123,
"members": 123
}
],
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}