Skip to content

Commit e549938

Browse files
committed
feat: Better describe the circumstances under which run usage infor is included in API responses
1 parent 2545152 commit e549938

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • apify-api/openapi/components/schemas/actor-runs

apify-api/openapi/components/schemas/actor-runs/Run.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,16 @@ properties:
9898
usageTotalUsd:
9999
type: number
100100
nullable: true
101+
description: >-
102+
Total cost in USD for this run. Represents what you actually pay.
103+
For run owners: includes platform usage (compute units) and/or event costs depending on the Actor's pricing model.
104+
For non-owners: only available for Pay-Per-Event actors (event costs only).
105+
Not available for Pay-Per-Result actors when you're not the Actor owner.
101106
example: 0.2654
102107
usageUsd:
103108
nullable: true
109+
description: >-
110+
Platform usage costs breakdown in USD. Only present if you own the run AND are paying for platform usage
111+
(Pay-Per-Usage, Rental, or Pay-Per-Event with usage costs like standby Actors).
112+
Not available for standard Pay-Per-Event actors or Pay-Per-Result actors owned by others.
104113
$ref: ./RunUsage.yaml

0 commit comments

Comments
 (0)