@workos/openapi-spec 0.177.0 → 0.179.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 +825 -12
- package/dist/services.mjs +5 -0
- package/dist/types.d.ts +532 -14
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -13209,6 +13209,42 @@ paths:
|
|
|
13209
13209
|
summary: Update a Radar attempt
|
|
13210
13210
|
tags:
|
|
13211
13211
|
- radar
|
|
13212
|
+
/radar/detections/{id}:
|
|
13213
|
+
get:
|
|
13214
|
+
description: >-
|
|
13215
|
+
Get a Radar detection from the last 30 days, including the evidence for
|
|
13216
|
+
why Radar fired.
|
|
13217
|
+
operationId: RadarDetectionsController_find
|
|
13218
|
+
parameters:
|
|
13219
|
+
- name: id
|
|
13220
|
+
required: true
|
|
13221
|
+
in: path
|
|
13222
|
+
description: The unique ID of the Radar detection.
|
|
13223
|
+
schema:
|
|
13224
|
+
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
13225
|
+
type: string
|
|
13226
|
+
responses:
|
|
13227
|
+
'200':
|
|
13228
|
+
description: OK
|
|
13229
|
+
content:
|
|
13230
|
+
application/json:
|
|
13231
|
+
schema:
|
|
13232
|
+
$ref: '#/components/schemas/RadarDetection'
|
|
13233
|
+
'402':
|
|
13234
|
+
description: ''
|
|
13235
|
+
content:
|
|
13236
|
+
application/json:
|
|
13237
|
+
schema:
|
|
13238
|
+
$ref: '#/components/schemas/ErrorBodyWithCode'
|
|
13239
|
+
'404':
|
|
13240
|
+
description: Not Found
|
|
13241
|
+
content:
|
|
13242
|
+
application/json:
|
|
13243
|
+
schema:
|
|
13244
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
13245
|
+
summary: Get a Radar detection
|
|
13246
|
+
tags:
|
|
13247
|
+
- radar
|
|
13212
13248
|
/radar/lists/{type}/{action}:
|
|
13213
13249
|
post:
|
|
13214
13250
|
description: Add an entry to a Radar list.
|
|
@@ -14433,6 +14469,7 @@ paths:
|
|
|
14433
14469
|
- $ref: '#/components/schemas/PasskeyProgressiveEnrollmentErrorBody'
|
|
14434
14470
|
- $ref: '#/components/schemas/RadarChallengeErrorBody'
|
|
14435
14471
|
- $ref: '#/components/schemas/RadarSignUpChallengeErrorBody'
|
|
14472
|
+
- $ref: '#/components/schemas/RadarSmsChallengeErrorBody'
|
|
14436
14473
|
- $ref: '#/components/schemas/RadarSmsSignInChallengeErrorBody'
|
|
14437
14474
|
- $ref: '#/components/schemas/ApplicationConsentRequiredErrorBody'
|
|
14438
14475
|
- $ref: '#/components/schemas/PolicyDeniedErrorBody'
|
|
@@ -24695,6 +24732,7 @@ components:
|
|
|
24695
24732
|
- production_feature_requires_billing
|
|
24696
24733
|
- radar_challenge
|
|
24697
24734
|
- radar_sign_up_challenge
|
|
24735
|
+
- radar_sms_challenge
|
|
24698
24736
|
- radar_sms_sign_in_challenge
|
|
24699
24737
|
- rate_limit_exceeded
|
|
24700
24738
|
- resource_has_dependents
|
|
@@ -26046,6 +26084,16 @@ components:
|
|
|
26046
26084
|
const: radar_sign_up_challenge
|
|
26047
26085
|
message: *ref_29
|
|
26048
26086
|
required: *ref_30
|
|
26087
|
+
RadarSmsChallengeErrorBody:
|
|
26088
|
+
type: object
|
|
26089
|
+
properties:
|
|
26090
|
+
code:
|
|
26091
|
+
type: string
|
|
26092
|
+
description: The error code identifying the type of error.
|
|
26093
|
+
example: radar_sms_challenge
|
|
26094
|
+
const: radar_sms_challenge
|
|
26095
|
+
message: *ref_29
|
|
26096
|
+
required: *ref_30
|
|
26049
26097
|
RadarSmsSignInChallengeErrorBody:
|
|
26050
26098
|
type: object
|
|
26051
26099
|
properties:
|
|
@@ -32347,7 +32395,10 @@ components:
|
|
|
32347
32395
|
type: string
|
|
32348
32396
|
description: >-
|
|
32349
32397
|
The ID of the Radar detection that blocked the
|
|
32350
|
-
authentication.
|
|
32398
|
+
authentication. Retrieve the detection with `GET
|
|
32399
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
32400
|
+
set on `policy_denied` errors that a Radar detection
|
|
32401
|
+
caused.
|
|
32351
32402
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
32352
32403
|
required:
|
|
32353
32404
|
- code
|
|
@@ -32499,7 +32550,10 @@ components:
|
|
|
32499
32550
|
type: string
|
|
32500
32551
|
description: >-
|
|
32501
32552
|
The ID of the Radar detection that blocked the
|
|
32502
|
-
authentication.
|
|
32553
|
+
authentication. Retrieve the detection with `GET
|
|
32554
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
32555
|
+
set on `policy_denied` errors that a Radar detection
|
|
32556
|
+
caused.
|
|
32503
32557
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
32504
32558
|
required:
|
|
32505
32559
|
- code
|
|
@@ -32651,7 +32705,10 @@ components:
|
|
|
32651
32705
|
type: string
|
|
32652
32706
|
description: >-
|
|
32653
32707
|
The ID of the Radar detection that blocked the
|
|
32654
|
-
authentication.
|
|
32708
|
+
authentication. Retrieve the detection with `GET
|
|
32709
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
32710
|
+
set on `policy_denied` errors that a Radar detection
|
|
32711
|
+
caused.
|
|
32655
32712
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
32656
32713
|
required:
|
|
32657
32714
|
- code
|
|
@@ -32803,7 +32860,10 @@ components:
|
|
|
32803
32860
|
type: string
|
|
32804
32861
|
description: >-
|
|
32805
32862
|
The ID of the Radar detection that blocked the
|
|
32806
|
-
authentication.
|
|
32863
|
+
authentication. Retrieve the detection with `GET
|
|
32864
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
32865
|
+
set on `policy_denied` errors that a Radar detection
|
|
32866
|
+
caused.
|
|
32807
32867
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
32808
32868
|
required:
|
|
32809
32869
|
- code
|
|
@@ -32965,7 +33025,10 @@ components:
|
|
|
32965
33025
|
type: string
|
|
32966
33026
|
description: >-
|
|
32967
33027
|
The ID of the Radar detection that blocked the
|
|
32968
|
-
authentication.
|
|
33028
|
+
authentication. Retrieve the detection with `GET
|
|
33029
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
33030
|
+
set on `policy_denied` errors that a Radar detection
|
|
33031
|
+
caused.
|
|
32969
33032
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
32970
33033
|
required:
|
|
32971
33034
|
- code
|
|
@@ -33117,7 +33180,10 @@ components:
|
|
|
33117
33180
|
type: string
|
|
33118
33181
|
description: >-
|
|
33119
33182
|
The ID of the Radar detection that blocked the
|
|
33120
|
-
authentication.
|
|
33183
|
+
authentication. Retrieve the detection with `GET
|
|
33184
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
33185
|
+
set on `policy_denied` errors that a Radar detection
|
|
33186
|
+
caused.
|
|
33121
33187
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
33122
33188
|
required:
|
|
33123
33189
|
- code
|
|
@@ -33237,14 +33303,14 @@ components:
|
|
|
33237
33303
|
type:
|
|
33238
33304
|
- string
|
|
33239
33305
|
- 'null'
|
|
33240
|
-
description: The control
|
|
33241
|
-
example:
|
|
33306
|
+
description: The Radar control that detected the risk.
|
|
33307
|
+
example: bot_detection
|
|
33242
33308
|
blocklist_type:
|
|
33243
33309
|
type:
|
|
33244
33310
|
- string
|
|
33245
33311
|
- 'null'
|
|
33246
33312
|
description: The type of blocklist that triggered the risk detection.
|
|
33247
|
-
example:
|
|
33313
|
+
example: ip_address
|
|
33248
33314
|
ip_address:
|
|
33249
33315
|
type:
|
|
33250
33316
|
- string
|
|
@@ -33269,7 +33335,8 @@ components:
|
|
|
33269
33335
|
type: string
|
|
33270
33336
|
description: >-
|
|
33271
33337
|
The ID of the Radar detection that challenged the
|
|
33272
|
-
authentication.
|
|
33338
|
+
authentication. Retrieve the detection with `GET
|
|
33339
|
+
/radar/detections/:id` to see why Radar acted.
|
|
33273
33340
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
33274
33341
|
required:
|
|
33275
33342
|
- auth_method
|
|
@@ -33444,7 +33511,10 @@ components:
|
|
|
33444
33511
|
type: string
|
|
33445
33512
|
description: >-
|
|
33446
33513
|
The ID of the Radar detection that blocked the
|
|
33447
|
-
authentication.
|
|
33514
|
+
authentication. Retrieve the detection with `GET
|
|
33515
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
33516
|
+
set on `policy_denied` errors that a Radar detection
|
|
33517
|
+
caused.
|
|
33448
33518
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
33449
33519
|
required:
|
|
33450
33520
|
- code
|
|
@@ -33746,7 +33816,10 @@ components:
|
|
|
33746
33816
|
type: string
|
|
33747
33817
|
description: >-
|
|
33748
33818
|
The ID of the Radar detection that blocked the
|
|
33749
|
-
authentication.
|
|
33819
|
+
authentication. Retrieve the detection with `GET
|
|
33820
|
+
/radar/detections/:id` to see why Radar acted. Only
|
|
33821
|
+
set on `policy_denied` errors that a Radar detection
|
|
33822
|
+
caused.
|
|
33750
33823
|
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
33751
33824
|
required:
|
|
33752
33825
|
- code
|
|
@@ -44304,6 +44377,746 @@ components:
|
|
|
44304
44377
|
required:
|
|
44305
44378
|
- verification_id
|
|
44306
44379
|
- phone_number
|
|
44380
|
+
RadarDetectionList:
|
|
44381
|
+
type: object
|
|
44382
|
+
properties:
|
|
44383
|
+
type:
|
|
44384
|
+
type: string
|
|
44385
|
+
enum:
|
|
44386
|
+
- ip_address
|
|
44387
|
+
- domain
|
|
44388
|
+
- email
|
|
44389
|
+
- device
|
|
44390
|
+
- user_agent
|
|
44391
|
+
- device_fingerprint
|
|
44392
|
+
- country
|
|
44393
|
+
description: The type of values the list holds.
|
|
44394
|
+
example: domain
|
|
44395
|
+
action:
|
|
44396
|
+
description: >-
|
|
44397
|
+
The action the list applies to matching values. `null` for
|
|
44398
|
+
WorkOS-managed lists.
|
|
44399
|
+
example: block
|
|
44400
|
+
oneOf:
|
|
44401
|
+
- type: string
|
|
44402
|
+
enum:
|
|
44403
|
+
- allow
|
|
44404
|
+
- block
|
|
44405
|
+
- challenge
|
|
44406
|
+
- log
|
|
44407
|
+
- type: 'null'
|
|
44408
|
+
name:
|
|
44409
|
+
type:
|
|
44410
|
+
- string
|
|
44411
|
+
- 'null'
|
|
44412
|
+
description: The name of the list.
|
|
44413
|
+
example: Disposable email domains
|
|
44414
|
+
workos_managed:
|
|
44415
|
+
type: boolean
|
|
44416
|
+
description: Whether WorkOS maintains the list.
|
|
44417
|
+
example: true
|
|
44418
|
+
required:
|
|
44419
|
+
- type
|
|
44420
|
+
- action
|
|
44421
|
+
- name
|
|
44422
|
+
- workos_managed
|
|
44423
|
+
RadarDetectionAllowedBy:
|
|
44424
|
+
type: object
|
|
44425
|
+
properties:
|
|
44426
|
+
list_id:
|
|
44427
|
+
type: string
|
|
44428
|
+
description: The ID of the matched list.
|
|
44429
|
+
example: radar_list_01HZBC6N1EB1ZY7KG32X
|
|
44430
|
+
list:
|
|
44431
|
+
description: The list as it is now. `null` if the list has since been deleted.
|
|
44432
|
+
oneOf:
|
|
44433
|
+
- $ref: '#/components/schemas/RadarDetectionList'
|
|
44434
|
+
- type: 'null'
|
|
44435
|
+
entry:
|
|
44436
|
+
type: string
|
|
44437
|
+
description: The list entry that matched.
|
|
44438
|
+
example: example.com
|
|
44439
|
+
required:
|
|
44440
|
+
- list_id
|
|
44441
|
+
- list
|
|
44442
|
+
RadarDetectionBotDetectionSignal:
|
|
44443
|
+
type: object
|
|
44444
|
+
properties:
|
|
44445
|
+
signal:
|
|
44446
|
+
type: string
|
|
44447
|
+
enum:
|
|
44448
|
+
- risky_ip
|
|
44449
|
+
- anomalous_ip
|
|
44450
|
+
- excessive_domain_sign_ups
|
|
44451
|
+
- suspicious_browser_signals
|
|
44452
|
+
- missing_device_fingerprint
|
|
44453
|
+
- suspicious_email_pattern
|
|
44454
|
+
- automated_client
|
|
44455
|
+
- workos_risk_model
|
|
44456
|
+
action:
|
|
44457
|
+
type: string
|
|
44458
|
+
enum:
|
|
44459
|
+
- block
|
|
44460
|
+
- challenge
|
|
44461
|
+
description: The action this signal would take on its own.
|
|
44462
|
+
required:
|
|
44463
|
+
- signal
|
|
44464
|
+
RadarDetectionIpSignUps:
|
|
44465
|
+
type: object
|
|
44466
|
+
properties:
|
|
44467
|
+
count:
|
|
44468
|
+
type: integer
|
|
44469
|
+
description: The number of sign-ups.
|
|
44470
|
+
example: 6
|
|
44471
|
+
window_minutes:
|
|
44472
|
+
type: integer
|
|
44473
|
+
description: The window the sign-ups were counted in.
|
|
44474
|
+
example: 5
|
|
44475
|
+
required:
|
|
44476
|
+
- count
|
|
44477
|
+
- window_minutes
|
|
44478
|
+
RadarDetectionDomainSignUps:
|
|
44479
|
+
type: object
|
|
44480
|
+
properties:
|
|
44481
|
+
root_domain:
|
|
44482
|
+
type: string
|
|
44483
|
+
description: The root domain of the email address.
|
|
44484
|
+
example: example.com
|
|
44485
|
+
count:
|
|
44486
|
+
type: integer
|
|
44487
|
+
description: The number of sign-ups.
|
|
44488
|
+
example: 44
|
|
44489
|
+
required:
|
|
44490
|
+
- root_domain
|
|
44491
|
+
RadarDetectionBotDetectionDetails:
|
|
44492
|
+
type: object
|
|
44493
|
+
properties:
|
|
44494
|
+
signals:
|
|
44495
|
+
type: array
|
|
44496
|
+
items:
|
|
44497
|
+
$ref: '#/components/schemas/RadarDetectionBotDetectionSignal'
|
|
44498
|
+
description: Every bot detection signal that fired.
|
|
44499
|
+
decided_by:
|
|
44500
|
+
type: string
|
|
44501
|
+
enum:
|
|
44502
|
+
- risky_ip
|
|
44503
|
+
- anomalous_ip
|
|
44504
|
+
- excessive_domain_sign_ups
|
|
44505
|
+
- suspicious_browser_signals
|
|
44506
|
+
- missing_device_fingerprint
|
|
44507
|
+
- suspicious_email_pattern
|
|
44508
|
+
- automated_client
|
|
44509
|
+
- workos_risk_model
|
|
44510
|
+
description: The signal that determined the verdict.
|
|
44511
|
+
ip_risk:
|
|
44512
|
+
type: array
|
|
44513
|
+
items:
|
|
44514
|
+
type: string
|
|
44515
|
+
enum:
|
|
44516
|
+
- abuser
|
|
44517
|
+
- anonymous
|
|
44518
|
+
- vpn
|
|
44519
|
+
- tor
|
|
44520
|
+
- proxy
|
|
44521
|
+
description: Why the IP address is risky.
|
|
44522
|
+
email_pattern:
|
|
44523
|
+
type: array
|
|
44524
|
+
items:
|
|
44525
|
+
type: string
|
|
44526
|
+
enum:
|
|
44527
|
+
- generated_looking
|
|
44528
|
+
- repeated_format
|
|
44529
|
+
- suspicious_domain
|
|
44530
|
+
description: Why the email address looks suspicious.
|
|
44531
|
+
browser_signals:
|
|
44532
|
+
type: array
|
|
44533
|
+
items:
|
|
44534
|
+
type: string
|
|
44535
|
+
enum:
|
|
44536
|
+
- automation_framework
|
|
44537
|
+
- headless_browser
|
|
44538
|
+
- tampered_signals
|
|
44539
|
+
- inconsistent_hardware
|
|
44540
|
+
- missing_signals
|
|
44541
|
+
description: Why the browser looks automated.
|
|
44542
|
+
ip_sign_ups:
|
|
44543
|
+
$ref: '#/components/schemas/RadarDetectionIpSignUps'
|
|
44544
|
+
description: Recent sign-ups from this IP address.
|
|
44545
|
+
domain_sign_ups:
|
|
44546
|
+
$ref: '#/components/schemas/RadarDetectionDomainSignUps'
|
|
44547
|
+
description: Recent sign-ups from this email domain.
|
|
44548
|
+
required:
|
|
44549
|
+
- signals
|
|
44550
|
+
RadarDetectionBruteForceAttackDetails:
|
|
44551
|
+
type: object
|
|
44552
|
+
properties:
|
|
44553
|
+
attempts:
|
|
44554
|
+
type: integer
|
|
44555
|
+
description: The number of sign-in attempts.
|
|
44556
|
+
example: 11
|
|
44557
|
+
window_minutes:
|
|
44558
|
+
type: integer
|
|
44559
|
+
description: The window the attempts were counted in.
|
|
44560
|
+
example: 1
|
|
44561
|
+
matched_on:
|
|
44562
|
+
type: string
|
|
44563
|
+
enum:
|
|
44564
|
+
- device_fingerprint_and_email
|
|
44565
|
+
- ip_and_email
|
|
44566
|
+
required:
|
|
44567
|
+
- attempts
|
|
44568
|
+
- window_minutes
|
|
44569
|
+
- matched_on
|
|
44570
|
+
RadarDetectionDomainProtectionsDetails:
|
|
44571
|
+
type: object
|
|
44572
|
+
properties:
|
|
44573
|
+
list_id:
|
|
44574
|
+
type: string
|
|
44575
|
+
description: The ID of the matched list.
|
|
44576
|
+
example: radar_list_01HZBC6N1EB1ZY7KG32X
|
|
44577
|
+
list:
|
|
44578
|
+
description: The list as it is now. `null` if the list has since been deleted.
|
|
44579
|
+
oneOf:
|
|
44580
|
+
- $ref: '#/components/schemas/RadarDetectionList'
|
|
44581
|
+
- type: 'null'
|
|
44582
|
+
also_matched_list_ids:
|
|
44583
|
+
type: array
|
|
44584
|
+
items:
|
|
44585
|
+
type: string
|
|
44586
|
+
description: The ID of another matched list.
|
|
44587
|
+
example: radar_list_01HZBC6N1EB1ZY7KG32Y
|
|
44588
|
+
description: The IDs of other lists the domain is on.
|
|
44589
|
+
also_matched_lists:
|
|
44590
|
+
type: array
|
|
44591
|
+
items:
|
|
44592
|
+
description: The list as it is now. `null` if the list has since been deleted.
|
|
44593
|
+
oneOf:
|
|
44594
|
+
- $ref: '#/components/schemas/RadarDetectionList'
|
|
44595
|
+
- type: 'null'
|
|
44596
|
+
description: Other lists the domain is on.
|
|
44597
|
+
matched_domain:
|
|
44598
|
+
type: string
|
|
44599
|
+
description: The domain that matched the list.
|
|
44600
|
+
example: example.com
|
|
44601
|
+
required:
|
|
44602
|
+
- list_id
|
|
44603
|
+
- list
|
|
44604
|
+
RadarDetectionPreviousAttempt:
|
|
44605
|
+
type: object
|
|
44606
|
+
properties:
|
|
44607
|
+
attempt_id:
|
|
44608
|
+
type: string
|
|
44609
|
+
description: The ID of the authentication attempt.
|
|
44610
|
+
example: radar_att_01HZBC6N1EB1ZY7KG32X
|
|
44611
|
+
ip_address:
|
|
44612
|
+
type: string
|
|
44613
|
+
description: The IP address of the earlier attempt.
|
|
44614
|
+
example: 198.51.100.7
|
|
44615
|
+
user_agent:
|
|
44616
|
+
type:
|
|
44617
|
+
- string
|
|
44618
|
+
- 'null'
|
|
44619
|
+
description: The user agent of the earlier attempt.
|
|
44620
|
+
example: Mozilla/5.0
|
|
44621
|
+
location:
|
|
44622
|
+
type: object
|
|
44623
|
+
properties:
|
|
44624
|
+
city:
|
|
44625
|
+
type:
|
|
44626
|
+
- string
|
|
44627
|
+
- 'null'
|
|
44628
|
+
description: The city the IP address is located in.
|
|
44629
|
+
example: San Francisco
|
|
44630
|
+
country:
|
|
44631
|
+
type:
|
|
44632
|
+
- string
|
|
44633
|
+
- 'null'
|
|
44634
|
+
description: ISO 3166-1 alpha-2 country code.
|
|
44635
|
+
example: US
|
|
44636
|
+
required:
|
|
44637
|
+
- city
|
|
44638
|
+
- country
|
|
44639
|
+
description: Where the IP address of the earlier attempt is located.
|
|
44640
|
+
created_at:
|
|
44641
|
+
type: string
|
|
44642
|
+
description: When that earlier sign-in happened.
|
|
44643
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
44644
|
+
format: date-time
|
|
44645
|
+
required:
|
|
44646
|
+
- attempt_id
|
|
44647
|
+
- location
|
|
44648
|
+
- created_at
|
|
44649
|
+
RadarDetectionImpossibleTravelDetails:
|
|
44650
|
+
type: object
|
|
44651
|
+
properties:
|
|
44652
|
+
previous:
|
|
44653
|
+
$ref: '#/components/schemas/RadarDetectionPreviousAttempt'
|
|
44654
|
+
description: The previous successful sign-in.
|
|
44655
|
+
distance_km:
|
|
44656
|
+
type: number
|
|
44657
|
+
description: The distance from the previous sign-in, in kilometers.
|
|
44658
|
+
example: 8543
|
|
44659
|
+
speed_km_per_s:
|
|
44660
|
+
type: number
|
|
44661
|
+
description: The speed needed to travel that distance, in km per second.
|
|
44662
|
+
example: 4.07
|
|
44663
|
+
required:
|
|
44664
|
+
- previous
|
|
44665
|
+
- distance_km
|
|
44666
|
+
- speed_km_per_s
|
|
44667
|
+
RadarDetectionRepeatSignUpDetails:
|
|
44668
|
+
allOf:
|
|
44669
|
+
- type: object
|
|
44670
|
+
properties: {}
|
|
44671
|
+
- discriminator:
|
|
44672
|
+
propertyName: matched_on
|
|
44673
|
+
oneOf:
|
|
44674
|
+
- type: object
|
|
44675
|
+
properties:
|
|
44676
|
+
matched_on:
|
|
44677
|
+
type: string
|
|
44678
|
+
const: email
|
|
44679
|
+
prior_sign_ups:
|
|
44680
|
+
type: integer
|
|
44681
|
+
description: The number of earlier sign-ups.
|
|
44682
|
+
example: 8
|
|
44683
|
+
window_days:
|
|
44684
|
+
type: integer
|
|
44685
|
+
description: The window the sign-ups were counted in.
|
|
44686
|
+
example: 60
|
|
44687
|
+
required:
|
|
44688
|
+
- matched_on
|
|
44689
|
+
- prior_sign_ups
|
|
44690
|
+
- window_days
|
|
44691
|
+
- type: object
|
|
44692
|
+
properties:
|
|
44693
|
+
matched_on:
|
|
44694
|
+
type: string
|
|
44695
|
+
const: normalized_email
|
|
44696
|
+
matched_user_id:
|
|
44697
|
+
type: string
|
|
44698
|
+
description: The existing user whose email this sign-up is an alias of.
|
|
44699
|
+
example: user_01E4ZCR3C56J083X43JQXF3JK5
|
|
44700
|
+
required:
|
|
44701
|
+
- matched_on
|
|
44702
|
+
- matched_user_id
|
|
44703
|
+
RadarDetectionStaleAccountDetails:
|
|
44704
|
+
type: object
|
|
44705
|
+
properties:
|
|
44706
|
+
last_activity_at:
|
|
44707
|
+
type:
|
|
44708
|
+
- string
|
|
44709
|
+
- 'null'
|
|
44710
|
+
description: When the user was last active. `null` if unknown.
|
|
44711
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
44712
|
+
format: date-time
|
|
44713
|
+
required:
|
|
44714
|
+
- last_activity_at
|
|
44715
|
+
RadarDetectionUnrecognizedDeviceDetails:
|
|
44716
|
+
type: object
|
|
44717
|
+
properties:
|
|
44718
|
+
previous_device:
|
|
44719
|
+
description: The device the user last signed in from.
|
|
44720
|
+
oneOf:
|
|
44721
|
+
- $ref: '#/components/schemas/RadarDetectionPreviousAttempt'
|
|
44722
|
+
- type: 'null'
|
|
44723
|
+
required:
|
|
44724
|
+
- previous_device
|
|
44725
|
+
RadarDetectionRestrictionDetails:
|
|
44726
|
+
allOf:
|
|
44727
|
+
- type: object
|
|
44728
|
+
properties: {}
|
|
44729
|
+
- discriminator:
|
|
44730
|
+
propertyName: type
|
|
44731
|
+
oneOf:
|
|
44732
|
+
- type: object
|
|
44733
|
+
properties:
|
|
44734
|
+
type:
|
|
44735
|
+
type: string
|
|
44736
|
+
const: list
|
|
44737
|
+
list_id:
|
|
44738
|
+
type: string
|
|
44739
|
+
description: The ID of the matched list.
|
|
44740
|
+
example: radar_list_01HZBC6N1EB1ZY7KG32X
|
|
44741
|
+
list:
|
|
44742
|
+
description: >-
|
|
44743
|
+
The list as it is now. `null` if the list has since been
|
|
44744
|
+
deleted.
|
|
44745
|
+
oneOf:
|
|
44746
|
+
- $ref: '#/components/schemas/RadarDetectionList'
|
|
44747
|
+
- type: 'null'
|
|
44748
|
+
entry:
|
|
44749
|
+
type: string
|
|
44750
|
+
description: The list entry that matched.
|
|
44751
|
+
example: example.com
|
|
44752
|
+
required:
|
|
44753
|
+
- type
|
|
44754
|
+
- list_id
|
|
44755
|
+
- list
|
|
44756
|
+
- type: object
|
|
44757
|
+
properties:
|
|
44758
|
+
type:
|
|
44759
|
+
type: string
|
|
44760
|
+
const: blocked_tld
|
|
44761
|
+
required:
|
|
44762
|
+
- type
|
|
44763
|
+
- type: object
|
|
44764
|
+
properties:
|
|
44765
|
+
type:
|
|
44766
|
+
type: string
|
|
44767
|
+
const: sign_up
|
|
44768
|
+
required:
|
|
44769
|
+
- type
|
|
44770
|
+
- type: object
|
|
44771
|
+
properties:
|
|
44772
|
+
type:
|
|
44773
|
+
type: string
|
|
44774
|
+
const: sms_sign_in
|
|
44775
|
+
trigger:
|
|
44776
|
+
type: string
|
|
44777
|
+
enum:
|
|
44778
|
+
- country_mismatch
|
|
44779
|
+
- non_mobile_line
|
|
44780
|
+
- previously_selected
|
|
44781
|
+
- unknown_line_type
|
|
44782
|
+
- missing_signals
|
|
44783
|
+
description: Why SMS sign-in was restricted.
|
|
44784
|
+
phone_country:
|
|
44785
|
+
type: string
|
|
44786
|
+
description: >-
|
|
44787
|
+
The country of the phone number. Only when `trigger` is
|
|
44788
|
+
`country_mismatch`.
|
|
44789
|
+
example: US
|
|
44790
|
+
line_type:
|
|
44791
|
+
type: string
|
|
44792
|
+
description: >-
|
|
44793
|
+
The line type of the phone number. Only when `trigger` is
|
|
44794
|
+
`non_mobile_line`.
|
|
44795
|
+
example: voip
|
|
44796
|
+
masked_phone_number:
|
|
44797
|
+
type: string
|
|
44798
|
+
description: The phone number, masked to its last four digits.
|
|
44799
|
+
example: ••••0123
|
|
44800
|
+
required:
|
|
44801
|
+
- type
|
|
44802
|
+
- trigger
|
|
44803
|
+
RadarDetectionEvidence:
|
|
44804
|
+
allOf:
|
|
44805
|
+
- type: object
|
|
44806
|
+
properties:
|
|
44807
|
+
summary:
|
|
44808
|
+
type: string
|
|
44809
|
+
description: A human-readable explanation of why Radar fired.
|
|
44810
|
+
example: >-
|
|
44811
|
+
Sign-up from a Tor exit node with an email format shared by many
|
|
44812
|
+
recent sign-ups. The action was decided by the risky IP. The
|
|
44813
|
+
email pattern would also have challenged.
|
|
44814
|
+
allowed_by:
|
|
44815
|
+
$ref: '#/components/schemas/RadarDetectionAllowedBy'
|
|
44816
|
+
description: >-
|
|
44817
|
+
The allowlist that overrode the verdict. Only present when an
|
|
44818
|
+
allowlist allowed the attempt.
|
|
44819
|
+
required:
|
|
44820
|
+
- summary
|
|
44821
|
+
- discriminator:
|
|
44822
|
+
propertyName: control
|
|
44823
|
+
oneOf:
|
|
44824
|
+
- type: object
|
|
44825
|
+
properties:
|
|
44826
|
+
control:
|
|
44827
|
+
type: string
|
|
44828
|
+
description: >-
|
|
44829
|
+
The control the evidence is for. Always the same as the
|
|
44830
|
+
detection's `control`.
|
|
44831
|
+
const: bot_detection
|
|
44832
|
+
details:
|
|
44833
|
+
$ref: '#/components/schemas/RadarDetectionBotDetectionDetails'
|
|
44834
|
+
description: >-
|
|
44835
|
+
Facts specific to the control. See the [Radar detection
|
|
44836
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44837
|
+
the fields each control reports.
|
|
44838
|
+
required:
|
|
44839
|
+
- control
|
|
44840
|
+
- details
|
|
44841
|
+
- type: object
|
|
44842
|
+
properties:
|
|
44843
|
+
control:
|
|
44844
|
+
type: string
|
|
44845
|
+
description: >-
|
|
44846
|
+
The control the evidence is for. Always the same as the
|
|
44847
|
+
detection's `control`.
|
|
44848
|
+
const: brute_force_attack
|
|
44849
|
+
details:
|
|
44850
|
+
$ref: '#/components/schemas/RadarDetectionBruteForceAttackDetails'
|
|
44851
|
+
description: >-
|
|
44852
|
+
Facts specific to the control. See the [Radar detection
|
|
44853
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44854
|
+
the fields each control reports.
|
|
44855
|
+
required:
|
|
44856
|
+
- control
|
|
44857
|
+
- details
|
|
44858
|
+
- type: object
|
|
44859
|
+
properties:
|
|
44860
|
+
control:
|
|
44861
|
+
type: string
|
|
44862
|
+
description: >-
|
|
44863
|
+
The control the evidence is for. Always the same as the
|
|
44864
|
+
detection's `control`.
|
|
44865
|
+
const: domain_protections
|
|
44866
|
+
details:
|
|
44867
|
+
$ref: '#/components/schemas/RadarDetectionDomainProtectionsDetails'
|
|
44868
|
+
description: >-
|
|
44869
|
+
Facts specific to the control. See the [Radar detection
|
|
44870
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44871
|
+
the fields each control reports.
|
|
44872
|
+
required:
|
|
44873
|
+
- control
|
|
44874
|
+
- details
|
|
44875
|
+
- type: object
|
|
44876
|
+
properties:
|
|
44877
|
+
control:
|
|
44878
|
+
type: string
|
|
44879
|
+
description: >-
|
|
44880
|
+
The control the evidence is for. Always the same as the
|
|
44881
|
+
detection's `control`.
|
|
44882
|
+
const: impossible_travel
|
|
44883
|
+
details:
|
|
44884
|
+
$ref: '#/components/schemas/RadarDetectionImpossibleTravelDetails'
|
|
44885
|
+
description: >-
|
|
44886
|
+
Facts specific to the control. See the [Radar detection
|
|
44887
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44888
|
+
the fields each control reports.
|
|
44889
|
+
required:
|
|
44890
|
+
- control
|
|
44891
|
+
- details
|
|
44892
|
+
- type: object
|
|
44893
|
+
properties:
|
|
44894
|
+
control:
|
|
44895
|
+
type: string
|
|
44896
|
+
description: >-
|
|
44897
|
+
The control the evidence is for. Always the same as the
|
|
44898
|
+
detection's `control`.
|
|
44899
|
+
const: repeat_sign_up
|
|
44900
|
+
details:
|
|
44901
|
+
$ref: '#/components/schemas/RadarDetectionRepeatSignUpDetails'
|
|
44902
|
+
description: >-
|
|
44903
|
+
Facts specific to the control. See the [Radar detection
|
|
44904
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44905
|
+
the fields each control reports.
|
|
44906
|
+
required:
|
|
44907
|
+
- control
|
|
44908
|
+
- details
|
|
44909
|
+
- type: object
|
|
44910
|
+
properties:
|
|
44911
|
+
control:
|
|
44912
|
+
type: string
|
|
44913
|
+
description: >-
|
|
44914
|
+
The control the evidence is for. Always the same as the
|
|
44915
|
+
detection's `control`.
|
|
44916
|
+
const: stale_account
|
|
44917
|
+
details:
|
|
44918
|
+
$ref: '#/components/schemas/RadarDetectionStaleAccountDetails'
|
|
44919
|
+
description: >-
|
|
44920
|
+
Facts specific to the control. See the [Radar detection
|
|
44921
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44922
|
+
the fields each control reports.
|
|
44923
|
+
required:
|
|
44924
|
+
- control
|
|
44925
|
+
- details
|
|
44926
|
+
- type: object
|
|
44927
|
+
properties:
|
|
44928
|
+
control:
|
|
44929
|
+
type: string
|
|
44930
|
+
description: >-
|
|
44931
|
+
The control the evidence is for. Always the same as the
|
|
44932
|
+
detection's `control`.
|
|
44933
|
+
const: unrecognized_device
|
|
44934
|
+
details:
|
|
44935
|
+
$ref: '#/components/schemas/RadarDetectionUnrecognizedDeviceDetails'
|
|
44936
|
+
description: >-
|
|
44937
|
+
Facts specific to the control. See the [Radar detection
|
|
44938
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44939
|
+
the fields each control reports.
|
|
44940
|
+
required:
|
|
44941
|
+
- control
|
|
44942
|
+
- details
|
|
44943
|
+
- type: object
|
|
44944
|
+
properties:
|
|
44945
|
+
control:
|
|
44946
|
+
type: string
|
|
44947
|
+
description: >-
|
|
44948
|
+
The control the evidence is for. Always the same as the
|
|
44949
|
+
detection's `control`.
|
|
44950
|
+
const: restriction
|
|
44951
|
+
details:
|
|
44952
|
+
$ref: '#/components/schemas/RadarDetectionRestrictionDetails'
|
|
44953
|
+
description: >-
|
|
44954
|
+
Facts specific to the control. See the [Radar detection
|
|
44955
|
+
object](/reference/radar/detections#evidence-details) for
|
|
44956
|
+
the fields each control reports.
|
|
44957
|
+
required:
|
|
44958
|
+
- control
|
|
44959
|
+
- details
|
|
44960
|
+
example:
|
|
44961
|
+
control: bot_detection
|
|
44962
|
+
summary: >-
|
|
44963
|
+
Sign-up from a Tor exit node with an email format shared by many
|
|
44964
|
+
recent sign-ups. The action was decided by the risky IP. The email
|
|
44965
|
+
pattern would also have challenged.
|
|
44966
|
+
details:
|
|
44967
|
+
signals:
|
|
44968
|
+
- signal: risky_ip
|
|
44969
|
+
action: challenge
|
|
44970
|
+
- signal: suspicious_email_pattern
|
|
44971
|
+
action: challenge
|
|
44972
|
+
decided_by: risky_ip
|
|
44973
|
+
ip_risk:
|
|
44974
|
+
- tor
|
|
44975
|
+
email_pattern:
|
|
44976
|
+
- repeated_format
|
|
44977
|
+
RadarDetection:
|
|
44978
|
+
type: object
|
|
44979
|
+
properties:
|
|
44980
|
+
object:
|
|
44981
|
+
type: string
|
|
44982
|
+
description: Distinguishes the Radar detection object.
|
|
44983
|
+
const: radar_detection
|
|
44984
|
+
id:
|
|
44985
|
+
type: string
|
|
44986
|
+
description: The unique ID of the detection.
|
|
44987
|
+
example: detection_01HZBC6N1EB1ZY7KG32X
|
|
44988
|
+
attempt_id:
|
|
44989
|
+
type: string
|
|
44990
|
+
description: The ID of the authentication attempt.
|
|
44991
|
+
example: radar_att_01HZBC6N1EB1ZY7KG32X
|
|
44992
|
+
control:
|
|
44993
|
+
type: string
|
|
44994
|
+
enum:
|
|
44995
|
+
- bot_detection
|
|
44996
|
+
- brute_force_attack
|
|
44997
|
+
- domain_protections
|
|
44998
|
+
- impossible_travel
|
|
44999
|
+
- repeat_sign_up
|
|
45000
|
+
- stale_account
|
|
45001
|
+
- unrecognized_device
|
|
45002
|
+
- restriction
|
|
45003
|
+
description: The Radar control that determined the verdict.
|
|
45004
|
+
example: bot_detection
|
|
45005
|
+
verdict:
|
|
45006
|
+
type: string
|
|
45007
|
+
enum:
|
|
45008
|
+
- allow
|
|
45009
|
+
- block
|
|
45010
|
+
- challenge
|
|
45011
|
+
- log
|
|
45012
|
+
description: The verdict Radar reached for the attempt.
|
|
45013
|
+
example: challenge
|
|
45014
|
+
challenge_type:
|
|
45015
|
+
description: The challenge Radar issued, if the verdict is `challenge`.
|
|
45016
|
+
example: email
|
|
45017
|
+
oneOf:
|
|
45018
|
+
- type: string
|
|
45019
|
+
enum:
|
|
45020
|
+
- email
|
|
45021
|
+
- sms
|
|
45022
|
+
- type: 'null'
|
|
45023
|
+
evidence:
|
|
45024
|
+
description: >-
|
|
45025
|
+
Why Radar fired. `null` for detections recorded before evidence was
|
|
45026
|
+
captured.
|
|
45027
|
+
oneOf:
|
|
45028
|
+
- $ref: '#/components/schemas/RadarDetectionEvidence'
|
|
45029
|
+
- type: 'null'
|
|
45030
|
+
ip_address:
|
|
45031
|
+
type: string
|
|
45032
|
+
description: The IP address of the attempt.
|
|
45033
|
+
example: 203.0.113.42
|
|
45034
|
+
location:
|
|
45035
|
+
type: object
|
|
45036
|
+
properties:
|
|
45037
|
+
city:
|
|
45038
|
+
type:
|
|
45039
|
+
- string
|
|
45040
|
+
- 'null'
|
|
45041
|
+
description: The city the IP address is located in.
|
|
45042
|
+
example: San Francisco
|
|
45043
|
+
country:
|
|
45044
|
+
type:
|
|
45045
|
+
- string
|
|
45046
|
+
- 'null'
|
|
45047
|
+
description: ISO 3166-1 alpha-2 country code.
|
|
45048
|
+
example: US
|
|
45049
|
+
required:
|
|
45050
|
+
- city
|
|
45051
|
+
- country
|
|
45052
|
+
description: Where the IP address is located.
|
|
45053
|
+
user_agent:
|
|
45054
|
+
type: string
|
|
45055
|
+
description: The user agent of the attempt.
|
|
45056
|
+
example: Mozilla/5.0
|
|
45057
|
+
email:
|
|
45058
|
+
type: string
|
|
45059
|
+
description: The email address used in the attempt.
|
|
45060
|
+
example: user@example.com
|
|
45061
|
+
user_id:
|
|
45062
|
+
type:
|
|
45063
|
+
- string
|
|
45064
|
+
- 'null'
|
|
45065
|
+
description: The ID of the user, if one exists.
|
|
45066
|
+
example: user_01E4ZCR3C56J083X43JQXF3JK5
|
|
45067
|
+
action:
|
|
45068
|
+
description: >-
|
|
45069
|
+
Whether the attempt was a sign-up or a sign-in, as on the
|
|
45070
|
+
`authentication.radar_risk_detected` event. `null` if unknown.
|
|
45071
|
+
example: signup
|
|
45072
|
+
oneOf:
|
|
45073
|
+
- type: string
|
|
45074
|
+
enum:
|
|
45075
|
+
- signup
|
|
45076
|
+
- login
|
|
45077
|
+
- type: 'null'
|
|
45078
|
+
auth_method:
|
|
45079
|
+
description: The authentication method used for the attempt.
|
|
45080
|
+
example: password
|
|
45081
|
+
oneOf:
|
|
45082
|
+
- type: string
|
|
45083
|
+
enum:
|
|
45084
|
+
- password
|
|
45085
|
+
- passkey
|
|
45086
|
+
- magic_auth
|
|
45087
|
+
- oauth
|
|
45088
|
+
- sso
|
|
45089
|
+
- authenticator
|
|
45090
|
+
- sms_otp
|
|
45091
|
+
- other
|
|
45092
|
+
- type: 'null'
|
|
45093
|
+
created_at:
|
|
45094
|
+
format: date-time
|
|
45095
|
+
type: string
|
|
45096
|
+
description: An ISO 8601 timestamp.
|
|
45097
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
45098
|
+
updated_at:
|
|
45099
|
+
format: date-time
|
|
45100
|
+
type: string
|
|
45101
|
+
description: An ISO 8601 timestamp.
|
|
45102
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
45103
|
+
required:
|
|
45104
|
+
- object
|
|
45105
|
+
- id
|
|
45106
|
+
- attempt_id
|
|
45107
|
+
- control
|
|
45108
|
+
- verdict
|
|
45109
|
+
- challenge_type
|
|
45110
|
+
- evidence
|
|
45111
|
+
- ip_address
|
|
45112
|
+
- location
|
|
45113
|
+
- user_agent
|
|
45114
|
+
- email
|
|
45115
|
+
- user_id
|
|
45116
|
+
- action
|
|
45117
|
+
- auth_method
|
|
45118
|
+
- created_at
|
|
45119
|
+
- updated_at
|
|
44307
45120
|
RadarStandaloneResponse:
|
|
44308
45121
|
type: object
|
|
44309
45122
|
properties:
|