-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
12059 lines (11529 loc) · 439 KB
/
Copy pathopenapi.yaml
File metadata and controls
12059 lines (11529 loc) · 439 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: 1Claw API
version: 2.27.0
description: |
Secure secret management for AI agents. Provides vaults, secrets,
policy-based access control, agent identity, Intents API,
sharing, billing, and audit logging.
All endpoints require JWT Bearer authentication unless marked with
`security: []`.
contact:
email: ops@1claw.xyz
servers:
- url: http://localhost:8443
description: Development
- url: https://api.1claw.xyz
description: Production
- url: https://shroud.1claw.xyz
description: Shroud TEE Proxy (Intents API + LLM proxy)
x-agentcash-guidance:
llmsTxtUrl: https://1claw.xyz/llms.txt
security:
- BearerAuth: []
tags:
- name: Authentication
description: Credential exchange, MFA, device auth, token management
- name: API Keys
description: Personal API key management
- name: Vaults
description: Vault lifecycle operations
- name: Secrets
description: Secret CRUD within vaults
- name: Policies
description: Access policy management
- name: Agents
description: Agent identity and key management
- name: Transactions
description: Intents API (signing, simulation)
- name: Chains
description: Blockchain chain registry
- name: Sharing
description: Secret sharing links
- name: Organization
description: Org membership and roles
- name: Billing
description: Subscriptions, credits, and usage
- name: Audit
description: Immutable audit event log
- name: Security
description: IP rules and security configuration
- name: Treasury
description: Multi-sig treasury wallets (Safe) and agent access requests
- name: Treasury Wallets
description: Multi-chain wallet generation for human users (replaces CDP embedded wallets)
- name: Admin
description: Platform administration
- name: Health
description: Service health checks
- name: Approvals
description: Human-in-the-loop approval workflow for agent actions
- name: Signing Keys
description: Per-agent multi-chain signing key management
- name: Webhooks
description: Event webhook registration and management
- name: Platform
description: Platform API for developers building on 1Claw (plt_ keys, user provisioning, bootstrap templates)
- name: OAuth
description: OAuth 2.0 authorization server (PKCE, consent, token exchange, OIDC UserInfo)
- name: Risk Engine
description: Risk events, verdicts, and honeytoken management
- name: Tokens
description: Known token registry for guardrail enforcement
- name: Execution Intents
description: Execute HTTP calls, queries, and more through pre-configured bindings
- name: Payment Cards
description: Order prepaid/gift cards via x402, then reveal, refresh, and void them
# =============================================================================
# PATHS
# =============================================================================
paths:
# ---------------------------------------------------------------------------
# Authentication
# ---------------------------------------------------------------------------
/v1/auth/token:
post:
tags: [Authentication]
summary: Login with email and password
operationId: login
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/LoginRequest"
responses:
"200":
description: Authenticated (or MFA required)
content:
application/json:
schema:
$ref: "#/components/schemas/LoginResponse"
"401":
$ref: "#/components/responses/Unauthorized"
delete:
tags: [Authentication]
summary: Revoke current token
operationId: revokeToken
responses:
"204":
description: Token revoked
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/agent-token:
post:
tags: [Authentication]
summary: Exchange agent credentials for JWT
description: |
Returns a short-lived EdDSA-signed JWT (`access_token`). Standard claims include `sub`
(`agent:<uuid>`), `org`, `scopes`, `vault_ids`, optional `intents_api_enabled`, optional
`shroud_enabled`, optional `llm_token_billing` / `stripe_customer_id` when org LLM billing is on.
When **`shroud_enabled`** is true, the JWT payload may include **`shroud_config`**: a JSON object
mirroring the agent row in Vault (same shape as `ShroudConfig` on `GET /v1/agents/{id}`).
**Shroud** (TEE proxy) decodes this on each LLM request and runs **PolicyEngine** after the
global inspection pipeline so per-agent limits and threat **block** actions apply without a
separate policy fetch. Re-exchange the agent token after changing `shroud_config` so the JWT
is fresh.
User JWTs from password, API key, or device flow do **not** include `shroud_config`.
operationId: agentToken
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/AgentTokenRequest"
responses:
"200":
description: Agent JWT issued
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/api-key-token:
post:
tags: [Authentication]
summary: Exchange user API key for JWT
operationId: apiKeyToken
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UserApiKeyTokenRequest"
responses:
"200":
description: JWT issued
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/refresh:
post:
tags: [Authentication]
summary: Refresh an expiring JWT
operationId: refreshToken
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [refresh_token]
properties:
refresh_token:
type: string
responses:
"200":
description: Token refreshed
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/jwt-public-key:
get:
tags: [Authentication]
summary: Get JWT verification public key
description: |
Returns the Ed25519 public key used to sign JWTs.
Use this to verify tokens independently (e.g. in a TEE proxy or
gateway). No authentication required.
For OIDC-compliant relying parties (Anthropic Workload Identity
Federation, etc.) prefer the JWKS endpoint at
`/.well-known/jwks.json` together with the discovery document
at `/.well-known/openid-configuration` — those advertise both
Ed25519 and RS256 keys keyed by `kid` and survive key rotation.
operationId: getJwtPublicKey
security: []
responses:
"200":
description: JWT public key
content:
application/json:
schema:
type: object
required: [alg, public_key_base64]
properties:
alg:
type: string
example: EdDSA
public_key_base64:
type: string
description: Base64-encoded Ed25519 public key
/v1/auth/federated-token:
post:
tags: [Authentication]
summary: Exchange a 1claw token for an OIDC federation token (RFC 8693)
description: |
Mints a short-lived RS256-signed JWT targeted at an external
relying party (e.g. Anthropic Workload Identity Federation).
The relying party validates the token via this issuer's JWKS
URL (`/.well-known/jwks.json`) and exchanges it for its own
short-lived service credentials.
Requirements:
- The agent that owns the `subject_token` must have
`federation_enabled = true` and the requested `audience`
must appear in `federation_audiences`.
- The `subject_token` must be a valid 1claw agent JWT or
`ocv_` API key.
- Optional `scope` narrows the agent's existing scopes — it
cannot escalate.
Returns 503 when `ONECLAW_JWT_RS256_SIGNING_KEY_ID` is not
configured on the server.
operationId: exchangeFederatedToken
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/TokenExchangeRequest"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/TokenExchangeRequest"
responses:
"200":
description: Federation token issued
content:
application/json:
schema:
$ref: "#/components/schemas/TokenExchangeResponse"
"400":
$ref: "#/components/responses/BadRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"403":
$ref: "#/components/responses/Forbidden"
"503":
description: RS256 signing key not configured
/.well-known/openid-configuration:
get:
tags: [Authentication]
summary: OIDC discovery document
description: |
Standard OpenID Connect discovery document advertising the
issuer URL, JWKS URL, supported algorithms (`EdDSA`, `RS256`),
and the RFC 8693 token-exchange endpoint. External IdPs
(Anthropic WIF, Okta, Auth0, etc.) read this URL to learn
where 1claw publishes its JWKS.
operationId: openidConfiguration
security: []
responses:
"200":
description: Discovery document
content:
application/json:
schema:
type: object
/.well-known/jwks.json:
get:
tags: [Authentication]
summary: JSON Web Key Set
description: |
Public keys for every active version of every JWT signing
key (Ed25519 + RSA-2048). Each entry includes a `kid` so
consumers can validate tokens issued before the most recent
key rotation. Cached for 5 minutes via `Cache-Control` and
CORS-permissive for browser-based IdP consoles.
operationId: jwks
security: []
responses:
"200":
description: JWK Set
content:
application/jwk-set+json:
schema:
type: object
properties:
keys:
type: array
items:
type: object
/v1/auth/signup:
post:
tags: [Authentication]
summary: Create a new account
operationId: signup
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/SignupRequest"
responses:
"200":
description: Account created (pending verification or auto-login)
content:
application/json:
schema:
$ref: "#/components/schemas/SignupResponse"
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/verify-email:
post:
tags: [Authentication]
summary: Verify email address
operationId: verifyEmail
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [token]
properties:
token:
type: string
responses:
"200":
description: Email verified
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/forgot-password:
post:
tags: [Authentication]
summary: Request password reset email
description: |
Always returns the same message whether or not the email exists (no account enumeration).
Only password-based accounts receive mail.
operationId: forgotPassword
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ForgotPasswordRequest"
responses:
"200":
description: Acknowledgement (check email if account exists)
content:
application/json:
schema:
$ref: "#/components/schemas/ForgotPasswordResponse"
/v1/auth/reset-password:
post:
tags: [Authentication]
summary: Set a new password using reset token from email
operationId: resetPassword
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ResetPasswordRequest"
responses:
"200":
description: Password updated
content:
application/json:
schema:
$ref: "#/components/schemas/ResetPasswordResponse"
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/google:
post:
tags: [Authentication]
summary: Authenticate with Google OAuth
operationId: googleAuth
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/GoogleAuthRequest"
responses:
"200":
description: Authenticated
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/change-password:
post:
tags: [Authentication]
summary: Change current user's password
operationId: changePassword
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/ChangePasswordRequest"
responses:
"204":
description: Password changed
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/set-password:
post:
tags: [Authentication]
summary: Set initial password for platform users
description: Only allowed when the user has no password set (platform_oidc users after claiming).
operationId: setPassword
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [password, password_confirm]
properties:
password:
type: string
minLength: 12
password_confirm:
type: string
responses:
"200":
description: Password set successfully
content:
application/json:
schema:
type: object
properties:
message:
type: string
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/change-email:
post:
tags: [Authentication]
summary: Request email change
description: Sends a 6-digit verification code to the new email address. Code expires in 10 minutes.
operationId: changeEmail
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [new_email]
properties:
new_email:
type: string
format: email
responses:
"200":
description: Verification code sent
content:
application/json:
schema:
type: object
properties:
message:
type: string
new_email:
type: string
expires_in_seconds:
type: integer
"400":
$ref: "#/components/responses/BadRequest"
"409":
description: Email already in use
/v1/auth/verify-email-change:
post:
tags: [Authentication]
summary: Verify email change with code
operationId: verifyEmailChange
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [code]
properties:
code:
type: string
responses:
"200":
description: Email updated
content:
application/json:
schema:
type: object
properties:
message:
type: string
email:
type: string
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/passkeys/register/begin:
post:
tags: [Authentication]
summary: Begin passkey registration
description: Returns a WebAuthn challenge for creating a new passkey credential.
operationId: passkeyRegisterBegin
responses:
"200":
description: Registration options
content:
application/json:
schema:
type: object
properties:
challenge:
type: string
rp_id:
type: string
rp_name:
type: string
user_id:
type: string
user_name:
type: string
user_display_name:
type: string
attestation:
type: string
authenticator_selection:
type: object
/v1/auth/passkeys/register/complete:
post:
tags: [Authentication]
summary: Complete passkey registration
operationId: passkeyRegisterComplete
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [credential_id, attestation_object, client_data_json]
properties:
credential_id:
type: string
attestation_object:
type: string
client_data_json:
type: string
transports:
type: array
items:
type: string
name:
type: string
responses:
"201":
description: Passkey registered
content:
application/json:
schema:
type: object
properties:
passkey_id:
type: string
format: uuid
credential_id:
type: string
/v1/auth/passkeys/assert/begin:
post:
tags: [Authentication]
summary: Begin passkey authentication
operationId: passkeyAssertBegin
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
email:
type: string
format: email
responses:
"200":
description: Assertion options
content:
application/json:
schema:
type: object
properties:
challenge:
type: string
rp_id:
type: string
timeout:
type: integer
user_verification:
type: string
allow_credentials:
type: array
items:
type: object
/v1/auth/passkeys/assert/complete:
post:
tags: [Authentication]
summary: Complete passkey authentication
operationId: passkeyAssertComplete
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [credential_id, authenticator_data, client_data_json, signature]
properties:
credential_id:
type: string
authenticator_data:
type: string
client_data_json:
type: string
signature:
type: string
responses:
"200":
description: Authentication successful
content:
application/json:
schema:
type: object
properties:
token:
type: string
refresh_token:
type: string
user:
type: object
/v1/auth/passkeys:
get:
tags: [Authentication]
summary: List registered passkeys
operationId: listPasskeys
responses:
"200":
description: List of passkeys
content:
application/json:
schema:
type: object
properties:
passkeys:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
credential_id:
type: string
name:
type: string
last_used_at:
type: string
created_at:
type: string
/v1/auth/passkeys/{passkey_id}:
delete:
tags: [Authentication]
summary: Delete a passkey
operationId: deletePasskey
parameters:
- name: passkey_id
in: path
required: true
schema:
type: string
format: uuid
responses:
"200":
description: Passkey deleted
/v1/approvals/request:
post:
tags: [Approvals]
summary: Request human approval (agent-only)
description: Agents can request policy changes or other sensitive actions that require human approval.
operationId: requestApproval
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [action, target_type, target_id, summary]
properties:
action:
type: string
description: "Type of action (e.g. policy_change)"
target_type:
type: string
target_id:
type: string
summary:
type: object
description: "JSON payload describing the request"
reason:
type: string
risk_tier:
type: integer
minimum: 1
maximum: 5
responses:
"202":
description: Approval request created
headers:
Location:
description: URL to poll for approval status
schema:
type: string
example: /v1/approvals/{id}
content:
application/json:
schema:
$ref: "#/components/schemas/ApprovalResponse"
"403":
$ref: "#/components/responses/Forbidden"
/v1/auth/me:
get:
tags: [Authentication]
summary: Get current user profile
operationId: getMe
responses:
"200":
description: User profile
content:
application/json:
schema:
$ref: "#/components/schemas/UserProfileResponse"
patch:
tags: [Authentication]
summary: Update user profile
operationId: updateMe
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/UpdateProfileRequest"
responses:
"200":
description: Profile updated
content:
application/json:
schema:
$ref: "#/components/schemas/UserProfileResponse"
"400":
$ref: "#/components/responses/BadRequest"
delete:
tags: [Authentication]
summary: Delete current user account
operationId: deleteMe
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [confirmation]
properties:
confirmation:
type: string
description: Must be "DELETE MY ACCOUNT"
responses:
"204":
description: Account deleted
"400":
$ref: "#/components/responses/BadRequest"
# MFA
/v1/auth/mfa/status:
get:
tags: [Authentication]
summary: Check MFA enrollment status
operationId: mfaStatus
responses:
"200":
description: MFA status
content:
application/json:
schema:
$ref: "#/components/schemas/MfaStatusResponse"
/v1/auth/mfa/setup:
post:
tags: [Authentication]
summary: Begin MFA enrollment
operationId: mfaSetup
responses:
"200":
description: TOTP setup details
content:
application/json:
schema:
$ref: "#/components/schemas/MfaSetupResponse"
/v1/auth/mfa/verify-setup:
post:
tags: [Authentication]
summary: Confirm MFA enrollment with a TOTP code
operationId: mfaVerifySetup
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/MfaVerifySetupRequest"
responses:
"200":
description: MFA enabled, recovery codes returned
content:
application/json:
schema:
$ref: "#/components/schemas/MfaVerifySetupResponse"
"400":
$ref: "#/components/responses/BadRequest"
/v1/auth/mfa/verify:
post:
tags: [Authentication]
summary: Verify MFA code during login
operationId: mfaVerify
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/MfaVerifyRequest"
responses:
"200":
description: MFA verified, JWT issued
content:
application/json:
schema:
$ref: "#/components/schemas/TokenResponse"
"401":
$ref: "#/components/responses/Unauthorized"
/v1/auth/mfa:
delete:
tags: [Authentication]
summary: Disable MFA
operationId: mfaDisable
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/MfaDisableRequest"
responses:
"204":
description: MFA disabled
"400":
$ref: "#/components/responses/BadRequest"
# Device Auth (CLI)
/v1/auth/device/code:
post:
tags: [Authentication]
summary: Request a device authorization code
operationId: deviceCode
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceCodeRequest"
responses:
"200":
description: Device code issued
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceCodeResponse"
/v1/auth/device/token:
post:
tags: [Authentication]
summary: Poll for device authorization token
operationId: deviceToken
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceTokenRequest"
responses:
"200":
description: Token issued or authorization pending
content:
application/json:
schema:
$ref: "#/components/schemas/DeviceTokenResponse"
/v1/auth/device/code/{user_code}:
get:
tags: [Authentication]
summary: Check device code status
operationId: deviceCodeStatus
security: []
parameters:
- name: user_code
in: path
required: true
schema:
type: string
responses:
"200":
description: Device code details
"404":
$ref: "#/components/responses/NotFound"
/v1/auth/device/approve:
post: