The App object
Apps are projects within an organization. Each app has its own API keys, jobs, origins, presets, and webhook endpoints. Use apps to separate environments (production, staging) or different products.
Base path: transcodely.v1.AppService Requires: X-Organization-ID header on all endpoints.
Attributes
| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier. Prefixed with app_. |
org_id | string | Parent organization ID. |
name | string | Display name. |
description | string | Description. Omitted if not set. |
caption_glossary | string | Default caption glossary: names and terms as they should be spelled, one per line, optionally with the wrong spelling to replace in parentheses (see insights.glossary on subtitle tracks). Applied to every AI captions track that requests insights without a glossary of its own, including videos captioned by the auto_captions / auto_insights upload flags, and to GenerateInsights requests without one; the job or insights entry then shows it as the glossary used. Omitted when none is set. |
cue_style | object | Default caption style: how AI captions are cut into cues, as preset plus optional max_chars_per_line, max_lines and max_cue_duration_ms. Applied to every AI captions track that sets no style of its own or only part of one, including videos captioned by the auto_captions upload flag. Stored as set: a limit left unset follows its preset. Omitted when none is set, which means standard. |
status | enum | One of: active, archived, suspended. suspended means the app was cut off by platform admin action — API keys scoped to it are rejected with 403 until it is set back to active. Unlike archived, suspension is reversible and preserves all of the app’s resources. |
created_at | string | ISO 8601 timestamp. |
updated_at | string | ISO 8601 timestamp. |
archived_at | string | ISO 8601 timestamp. Omitted if not archived. |
hosting_enabled | boolean | Whether managed video hosting is enabled for this app. Omitted if not set. |
hosting_status | string | Hosting readiness. One of: active, provisioning, not_configured. |
cdn_hostname | string | CDN hostname for delivered videos (e.g., transcodely-app-xxx.b-cdn.net). Only set when hosting is active. |
hosting_config | object | Hosting configuration. Only set when hosting is enabled. See Update hosting configuration. |
monthly_spend_limit_eur | number | Monthly cap on transcoding charges, in EUR. Omitted when unlimited (the default). Set or clear it with Set the spend limit; read current spend with Get current spend. |
player_config | object | Hosted player configuration. Omitted until configured. See Update player configuration. |
object | string | Resource type. Always "app". |
{
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"description": "Production video processing",
"status": "active",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}App-level webhooks have been removed. The legacy per-app
webhookconfig — along with thegenerate_secret/regenerate_secretflags that used to appear on Create and Update — no longer exists on the wire. Register signed endpoints with the WebhookService instead, which supports multiple endpoints per app, HMAC-SHA-256 signing with rotation, per-event subscriptions, delivery history, and health metrics. See the Webhook Integration guide.
Create an app
Create a new app within an organization.
POST /transcodely.v1.AppService/CreateParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id | string | Yes | Parent organization ID (e.g., "org_f6g7h8i9j0"). |
name | string | Yes | Display name (1-60 chars). Must be unique within the organization (case-insensitive). |
description | string | No | Optional description (max 500 chars). |
enable_hosting | boolean | No | Provision managed video hosting (CDN) infrastructure for the app on creation. Defaults to false — which does not block managed jobs or hosted videos, since those enable hosting on first use; setting it here just moves the provisioning to app creation. Cannot be disabled once enabled. |
Returns
Returns an App object.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/Create
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"description": "Production video processing"
}'const app = await client.apps.create({
orgId: "org_f6g7h8i9j0",
name: "Production",
description: "Production video processing",
});app = client.apps.create(
org_id="org_f6g7h8i9j0",
name="Production",
description="Production video processing",
)app, err := client.Apps.Create(ctx, &transcodely.AppCreateParams{
OrgId: "org_f6g7h8i9j0",
Name: "Production",
Description: proto.String("Production video processing"),
}){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"description": "Production video processing",
"status": "active",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
}Retrieve an app
Retrieve an app by its ID.
POST /transcodely.v1.AppService/GetParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID (e.g., "app_k1l2m3n4o5"). |
Returns
Returns the App object in app, and the limits a new job or video on the app runs under right now in effective_limits. Those are the limits of the app’s plan, or the free tier’s while the organization has no usable payment method or an unpaid invoice. They are worked out when the response is built, so they change as soon as the account does. Only Retrieve returns them; List apps does not. effective_limits is absent when the limits could not be read.
The effective_limits object:
| Attribute | Type | Description |
|---|---|---|
max_output_duration_seconds | integer | The longest stretch of a source one job may encode, in seconds. Absent when there is no limit. |
allowed_quality_tiers | array of strings | The quality tiers a job may use (economy, standard, premium). Empty when every tier is allowed. |
free_tier | boolean | true when these are the free tier’s limits because the organization has no usable payment method. A hosted video (an upload or Create a video from a URL) longer than max_output_duration_seconds is then encoded up to that length and carries truncation; a Create a job request that long is refused with output_duration_limit_exceeded. false otherwise, including for an organization limited for an unpaid invoice: there an over-long video is refused, not shortened. See Billing Standing. |
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/Get
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{"id": "app_k1l2m3n4o5"}'const app = await client.apps.get("app_k1l2m3n4o5");app = client.apps.get("app_k1l2m3n4o5")app, err := client.Apps.Get(ctx, "app_k1l2m3n4o5"){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"description": "Production video processing",
"status": "active",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
},
"effective_limits": {
"max_output_duration_seconds": 120,
"allowed_quality_tiers": ["economy", "standard"],
"free_tier": true
}
}Update an app
Update an app’s name, description and default caption glossary.
POST /transcodely.v1.AppService/UpdateParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID. |
name | string | No | New display name (1-60 chars). |
description | string | No | New description (max 500 chars). |
caption_glossary | string | No | New default caption glossary (max 4000 characters, one term per line). An empty string clears it; omit it to keep the current one. |
cue_style | object | No | New default caption style. Replaces the whole stored default; it is not merged into it. An empty object ({}) clears it, so AI captions use standard; omit it to keep the current one. Applies to captions generated from now on: existing captions keep their cues until restyled. |
Returns
Returns the updated App object.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/Update
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"id": "app_k1l2m3n4o5",
"name": "Production (v2)"
}'const app = await client.apps.update({
id: "app_k1l2m3n4o5",
name: "Production (v2)",
});app = client.apps.update(
id="app_k1l2m3n4o5",
name="Production (v2)",
)app, err := client.Apps.Update(ctx, &transcodely.AppUpdateParams{
Id: "app_k1l2m3n4o5",
Name: proto.String("Production (v2)"),
}){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production (v2)",
"description": "Production video processing",
"status": "active",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z"
}
}List apps
List apps within an organization.
POST /transcodely.v1.AppService/ListParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id | string | Yes | Organization ID. |
pagination | object | No | Pagination parameters. See API Reference overview. |
include_archived | boolean | No | If true, include archived apps. Default: false. |
Returns
Returns a list of App objects and pagination metadata.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/List
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"org_id": "org_f6g7h8i9j0",
"pagination": {"limit": 20}
}'for await (const app of client.apps.list({
orgId: "org_f6g7h8i9j0",
pagination: { limit: 20 },
}).autoPage()) {
console.log(app.id, app.name);
}for app in client.apps.list(org_id="org_f6g7h8i9j0", limit=20).auto_paging_iter():
print(app.id, app.name)iter := client.Apps.List(ctx, &transcodely.AppListParams{
OrgId: "org_f6g7h8i9j0",
Pagination: &transcodely.PaginationRequest{Limit: 20},
})
for iter.Next() {
app := iter.Current()
fmt.Println(app.GetId(), app.GetName())
}
if err := iter.Err(); err != nil {
log.Fatal(err)
}{
"apps": [
{
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"description": "Production video processing",
"status": "active",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
],
"pagination": {
"next_cursor": "",
"total_count": 1
}
}Archive an app
Soft-delete an app. Archived apps cannot create new resources, but existing jobs continue processing.
POST /transcodely.v1.AppService/ArchiveParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID. |
Returns
Returns the App object with status: "archived".
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/Archive
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{"id": "app_k1l2m3n4o5"}'const app = await client.apps.archive("app_k1l2m3n4o5");app = client.apps.archive("app_k1l2m3n4o5")err := client.Apps.Archive(ctx, "app_k1l2m3n4o5"){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"status": "archived",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z",
"archived_at": "2025-02-28T15:00:00Z"
}
}Enable hosting
Turn on managed video hosting for an app. This provisions a managed storage bucket and prepares CDN infrastructure for delivering transcoded output.
This is a one-way operation — once hosting is enabled it cannot be disabled.
POST /transcodely.v1.AppService/EnableHostingParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID (e.g., "app_k1l2m3n4o5"). |
Returns
Returns the App object with hosting_enabled: true. Immediately after enabling, hosting_status is provisioning; it becomes active once the CDN is ready and cdn_hostname is assigned.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/EnableHosting
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{"id": "app_k1l2m3n4o5"}'const { app } = await client.apps.enableHosting({ id: "app_k1l2m3n4o5" });app = client.apps.enable_hosting(id="app_k1l2m3n4o5").appapp, err := client.Apps.EnableHosting(ctx, "app_k1l2m3n4o5"){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"status": "active",
"hosting_enabled": true,
"hosting_status": "provisioning",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z"
}
}Update hosting configuration
Update an app’s hosting configuration. Only the fields you provide are merged into the existing config; omitted fields are left unchanged. Hosting must already be enabled — this returns failed_precondition if it is not.
POST /transcodely.v1.AppService/UpdateHostingConfigParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID. |
hosting_config | object | Yes | Hosting configuration to merge. See fields below. |
clear_allowed_embed_domains | boolean | No | true empties the app’s allowed_embed_domains, so any site may embed its player again. Refused together with a non-empty hosting_config.allowed_embed_domains. |
The hosting_config object:
| Field | Type | Description |
|---|---|---|
default_visibility | string | Default visibility for new uploads. One of: public, unlisted, private. |
max_upload_size_bytes | integer | Maximum upload file size in bytes (0 = no limit). |
cors_allowed_origins | string[] | Domains allowed to embed or fetch videos from the CDN. System defaults (the player base URL) are always included. |
delete_source_after_days | integer | Days after a hosted video becomes ready before its original source file is deleted, 1 to 3650. Unset (or 0, which clears it) means the platform default of 7 days: source files are temporary, and there is no “keep forever” setting. Only the original source is removed — renditions and playback are unaffected. A video.source_scheduled_for_deletion webhook fires at least 72 hours before each deletion, and each video’s date is in source_expires_at. To keep a video’s source, set its source_pinned: a retained source is billed as storage on the invoice line “Retained source videos”. See the Source Lifecycle guide. |
guide_pages_enabled | boolean | Default for the per-video guide page: a hosted, shareable page at {player_base}/v/{id}/guide with the player, the video’s AI insights and its full transcript. Applies to every video whose own guide_page is default (every video, until one is pinned on or off). Unset means false. Only public and unlisted videos with ready insights or a generated transcript get a page, whatever this says. |
delivery_regions | string[] | The CDN delivery regions enabled for the app’s hosted videos. Values: europe, north_america, asia_oceania, south_america, middle_east_africa. A non-empty list replaces the whole set; an empty list (or leaving the field out) leaves it unchanged, so at least one region is always enabled. An unknown or repeated value is rejected with invalid_argument. Reads always return the full set in effect, in the order above: an app that never set it reads all five. Viewers outside the enabled regions still play the video, served from the nearest enabled region, so start-up can be slower for them; delivery is billed per GB at the rate of the region that served it. A change takes effect within about a minute. If the CDN cannot confirm the change, the call fails with unavailable and error code delivery_regions_update_failed; the change is not saved and the previous regions are restored where possible; retry. |
allowed_embed_domains | string[] | Sites allowed to embed the app’s hosted player, up to 20 entries. Empty (the default) means any site may embed it. Each entry is a hostname (example.com, learn.example.co.uk), optionally with a leading *. for any subdomain (*.example.com does not include example.com itself: list both), optionally with a port (localhost:8080). No scheme, path or query. Entries are stored lowercased and de-duplicated; an invalid entry is refused with invalid_argument and a field error on hosting_config.allowed_embed_domains[i]. A non-empty list replaces the saved one; an empty list (or leaving the field out) leaves it unchanged, and clear_allowed_embed_domains empties it. With a list set, every player page and guide page of the app is served with a Content-Security-Policy: frame-ancestors header naming those sites, so browsers refuse to show it framed anywhere else. See Allowed embed domains. |
auto_profile_defaults | object | Auto-transcoding defaults applied when an upload does not name a preset. See fields below. |
The auto_profile_defaults object:
| Field | Type | Description |
|---|---|---|
format | string | Output format. One of: hls, dash, mp4. |
codec | string | Video codec. One of: h264, h265, vp9, av1. |
max_resolution | string | Maximum output resolution. One of: 480p, 720p, 1080p, 1440p, 2160p. |
quality_tier | string | Quality tier. One of: economy, standard, premium. |
encoding_mode | string | Encoding mode. One of: auto (default, input-aware constrained CRF) or fixed (static CRF). With auto, a ladder rung larger than the source is skipped instead of upscaled: it is not billed and gets no rendition, so a 720p upload with the default 1080p ceiling yields a 720p and a 480p rendition. |
Returns
Returns the updated App object with the merged hosting_config.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/UpdateHostingConfig
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"id": "app_k1l2m3n4o5",
"hosting_config": {
"default_visibility": "unlisted",
"cors_allowed_origins": ["https://example.com"],
"delivery_regions": ["europe", "north_america"]
}
}'const { app } = await client.apps.updateHostingConfig({
id: "app_k1l2m3n4o5",
hostingConfig: {
defaultVisibility: "unlisted",
corsAllowedOrigins: ["https://example.com"],
deliveryRegions: ["europe", "north_america"],
},
});app = client.apps.update_hosting_config(
id="app_k1l2m3n4o5",
hosting_config={
"default_visibility": "unlisted",
"cors_allowed_origins": ["https://example.com"],
"delivery_regions": ["europe", "north_america"],
},
).appapp, err := client.Apps.UpdateHostingConfig(ctx, &transcodely.AppUpdateHostingConfigParams{
Id: "app_k1l2m3n4o5",
HostingConfig: &transcodely.HostingConfig{
DefaultVisibility: proto.String("unlisted"),
CorsAllowedOrigins: []string{"https://example.com"},
DeliveryRegions: []string{"europe", "north_america"},
},
}){
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"status": "active",
"hosting_enabled": true,
"hosting_status": "active",
"cdn_hostname": "transcodely-app-k1l2m3n4o5.b-cdn.net",
"hosting_config": {
"default_visibility": "unlisted",
"cors_allowed_origins": ["https://example.com"],
"delivery_regions": ["europe", "north_america"]
},
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z"
}
}If the CDN cannot confirm new delivery regions, the call fails with Connect code unavailable and error code delivery_regions_update_failed: the change is not saved, including any other hosting_config fields sent with it, and the previous regions are restored where possible; retry the same request in a moment. If another change to the app’s hosting settings is still being applied, the call fails with unavailable and error code hosting_config_busy and nothing is saved; retry in a few seconds. See Hosting codes.
Update player configuration
Merge fields into the app’s hosted-player configuration. Applies to the player page and every embed for the app’s hosted videos. Unlike hosting configuration, this works before hosting is enabled — you can stage player settings ahead of the first upload. A portal user must be an organization Owner or Admin; an API key may change only its own app’s configuration.
Currently the configuration covers caption rendering: cue background color and opacity, text color, and a text-size multiplier. Fields you omit keep their stored value; sending an empty string for a color clears it back to the player default.
POST /transcodely.v1.AppService/UpdatePlayerConfigParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | App ID (e.g., "app_k1l2m3n4o5"). |
player_config.captions.background_color | string | No | Cue box background as 6-digit hex (e.g., "#0a0a0a"). Empty string clears back to the default (#0a0a0a). |
player_config.captions.background_opacity | number | No | Cue box background opacity, 0–1. Default 0.7. |
player_config.captions.text_color | string | No | Caption text color as 6-digit hex. Empty string clears back to the default (#ffffff). |
player_config.captions.font_scale | number | No | Caption text-size multiplier, 0.5–2. Default 1. |
Returns
Returns the updated App object. player_config reflects the merged configuration, or is omitted when everything is at the player defaults.
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/UpdatePlayerConfig
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"id": "app_k1l2m3n4o5",
"player_config": {
"captions": {
"background_color": "#101820",
"background_opacity": 0.55,
"font_scale": 1.2
}
}
}'{
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"status": "active",
"player_config": {
"captions": {
"background_color": "#101820",
"background_opacity": 0.55,
"font_scale": 1.2
}
},
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z"
}
}Set the spend limit
Set or clear an app’s monthly cap on transcoding charges, in EUR. Providing monthly_spend_limit_eur (must be > 0 and finite — NaN/Inf are rejected) sets the cap; omitting it clears the cap and returns the app to unlimited (the default). A portal user must be an organization Owner or Admin; an API key may change only its own app’s limit (a mismatched app_id is rejected — a leaked key can lift its own cap, so rotate compromised keys). See Spend limits for how spend is counted and enforced (it is checked when a job is created and again when its input is first read, and it is not an exact ceiling).
POST /transcodely.v1.AppService/UpdateSpendLimitParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | string | Yes | App ID (e.g., "app_k1l2m3n4o5"). |
monthly_spend_limit_eur | number | No | The cap in EUR (> 0, finite). Present sets the cap; absent clears it (back to unlimited). |
Returns
Returns the updated App object. monthly_spend_limit_eur reflects the new value, or is omitted when the limit was cleared.
# Set a €500/month cap
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/UpdateSpendLimit
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{
"app_id": "app_k1l2m3n4o5",
"monthly_spend_limit_eur": 500
}'
# Clear the cap (omit the field) — back to unlimited
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/UpdateSpendLimit
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{"app_id": "app_k1l2m3n4o5"}'{
"app": {
"id": "app_k1l2m3n4o5",
"object": "app",
"org_id": "org_f6g7h8i9j0",
"name": "Production",
"status": "active",
"monthly_spend_limit_eur": 500,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-02-28T15:00:00Z"
}
}Get current spend
Read an app’s transcoding spend for the current billing period, against its limit. Spend is the sum of billed charges for terminal jobs plus recorded estimates for in-flight jobs, including each job’s processing fee; jobs are attributed to the period by their creation time. Requires organization membership (same authorization as Retrieve an app).
POST /transcodely.v1.AppService/GetSpendParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | string | Yes | App ID (e.g., "app_k1l2m3n4o5"). |
Returns
Returns the current-period spend.
| Field | Type | Description |
|---|---|---|
period_start | string | Start of the current billing period (inclusive), UTC. Follows the app’s billing anchor day. |
period_end | string | End of the current billing period (exclusive), UTC. |
spent_eur | number | Transcoding spend recorded so far this period, in EUR. |
monthly_spend_limit_eur | number | The app’s monthly limit in EUR. Omitted when unlimited. |
currency | string | Currency of all amounts. Always "EUR". |
warning_triggered | boolean | true once the 80% warning event (app.spend_limit_warning) has fired this period. |
limit_reached | boolean | true once the breach event (app.spend_limit_exceeded) has fired this period. |
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/GetSpend
-H "Authorization: Bearer {{API_KEY}}"
-H "X-Organization-ID: {{ORG_ID}}"
-H "Content-Type: application/json"
-d '{"app_id": "app_k1l2m3n4o5"}'{
"period_start": "2026-07-01T00:00:00Z",
"period_end": "2026-08-01T00:00:00Z",
"spent_eur": 85.5,
"monthly_spend_limit_eur": 100,
"currency": "EUR",
"warning_triggered": true,
"limit_reached": false
}Once recorded spend reaches the limit, new jobs are refused with Connect code
resource_exhaustedand error codelimit_exceeded. A job that was accepted but has not started encoding can also be refused when its input is first read: it endsfailedwitherror_code: limit_exceeded, nothing is charged, andjob.failedfires. Jobs already encoding are never stopped. See Spend limits.
Get your pricing
Read the prices this app pays for every chargeable item. Transcodely publishes list prices on the pricing page, and an account may carry custom rates that replace some of them. GetPricing returns the rates that actually apply to the app, with custom: true on every charge that differs from the list price and the list price beside it. See Custom pricing for how to read the result. Each SDK wraps the call: Go client.Apps.GetPricing(ctx, id), TypeScript client.apps.getPricing(id?) and Python client.apps.get_pricing(app_id=None).
Prices are fixed when work is quoted: a job is priced when it is created, so a rate change applies to jobs created after it. Requires organization membership, or an API key for this app (an API key may omit app_id; a different app is rejected with permission_denied).
POST /transcodely.v1.AppService/GetPricingParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | string | No | App ID (e.g., "app_k1l2m3n4o5"). An API key may omit it to read its own app. A dashboard caller that omits it reads the organization’s first active app in list order. |
Returns
| Field | Type | Description |
|---|---|---|
app_id | string | The app these prices are for. |
currency | string | Currency of every price. Always "EUR". |
entries | array | Every chargeable item, grouped by class in display order. The processing_* fee charges are left out when the per-job processing fee is not charged. Each entry is described below. |
Each object in entries:
| Field | Type | Description |
|---|---|---|
rule_type | string | Charge class: codec, resolution, quality, feature, fee, storage, egress. Other values may appear as new charges are introduced. |
rule_key | string | The charge within its class, e.g. h264, 1080p, captions, processing_m. For egress (delivery) it is the delivery region whose per-GB rate the entry carries: europe, north_america, asia_oceania, south_america or middle_east_africa. |
label | string | Human label, e.g. "H.264". |
group_label | string | Human label of the class, e.g. "Encoding". |
unit | string | What base_price is per: eur_per_output_minute, eur_per_source_minute, eur_per_video, eur_per_job, eur_per_gb_month, eur_per_gb, or eur_per_unit for a charge whose unit is not known yet. In eur_per_gb_month and eur_per_gb, 1 GB = 2^30 bytes (1 GiB). Empty for a charge that has only a multiplier. |
base_price | number | The price per unit, in EUR, this app pays. Omitted for a charge that has only a multiplier. |
multiplier | number | The multiplier this app pays. Omitted for a charge that has only a per-unit price. |
custom | boolean | true when the account has a custom rate for this charge, so base_price or multiplier differs from the list price. |
list_base_price | number | The public list price per unit, in EUR. Omitted when base_price is. |
list_multiplier | number | The public list multiplier. Omitted when multiplier is. |
curl -X POST https://api.transcodely.com/transcodely.v1.AppService/GetPricing
-H "Authorization: Bearer {{API_KEY}}"
-H "Content-Type: application/json"
-d '{}'{
"app_id": "app_k1l2m3n4o5",
"currency": "EUR",
"entries": [
{
"rule_type": "codec",
"rule_key": "h264",
"label": "H.264",
"group_label": "Encoding",
"unit": "eur_per_output_minute",
"base_price": 0.008,
"multiplier": 1,
"custom": true,
"list_base_price": 0.01,
"list_multiplier": 1
},
{
"rule_type": "fee",
"rule_key": "captions",
"label": "AI captions",
"group_label": "Fees",
"unit": "eur_per_source_minute",
"base_price": 0.01,
"custom": false,
"list_base_price": 0.01
},
{
"rule_type": "egress",
"rule_key": "south_america",
"label": "Delivery — South America",
"group_label": "Hosting delivery",
"unit": "eur_per_gb",
"base_price": 0.045,
"custom": false,
"list_base_price": 0.045
}
]
}