Skip to content

Commit

Permalink
feat: add usage usd under run and build (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
drobnikj authored May 18, 2023
1 parent 66827fe commit 6fea3f2
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions sources/platform/api_v2/api_v2_reference.apib
Original file line number Diff line number Diff line change
Expand Up @@ -4175,6 +4175,11 @@ a summary of your limits, and your current usage.
- betaPackages: false (boolean, nullable)
- memoryMbytes: 1024 (number, nullable)
- diskMbytes: 2048 (number, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.08 (number, nullable)
- usageTotalUsd: 0.02 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.02 (number, nullable)
- inputSchema: `{\n \"title\": \"Schema for ... }` (string, nullable)
- readme: `# Magic actor\nThis actor is magic.` (string, nullable)
- buildNumber: `0.1.1` (string, required)
Expand All @@ -4184,6 +4189,7 @@ a summary of your limits, and your current usage.
- status: `SUCCEEDED` (string, required)
- startedAt: `2019-11-30T07:34:24.202Z` (string, required)
- finishedAt: `2019-12-12T09:30:12.202Z` (string, required)
- usageTotalUsd: 0.02 (number, required)
- meta (object)
- origin: `WEB` (string, required)
- clientIp: `172.234.12.34` (string, required)
Expand All @@ -4194,6 +4200,7 @@ a summary of your limits, and your current usage.
- startedAt: `2019-12-12T07:34:14.202Z` (string, required)
- finishedAt: `2019-12-13T08:36:13.202Z` (string, required)
- status: `FAILED` (string, required)
- usageTotalUsd: 0.105 (number, required)
- meta (object)
- origin: `API` (string, required)

Expand All @@ -4213,6 +4220,11 @@ a summary of your limits, and your current usage.
- useCache: false (boolean, nullable)
- memoryMbytes: 1024 (number, nullable)
- diskMbytes: 2048 (number, nullable)
- usage (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.08 (number, nullable)
- usageTotalUsd: 0.02 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.02 (number, nullable)

## Run (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
Expand Down Expand Up @@ -4269,6 +4281,20 @@ a summary of your limits, and your current usage.
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)

## RunShort1 (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
Expand All @@ -4281,6 +4307,7 @@ a summary of your limits, and your current usage.
- buildNumber: `0.0.2` (string, required)
- meta (object, required)
- origin: `WEB` (string, required)
- usageTotalUsd: 0.2 (number, required)
- defaultKeyValueStoreId: `sfAjeR4QmeJCQzTfe` (string, required)
- defaultDatasetId: `3ZojQDdFTsyE7Moy4` (string, required)
- defaultRequestQueueId: `so93g2shcDzK3pA85` (string, required)
Expand All @@ -4297,6 +4324,7 @@ a summary of your limits, and your current usage.
- buildNumber: `0.2.2` (string, required)
- meta (object, required)
- origin: `DEVELOPMENT` (string, required)
- usageTotalUsd: 0.6 (number, required)
- defaultKeyValueStoreId: `sffsouqlseJCQzTfe` (string, required)
- defaultDatasetId: `CFGggdjQDsyE7Moyw` (string, required)
- defaultRequestQueueId: `soowucklrmDzKpA8x` (string, required)
Expand Down Expand Up @@ -4359,6 +4387,20 @@ a summary of your limits, and your current usage.
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)

## RunAborted (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
Expand Down Expand Up @@ -4413,6 +4455,20 @@ a summary of your limits, and your current usage.
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)

## RunMetamorphed (object)
- id: `HG7ML7M8z78YcAPEB` (string, required)
Expand Down Expand Up @@ -4473,6 +4529,20 @@ a summary of your limits, and your current usage.
- DATA_TRANSFER_EXTERNAL_GBYTES?: 3 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 (number, nullable)
- PROXY_SERPS: 3 (number, nullable)
- usageTotalUsd: 0.2654 (number, nullable)
- usageUsd (object, nullable)
- ACTOR_COMPUTE_UNITS: 0.072 (number, nullable)
- DATASET_READS: 0.0004 (number, nullable)
- DATASET_WRITES: 0.0002 (number, nullable)
- KEY_VALUE_STORE_READS: 0.0006 (number, nullable)
- KEY_VALUE_STORE_WRITES: 0.002 (number, nullable)
- KEY_VALUE_STORE_LISTS: 0.004 (number, nullable)
- REQUEST_QUEUE_READS: 0.005 (number, nullable)
- REQUEST_QUEUE_WRITES: 0.02 (number, nullable)
- DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 (number, nullable)
- DATA_TRANSFER_EXTERNAL_GBYTES?: 0.0002 (number, nullable)
- PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 (number, nullable)
- PROXY_SERPS: 0.0006 (number, nullable)

## KVStore (object)
- id: `WkzbQMuFYuamGv3YF` (string, required)
Expand Down

0 comments on commit 6fea3f2

Please sign in to comment.