For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Job Type Economics

Tell Revenium what one unit of work is worth for a job type, how the work was done before AI, and what each job achieved, so ROI is measured in your terms.

Cost alone does not tell you whether an agent pays for itself. You also need to know what a unit of its work is worth, and what the same work cost before AI took it on. Job type economics records both for each job type, so the ROI dashboard can set every job's AI cost against the value it produced and against the old way of doing the work.

A job type is the type you give a job when you report outcomes, for example support-ticket or invoice-review. Job type names are not case-sensitive.

You can set all of this in the app from the ROI dashboard with New job type or Edit job type. The API does the same thing, which suits teams that keep these figures in code or in a finance system.

The Four Parts

Part
What it records
Calls

Economics

The unit of work, the metrics you track for it, and optionally its value per unit and overhead per unit.

Baselines

How the work was done before AI: cost, minutes and quality per unit, and an hourly rate. Each baseline is a new version with an effectiveFrom date. Earlier versions are kept, never edited.

Per-job metrics

Values for one job that arrive after it ends, such as a quality score from a later review.

Period facts

Values you only know for a whole period, broken down by one of the dimensions you declared, such as tickets closed per region per month.

Each metric is declared once in the economics with a resolution. A PER_JOB metric is reported against a single job. A PERIOD metric is reported for a date range. Revenium rejects a value for a metric the job type has not declared.

Before You Call the API

Every call takes your team id as the teamId query parameter. Reading needs a read-only or full-access key. Writing needs a full-access (rev_sk_) key. See API Key Permissions.

In the economics, the unitMetricKey must name one of your metrics, and that metric must be a COUNT. Amounts are in US dollars only for now. A PERCENT metric value is a fraction between 0 and 1.

Good to Know

  • Values are added, never overwritten. Per-job metrics and period facts build a history. To correct a value you have already sent, send it again with a reason. Revenium refuses a correction that has no reason.

  • Declare the job type first. Baselines, per-job metrics and period facts are refused until the job type has economics.

  • The job outcome value has its own call. Report a job's money value with the outcome call, not as a metric.

Last updated

Was this helpful?