Supervideo API docs

Account

Limits, data region and retention.

GET /v1/account

Read the account

Example

curl -X GET https://api.superveo.io/v1/account \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY"

Responses

PUT /v1/account/settings

Change account settings

data_region can be set once. retention can be changed at any time and applies to new jobs.

Request body

FieldTypeDescription
data_regionstring: us, eu, uk, in or nullWhere to store the output. Only valid if it matches the account's region.
retentionstring: 7d, 14d, 28d, zdr or nullHow long to keep the output. Defaults to the account's setting.

Example

curl -X PUT https://api.superveo.io/v1/account/settings \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "retention": "7d"
}'
import os, uuid, requests

r = requests.request(
    "PUT", "https://api.superveo.io/v1/account/settings",
    headers={
        "Authorization": f"Bearer {os.environ['SUPERVIDEO_API_KEY']}",
    },
    json={
        "retention": "7d"
    },
)
print(r.status_code, r.json())
const r = await fetch("https://api.superveo.io/v1/account/settings", {
  method: "PUT",
  headers: {
    Authorization: `Bearer ${process.env.SUPERVIDEO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "retention": "7d"
  }),
});
console.log(r.status, await r.json());

Responses