Usages
List
ModelsExpand Collapse
UsageListResponse object { activity, assetUsages, consumption, 6 more }
activity: optional array of object { action, data, projectId, 3 more }
action: "asset" or "asset-privacy" or "assistant-message" or 99 moreThe action name
The action name
assetUsages: optional array of object { kind, points }
entities: optional object { assets, collections, jobs, 2 more }
assets: optional array of object { id, kind, metadata, 2 more }
metadata: object { type } Partial metadata of the asset
Partial metadata of the asset
properties: object { size, animationFrameCount, bitrate, 28 more } The properties of the asset
The properties of the asset
cameraMode: optional "aerial" or "interior" or "turntable"Recommended preview camera mode emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera mode emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
cameraTrajectory: optional array of object { position, target, fov } Recommended preview camera path emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera path emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
Number of Unicode code points in the text. Code-point-aware (so a non-BMP emoji counts as 1) but not full grapheme-cluster aware (a ZWJ sequence still counts as several).
Number of faces, where a quad counts as one face.
On an asset without triangleCount, created before that field was introduced, an
OBJ or PLY file counts triangles instead.
True when preview holds the entire content unmodified — consumers can
use it directly without fetching asset.url. False or undefined means
the content exceeds the preview budget and consumers must fetch the
full body from S3 to read past the preview.
Leading slice of the content used for inline UI display and as a search shortcut. Capped at TEXT_PREVIEW_MAX_BYTES (UTF-8) and always cut on a code-point boundary so no character is split. Number of characters in the preview varies by script (around 1024 for ASCII, ~340 for CJK, ~256 for emoji-heavy text at the default 1 KB budget).
Number of faces with exactly four sides. Absent on assets created before this field was introduced.
jobs: optional array of object { id, jobType, metadata, status }
jobType: "assets-download" or "canvas-export" or "caption" or 37 moreThe job type
The job type
metadata: object { assetIds, error, flow, 6 more } The metadata of the job
The metadata of the job
flow: optional array of object { id, status, type, 16 more } The flow of the job. Only available for workflow jobs.
The flow of the job. Only available for workflow jobs.
status: "failure" or "pending" or "processing" or 3 moreThe status of the node. Only available for WorkflowJob nodes.
The status of the node. Only available for WorkflowJob nodes.
Fixed number of iterations for a ForEach node.
When set, the loop runs exactly count times regardless of array input.
When not set, the loop iterates over the resolved array input.
Only available for ForEach nodes.
The nodes that this node depends on. Only available for nodes that have dependencies. Mainly used for user approval nodes.
If true, the outputs of this node will be included in the workflow job’s final output.
Only applicable to producing nodes (custom-model, inference, etc.).
By default, only last nodes (nodes not referenced by other nodes) contribute to outputs.
Set this to true to also include intermediate nodes in the final output.
Note: This should only be set to true or left undefined.
inputs: optional array of object { name, type, allowedValues, 28 more } The inputs of the node.
For a user-selection node, the array input’s min/max bound how many
items the user may pick (defaults: 1 and 100); conditional connections may
be present as additional inputs.
The inputs of the node.
For a user-selection node, the array input’s min/max bound how many
items the user may pick (defaults: 1 and 100); conditional connections may
be present as additional inputs.
type: "boolean" or "cel_data" or "file" or 8 moreThe data type of the input.
cel_data is a structured CEL value (map, list, scalar, or null) passed
through unchanged. It is not an asset carrier: asset ids must use file
or file_array. A cel_data node input references only a transform node
or a workflow input.
A cel_data run value holds at most 64 KB of JSON. All cel_data values
of a run together hold at most 192 KB. A number must be 0 or between
1e-130 and 2^53 - 1 in magnitude, and an object key cannot be empty.
Nesting is limited to 30 levels, or 28 inside an inputs_array item.
The data type of the input.
cel_data is a structured CEL value (map, list, scalar, or null) passed
through unchanged. It is not an asset carrier: asset ids must use file
or file_array. A cel_data node input references only a transform node
or a workflow input.
A cel_data run value holds at most 64 KB of JSON. All cel_data values
of a run together hold at most 192 KB. A number must be 0 or between
1e-130 and 2^53 - 1 in magnitude, and an object key cannot be empty.
Nesting is limited to 30 levels, or 28 inside an inputs_array item.
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior: optional "opaque" or "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Help text displayed in the UI to provide additional information about the input
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The inputs that make up each object of an inputs_array input. Each has
the same shape as this input.
This is only available for type inputs_array inputs.
items: optional array of array of object { name, type, allowedValues, 27 more } The configured items for inputs_array type inputs.
Each item is an array of SubNodeInput that need ref/value resolution.
Only available for inputs_array type.
The configured items for inputs_array type inputs. Each item is an array of SubNodeInput that need ref/value resolution. Only available for inputs_array type.
type: "boolean" or "cel_data" or "file" or 8 moreThe data type of the input.
cel_data is a structured CEL value (map, list, scalar, or null) passed
through unchanged. It is not an asset carrier: asset ids must use file
or file_array. A cel_data node input references only a transform node
or a workflow input.
A cel_data run value holds at most 64 KB of JSON. All cel_data values
of a run together hold at most 192 KB. A number must be 0 or between
1e-130 and 2^53 - 1 in magnitude, and an object key cannot be empty.
Nesting is limited to 30 levels, or 28 inside an inputs_array item.
The data type of the input.
cel_data is a structured CEL value (map, list, scalar, or null) passed
through unchanged. It is not an asset carrier: asset ids must use file
or file_array. A cel_data node input references only a transform node
or a workflow input.
A cel_data run value holds at most 64 KB of JSON. All cel_data values
of a run together hold at most 192 KB. A number must be 0 or between
1e-130 and 2^53 - 1 in magnitude, and an object key cannot be empty.
Nesting is limited to 30 levels, or 28 inside an inputs_array item.
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior: optional "opaque" or "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Help text displayed in the UI to provide additional information about the input
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The inputs that make up each object of an inputs_array input. Each has
the same shape as this input.
This is only available for type inputs_array inputs.
kind: optional "3d" or "audio" or "document" or 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
`file` and `file_array` inputs always expose a kind: when a model does not declare one,
`image` is returned, which is the kind used at generation time.
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix `file` and `file_array` inputs always expose a kind: when a model does not declare one, `image` is returned, which is the kind used at generation time.
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` and `model` inputs, in characters. For the array types (`string_array`, `model_array`) it bounds the NUMBER OF ITEMS instead — the length of each item is not constrained.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The minimum allowed length for `string` and `model` inputs, in characters. For the array types (`string_array`, `model_array`) it bounds the NUMBER OF ITEMS instead — the length of each item is not constrained.
modelTypes: optional array of "custom" or "elevenlabs-voice" or "flux.1" or 31 moreThe allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
ref: optional object { conditional, equal, name, node } The reference to another input or output of the same workflow.
Must have at least one of node or conditional.
The reference to another input or output of the same workflow. Must have at least one of node or conditional.
The conditional nodes to reference. If the conditional nodes are successful, the node will be successful. If the conditional nodes are skipped, the node will be skipped. Contains an array of node ids used to check the status of the nodes.
The name of the input or output to reference. If the type is ‘workflow’, the name is the name of the input of the workflow is required If the type is ‘node’, the name is not mandatory, except if you want all outputs of the node. To get all outputs of a node, you can use the name ‘all’.
required: optional object { always, conditional, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditional`: Input is required when other inputs have specific values
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditional`: Input is required when other inputs have specific values
By default, the input is not required.
conditional: optional object { values, operator } Makes this input required when other inputs have one of the listed values
Makes this input required when other inputs have one of the listed values
kind: optional "3d" or "audio" or "document" or 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
`file` and `file_array` inputs always expose a kind: when a model does not declare one,
`image` is returned, which is the kind used at generation time.
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix `file` and `file_array` inputs always expose a kind: when a model does not declare one, `image` is returned, which is the kind used at generation time.
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` and `model` inputs, in characters. For the array types (`string_array`, `model_array`) it bounds the NUMBER OF ITEMS instead — the length of each item is not constrained.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The minimum allowed length for `string` and `model` inputs, in characters. For the array types (`string_array`, `model_array`) it bounds the NUMBER OF ITEMS instead — the length of each item is not constrained.
modelTypes: optional array of "custom" or "elevenlabs-voice" or "flux.1" or 31 moreThe allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
ref: optional object { conditional, equal, name, node } The reference to another input or output of the same workflow.
Must have at least one of node or conditional.
The reference to another input or output of the same workflow. Must have at least one of node or conditional.
The conditional nodes to reference. If the conditional nodes are successful, the node will be successful. If the conditional nodes are skipped, the node will be skipped. Contains an array of node ids used to check the status of the nodes.
The name of the input or output to reference. If the type is ‘workflow’, the name is the name of the input of the workflow is required If the type is ‘node’, the name is not mandatory, except if you want all outputs of the node. To get all outputs of a node, you can use the name ‘all’.
required: optional object { always, conditional, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditional`: Input is required when other inputs have specific values
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditional`: Input is required when other inputs have specific values
By default, the input is not required.
conditional: optional object { values, operator } Makes this input required when other inputs have one of the listed values
Makes this input required when other inputs have one of the listed values
Statically-configured items for a List node, or the frozen candidate list of a UserSelection node. The values can be strings, numbers, or asset IDs.
Zero-based index of the iteration this node copy belongs to. Set on dynamically-created copies of loop body nodes.
If the flow is part of a WorkflowJob, this is the jobId for the node. jobId is only available for nodes started. A node “Pending” for a running workflow job is not started.
logic: optional object { cases, default, transform } The logic of the node.
Only available for logic nodes.
The logic of the node. Only available for logic nodes.
IDs of the body template nodes that belong to this ForEach loop. At runtime these templates are cloned once per iteration and marked Skipped. Only available for ForEach nodes.
ID of the ForEach node that spawned this iteration copy. Set on dynamically-created copies of loop body nodes.
For-each nodes only. IDs of the loop body nodes whose outputs form the loop’s results, in the order the loop end reads them; empty when nothing is wired into the loop end. When omitted, the results come from the body nodes no other body node reads. Required on a for-each node whose body contains an organize-assets node.
users: optional array of object { id, isApiKey, apiKeyId, 4 more }
apiKeyStatus: optional "active" or "deleted" or "inactive"The API key status
Will be available:
- if the user is an API key
The API key status
Will be available:
- if the user is an API key
avatar: optional object { assetId, url } The user avatar
Will be available:
- if the user hasn’t left the Scenario platform
- if the user isn’t an API key
The user avatar
Will be available:
- if the user hasn’t left the Scenario platform
- if the user isn’t an API key
modelUsages: optional array of object { modelId, points }
qualityGateUsages: optional array of object { points, verdict }
The task ids sent with the requests of the period, at most 1000, most recently used first, when type includes task-ids. Filtered by the same parameters as the other types, except taskIds.
usages: optional array of object { granularity, points, usageName }
granularity: "15m" or "1d" or "1h" or 4 moreGranularity for points (example: “1d”, “1h”, “1m”, “15m”)
Granularity for points (example: “1d”, “1h”, “1m”, “15m”)
points: array of object { apiKey, time, value, 4 more } The usage data points
The usage data points
Cost in Compute Units for the point restricted to API-key calls
(mirrors the apiKey value field but on the cost axis).