Skip to content

Commit f4d77a3

Browse files
committed
add new components
1 parent 8648a90 commit f4d77a3

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: maxItems
2+
in: query
3+
required: false
4+
description: |
5+
Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.
6+
This does NOT guarantee that the Actor will return only this many items.
7+
It only ensures you won't be charged for more than this number of items.
8+
Only works for pay-per-result Actors.
9+
Value can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.
10+
style: form
11+
explode: true
12+
schema:
13+
type: number
14+
format: double
15+
example: 1000
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: maxTotalChargeUsd
2+
in: query
3+
required: false
4+
description: |
5+
Specifies the maximum cost of the task run. This parameter is
6+
useful for pay-per-event tasks, as it allows you to limit the amount
7+
charged to your subscription. You can access the maximum cost in your Actor
8+
by using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.
9+
style: form
10+
explode: true
11+
schema:
12+
type: number
13+
format: double
14+
example: 5

0 commit comments

Comments
 (0)