Teams
Delete Invitations
Retrieve Limits
ModelsExpand Collapse
class TeamListResponse: …
teams: List[Team]A list of the teams the user belongs to
A list of the teams the user belongs to
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.
ip_detection_enforcement: Optional[Literal["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.
moderation_enforcement: Optional[Literal["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.
moderation_rules: Optional[List[TeamModerationRule]]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.
class TeamRetrieveResponse: …
team: Team
invitations: List[TeamInvitation]The list of pending invitations
The list of pending invitations
The invited user email (example: “herve@scenario.com”)
keys: List[TeamKey]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: Literal["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 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.
search_indexes: TeamSearchIndexesThe search indexes for the team
The search indexes for the team
users: List[TeamUser]The list of teams members and their role
The list of teams members and their role
The user email (example: “herve@scenario.com”)
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.
ip_detection_enforcement: Optional[Literal["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.
moderation_enforcement: Optional[Literal["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.
moderation_rules: Optional[List[TeamModerationRule]]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.
class TeamRetrieveLimitsResponse: …
class TeamUpdateResponse: …
team: TeamThe updated team.
The updated team.
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.
ip_detection_enforcement: Optional[Literal["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.
moderation_enforcement: Optional[Literal["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.
moderation_rules: Optional[List[TeamModerationRule]]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
Update
ModelsExpand Collapse
TeamsIP Filters
Create
Delete
Draft Instruction
Update
ModelsExpand Collapse
TeamsMembers
Create
Delete
Update
ModelsExpand Collapse
class MemberCreateResponse: …
team: Team
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.
ip_detection_enforcement: Optional[Literal["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.
moderation_enforcement: Optional[Literal["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.
moderation_rules: Optional[List[TeamModerationRule]]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 Logo
Preview
Retrieve
Update
Update Logo
ModelsExpand Collapse
class WatermarkDeleteLogoResponse: …
watermark: WatermarkForced-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.
class WatermarkRetrieveResponse: …
watermark: WatermarkForced-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.
class WatermarkUpdateResponse: …
watermark: WatermarkForced-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.
class WatermarkUpdateLogoResponse: …
watermark: WatermarkForced-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
class WebhookEndpointCreateResponse: …
webhook_endpoint: WebhookEndpointThe 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.
enabled_events: List[Literal["*", "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
class WebhookEndpointListResponse: …
webhook_endpoints: List[WebhookEndpoint]A list of the team webhooks
A list of the team webhooks
enabled_events: List[Literal["*", "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
class WebhookEndpointUpdateResponse: …
webhook_endpoint: WebhookEndpoint
enabled_events: List[Literal["*", "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