Platform
Credits, languages, your organization and its members, and analytics. What every integration shares, and how the parts fit together.
Every product API runs inside your organization: it spends the organization's credits, takes the same language keys and is recorded in the same audit log. The Platform API is where you read and manage those shared parts. A typical integration uses it around the jobs it runs elsewhere.
Check what the work will cost
List rates shows what every operation costs your organization, with its own prices applied. Send the same feature and operation, with the length or count of the work, to Get a quote. The quote prices the work exactly as its start will charge it, and returns your balance with it.
Make sure you have the credits
Compare the quote's total with balance, or read Get your balance. Jobs are charged when they start; without enough credits the start returns 402 and nothing is created. While owed is above zero, every paid start is refused until it is repaid.
Run the work in a product API
Start jobs in Video Dubbing or any other product API, with language keys from List languages.
Reconcile and report
List ledger entries has every charge and refund, each with the balance after it and the member who caused it. Get credit history sums them by month, and the usage report breaks spend down by day, product, member and organization.
Credits
Your balance has two parts. Plan credits (expiringCredits) arrive with your plan each billing period and lapse at its end; they are spent first. Top-ups and credits received from a parent organization (nonExpiringCredits) never expire.
Ledger type | What it records |
|---|---|
usage | A charge, when work starts. A finished job can be adjusted once it reports what it really used. |
refund | A charge given back, for example when a job failed on our side. reversesEntryId points at the charge. |
grant | Plan credits for a billing period. |
top_up | Credits bought. |
expiry | Plan credits that lapsed at the end of a period. |
transfer_out / transfer_in | Credits moved between a parent organization and a child. |
adjustment | A correction made by Acclaro. |
Credits are not bought through the API. Top-ups and plans are managed in the Universe app.
Languages
Products identify languages by keys, not ISO codes: for example english_united_states, hindi_india or spanish_spain. List languages returns every key with its display name and BCP-47 code; filter it by what you need, such as the languages a product supports. When your organization has set preferred languages, only those are returned unless you pass preferredLanguages=ignore.
Parent and child organizations
An organization can have child organizations, for example one per client or team. Children get no plan credits of their own: the parent funds them.
- Child organizations and the credits they get are managed in the Universe app.
- The analytics routes cover the parent and every child together, or one of them with
orgId. Call them with a key of the parent organization; from a child they return403.
Analytics
All analytics count spend net of refunds, and count a job once when it starts; a job refunded because it failed on our side does not count.
- Get a usage report: totals for a period (the last 30 days by default, up to 366 days), compared with the period before, broken down by day, product, organization, operation, member and hour of the week.
- Get monthly usage: spend and jobs for each of the last 24 months.
- Get insights: each organization's balance and pace, spend per organization and product, failed jobs and the cost of a unit of work.
- List budgets: the monthly credit budget per organization, set in the Universe app, to track spend against. Budgets do not block spending.
- Get linguist activity: what each member edited, by language pair and product, with an estimated pay for keys whose role has the
org_analytics:paypermission.
Your organization
Get the company profile reads your organization's company details; change them in the Universe app. List members returns the people in your organization.
Audit log
The audit log is in the Universe app. Changes made through the API are recorded like changes made in the app, under the member who created the key.
Permissions
Each endpoint page lists the permission it needs. The API key has the permissions of the role of the member who created it.
| Resource | Covers | Actions used |
|---|---|---|
credits | Credit balance, rates, quotes, ledger and history. | read |
organization | The company profile and the member list. | read |
org_analytics | Usage analytics and budgets across your organization and its children. | read, pay (estimated linguist pay) |
By default, owners and admins hold all of these. Project managers hold credits:read and organization:read, but no org_analytics action. Editors and viewers can read credits, the company profile and the member list.