Skip to main content
Send a pre-counted product usage total for a company domain or one user to Reo.dev.
Tool ID: reo_write_add_product_usage_aggregate

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe reo_write_add_product_usage_aggregate --json for the latest machine-readable contract.

Input reference

Overview Sends a pre-aggregated usage count from your cloud product. Two modes: DOMAIN aggregates usage at the company level, USER aggregates it at the individual user level. ### Path Parameters None. ### Errors | Code | When it happens | Response body | |---|---|---| | 400 | API key wrong or missing · mode isn’t DOMAIN or USER | Bad key: {"response_code":400,"response":"Authentication Failure","status":"failure"} · Invalid mode: {"response_code":400,"response":"Invalid mode. Supported modes: DOMAIN, USER","status":"failure"} | ### ENUMs | Field | Value | Meaning | |---|---|---| | mode | DOMAIN | Count is for a whole company. Reo maps it to the Account | | mode | USER | Count is for one user. Reo maps it to the Developer, then the Account | | source | PRODUCT_CLOUD | Usage event from your cloud product | | user_id_type | EMAIL | user_id is an email | | See the live schema below for the complete notes.

Output reference

Standard tool result payload.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.