Teams
Delete Invitations
Retrieve
Retrieve Limits
Update
ModelsExpand Collapse
TeamListResponse { teams }
teams: Array<Team>A list of the teams the user belongs to
A list of the teams the user belongs to
context: Context { invitationsCount, keysCount, userRole, usersCount } The context of the team for the current authenticated user
The context of the team for the current authenticated user
byok?: Byok { markupMultiplier, updatedAt, updatedBy } BYOK pricing override. Admin-only — omitted for non-admin callers.
BYOK pricing override. Admin-only — omitted for non-admin callers.
Team-wide default max consumption (CU) applied to every member over the billing period, unless overridden per member. Absent when no team-wide default is set.
ipDetectionEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The IP detection enforcement posture for the team.
‘disabled’: IP detection is not performed.
‘active-fail-open’: IP detection runs; on detector error the request is allowed through.
‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
The IP detection enforcement posture for the team. ‘disabled’: IP detection is not performed. ‘active-fail-open’: IP detection runs; on detector error the request is allowed through. ‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
moderationEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The moderation filter posture for the team, applied to the image, video and
text inputs and the prompts of every billed request. Enterprise only.
Scenario’s own rule against explicit content involving minors applies to
every team regardless.
‘disabled’: only Scenario’s own rule applies.
‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through.
‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
The moderation filter posture for the team, applied to the image, video and text inputs and the prompts of every billed request. Enterprise only. Scenario’s own rule against explicit content involving minors applies to every team regardless. ‘disabled’: only Scenario’s own rule applies. ‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through. ‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
moderationRules?: Array<ModerationRule>The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
TeamRetrieveResponse { team }
team: Team { id, createdAt, invitations, 19 more }
invitations: Array<Invitation>The list of pending invitations
The list of pending invitations
The invited user email (example: “herve@scenario.com”)
keys: Array<Key>The list of API keys
The list of API keys
The key’s member id (its API user id, apiu_...), taken by the member and
usage routes (example: “apiu_eyVcnFJcR92BxBkz7N6g5w”)
The API key id (api_...), taken by the api-keys routes (example:
“api_eyVcnFJcR92BxBkz7N6g5w”)
scope: "project" | "team"The scope of the API key: ‘project’ for project-scoped keys, ‘team’ for team-scoped keys
The scope of the API key: ‘project’ for project-scoped keys, ‘team’ for team-scoped keys
The API key last update date as an ISO string (example: “2023-02-03T11:19:41.579Z”)
The member who created the key: a human, or the member id (apiu_...) of
the team API key that created it.
The date the API key was last used to authenticate a request, as an ISO string (example: “2023-02-03T11:19:41.579Z”). Absent if the key has never been used.
The key’s effective consumption (CU) cap for the period (per-key override, else the team-wide default). Absent when the key is uncapped.
For a PROJECT key: the project it was created on (the team id on some legacy keys). Absent for team keys.
searchIndexes: SearchIndexes { assets, models, workflows } The search indexes for the team
The search indexes for the team
users: Array<User>The list of teams members and their role
The list of teams members and their role
The user email (example: “herve@scenario.com”)
byok?: Byok { markupMultiplier, updatedAt, updatedBy } BYOK pricing override. Admin-only — omitted for non-admin callers.
BYOK pricing override. Admin-only — omitted for non-admin callers.
Team-wide default max consumption (CU) applied to every member over the billing period, unless overridden per member. Absent when no team-wide default is set.
ipDetectionEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The IP detection enforcement posture for the team.
‘disabled’: IP detection is not performed.
‘active-fail-open’: IP detection runs; on detector error the request is allowed through.
‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
The IP detection enforcement posture for the team. ‘disabled’: IP detection is not performed. ‘active-fail-open’: IP detection runs; on detector error the request is allowed through. ‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
moderationEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The moderation filter posture for the team, applied to the image, video and
text inputs and the prompts of every billed request. Enterprise only.
Scenario’s own rule against explicit content involving minors applies to
every team regardless.
‘disabled’: only Scenario’s own rule applies.
‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through.
‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
The moderation filter posture for the team, applied to the image, video and text inputs and the prompts of every billed request. Enterprise only. Scenario’s own rule against explicit content involving minors applies to every team regardless. ‘disabled’: only Scenario’s own rule applies. ‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through. ‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
moderationRules?: Array<ModerationRule>The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
TeamRetrieveLimitsResponse { limits, oneShotCreativeUnits, period, 2 more }
limits: Limits { apiKeys, canvasAssetLayers, canvasAssets, 21 more } The actual billing limits values related to the plan
The actual billing limits values related to the plan
oneShotCreativeUnits: Array<OneShotCreativeUnit>The list of one-shot Compute Units
Can be empty if the team has no one-shot Compute Units
The list of one-shot Compute Units
Can be empty if the team has no one-shot Compute Units
TeamUpdateResponse { team }
team: Team { id, context, createdAt, 13 more } The updated team.
The updated team.
context: Context { invitationsCount, keysCount, userRole, usersCount } The context of the team for the current authenticated user
The context of the team for the current authenticated user
byok?: Byok { markupMultiplier, updatedAt, updatedBy } BYOK pricing override. Admin-only — omitted for non-admin callers.
BYOK pricing override. Admin-only — omitted for non-admin callers.
Team-wide default max consumption (CU) applied to every member over the billing period, unless overridden per member. Absent when no team-wide default is set.
ipDetectionEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The IP detection enforcement posture for the team.
‘disabled’: IP detection is not performed.
‘active-fail-open’: IP detection runs; on detector error the request is allowed through.
‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
The IP detection enforcement posture for the team. ‘disabled’: IP detection is not performed. ‘active-fail-open’: IP detection runs; on detector error the request is allowed through. ‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
moderationEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The moderation filter posture for the team, applied to the image, video and
text inputs and the prompts of every billed request. Enterprise only.
Scenario’s own rule against explicit content involving minors applies to
every team regardless.
‘disabled’: only Scenario’s own rule applies.
‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through.
‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
The moderation filter posture for the team, applied to the image, video and text inputs and the prompts of every billed request. Enterprise only. Scenario’s own rule against explicit content involving minors applies to every team regardless. ‘disabled’: only Scenario’s own rule applies. ‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through. ‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
moderationRules?: Array<ModerationRule>The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
TeamsBrief
Delete
Retrieve
Update
ModelsExpand Collapse
TeamsIP Filters
Create
Delete
Draft Instruction
List
Update
ModelsExpand Collapse
TeamsMembers
Create
Delete
Update
ModelsExpand Collapse
MemberCreateResponse { team }
team: Team { id, context, createdAt, 12 more }
context: Context { invitationsCount, keysCount, userRole, usersCount } The context of the team for the current authenticated user
The context of the team for the current authenticated user
byok?: Byok { markupMultiplier, updatedAt, updatedBy } BYOK pricing override. Admin-only — omitted for non-admin callers.
BYOK pricing override. Admin-only — omitted for non-admin callers.
Team-wide default max consumption (CU) applied to every member over the billing period, unless overridden per member. Absent when no team-wide default is set.
ipDetectionEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The IP detection enforcement posture for the team.
‘disabled’: IP detection is not performed.
‘active-fail-open’: IP detection runs; on detector error the request is allowed through.
‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
The IP detection enforcement posture for the team. ‘disabled’: IP detection is not performed. ‘active-fail-open’: IP detection runs; on detector error the request is allowed through. ‘active-fail-closed’: IP detection runs; on detector error the request is blocked.
moderationEnforcement?: "active-fail-closed" | "active-fail-open" | "disabled"The moderation filter posture for the team, applied to the image, video and
text inputs and the prompts of every billed request. Enterprise only.
Scenario’s own rule against explicit content involving minors applies to
every team regardless.
‘disabled’: only Scenario’s own rule applies.
‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through.
‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
The moderation filter posture for the team, applied to the image, video and text inputs and the prompts of every billed request. Enterprise only. Scenario’s own rule against explicit content involving minors applies to every team regardless. ‘disabled’: only Scenario’s own rule applies. ‘active-fail-open’: an input matching the team’s moderation rules is refused; an input that cannot be checked goes through. ‘active-fail-closed’: an input matching the team’s moderation rules is refused, and so is an input that cannot be checked.
moderationRules?: Array<ModerationRule>The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
The team’s moderation rules, applied when moderationEnforcement is active:
an input carrying one of these top-level labels at or above the rule’s
confidence is refused. When it is unset or empty, nothing is refused beyond
Scenario’s own rule.
TeamsWatermark
Delete
Delete Logo
Preview
Retrieve
Update
Update Logo
ModelsExpand Collapse
WatermarkDeleteLogoResponse { watermark }
watermark: Watermark { id, createdAt, createdBy, 14 more } Forced-watermark configuration stored at one scope.
Forced-watermark configuration stored at one scope.
Whether the watermark is enforced on assets generated in this scope. A disabled project configuration falls back to its team’s.
Gap between repetitions, as a fraction of the mark’s own size. Tiled placement only; 0 repeats the mark edge to edge.
WatermarkRetrieveResponse { watermark }
watermark: Watermark { id, createdAt, createdBy, 14 more } Forced-watermark configuration stored at one scope.
Forced-watermark configuration stored at one scope.
Whether the watermark is enforced on assets generated in this scope. A disabled project configuration falls back to its team’s.
Gap between repetitions, as a fraction of the mark’s own size. Tiled placement only; 0 repeats the mark edge to edge.
WatermarkUpdateResponse { watermark }
watermark: Watermark { id, createdAt, createdBy, 14 more } Forced-watermark configuration stored at one scope.
Forced-watermark configuration stored at one scope.
Whether the watermark is enforced on assets generated in this scope. A disabled project configuration falls back to its team’s.
Gap between repetitions, as a fraction of the mark’s own size. Tiled placement only; 0 repeats the mark edge to edge.
WatermarkUpdateLogoResponse { watermark }
watermark: Watermark { id, createdAt, createdBy, 14 more } Forced-watermark configuration stored at one scope.
Forced-watermark configuration stored at one scope.
Whether the watermark is enforced on assets generated in this scope. A disabled project configuration falls back to its team’s.
Gap between repetitions, as a fraction of the mark’s own size. Tiled placement only; 0 repeats the mark edge to edge.
TeamsWebhook Endpoints
Create
Delete
List
Update
ModelsExpand Collapse
WebhookEndpointCreateResponse { webhookEndpoint }
webhookEndpoint: WebhookEndpoint { id, createdAt, enabled, 9 more } The creation response, and the only one that carries the secret: it is
generated once and never returned again, so a client that loses it has to
recreate the endpoint.
The creation response, and the only one that carries the secret: it is generated once and never returned again, so a client that loses it has to recreate the endpoint.
enabledEvents: Array<"*" | "asset.download.completed" | "asset.download.created" | 16 more>The events that trigger the webhook. [’*’] indicates that all events are enabled
The events that trigger the webhook. [’*’] indicates that all events are enabled
The ID of the owner of the webhook endpoint: a project id for job lifecycle events, a team id for alert events
WebhookEndpointListResponse { webhookEndpoints }
webhookEndpoints: Array<WebhookEndpoint>A list of the team webhooks
A list of the team webhooks
enabledEvents: Array<"*" | "asset.download.completed" | "asset.download.created" | 16 more>The events that trigger the webhook. [’*’] indicates that all events are enabled
The events that trigger the webhook. [’*’] indicates that all events are enabled
The ID of the owner of the webhook endpoint: a project id for job lifecycle events, a team id for alert events
WebhookEndpointUpdateResponse { webhookEndpoint }
webhookEndpoint: WebhookEndpoint { id, createdAt, enabled, 8 more }
enabledEvents: Array<"*" | "asset.download.completed" | "asset.download.created" | 16 more>The events that trigger the webhook. [’*’] indicates that all events are enabled
The events that trigger the webhook. [’*’] indicates that all events are enabled
The ID of the owner of the webhook endpoint: a project id for job lifecycle events, a team id for alert events