@workos/openapi-spec 0.154.0 → 0.155.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/open-api-spec.yaml +1110 -37
- package/dist/types.d.ts +836 -6
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -23512,6 +23512,14 @@ components:
|
|
|
23512
23512
|
- flag.deleted
|
|
23513
23513
|
- flag.updated
|
|
23514
23514
|
- flag.rule_updated
|
|
23515
|
+
- feature_flags.flag.created
|
|
23516
|
+
- feature_flags.flag.updated
|
|
23517
|
+
- feature_flags.flag.deleted
|
|
23518
|
+
- feature_flags.flag_rule.created
|
|
23519
|
+
- feature_flags.flag_rule.updated
|
|
23520
|
+
- feature_flags.flag_target.created
|
|
23521
|
+
- feature_flags.flag_rule.deleted
|
|
23522
|
+
- feature_flags.flag_target.deleted
|
|
23515
23523
|
- invitation.accepted
|
|
23516
23524
|
- invitation.created
|
|
23517
23525
|
- invitation.resent
|
|
@@ -24177,7 +24185,7 @@ components:
|
|
|
24177
24185
|
- message
|
|
24178
24186
|
AuthMethodMismatchErrorBody:
|
|
24179
24187
|
type: object
|
|
24180
|
-
properties: &
|
|
24188
|
+
properties: &ref_47
|
|
24181
24189
|
code:
|
|
24182
24190
|
type: string
|
|
24183
24191
|
const: auth_method_mismatch
|
|
@@ -24191,13 +24199,13 @@ components:
|
|
|
24191
24199
|
example: >-
|
|
24192
24200
|
This installation uses oauth authentication. Use the POST
|
|
24193
24201
|
/:slug/token endpoint instead.
|
|
24194
|
-
required: &
|
|
24202
|
+
required: &ref_48
|
|
24195
24203
|
- code
|
|
24196
24204
|
- message
|
|
24197
24205
|
x-component-name: AuthMethodMismatchError
|
|
24198
24206
|
AccountSelectionRequiredErrorBody:
|
|
24199
24207
|
type: object
|
|
24200
|
-
properties: &
|
|
24208
|
+
properties: &ref_49
|
|
24201
24209
|
code:
|
|
24202
24210
|
type: string
|
|
24203
24211
|
const: account_selection_required
|
|
@@ -24211,7 +24219,7 @@ components:
|
|
|
24211
24219
|
example: >-
|
|
24212
24220
|
Several connected accounts match this user for this provider. Name
|
|
24213
24221
|
one with a connected account id.
|
|
24214
|
-
required: &
|
|
24222
|
+
required: &ref_50
|
|
24215
24223
|
- code
|
|
24216
24224
|
- message
|
|
24217
24225
|
x-component-name: AccountSelectionRequiredError
|
|
@@ -28859,6 +28867,197 @@ components:
|
|
|
28859
28867
|
- custom_attributes
|
|
28860
28868
|
- created_at
|
|
28861
28869
|
- updated_at
|
|
28870
|
+
FlagRule:
|
|
28871
|
+
type: object
|
|
28872
|
+
properties:
|
|
28873
|
+
object:
|
|
28874
|
+
type: string
|
|
28875
|
+
const: flag_rule
|
|
28876
|
+
id:
|
|
28877
|
+
type: string
|
|
28878
|
+
description: Unique identifier of the Flag Rule.
|
|
28879
|
+
example: flag_rule_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28880
|
+
flag_id:
|
|
28881
|
+
type: string
|
|
28882
|
+
description: The ID of the Feature Flag the rule belongs to.
|
|
28883
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28884
|
+
flag_slug:
|
|
28885
|
+
type: string
|
|
28886
|
+
description: The slug of the Feature Flag the rule belongs to.
|
|
28887
|
+
example: new-checkout
|
|
28888
|
+
environment_id:
|
|
28889
|
+
type: string
|
|
28890
|
+
description: The ID of the environment the Flag Rule belongs to.
|
|
28891
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
28892
|
+
target_type:
|
|
28893
|
+
type:
|
|
28894
|
+
- string
|
|
28895
|
+
- 'null'
|
|
28896
|
+
description: The target type slug, if the rule targets a specific type.
|
|
28897
|
+
example: organization
|
|
28898
|
+
position:
|
|
28899
|
+
type: integer
|
|
28900
|
+
minimum: 0
|
|
28901
|
+
description: The zero-based position of the rule in evaluation order.
|
|
28902
|
+
example: 0
|
|
28903
|
+
value_type:
|
|
28904
|
+
type: string
|
|
28905
|
+
const: boolean
|
|
28906
|
+
value:
|
|
28907
|
+
type: boolean
|
|
28908
|
+
description: The value the Feature Flag evaluates to when the rule matches.
|
|
28909
|
+
example: false
|
|
28910
|
+
created_at:
|
|
28911
|
+
format: date-time
|
|
28912
|
+
type: string
|
|
28913
|
+
description: An ISO 8601 timestamp.
|
|
28914
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
28915
|
+
updated_at:
|
|
28916
|
+
format: date-time
|
|
28917
|
+
type: string
|
|
28918
|
+
description: An ISO 8601 timestamp.
|
|
28919
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
28920
|
+
required:
|
|
28921
|
+
- object
|
|
28922
|
+
- id
|
|
28923
|
+
- flag_id
|
|
28924
|
+
- flag_slug
|
|
28925
|
+
- environment_id
|
|
28926
|
+
- target_type
|
|
28927
|
+
- position
|
|
28928
|
+
- value_type
|
|
28929
|
+
- value
|
|
28930
|
+
- created_at
|
|
28931
|
+
- updated_at
|
|
28932
|
+
FlagTarget:
|
|
28933
|
+
oneOf:
|
|
28934
|
+
- type: object
|
|
28935
|
+
properties:
|
|
28936
|
+
object:
|
|
28937
|
+
type: string
|
|
28938
|
+
description: Distinguishes the Flag Target object.
|
|
28939
|
+
const: flag_target
|
|
28940
|
+
id:
|
|
28941
|
+
type: string
|
|
28942
|
+
description: Unique identifier of the Flag Target.
|
|
28943
|
+
example: flag_target_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28944
|
+
flag_id:
|
|
28945
|
+
type: string
|
|
28946
|
+
description: The ID of the Feature Flag the target belongs to.
|
|
28947
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28948
|
+
flag_slug:
|
|
28949
|
+
type: string
|
|
28950
|
+
description: >-
|
|
28951
|
+
The slug of the Feature Flag the target belongs to, which is how
|
|
28952
|
+
the Feature Flag endpoints address it.
|
|
28953
|
+
example: new-checkout
|
|
28954
|
+
environment_id:
|
|
28955
|
+
type: string
|
|
28956
|
+
description: The ID of the environment the Flag Target belongs to.
|
|
28957
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
28958
|
+
target_type:
|
|
28959
|
+
type: string
|
|
28960
|
+
description: >-
|
|
28961
|
+
The type of the target: `organization`, `user`, or a custom
|
|
28962
|
+
target type slug.
|
|
28963
|
+
example: organization
|
|
28964
|
+
target_id:
|
|
28965
|
+
type: string
|
|
28966
|
+
description: The ID of the targeted entity.
|
|
28967
|
+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
28968
|
+
created_at:
|
|
28969
|
+
format: date-time
|
|
28970
|
+
type: string
|
|
28971
|
+
description: An ISO 8601 timestamp.
|
|
28972
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
28973
|
+
updated_at:
|
|
28974
|
+
format: date-time
|
|
28975
|
+
type: string
|
|
28976
|
+
description: An ISO 8601 timestamp.
|
|
28977
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
28978
|
+
rule_id:
|
|
28979
|
+
type: string
|
|
28980
|
+
description: The ID of the rule this target belongs to.
|
|
28981
|
+
example: flag_rule_01EHZNVPK3SFK441A1RGBFSHRT
|
|
28982
|
+
required:
|
|
28983
|
+
- object
|
|
28984
|
+
- id
|
|
28985
|
+
- flag_id
|
|
28986
|
+
- flag_slug
|
|
28987
|
+
- environment_id
|
|
28988
|
+
- target_type
|
|
28989
|
+
- target_id
|
|
28990
|
+
- created_at
|
|
28991
|
+
- updated_at
|
|
28992
|
+
- rule_id
|
|
28993
|
+
- type: object
|
|
28994
|
+
properties:
|
|
28995
|
+
object:
|
|
28996
|
+
type: string
|
|
28997
|
+
description: Distinguishes the Flag Target object.
|
|
28998
|
+
const: flag_target
|
|
28999
|
+
id:
|
|
29000
|
+
type: string
|
|
29001
|
+
description: Unique identifier of the Flag Target.
|
|
29002
|
+
example: flag_target_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29003
|
+
flag_id:
|
|
29004
|
+
type: string
|
|
29005
|
+
description: The ID of the Feature Flag the target belongs to.
|
|
29006
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29007
|
+
flag_slug:
|
|
29008
|
+
type: string
|
|
29009
|
+
description: >-
|
|
29010
|
+
The slug of the Feature Flag the target belongs to, which is how
|
|
29011
|
+
the Feature Flag endpoints address it.
|
|
29012
|
+
example: new-checkout
|
|
29013
|
+
environment_id:
|
|
29014
|
+
type: string
|
|
29015
|
+
description: The ID of the environment the Flag Target belongs to.
|
|
29016
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
29017
|
+
target_type:
|
|
29018
|
+
type: string
|
|
29019
|
+
description: >-
|
|
29020
|
+
The type of the target: `organization`, `user`, or a custom
|
|
29021
|
+
target type slug.
|
|
29022
|
+
example: organization
|
|
29023
|
+
target_id:
|
|
29024
|
+
type: string
|
|
29025
|
+
description: The ID of the targeted entity.
|
|
29026
|
+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
29027
|
+
value_type:
|
|
29028
|
+
type: string
|
|
29029
|
+
description: >-
|
|
29030
|
+
The type of `value`. Only `boolean` is supported today;
|
|
29031
|
+
additional types are reserved for future multivariate Feature
|
|
29032
|
+
Flags.
|
|
29033
|
+
example: boolean
|
|
29034
|
+
const: boolean
|
|
29035
|
+
value:
|
|
29036
|
+
type: boolean
|
|
29037
|
+
description: The value the Feature Flag evaluates to for this target.
|
|
29038
|
+
example: true
|
|
29039
|
+
created_at:
|
|
29040
|
+
format: date-time
|
|
29041
|
+
type: string
|
|
29042
|
+
description: An ISO 8601 timestamp.
|
|
29043
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
29044
|
+
updated_at:
|
|
29045
|
+
format: date-time
|
|
29046
|
+
type: string
|
|
29047
|
+
description: An ISO 8601 timestamp.
|
|
29048
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
29049
|
+
required:
|
|
29050
|
+
- object
|
|
29051
|
+
- id
|
|
29052
|
+
- flag_id
|
|
29053
|
+
- flag_slug
|
|
29054
|
+
- environment_id
|
|
29055
|
+
- target_type
|
|
29056
|
+
- target_id
|
|
29057
|
+
- value_type
|
|
29058
|
+
- value
|
|
29059
|
+
- created_at
|
|
29060
|
+
- updated_at
|
|
28862
29061
|
PipesConnectedAccount:
|
|
28863
29062
|
type: object
|
|
28864
29063
|
properties:
|
|
@@ -29124,7 +29323,7 @@ components:
|
|
|
29124
29323
|
- data
|
|
29125
29324
|
- created_at
|
|
29126
29325
|
description: An event emitted by WorkOS.
|
|
29127
|
-
example: &
|
|
29326
|
+
example: &ref_46
|
|
29128
29327
|
object: event
|
|
29129
29328
|
id: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
29130
29329
|
event: dsync.user.created
|
|
@@ -33830,7 +34029,753 @@ components:
|
|
|
33830
34029
|
description: An ISO 8601 timestamp.
|
|
33831
34030
|
example: '2026-01-15T12:00:00.000Z'
|
|
33832
34031
|
context:
|
|
33833
|
-
$ref: '#/components/schemas/EventContextDto'
|
|
34032
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
34033
|
+
object:
|
|
34034
|
+
type: string
|
|
34035
|
+
description: Distinguishes the Event object.
|
|
34036
|
+
const: event
|
|
34037
|
+
required:
|
|
34038
|
+
- id
|
|
34039
|
+
- event
|
|
34040
|
+
- data
|
|
34041
|
+
- created_at
|
|
34042
|
+
- object
|
|
34043
|
+
- type: object
|
|
34044
|
+
properties:
|
|
34045
|
+
id:
|
|
34046
|
+
type: string
|
|
34047
|
+
description: Unique identifier for the event.
|
|
34048
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34049
|
+
event:
|
|
34050
|
+
type: string
|
|
34051
|
+
const: feature_flags.flag.created
|
|
34052
|
+
data:
|
|
34053
|
+
type: object
|
|
34054
|
+
properties:
|
|
34055
|
+
object:
|
|
34056
|
+
type: string
|
|
34057
|
+
const: feature_flag
|
|
34058
|
+
id:
|
|
34059
|
+
type: string
|
|
34060
|
+
description: Unique identifier of the Feature Flag.
|
|
34061
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34062
|
+
environment_id:
|
|
34063
|
+
type: string
|
|
34064
|
+
description: The ID of the environment the Feature Flag belongs to.
|
|
34065
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34066
|
+
slug:
|
|
34067
|
+
type: string
|
|
34068
|
+
description: A unique key to reference the Feature Flag.
|
|
34069
|
+
example: advanced-analytics
|
|
34070
|
+
name:
|
|
34071
|
+
type: string
|
|
34072
|
+
description: A descriptive name for the Feature Flag.
|
|
34073
|
+
example: Advanced Analytics
|
|
34074
|
+
description:
|
|
34075
|
+
type:
|
|
34076
|
+
- string
|
|
34077
|
+
- 'null'
|
|
34078
|
+
description: A description for the Feature Flag.
|
|
34079
|
+
example: Enable advanced analytics dashboard feature
|
|
34080
|
+
owner:
|
|
34081
|
+
description: The owner of the Feature Flag.
|
|
34082
|
+
oneOf:
|
|
34083
|
+
- type: object
|
|
34084
|
+
properties:
|
|
34085
|
+
email:
|
|
34086
|
+
type: string
|
|
34087
|
+
description: The email address of the flag owner.
|
|
34088
|
+
example: jane@example.com
|
|
34089
|
+
first_name:
|
|
34090
|
+
type:
|
|
34091
|
+
- string
|
|
34092
|
+
- 'null'
|
|
34093
|
+
description: The first name of the flag owner.
|
|
34094
|
+
example: Jane
|
|
34095
|
+
last_name:
|
|
34096
|
+
type:
|
|
34097
|
+
- string
|
|
34098
|
+
- 'null'
|
|
34099
|
+
description: The last name of the flag owner.
|
|
34100
|
+
example: Doe
|
|
34101
|
+
required:
|
|
34102
|
+
- email
|
|
34103
|
+
- first_name
|
|
34104
|
+
- last_name
|
|
34105
|
+
- type: 'null'
|
|
34106
|
+
tags:
|
|
34107
|
+
type: array
|
|
34108
|
+
items:
|
|
34109
|
+
type: string
|
|
34110
|
+
description: >-
|
|
34111
|
+
Labels assigned to the Feature Flag for categorizing and
|
|
34112
|
+
filtering.
|
|
34113
|
+
example: &ref_41
|
|
34114
|
+
- reports
|
|
34115
|
+
enabled:
|
|
34116
|
+
type: boolean
|
|
34117
|
+
description: >-
|
|
34118
|
+
Specifies whether the Feature Flag is active for the
|
|
34119
|
+
current environment.
|
|
34120
|
+
example: true
|
|
34121
|
+
default_value:
|
|
34122
|
+
type: boolean
|
|
34123
|
+
description: >-
|
|
34124
|
+
The value returned for users and organizations who don't
|
|
34125
|
+
match any configured targeting rules.
|
|
34126
|
+
example: false
|
|
34127
|
+
created_at:
|
|
34128
|
+
format: date-time
|
|
34129
|
+
type: string
|
|
34130
|
+
description: An ISO 8601 timestamp.
|
|
34131
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34132
|
+
updated_at:
|
|
34133
|
+
format: date-time
|
|
34134
|
+
type: string
|
|
34135
|
+
description: An ISO 8601 timestamp.
|
|
34136
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34137
|
+
required:
|
|
34138
|
+
- object
|
|
34139
|
+
- id
|
|
34140
|
+
- environment_id
|
|
34141
|
+
- slug
|
|
34142
|
+
- name
|
|
34143
|
+
- description
|
|
34144
|
+
- owner
|
|
34145
|
+
- tags
|
|
34146
|
+
- enabled
|
|
34147
|
+
- default_value
|
|
34148
|
+
- created_at
|
|
34149
|
+
- updated_at
|
|
34150
|
+
description: The event payload.
|
|
34151
|
+
created_at:
|
|
34152
|
+
format: date-time
|
|
34153
|
+
type: string
|
|
34154
|
+
description: An ISO 8601 timestamp.
|
|
34155
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34156
|
+
context:
|
|
34157
|
+
type: object
|
|
34158
|
+
properties:
|
|
34159
|
+
client_id:
|
|
34160
|
+
type: string
|
|
34161
|
+
description: The client ID associated with the flag event.
|
|
34162
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34163
|
+
actor:
|
|
34164
|
+
type: object
|
|
34165
|
+
properties:
|
|
34166
|
+
id:
|
|
34167
|
+
type: string
|
|
34168
|
+
description: Unique identifier of the actor.
|
|
34169
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34170
|
+
source:
|
|
34171
|
+
type: string
|
|
34172
|
+
enum:
|
|
34173
|
+
- api
|
|
34174
|
+
- dashboard
|
|
34175
|
+
- admin_portal
|
|
34176
|
+
- system
|
|
34177
|
+
description: The source of the actor that performed the action.
|
|
34178
|
+
name:
|
|
34179
|
+
type:
|
|
34180
|
+
- string
|
|
34181
|
+
- 'null'
|
|
34182
|
+
description: The name of the actor.
|
|
34183
|
+
example: Jane Doe
|
|
34184
|
+
required:
|
|
34185
|
+
- id
|
|
34186
|
+
- source
|
|
34187
|
+
- name
|
|
34188
|
+
description: The actor who performed the action.
|
|
34189
|
+
required:
|
|
34190
|
+
- client_id
|
|
34191
|
+
- actor
|
|
34192
|
+
description: Additional context about the event.
|
|
34193
|
+
object:
|
|
34194
|
+
type: string
|
|
34195
|
+
description: Distinguishes the Event object.
|
|
34196
|
+
const: event
|
|
34197
|
+
required:
|
|
34198
|
+
- id
|
|
34199
|
+
- event
|
|
34200
|
+
- data
|
|
34201
|
+
- created_at
|
|
34202
|
+
- context
|
|
34203
|
+
- object
|
|
34204
|
+
- type: object
|
|
34205
|
+
properties:
|
|
34206
|
+
id:
|
|
34207
|
+
type: string
|
|
34208
|
+
description: Unique identifier for the event.
|
|
34209
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34210
|
+
event:
|
|
34211
|
+
type: string
|
|
34212
|
+
const: feature_flags.flag.deleted
|
|
34213
|
+
data:
|
|
34214
|
+
type: object
|
|
34215
|
+
properties:
|
|
34216
|
+
object:
|
|
34217
|
+
type: string
|
|
34218
|
+
const: feature_flag
|
|
34219
|
+
id:
|
|
34220
|
+
type: string
|
|
34221
|
+
description: Unique identifier of the Feature Flag.
|
|
34222
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34223
|
+
environment_id:
|
|
34224
|
+
type: string
|
|
34225
|
+
description: The ID of the environment the Feature Flag belongs to.
|
|
34226
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34227
|
+
slug:
|
|
34228
|
+
type: string
|
|
34229
|
+
description: A unique key to reference the Feature Flag.
|
|
34230
|
+
example: advanced-analytics
|
|
34231
|
+
name:
|
|
34232
|
+
type: string
|
|
34233
|
+
description: A descriptive name for the Feature Flag.
|
|
34234
|
+
example: Advanced Analytics
|
|
34235
|
+
description:
|
|
34236
|
+
type:
|
|
34237
|
+
- string
|
|
34238
|
+
- 'null'
|
|
34239
|
+
description: A description for the Feature Flag.
|
|
34240
|
+
example: Enable advanced analytics dashboard feature
|
|
34241
|
+
owner:
|
|
34242
|
+
description: The owner of the Feature Flag.
|
|
34243
|
+
oneOf:
|
|
34244
|
+
- type: object
|
|
34245
|
+
properties:
|
|
34246
|
+
email:
|
|
34247
|
+
type: string
|
|
34248
|
+
description: The email address of the flag owner.
|
|
34249
|
+
example: jane@example.com
|
|
34250
|
+
first_name:
|
|
34251
|
+
type:
|
|
34252
|
+
- string
|
|
34253
|
+
- 'null'
|
|
34254
|
+
description: The first name of the flag owner.
|
|
34255
|
+
example: Jane
|
|
34256
|
+
last_name:
|
|
34257
|
+
type:
|
|
34258
|
+
- string
|
|
34259
|
+
- 'null'
|
|
34260
|
+
description: The last name of the flag owner.
|
|
34261
|
+
example: Doe
|
|
34262
|
+
required:
|
|
34263
|
+
- email
|
|
34264
|
+
- first_name
|
|
34265
|
+
- last_name
|
|
34266
|
+
- type: 'null'
|
|
34267
|
+
tags:
|
|
34268
|
+
type: array
|
|
34269
|
+
items:
|
|
34270
|
+
type: string
|
|
34271
|
+
description: >-
|
|
34272
|
+
Labels assigned to the Feature Flag for categorizing and
|
|
34273
|
+
filtering.
|
|
34274
|
+
example: *ref_41
|
|
34275
|
+
enabled:
|
|
34276
|
+
type: boolean
|
|
34277
|
+
description: >-
|
|
34278
|
+
Specifies whether the Feature Flag is active for the
|
|
34279
|
+
current environment.
|
|
34280
|
+
example: true
|
|
34281
|
+
default_value:
|
|
34282
|
+
type: boolean
|
|
34283
|
+
description: >-
|
|
34284
|
+
The value returned for users and organizations who don't
|
|
34285
|
+
match any configured targeting rules.
|
|
34286
|
+
example: false
|
|
34287
|
+
created_at:
|
|
34288
|
+
format: date-time
|
|
34289
|
+
type: string
|
|
34290
|
+
description: An ISO 8601 timestamp.
|
|
34291
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34292
|
+
updated_at:
|
|
34293
|
+
format: date-time
|
|
34294
|
+
type: string
|
|
34295
|
+
description: An ISO 8601 timestamp.
|
|
34296
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34297
|
+
required:
|
|
34298
|
+
- object
|
|
34299
|
+
- id
|
|
34300
|
+
- environment_id
|
|
34301
|
+
- slug
|
|
34302
|
+
- name
|
|
34303
|
+
- description
|
|
34304
|
+
- owner
|
|
34305
|
+
- tags
|
|
34306
|
+
- enabled
|
|
34307
|
+
- default_value
|
|
34308
|
+
- created_at
|
|
34309
|
+
- updated_at
|
|
34310
|
+
description: The event payload.
|
|
34311
|
+
created_at:
|
|
34312
|
+
format: date-time
|
|
34313
|
+
type: string
|
|
34314
|
+
description: An ISO 8601 timestamp.
|
|
34315
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34316
|
+
context:
|
|
34317
|
+
type: object
|
|
34318
|
+
properties:
|
|
34319
|
+
client_id:
|
|
34320
|
+
type: string
|
|
34321
|
+
description: The client ID associated with the flag event.
|
|
34322
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34323
|
+
actor:
|
|
34324
|
+
type: object
|
|
34325
|
+
properties:
|
|
34326
|
+
id:
|
|
34327
|
+
type: string
|
|
34328
|
+
description: Unique identifier of the actor.
|
|
34329
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34330
|
+
source:
|
|
34331
|
+
type: string
|
|
34332
|
+
enum:
|
|
34333
|
+
- api
|
|
34334
|
+
- dashboard
|
|
34335
|
+
- admin_portal
|
|
34336
|
+
- system
|
|
34337
|
+
description: The source of the actor that performed the action.
|
|
34338
|
+
name:
|
|
34339
|
+
type:
|
|
34340
|
+
- string
|
|
34341
|
+
- 'null'
|
|
34342
|
+
description: The name of the actor.
|
|
34343
|
+
example: Jane Doe
|
|
34344
|
+
required:
|
|
34345
|
+
- id
|
|
34346
|
+
- source
|
|
34347
|
+
- name
|
|
34348
|
+
description: The actor who performed the action.
|
|
34349
|
+
required:
|
|
34350
|
+
- client_id
|
|
34351
|
+
- actor
|
|
34352
|
+
description: Additional context about the event.
|
|
34353
|
+
object:
|
|
34354
|
+
type: string
|
|
34355
|
+
description: Distinguishes the Event object.
|
|
34356
|
+
const: event
|
|
34357
|
+
required:
|
|
34358
|
+
- id
|
|
34359
|
+
- event
|
|
34360
|
+
- data
|
|
34361
|
+
- created_at
|
|
34362
|
+
- context
|
|
34363
|
+
- object
|
|
34364
|
+
- type: object
|
|
34365
|
+
properties:
|
|
34366
|
+
id:
|
|
34367
|
+
type: string
|
|
34368
|
+
description: Unique identifier for the event.
|
|
34369
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34370
|
+
event:
|
|
34371
|
+
type: string
|
|
34372
|
+
const: feature_flags.flag_rule.created
|
|
34373
|
+
data:
|
|
34374
|
+
$ref: '#/components/schemas/FlagRule'
|
|
34375
|
+
description: The event payload.
|
|
34376
|
+
created_at:
|
|
34377
|
+
format: date-time
|
|
34378
|
+
type: string
|
|
34379
|
+
description: An ISO 8601 timestamp.
|
|
34380
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34381
|
+
context:
|
|
34382
|
+
type: object
|
|
34383
|
+
properties:
|
|
34384
|
+
client_id:
|
|
34385
|
+
type: string
|
|
34386
|
+
description: The client ID associated with the flag event.
|
|
34387
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34388
|
+
actor:
|
|
34389
|
+
type: object
|
|
34390
|
+
properties:
|
|
34391
|
+
id:
|
|
34392
|
+
type: string
|
|
34393
|
+
description: Unique identifier of the actor.
|
|
34394
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34395
|
+
source:
|
|
34396
|
+
type: string
|
|
34397
|
+
enum:
|
|
34398
|
+
- api
|
|
34399
|
+
- dashboard
|
|
34400
|
+
- admin_portal
|
|
34401
|
+
- system
|
|
34402
|
+
description: The source of the actor that performed the action.
|
|
34403
|
+
name:
|
|
34404
|
+
type:
|
|
34405
|
+
- string
|
|
34406
|
+
- 'null'
|
|
34407
|
+
description: The name of the actor.
|
|
34408
|
+
example: Jane Doe
|
|
34409
|
+
required:
|
|
34410
|
+
- id
|
|
34411
|
+
- source
|
|
34412
|
+
- name
|
|
34413
|
+
description: The actor who performed the action.
|
|
34414
|
+
required:
|
|
34415
|
+
- client_id
|
|
34416
|
+
description: Additional context about the event.
|
|
34417
|
+
object:
|
|
34418
|
+
type: string
|
|
34419
|
+
description: Distinguishes the Event object.
|
|
34420
|
+
const: event
|
|
34421
|
+
required:
|
|
34422
|
+
- id
|
|
34423
|
+
- event
|
|
34424
|
+
- data
|
|
34425
|
+
- created_at
|
|
34426
|
+
- context
|
|
34427
|
+
- object
|
|
34428
|
+
- type: object
|
|
34429
|
+
properties:
|
|
34430
|
+
id:
|
|
34431
|
+
type: string
|
|
34432
|
+
description: Unique identifier for the event.
|
|
34433
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34434
|
+
event:
|
|
34435
|
+
type: string
|
|
34436
|
+
const: feature_flags.flag_rule.deleted
|
|
34437
|
+
data:
|
|
34438
|
+
$ref: '#/components/schemas/FlagRule'
|
|
34439
|
+
description: The event payload.
|
|
34440
|
+
created_at:
|
|
34441
|
+
format: date-time
|
|
34442
|
+
type: string
|
|
34443
|
+
description: An ISO 8601 timestamp.
|
|
34444
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34445
|
+
context:
|
|
34446
|
+
type: object
|
|
34447
|
+
properties:
|
|
34448
|
+
client_id:
|
|
34449
|
+
type: string
|
|
34450
|
+
description: The client ID associated with the flag event.
|
|
34451
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34452
|
+
actor:
|
|
34453
|
+
type: object
|
|
34454
|
+
properties:
|
|
34455
|
+
id:
|
|
34456
|
+
type: string
|
|
34457
|
+
description: Unique identifier of the actor.
|
|
34458
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34459
|
+
source:
|
|
34460
|
+
type: string
|
|
34461
|
+
enum:
|
|
34462
|
+
- api
|
|
34463
|
+
- dashboard
|
|
34464
|
+
- admin_portal
|
|
34465
|
+
- system
|
|
34466
|
+
description: The source of the actor that performed the action.
|
|
34467
|
+
name:
|
|
34468
|
+
type:
|
|
34469
|
+
- string
|
|
34470
|
+
- 'null'
|
|
34471
|
+
description: The name of the actor.
|
|
34472
|
+
example: Jane Doe
|
|
34473
|
+
required:
|
|
34474
|
+
- id
|
|
34475
|
+
- source
|
|
34476
|
+
- name
|
|
34477
|
+
description: The actor who performed the action.
|
|
34478
|
+
required:
|
|
34479
|
+
- client_id
|
|
34480
|
+
description: Additional context about the event.
|
|
34481
|
+
object:
|
|
34482
|
+
type: string
|
|
34483
|
+
description: Distinguishes the Event object.
|
|
34484
|
+
const: event
|
|
34485
|
+
required:
|
|
34486
|
+
- id
|
|
34487
|
+
- event
|
|
34488
|
+
- data
|
|
34489
|
+
- created_at
|
|
34490
|
+
- context
|
|
34491
|
+
- object
|
|
34492
|
+
- type: object
|
|
34493
|
+
properties:
|
|
34494
|
+
id:
|
|
34495
|
+
type: string
|
|
34496
|
+
description: Unique identifier for the event.
|
|
34497
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34498
|
+
event:
|
|
34499
|
+
type: string
|
|
34500
|
+
const: feature_flags.flag_rule.updated
|
|
34501
|
+
data:
|
|
34502
|
+
$ref: '#/components/schemas/FlagRule'
|
|
34503
|
+
description: The event payload.
|
|
34504
|
+
created_at:
|
|
34505
|
+
format: date-time
|
|
34506
|
+
type: string
|
|
34507
|
+
description: An ISO 8601 timestamp.
|
|
34508
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34509
|
+
context:
|
|
34510
|
+
type: object
|
|
34511
|
+
properties:
|
|
34512
|
+
client_id:
|
|
34513
|
+
type: string
|
|
34514
|
+
description: The client ID associated with the flag event.
|
|
34515
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34516
|
+
actor:
|
|
34517
|
+
type: object
|
|
34518
|
+
properties:
|
|
34519
|
+
id:
|
|
34520
|
+
type: string
|
|
34521
|
+
description: Unique identifier of the actor.
|
|
34522
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34523
|
+
source:
|
|
34524
|
+
type: string
|
|
34525
|
+
enum:
|
|
34526
|
+
- api
|
|
34527
|
+
- dashboard
|
|
34528
|
+
- admin_portal
|
|
34529
|
+
- system
|
|
34530
|
+
description: The source of the actor that performed the action.
|
|
34531
|
+
name:
|
|
34532
|
+
type:
|
|
34533
|
+
- string
|
|
34534
|
+
- 'null'
|
|
34535
|
+
description: The name of the actor.
|
|
34536
|
+
example: Jane Doe
|
|
34537
|
+
required:
|
|
34538
|
+
- id
|
|
34539
|
+
- source
|
|
34540
|
+
- name
|
|
34541
|
+
description: The actor who performed the action.
|
|
34542
|
+
previous_attributes:
|
|
34543
|
+
type: object
|
|
34544
|
+
properties:
|
|
34545
|
+
data:
|
|
34546
|
+
type: object
|
|
34547
|
+
properties:
|
|
34548
|
+
value:
|
|
34549
|
+
type: boolean
|
|
34550
|
+
description: The value the rule served before the update.
|
|
34551
|
+
example: true
|
|
34552
|
+
description: The previous data attributes of the flag rule.
|
|
34553
|
+
description: Attributes that changed from their previous values.
|
|
34554
|
+
required:
|
|
34555
|
+
- client_id
|
|
34556
|
+
description: Additional context about the event.
|
|
34557
|
+
object:
|
|
34558
|
+
type: string
|
|
34559
|
+
description: Distinguishes the Event object.
|
|
34560
|
+
const: event
|
|
34561
|
+
required:
|
|
34562
|
+
- id
|
|
34563
|
+
- event
|
|
34564
|
+
- data
|
|
34565
|
+
- created_at
|
|
34566
|
+
- context
|
|
34567
|
+
- object
|
|
34568
|
+
- type: object
|
|
34569
|
+
properties:
|
|
34570
|
+
id:
|
|
34571
|
+
type: string
|
|
34572
|
+
description: Unique identifier for the event.
|
|
34573
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34574
|
+
event:
|
|
34575
|
+
type: string
|
|
34576
|
+
const: feature_flags.flag.updated
|
|
34577
|
+
data:
|
|
34578
|
+
type: object
|
|
34579
|
+
properties:
|
|
34580
|
+
object:
|
|
34581
|
+
type: string
|
|
34582
|
+
const: feature_flag
|
|
34583
|
+
id:
|
|
34584
|
+
type: string
|
|
34585
|
+
description: Unique identifier of the Feature Flag.
|
|
34586
|
+
example: flag_01EHZNVPK3SFK441A1RGBFSHRT
|
|
34587
|
+
environment_id:
|
|
34588
|
+
type: string
|
|
34589
|
+
description: The ID of the environment the Feature Flag belongs to.
|
|
34590
|
+
example: environment_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34591
|
+
slug:
|
|
34592
|
+
type: string
|
|
34593
|
+
description: A unique key to reference the Feature Flag.
|
|
34594
|
+
example: advanced-analytics
|
|
34595
|
+
name:
|
|
34596
|
+
type: string
|
|
34597
|
+
description: A descriptive name for the Feature Flag.
|
|
34598
|
+
example: Advanced Analytics
|
|
34599
|
+
description:
|
|
34600
|
+
type:
|
|
34601
|
+
- string
|
|
34602
|
+
- 'null'
|
|
34603
|
+
description: A description for the Feature Flag.
|
|
34604
|
+
example: Enable advanced analytics dashboard feature
|
|
34605
|
+
owner:
|
|
34606
|
+
description: The owner of the Feature Flag.
|
|
34607
|
+
oneOf:
|
|
34608
|
+
- type: object
|
|
34609
|
+
properties:
|
|
34610
|
+
email:
|
|
34611
|
+
type: string
|
|
34612
|
+
description: The email address of the flag owner.
|
|
34613
|
+
example: jane@example.com
|
|
34614
|
+
first_name:
|
|
34615
|
+
type:
|
|
34616
|
+
- string
|
|
34617
|
+
- 'null'
|
|
34618
|
+
description: The first name of the flag owner.
|
|
34619
|
+
example: Jane
|
|
34620
|
+
last_name:
|
|
34621
|
+
type:
|
|
34622
|
+
- string
|
|
34623
|
+
- 'null'
|
|
34624
|
+
description: The last name of the flag owner.
|
|
34625
|
+
example: Doe
|
|
34626
|
+
required:
|
|
34627
|
+
- email
|
|
34628
|
+
- first_name
|
|
34629
|
+
- last_name
|
|
34630
|
+
- type: 'null'
|
|
34631
|
+
tags:
|
|
34632
|
+
type: array
|
|
34633
|
+
items:
|
|
34634
|
+
type: string
|
|
34635
|
+
description: >-
|
|
34636
|
+
Labels assigned to the Feature Flag for categorizing and
|
|
34637
|
+
filtering.
|
|
34638
|
+
example: *ref_41
|
|
34639
|
+
enabled:
|
|
34640
|
+
type: boolean
|
|
34641
|
+
description: >-
|
|
34642
|
+
Specifies whether the Feature Flag is active for the
|
|
34643
|
+
current environment.
|
|
34644
|
+
example: true
|
|
34645
|
+
default_value:
|
|
34646
|
+
type: boolean
|
|
34647
|
+
description: >-
|
|
34648
|
+
The value returned for users and organizations who don't
|
|
34649
|
+
match any configured targeting rules.
|
|
34650
|
+
example: false
|
|
34651
|
+
created_at:
|
|
34652
|
+
format: date-time
|
|
34653
|
+
type: string
|
|
34654
|
+
description: An ISO 8601 timestamp.
|
|
34655
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34656
|
+
updated_at:
|
|
34657
|
+
format: date-time
|
|
34658
|
+
type: string
|
|
34659
|
+
description: An ISO 8601 timestamp.
|
|
34660
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34661
|
+
required:
|
|
34662
|
+
- object
|
|
34663
|
+
- id
|
|
34664
|
+
- environment_id
|
|
34665
|
+
- slug
|
|
34666
|
+
- name
|
|
34667
|
+
- description
|
|
34668
|
+
- owner
|
|
34669
|
+
- tags
|
|
34670
|
+
- enabled
|
|
34671
|
+
- default_value
|
|
34672
|
+
- created_at
|
|
34673
|
+
- updated_at
|
|
34674
|
+
description: The event payload.
|
|
34675
|
+
created_at:
|
|
34676
|
+
format: date-time
|
|
34677
|
+
type: string
|
|
34678
|
+
description: An ISO 8601 timestamp.
|
|
34679
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
34680
|
+
context:
|
|
34681
|
+
type: object
|
|
34682
|
+
properties:
|
|
34683
|
+
client_id:
|
|
34684
|
+
type: string
|
|
34685
|
+
description: The client ID associated with the flag event.
|
|
34686
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34687
|
+
actor:
|
|
34688
|
+
type: object
|
|
34689
|
+
properties:
|
|
34690
|
+
id:
|
|
34691
|
+
type: string
|
|
34692
|
+
description: Unique identifier of the actor.
|
|
34693
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
34694
|
+
source:
|
|
34695
|
+
type: string
|
|
34696
|
+
enum:
|
|
34697
|
+
- api
|
|
34698
|
+
- dashboard
|
|
34699
|
+
- admin_portal
|
|
34700
|
+
- system
|
|
34701
|
+
description: The source of the actor that performed the action.
|
|
34702
|
+
name:
|
|
34703
|
+
type:
|
|
34704
|
+
- string
|
|
34705
|
+
- 'null'
|
|
34706
|
+
description: The name of the actor.
|
|
34707
|
+
example: Jane Doe
|
|
34708
|
+
required:
|
|
34709
|
+
- id
|
|
34710
|
+
- source
|
|
34711
|
+
- name
|
|
34712
|
+
description: The actor who performed the action.
|
|
34713
|
+
previous_attributes:
|
|
34714
|
+
type: object
|
|
34715
|
+
properties:
|
|
34716
|
+
data:
|
|
34717
|
+
type: object
|
|
34718
|
+
properties:
|
|
34719
|
+
name:
|
|
34720
|
+
type: string
|
|
34721
|
+
description: The previous name of the flag.
|
|
34722
|
+
example: My Feature Flag
|
|
34723
|
+
description:
|
|
34724
|
+
type:
|
|
34725
|
+
- string
|
|
34726
|
+
- 'null'
|
|
34727
|
+
description: The previous description of the flag.
|
|
34728
|
+
example: Enables the new feature.
|
|
34729
|
+
tags:
|
|
34730
|
+
type: array
|
|
34731
|
+
items:
|
|
34732
|
+
type: string
|
|
34733
|
+
description: The previous tags of the flag.
|
|
34734
|
+
example: &ref_42
|
|
34735
|
+
- beta
|
|
34736
|
+
- release
|
|
34737
|
+
owner:
|
|
34738
|
+
description: >-
|
|
34739
|
+
The previous owner of the flag, or `null` if it
|
|
34740
|
+
had none.
|
|
34741
|
+
oneOf:
|
|
34742
|
+
- type: object
|
|
34743
|
+
properties:
|
|
34744
|
+
email:
|
|
34745
|
+
type: string
|
|
34746
|
+
description: The email address of the flag owner.
|
|
34747
|
+
example: jane@example.com
|
|
34748
|
+
first_name:
|
|
34749
|
+
type:
|
|
34750
|
+
- string
|
|
34751
|
+
- 'null'
|
|
34752
|
+
description: The first name of the flag owner.
|
|
34753
|
+
example: Jane
|
|
34754
|
+
last_name:
|
|
34755
|
+
type:
|
|
34756
|
+
- string
|
|
34757
|
+
- 'null'
|
|
34758
|
+
description: The last name of the flag owner.
|
|
34759
|
+
example: Doe
|
|
34760
|
+
required:
|
|
34761
|
+
- email
|
|
34762
|
+
- first_name
|
|
34763
|
+
- last_name
|
|
34764
|
+
- type: 'null'
|
|
34765
|
+
enabled:
|
|
34766
|
+
type: boolean
|
|
34767
|
+
description: Whether the flag was previously enabled.
|
|
34768
|
+
example: true
|
|
34769
|
+
default_value:
|
|
34770
|
+
type: boolean
|
|
34771
|
+
description: The previous default value of the flag.
|
|
34772
|
+
example: false
|
|
34773
|
+
description: The previous data attributes of the flag.
|
|
34774
|
+
description: Attributes that changed from their previous values.
|
|
34775
|
+
required:
|
|
34776
|
+
- client_id
|
|
34777
|
+
- actor
|
|
34778
|
+
description: Additional context about the event.
|
|
33834
34779
|
object:
|
|
33835
34780
|
type: string
|
|
33836
34781
|
description: Distinguishes the Event object.
|
|
@@ -33840,6 +34785,7 @@ components:
|
|
|
33840
34785
|
- event
|
|
33841
34786
|
- data
|
|
33842
34787
|
- created_at
|
|
34788
|
+
- context
|
|
33843
34789
|
- object
|
|
33844
34790
|
- type: object
|
|
33845
34791
|
properties:
|
|
@@ -33911,8 +34857,7 @@ components:
|
|
|
33911
34857
|
description: >-
|
|
33912
34858
|
Labels assigned to the Feature Flag for categorizing and
|
|
33913
34859
|
filtering.
|
|
33914
|
-
example:
|
|
33915
|
-
- reports
|
|
34860
|
+
example: *ref_41
|
|
33916
34861
|
enabled:
|
|
33917
34862
|
type: boolean
|
|
33918
34863
|
description: >-
|
|
@@ -34442,6 +35387,136 @@ components:
|
|
|
34442
35387
|
- created_at
|
|
34443
35388
|
- context
|
|
34444
35389
|
- object
|
|
35390
|
+
- type: object
|
|
35391
|
+
properties:
|
|
35392
|
+
id:
|
|
35393
|
+
type: string
|
|
35394
|
+
description: Unique identifier for the event.
|
|
35395
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
35396
|
+
event:
|
|
35397
|
+
type: string
|
|
35398
|
+
const: feature_flags.flag_target.created
|
|
35399
|
+
data:
|
|
35400
|
+
$ref: '#/components/schemas/FlagTarget'
|
|
35401
|
+
description: The event payload.
|
|
35402
|
+
created_at:
|
|
35403
|
+
format: date-time
|
|
35404
|
+
type: string
|
|
35405
|
+
description: An ISO 8601 timestamp.
|
|
35406
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
35407
|
+
context:
|
|
35408
|
+
type: object
|
|
35409
|
+
properties:
|
|
35410
|
+
client_id:
|
|
35411
|
+
type: string
|
|
35412
|
+
description: The client ID associated with the flag event.
|
|
35413
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
35414
|
+
actor:
|
|
35415
|
+
type: object
|
|
35416
|
+
properties:
|
|
35417
|
+
id:
|
|
35418
|
+
type: string
|
|
35419
|
+
description: Unique identifier of the actor.
|
|
35420
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
35421
|
+
source:
|
|
35422
|
+
type: string
|
|
35423
|
+
enum:
|
|
35424
|
+
- api
|
|
35425
|
+
- dashboard
|
|
35426
|
+
- admin_portal
|
|
35427
|
+
- system
|
|
35428
|
+
description: The source of the actor that performed the action.
|
|
35429
|
+
name:
|
|
35430
|
+
type:
|
|
35431
|
+
- string
|
|
35432
|
+
- 'null'
|
|
35433
|
+
description: The name of the actor.
|
|
35434
|
+
example: Jane Doe
|
|
35435
|
+
required:
|
|
35436
|
+
- id
|
|
35437
|
+
- source
|
|
35438
|
+
- name
|
|
35439
|
+
description: The actor who performed the action.
|
|
35440
|
+
required:
|
|
35441
|
+
- client_id
|
|
35442
|
+
- actor
|
|
35443
|
+
description: Additional context about the event.
|
|
35444
|
+
object:
|
|
35445
|
+
type: string
|
|
35446
|
+
description: Distinguishes the Event object.
|
|
35447
|
+
const: event
|
|
35448
|
+
required:
|
|
35449
|
+
- id
|
|
35450
|
+
- event
|
|
35451
|
+
- data
|
|
35452
|
+
- created_at
|
|
35453
|
+
- context
|
|
35454
|
+
- object
|
|
35455
|
+
- type: object
|
|
35456
|
+
properties:
|
|
35457
|
+
id:
|
|
35458
|
+
type: string
|
|
35459
|
+
description: Unique identifier for the event.
|
|
35460
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
35461
|
+
event:
|
|
35462
|
+
type: string
|
|
35463
|
+
const: feature_flags.flag_target.deleted
|
|
35464
|
+
data:
|
|
35465
|
+
$ref: '#/components/schemas/FlagTarget'
|
|
35466
|
+
description: The event payload.
|
|
35467
|
+
created_at:
|
|
35468
|
+
format: date-time
|
|
35469
|
+
type: string
|
|
35470
|
+
description: An ISO 8601 timestamp.
|
|
35471
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
35472
|
+
context:
|
|
35473
|
+
type: object
|
|
35474
|
+
properties:
|
|
35475
|
+
client_id:
|
|
35476
|
+
type: string
|
|
35477
|
+
description: The client ID associated with the flag event.
|
|
35478
|
+
example: client_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
35479
|
+
actor:
|
|
35480
|
+
type: object
|
|
35481
|
+
properties:
|
|
35482
|
+
id:
|
|
35483
|
+
type: string
|
|
35484
|
+
description: Unique identifier of the actor.
|
|
35485
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
35486
|
+
source:
|
|
35487
|
+
type: string
|
|
35488
|
+
enum:
|
|
35489
|
+
- api
|
|
35490
|
+
- dashboard
|
|
35491
|
+
- admin_portal
|
|
35492
|
+
- system
|
|
35493
|
+
description: The source of the actor that performed the action.
|
|
35494
|
+
name:
|
|
35495
|
+
type:
|
|
35496
|
+
- string
|
|
35497
|
+
- 'null'
|
|
35498
|
+
description: The name of the actor.
|
|
35499
|
+
example: Jane Doe
|
|
35500
|
+
required:
|
|
35501
|
+
- id
|
|
35502
|
+
- source
|
|
35503
|
+
- name
|
|
35504
|
+
description: The actor who performed the action.
|
|
35505
|
+
required:
|
|
35506
|
+
- client_id
|
|
35507
|
+
- actor
|
|
35508
|
+
description: Additional context about the event.
|
|
35509
|
+
object:
|
|
35510
|
+
type: string
|
|
35511
|
+
description: Distinguishes the Event object.
|
|
35512
|
+
const: event
|
|
35513
|
+
required:
|
|
35514
|
+
- id
|
|
35515
|
+
- event
|
|
35516
|
+
- data
|
|
35517
|
+
- created_at
|
|
35518
|
+
- context
|
|
35519
|
+
- object
|
|
34445
35520
|
- type: object
|
|
34446
35521
|
properties:
|
|
34447
35522
|
id:
|
|
@@ -34608,9 +35683,7 @@ components:
|
|
|
34608
35683
|
items:
|
|
34609
35684
|
type: string
|
|
34610
35685
|
description: The previous tags of the flag.
|
|
34611
|
-
example:
|
|
34612
|
-
- beta
|
|
34613
|
-
- release
|
|
35686
|
+
example: *ref_42
|
|
34614
35687
|
owner:
|
|
34615
35688
|
description: >-
|
|
34616
35689
|
The previous owner of the flag, or `null` if it
|
|
@@ -35528,7 +36601,7 @@ components:
|
|
|
35528
36601
|
description: >-
|
|
35529
36602
|
Object containing [metadata](/authkit/metadata)
|
|
35530
36603
|
key/value pairs associated with the Organization.
|
|
35531
|
-
example: &
|
|
36604
|
+
example: &ref_43
|
|
35532
36605
|
tier: diamond
|
|
35533
36606
|
propertyNames:
|
|
35534
36607
|
maxLength: 40
|
|
@@ -35678,7 +36751,7 @@ components:
|
|
|
35678
36751
|
description: >-
|
|
35679
36752
|
Object containing [metadata](/authkit/metadata)
|
|
35680
36753
|
key/value pairs associated with the Organization.
|
|
35681
|
-
example: *
|
|
36754
|
+
example: *ref_43
|
|
35682
36755
|
propertyNames:
|
|
35683
36756
|
maxLength: 40
|
|
35684
36757
|
maxProperties: 50
|
|
@@ -36505,7 +37578,7 @@ components:
|
|
|
36505
37578
|
items:
|
|
36506
37579
|
type: string
|
|
36507
37580
|
description: The permissions granted by the role.
|
|
36508
|
-
example: &
|
|
37581
|
+
example: &ref_44
|
|
36509
37582
|
- users:read
|
|
36510
37583
|
- users:write
|
|
36511
37584
|
created_at:
|
|
@@ -36589,7 +37662,7 @@ components:
|
|
|
36589
37662
|
items:
|
|
36590
37663
|
type: string
|
|
36591
37664
|
description: The permissions granted by the role.
|
|
36592
|
-
example: *
|
|
37665
|
+
example: *ref_44
|
|
36593
37666
|
created_at:
|
|
36594
37667
|
format: date-time
|
|
36595
37668
|
type: string
|
|
@@ -36671,7 +37744,7 @@ components:
|
|
|
36671
37744
|
items:
|
|
36672
37745
|
type: string
|
|
36673
37746
|
description: The permissions granted by the role.
|
|
36674
|
-
example: *
|
|
37747
|
+
example: *ref_44
|
|
36675
37748
|
created_at:
|
|
36676
37749
|
format: date-time
|
|
36677
37750
|
type: string
|
|
@@ -36808,7 +37881,7 @@ components:
|
|
|
36808
37881
|
description: >-
|
|
36809
37882
|
Object containing [metadata](/authkit/metadata)
|
|
36810
37883
|
key/value pairs associated with the Organization.
|
|
36811
|
-
example: *
|
|
37884
|
+
example: *ref_43
|
|
36812
37885
|
propertyNames:
|
|
36813
37886
|
maxLength: 40
|
|
36814
37887
|
maxProperties: 50
|
|
@@ -38012,7 +39085,7 @@ components:
|
|
|
38012
39085
|
items:
|
|
38013
39086
|
type: string
|
|
38014
39087
|
description: The permissions granted by the role.
|
|
38015
|
-
example: &
|
|
39088
|
+
example: &ref_45
|
|
38016
39089
|
- users:read
|
|
38017
39090
|
- users:write
|
|
38018
39091
|
created_at:
|
|
@@ -38078,7 +39151,7 @@ components:
|
|
|
38078
39151
|
items:
|
|
38079
39152
|
type: string
|
|
38080
39153
|
description: The permissions granted by the role.
|
|
38081
|
-
example: *
|
|
39154
|
+
example: *ref_45
|
|
38082
39155
|
created_at:
|
|
38083
39156
|
format: date-time
|
|
38084
39157
|
type: string
|
|
@@ -38142,7 +39215,7 @@ components:
|
|
|
38142
39215
|
items:
|
|
38143
39216
|
type: string
|
|
38144
39217
|
description: The permissions granted by the role.
|
|
38145
|
-
example: *
|
|
39218
|
+
example: *ref_45
|
|
38146
39219
|
created_at:
|
|
38147
39220
|
format: date-time
|
|
38148
39221
|
type: string
|
|
@@ -39344,7 +40417,7 @@ components:
|
|
|
39344
40417
|
- data
|
|
39345
40418
|
- created_at
|
|
39346
40419
|
- object
|
|
39347
|
-
example: *
|
|
40420
|
+
example: *ref_46
|
|
39348
40421
|
description: An event emitted by WorkOS.
|
|
39349
40422
|
EventList:
|
|
39350
40423
|
type: object
|
|
@@ -39379,7 +40452,7 @@ components:
|
|
|
39379
40452
|
example:
|
|
39380
40453
|
object: list
|
|
39381
40454
|
data:
|
|
39382
|
-
- *
|
|
40455
|
+
- *ref_46
|
|
39383
40456
|
list_metadata:
|
|
39384
40457
|
after: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
39385
40458
|
JwtTemplate:
|
|
@@ -40928,8 +42001,8 @@ components:
|
|
|
40928
42001
|
- state
|
|
40929
42002
|
AuthMethodMismatchError:
|
|
40930
42003
|
type: object
|
|
40931
|
-
properties: *
|
|
40932
|
-
required: *
|
|
42004
|
+
properties: *ref_47
|
|
42005
|
+
required: *ref_48
|
|
40933
42006
|
DataIntegrationAccessTokenResponse:
|
|
40934
42007
|
oneOf:
|
|
40935
42008
|
- type: object
|
|
@@ -41012,8 +42085,8 @@ components:
|
|
|
41012
42085
|
- error
|
|
41013
42086
|
AccountSelectionRequiredError:
|
|
41014
42087
|
type: object
|
|
41015
|
-
properties: *
|
|
41016
|
-
required: *
|
|
42088
|
+
properties: *ref_49
|
|
42089
|
+
required: *ref_50
|
|
41017
42090
|
DataIntegrationVendedCredential:
|
|
41018
42091
|
discriminator:
|
|
41019
42092
|
propertyName: auth_method
|
|
@@ -41080,7 +42153,7 @@ components:
|
|
|
41080
42153
|
each `client_credentials` mint. A field a later OAuth refresh
|
|
41081
42154
|
omits keeps its stored value. Present for `oauth` and
|
|
41082
42155
|
`client_credentials` credentials; absent for `api_key`.
|
|
41083
|
-
example: &
|
|
42156
|
+
example: &ref_52
|
|
41084
42157
|
instance_url: https://acme.my.salesforce.com
|
|
41085
42158
|
config:
|
|
41086
42159
|
type: object
|
|
@@ -41096,7 +42169,7 @@ components:
|
|
|
41096
42169
|
integration or organization pins require reconnecting or
|
|
41097
42170
|
explicitly rebinding the connection. Defaults are live and can
|
|
41098
42171
|
differ from a cached token's audience until refresh or re-mint.
|
|
41099
|
-
example: &
|
|
42172
|
+
example: &ref_51
|
|
41100
42173
|
account: myorg-myaccount
|
|
41101
42174
|
required:
|
|
41102
42175
|
- object
|
|
@@ -41142,7 +42215,7 @@ components:
|
|
|
41142
42215
|
integration or organization pins require reconnecting or
|
|
41143
42216
|
explicitly rebinding the connection. Defaults are live and can
|
|
41144
42217
|
differ from a cached token's audience until refresh or re-mint.
|
|
41145
|
-
example: *
|
|
42218
|
+
example: *ref_51
|
|
41146
42219
|
required:
|
|
41147
42220
|
- object
|
|
41148
42221
|
- auth_method
|
|
@@ -41206,7 +42279,7 @@ components:
|
|
|
41206
42279
|
each `client_credentials` mint. A field a later OAuth refresh
|
|
41207
42280
|
omits keeps its stored value. Present for `oauth` and
|
|
41208
42281
|
`client_credentials` credentials; absent for `api_key`.
|
|
41209
|
-
example: *
|
|
42282
|
+
example: *ref_52
|
|
41210
42283
|
config:
|
|
41211
42284
|
type: object
|
|
41212
42285
|
additionalProperties:
|
|
@@ -41221,7 +42294,7 @@ components:
|
|
|
41221
42294
|
integration or organization pins require reconnecting or
|
|
41222
42295
|
explicitly rebinding the connection. Defaults are live and can
|
|
41223
42296
|
differ from a cached token's audience until refresh or re-mint.
|
|
41224
|
-
example: *
|
|
42297
|
+
example: *ref_51
|
|
41225
42298
|
required:
|
|
41226
42299
|
- object
|
|
41227
42300
|
- auth_method
|
|
@@ -41391,7 +42464,7 @@ components:
|
|
|
41391
42464
|
deprecated: true
|
|
41392
42465
|
description: Use updated_at instead.
|
|
41393
42466
|
connected_account:
|
|
41394
|
-
example: &
|
|
42467
|
+
example: &ref_55
|
|
41395
42468
|
object: connected_account
|
|
41396
42469
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
41397
42470
|
connection_role: compatibility
|
|
@@ -41480,7 +42553,7 @@ components:
|
|
|
41480
42553
|
items:
|
|
41481
42554
|
type: string
|
|
41482
42555
|
description: The OAuth scopes granted for this connection.
|
|
41483
|
-
example: &
|
|
42556
|
+
example: &ref_53
|
|
41484
42557
|
- repo
|
|
41485
42558
|
- user:email
|
|
41486
42559
|
auth_method:
|
|
@@ -41530,7 +42603,7 @@ components:
|
|
|
41530
42603
|
`installation` scope, excluding secret and undeclared
|
|
41531
42604
|
fields. Returned for every authentication method;
|
|
41532
42605
|
empty when no stored values can be disclosed.
|
|
41533
|
-
example: &
|
|
42606
|
+
example: &ref_54
|
|
41534
42607
|
instance_url: https://example.my.salesforce.com
|
|
41535
42608
|
state:
|
|
41536
42609
|
type: string
|
|
@@ -41715,7 +42788,7 @@ components:
|
|
|
41715
42788
|
items:
|
|
41716
42789
|
type: string
|
|
41717
42790
|
description: The OAuth scopes granted for this connection.
|
|
41718
|
-
example: *
|
|
42791
|
+
example: *ref_53
|
|
41719
42792
|
auth_method:
|
|
41720
42793
|
type: string
|
|
41721
42794
|
enum:
|
|
@@ -41762,7 +42835,7 @@ components:
|
|
|
41762
42835
|
`installation` scope, excluding secret and undeclared
|
|
41763
42836
|
fields. Returned for every authentication method; empty
|
|
41764
42837
|
when no stored values can be disclosed.
|
|
41765
|
-
example: *
|
|
42838
|
+
example: *ref_54
|
|
41766
42839
|
state:
|
|
41767
42840
|
type: string
|
|
41768
42841
|
enum:
|
|
@@ -41880,7 +42953,7 @@ components:
|
|
|
41880
42953
|
- organizationId
|
|
41881
42954
|
- createdAt
|
|
41882
42955
|
- updatedAt
|
|
41883
|
-
example: *
|
|
42956
|
+
example: *ref_55
|
|
41884
42957
|
description: >-
|
|
41885
42958
|
The user's connected accounts for this provider in the
|
|
41886
42959
|
requested ownership context. This contains only the
|