epilot 0.1.0 → 0.1.2

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.
Files changed (108) hide show
  1. package/README.md +7 -345
  2. package/bin/epilot.js +5 -0
  3. package/package.json +7 -33
  4. package/definitions/access-token.json +0 -663
  5. package/definitions/address-suggestions.json +0 -582
  6. package/definitions/address.json +0 -578
  7. package/definitions/ai-agents.json +0 -1711
  8. package/definitions/app.json +0 -4443
  9. package/definitions/audit-logs.json +0 -305
  10. package/definitions/automation.json +0 -4815
  11. package/definitions/billing.json +0 -837
  12. package/definitions/blueprint-manifest.json +0 -3376
  13. package/definitions/consent.json +0 -344
  14. package/definitions/customer-portal.json +0 -15000
  15. package/definitions/dashboard.json +0 -484
  16. package/definitions/data-management.json +0 -962
  17. package/definitions/deduplication.json +0 -183
  18. package/definitions/design.json +0 -1423
  19. package/definitions/document.json +0 -758
  20. package/definitions/email-settings.json +0 -2627
  21. package/definitions/email-template.json +0 -1419
  22. package/definitions/entity-mapping.json +0 -1642
  23. package/definitions/entity.json +0 -10074
  24. package/definitions/environments.json +0 -363
  25. package/definitions/erp-integration.json +0 -5845
  26. package/definitions/event-catalog.json +0 -1051
  27. package/definitions/file.json +0 -2842
  28. package/definitions/iban.json +0 -132
  29. package/definitions/journey.json +0 -2341
  30. package/definitions/kanban.json +0 -929
  31. package/definitions/message.json +0 -2660
  32. package/definitions/metering.json +0 -2321
  33. package/definitions/notes.json +0 -1531
  34. package/definitions/notification.json +0 -1425
  35. package/definitions/organization.json +0 -629
  36. package/definitions/partner-directory.json +0 -1718
  37. package/definitions/permissions.json +0 -1480
  38. package/definitions/pricing-tier.json +0 -105
  39. package/definitions/pricing.json +0 -9884
  40. package/definitions/purpose.json +0 -524
  41. package/definitions/sandbox.json +0 -453
  42. package/definitions/submission.json +0 -313
  43. package/definitions/targeting.json +0 -1474
  44. package/definitions/template-variables.json +0 -1408
  45. package/definitions/user.json +0 -2408
  46. package/definitions/validation-rules.json +0 -1491
  47. package/definitions/webhooks.json +0 -1525
  48. package/definitions/workflow-definition.json +0 -3417
  49. package/definitions/workflow.json +0 -4106
  50. package/dist/access-token-OG5AR7UB.js +0 -51
  51. package/dist/address-QUSMK5GV.js +0 -51
  52. package/dist/address-suggestions-E5SQNUS5.js +0 -51
  53. package/dist/ai-agents-PM42SJY3.js +0 -51
  54. package/dist/app-YTM3XAJL.js +0 -51
  55. package/dist/audit-logs-NXP7GFKX.js +0 -51
  56. package/dist/auth-CCBTXH5U.js +0 -113
  57. package/dist/auth-login-2ZIXM47J.js +0 -137
  58. package/dist/auth-token-OS4BEEVZ.js +0 -43
  59. package/dist/automation-TDJASTEV.js +0 -51
  60. package/dist/billing-M4MRBLEK.js +0 -51
  61. package/dist/bin/epilot.js +0 -104
  62. package/dist/blueprint-manifest-NQL7NRMV.js +0 -51
  63. package/dist/chunk-57PPARIW.js +0 -715
  64. package/dist/chunk-5WUPDZ5D.js +0 -76
  65. package/dist/chunk-IST42ZNL.js +0 -78
  66. package/dist/chunk-RC3GCXCI.js +0 -76
  67. package/dist/chunk-TKZLQD2B.js +0 -72
  68. package/dist/chunk-UJ6TU34M.js +0 -56
  69. package/dist/completion-GRQM2FJQ.js +0 -168
  70. package/dist/consent-KQ7MJAS6.js +0 -51
  71. package/dist/customer-portal-VUVSKWAQ.js +0 -51
  72. package/dist/dashboard-GVR4XNGR.js +0 -51
  73. package/dist/data-management-2RD3DLOS.js +0 -51
  74. package/dist/deduplication-PY77EINR.js +0 -51
  75. package/dist/design-M4FP2K5R.js +0 -51
  76. package/dist/document-P4QA7LEZ.js +0 -51
  77. package/dist/email-settings-7HGGRCCM.js +0 -51
  78. package/dist/email-template-3HXQI4CH.js +0 -51
  79. package/dist/entity-XUESZBPJ.js +0 -51
  80. package/dist/entity-mapping-JBKWWBH2.js +0 -51
  81. package/dist/environments-KKOS7ONY.js +0 -51
  82. package/dist/erp-integration-YTOWHCAW.js +0 -51
  83. package/dist/event-catalog-UKLZUGC4.js +0 -51
  84. package/dist/file-IFZNZ547.js +0 -51
  85. package/dist/iban-X2IW2NWU.js +0 -51
  86. package/dist/interactive-46ICLQKL.js +0 -16
  87. package/dist/journey-JU6X2KMX.js +0 -51
  88. package/dist/kanban-VHUU44PM.js +0 -51
  89. package/dist/message-AOUWJ4YX.js +0 -51
  90. package/dist/metering-RDS3XBD5.js +0 -51
  91. package/dist/notes-WE2UC75B.js +0 -51
  92. package/dist/notification-FKFNBHYZ.js +0 -51
  93. package/dist/organization-LMNFF6BX.js +0 -51
  94. package/dist/partner-directory-IIZVQDXJ.js +0 -51
  95. package/dist/permissions-AYCMVM7Y.js +0 -51
  96. package/dist/pricing-PS26FWBS.js +0 -51
  97. package/dist/pricing-tier-FBXWQ6T3.js +0 -51
  98. package/dist/profile-5Q5YARG7.js +0 -135
  99. package/dist/purpose-HE4E4SVU.js +0 -51
  100. package/dist/sandbox-Z7BU4UAD.js +0 -51
  101. package/dist/submission-MWVDF2ZB.js +0 -51
  102. package/dist/targeting-7NM5GDJ6.js +0 -51
  103. package/dist/template-variables-AJAR7PAV.js +0 -51
  104. package/dist/user-A26XQXG3.js +0 -51
  105. package/dist/validation-rules-VZTISEG2.js +0 -51
  106. package/dist/webhooks-RXH67WZ3.js +0 -51
  107. package/dist/workflow-G4FUUGZQ.js +0 -51
  108. package/dist/workflow-definition-LJYLMMGD.js +0 -51
@@ -1,663 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Access Token API",
5
- "version": "0.4.0",
6
- "description": "Generate Access Tokens for 3rd party applications that need access to epilot APIs.\n"
7
- },
8
- "tags": [
9
- {
10
- "name": "Access Tokens",
11
- "description": "Create Access Tokens for epilot APIs"
12
- },
13
- {
14
- "name": "Public",
15
- "description": "Well known endpoints to verify tokens generated by this API"
16
- }
17
- ],
18
- "security": [
19
- {
20
- "EpilotAuth": []
21
- },
22
- {
23
- "EpilotOrg": []
24
- }
25
- ],
26
- "paths": {
27
- "/v1/access-tokens": {
28
- "post": {
29
- "operationId": "createAccessToken",
30
- "summary": "createAccessToken",
31
- "description": "**Access Token type: `API`** (default if not specified):\n\nGenerates a new Access Token to use for calling epilot APIs.\n\nTakes optionally a list of Roles assigned to the Access Token. Defaults to current user's assignments\n\nSee [Permissions API docs](https://docs.epilot.io/api/permissions)\n\n**Access Token type: `JOURNEY`**:\n\nGenerates a Public Access Token related to a journey.\nThe journey id should be specfied.\n",
32
- "tags": [
33
- "Access Tokens"
34
- ],
35
- "requestBody": {
36
- "description": "Metadata for the Access Token",
37
- "content": {
38
- "application/json": {
39
- "schema": {
40
- "$ref": "#/components/schemas/TokenParameters"
41
- },
42
- "examples": {
43
- "api": {
44
- "value": {
45
- "name": "API Access Token",
46
- "token_type": "api",
47
- "assignments": []
48
- }
49
- },
50
- "journey": {
51
- "value": {
52
- "name": "Journey Access Token",
53
- "token_type": "journey",
54
- "journey_id": "u29g7-97gajsaog-028t02jag-a9a72tk"
55
- }
56
- },
57
- "portal": {
58
- "value": {
59
- "name": "Installer /End Customer Portal Access Token",
60
- "token_type": "portal",
61
- "portal_id": "END_CUSTOMER_PORTAL"
62
- }
63
- },
64
- "assume": {
65
- "value": {
66
- "name": "Assume Token intended for assuming a different role as a user",
67
- "token_type": "assume",
68
- "assignments": [
69
- "739224:employee"
70
- ]
71
- }
72
- },
73
- "app": {
74
- "value": {
75
- "name": "App Access Token",
76
- "token_type": "app",
77
- "assignments": [
78
- "739224:e5c1f9b1-e41d-421d-83c4-c5626e464430"
79
- ]
80
- }
81
- }
82
- }
83
- }
84
- }
85
- },
86
- "responses": {
87
- "201": {
88
- "description": "The new generated Access Token",
89
- "content": {
90
- "application/json": {
91
- "schema": {
92
- "allOf": [
93
- {
94
- "properties": {
95
- "token": {
96
- "$ref": "#/components/schemas/AccessToken"
97
- }
98
- }
99
- },
100
- {
101
- "$ref": "#/components/schemas/AccessTokenItem"
102
- }
103
- ]
104
- }
105
- }
106
- }
107
- },
108
- "400": {
109
- "description": "Bad Request",
110
- "content": {
111
- "application/json": {
112
- "schema": {
113
- "type": "object",
114
- "properties": {
115
- "status": {
116
- "type": "integer"
117
- },
118
- "error": {
119
- "type": "string"
120
- }
121
- }
122
- }
123
- }
124
- }
125
- },
126
- "500": {
127
- "description": "Internal Server Error",
128
- "content": {
129
- "application/json": {
130
- "schema": {
131
- "type": "object",
132
- "properties": {
133
- "status": {
134
- "type": "integer"
135
- },
136
- "error": {
137
- "type": "string"
138
- }
139
- }
140
- }
141
- }
142
- }
143
- }
144
- }
145
- },
146
- "get": {
147
- "operationId": "listAccessTokens",
148
- "summary": "listAccessTokens",
149
- "description": "Lists all Access Tokens for current user (by default excludes system generated tokens)",
150
- "parameters": [
151
- {
152
- "in": "query",
153
- "name": "token_type",
154
- "description": "Filter by token types",
155
- "schema": {
156
- "type": "array",
157
- "items": {
158
- "$ref": "#/components/schemas/AccessTokenType"
159
- }
160
- }
161
- }
162
- ],
163
- "tags": [
164
- "Access Tokens"
165
- ],
166
- "responses": {
167
- "200": {
168
- "description": "List of Access Tokens",
169
- "content": {
170
- "application/json": {
171
- "schema": {
172
- "type": "array",
173
- "items": {
174
- "$ref": "#/components/schemas/AccessTokenItem"
175
- }
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
182
- },
183
- "/v1/access-tokens/{id}": {
184
- "delete": {
185
- "operationId": "revokeAccessToken",
186
- "summary": "revokeAccessToken",
187
- "description": "Revokes an Access Token so it can't be used anymore.",
188
- "parameters": [
189
- {
190
- "name": "id",
191
- "in": "path",
192
- "schema": {
193
- "$ref": "#/components/schemas/AccessTokenId"
194
- },
195
- "required": true
196
- }
197
- ],
198
- "tags": [
199
- "Access Tokens"
200
- ],
201
- "responses": {
202
- "200": {
203
- "description": "The revoked generated Access Token",
204
- "content": {
205
- "application/json": {
206
- "schema": {
207
- "$ref": "#/components/schemas/AccessTokenItem"
208
- }
209
- }
210
- }
211
- }
212
- }
213
- }
214
- },
215
- "/v1/access-tokens/.well-known/jwks.json": {
216
- "get": {
217
- "operationId": "getAccessTokenJwks",
218
- "summary": "getAccessTokenJwks",
219
- "description": "Get jwks public key set to verify access tokens generated by this API",
220
- "tags": [
221
- "Public"
222
- ],
223
- "security": [],
224
- "responses": {
225
- "200": {
226
- "description": "Set of jwks",
227
- "content": {
228
- "application/json": {
229
- "schema": {
230
- "type": "object",
231
- "properties": {
232
- "keys": {
233
- "type": "array",
234
- "items": {
235
- "type": "object",
236
- "properties": {
237
- "alg": {
238
- "type": "string",
239
- "example": "RS256"
240
- },
241
- "e": {
242
- "type": "string",
243
- "example": "AQAB"
244
- },
245
- "kid": {
246
- "type": "string",
247
- "example": "tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw="
248
- },
249
- "kty": {
250
- "type": "string",
251
- "example": "RSA"
252
- },
253
- "n": {
254
- "type": "string",
255
- "example": "h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ"
256
- },
257
- "use": {
258
- "type": "string",
259
- "example": "sig"
260
- }
261
- }
262
- }
263
- }
264
- }
265
- }
266
- }
267
- }
268
- }
269
- }
270
- }
271
- },
272
- "/v1/access-tokens/.well-known/openid-configuration": {
273
- "get": {
274
- "operationId": "getAccessTokenOIDC",
275
- "summary": "getAccessTokenOIDC",
276
- "description": "OpenID Connect configuration for Access Token API as identity provider\n\nNote: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to\nautomate the process of verifying JWT tokens.\n",
277
- "tags": [
278
- "Public"
279
- ],
280
- "security": [],
281
- "responses": {
282
- "200": {
283
- "description": "OpenID Configuration",
284
- "content": {
285
- "application/json": {
286
- "schema": {
287
- "type": "object",
288
- "properties": {
289
- "issuer": {
290
- "type": "string",
291
- "format": "uri",
292
- "example": "https://access-token.sls.epilot.io/v1/access-tokens"
293
- },
294
- "jwks_uri": {
295
- "type": "string",
296
- "format": "uri",
297
- "example": "https://access-token.sls.epilot.io/v1/access-tokens/.well-known/jwks.json"
298
- }
299
- }
300
- }
301
- }
302
- }
303
- }
304
- }
305
- }
306
- },
307
- "/v1/access-tokens/public/.well-known/jwks.json": {
308
- "get": {
309
- "operationId": "getPublicTokenJwks",
310
- "summary": "getPublicTokenJwks",
311
- "description": "Get jwks public key set to verify public tokens generated by this API",
312
- "tags": [
313
- "Public"
314
- ],
315
- "security": [],
316
- "responses": {
317
- "200": {
318
- "description": "Set of jwks",
319
- "content": {
320
- "application/json": {
321
- "schema": {
322
- "type": "object",
323
- "properties": {
324
- "keys": {
325
- "type": "array",
326
- "items": {
327
- "type": "object",
328
- "properties": {
329
- "alg": {
330
- "type": "string",
331
- "example": "RS256"
332
- },
333
- "e": {
334
- "type": "string",
335
- "example": "AQAB"
336
- },
337
- "kid": {
338
- "type": "string",
339
- "example": "tXWU5mPMbRPczpbQwi6vbhLF4GgF3wlMDSyqo7pfeiw="
340
- },
341
- "kty": {
342
- "type": "string",
343
- "example": "RSA"
344
- },
345
- "n": {
346
- "type": "string",
347
- "example": "h_QDoCjZ8W_trtYXaP7_S22wf5r5Wd9XBLED78oT44bJjQXn8ddcFV8Hik65_4IYXVX_hTTU4zpxe3H8vx2j7-Zz3O59mYMp5S0MzODNEdf5Y_2o19eis0brmAJniixsNlQ9LlYkdrVamrgaxHu3ZpP_99zkfFybYeuYoQNzb3PyrT8xVnz_USs_nlFMHpGUxvvz7gfKPqxcLvgLJr4cwI9yzaSY9CD4qW181QVcnL_WzpQ8xx6AuhhHZQ1l_3GG4InTk8ahE7U2ZHVu8RrX6d01pMgc3piEcet9RgFLnhbTg3YIiKGoAbN42wJn_x3lgIAC42T9mbmTsHyUdS6nUQ"
348
- },
349
- "use": {
350
- "type": "string",
351
- "example": "sig"
352
- }
353
- }
354
- }
355
- }
356
- }
357
- }
358
- }
359
- }
360
- }
361
- }
362
- }
363
- },
364
- "/v1/access-tokens/public/.well-known/openid-configuration": {
365
- "get": {
366
- "operationId": "getPublicTokenOIDC",
367
- "summary": "getPublicTokenOIDC",
368
- "description": "OpenID Connect configuration for Access Token API a a public identity provider\n\nNote: This API is not a fully compliant OAuth2.0 / OIDC identity provider, but this endpoint is useful to\nautomate the process of verifying JWT tokens.\n",
369
- "tags": [
370
- "Public"
371
- ],
372
- "security": [],
373
- "responses": {
374
- "200": {
375
- "description": "OpenID Configuration",
376
- "content": {
377
- "application/json": {
378
- "schema": {
379
- "type": "object",
380
- "properties": {
381
- "issuer": {
382
- "type": "string",
383
- "format": "uri",
384
- "example": "https://access-token.sls.epilot.io/v1/access-tokens"
385
- },
386
- "jwks_uri": {
387
- "type": "string",
388
- "format": "uri",
389
- "example": "https://access-token.sls.epilot.io/v1/access-tokens/.well-known/jwks.json"
390
- }
391
- }
392
- }
393
- }
394
- }
395
- }
396
- }
397
- }
398
- }
399
- },
400
- "components": {
401
- "securitySchemes": {
402
- "EpilotAuth": {
403
- "type": "http",
404
- "scheme": "bearer",
405
- "description": "Authorization header with epilot OAuth2 bearer token",
406
- "bearerFormat": "JWT"
407
- },
408
- "EpilotOrg": {
409
- "description": "Overrides the target organization to allow shared tenantaccess",
410
- "name": "x-epilot-org-id",
411
- "in": "header",
412
- "type": "apiKey"
413
- }
414
- },
415
- "schemas": {
416
- "AccessToken": {
417
- "type": "string",
418
- "description": "A JWT Access Token",
419
- "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp..."
420
- },
421
- "AccessTokenId": {
422
- "type": "string",
423
- "example": "api_5ZugdRXasLfWBypHi93Fk"
424
- },
425
- "AccessTokenName": {
426
- "type": "string",
427
- "description": "Human readable name for access token",
428
- "example": "Postman Access Token"
429
- },
430
- "AccessTokenType": {
431
- "type": "string",
432
- "enum": [
433
- "api",
434
- "journey",
435
- "portal",
436
- "assume",
437
- "app"
438
- ],
439
- "description": "Access token type",
440
- "example": "api"
441
- },
442
- "AccessTokenJourneyId": {
443
- "type": "string",
444
- "description": "Journey ID for access token type \"journey\""
445
- },
446
- "PortalId": {
447
- "type": "string",
448
- "description": "Portal ID for access token type \"portal\""
449
- },
450
- "TokenParameters": {
451
- "anyOf": [
452
- {
453
- "$ref": "#/components/schemas/AccessTokenParameters"
454
- },
455
- {
456
- "$ref": "#/components/schemas/JourneyTokenParameters"
457
- },
458
- {
459
- "$ref": "#/components/schemas/PortalTokenParameters"
460
- },
461
- {
462
- "$ref": "#/components/schemas/AssumeTokenParameters"
463
- },
464
- {
465
- "$ref": "#/components/schemas/AppTokenParameters"
466
- }
467
- ]
468
- },
469
- "ExpiresIn": {
470
- "oneOf": [
471
- {
472
- "type": "integer",
473
- "format": "int32",
474
- "description": "Expiration time in seconds",
475
- "example": 3600,
476
- "minimum": 30,
477
- "maximum": 604800
478
- },
479
- {
480
- "type": "string",
481
- "description": "Expiration time as a string with time units (e.g., '10h', '7d', '2 days')",
482
- "example": "1h",
483
- "pattern": "^[0-9]+ ?(ms|milliseconds?|s|seconds?|m|minutes?|h|hours?|d|days?|w|weeks?|y|years?)?$"
484
- }
485
- ]
486
- },
487
- "AccessTokenParameters": {
488
- "type": "object",
489
- "additionalProperties": false,
490
- "properties": {
491
- "name": {
492
- "$ref": "#/components/schemas/AccessTokenName"
493
- },
494
- "token_type": {
495
- "type": "string",
496
- "enum": [
497
- "api"
498
- ]
499
- },
500
- "assignments": {
501
- "$ref": "#/components/schemas/Assignments"
502
- },
503
- "expires_in": {
504
- "$ref": "#/components/schemas/ExpiresIn"
505
- }
506
- },
507
- "required": [
508
- "name"
509
- ]
510
- },
511
- "JourneyTokenParameters": {
512
- "type": "object",
513
- "additionalProperties": false,
514
- "properties": {
515
- "name": {
516
- "$ref": "#/components/schemas/AccessTokenName"
517
- },
518
- "token_type": {
519
- "type": "string",
520
- "enum": [
521
- "journey"
522
- ]
523
- },
524
- "journey_id": {
525
- "$ref": "#/components/schemas/AccessTokenJourneyId"
526
- },
527
- "expires_in": {
528
- "$ref": "#/components/schemas/ExpiresIn"
529
- }
530
- },
531
- "required": [
532
- "name",
533
- "journey_id"
534
- ]
535
- },
536
- "PortalTokenParameters": {
537
- "type": "object",
538
- "additionalProperties": false,
539
- "properties": {
540
- "name": {
541
- "$ref": "#/components/schemas/AccessTokenName"
542
- },
543
- "token_type": {
544
- "type": "string",
545
- "enum": [
546
- "portal"
547
- ]
548
- },
549
- "portal_id": {
550
- "$ref": "#/components/schemas/PortalId"
551
- },
552
- "expires_in": {
553
- "$ref": "#/components/schemas/ExpiresIn"
554
- }
555
- },
556
- "required": [
557
- "name",
558
- "portal_id"
559
- ]
560
- },
561
- "AssumeTokenParameters": {
562
- "type": "object",
563
- "additionalProperties": false,
564
- "properties": {
565
- "name": {
566
- "$ref": "#/components/schemas/AccessTokenName"
567
- },
568
- "token_type": {
569
- "type": "string",
570
- "enum": [
571
- "assume"
572
- ]
573
- },
574
- "assignments": {
575
- "$ref": "#/components/schemas/Assignments"
576
- }
577
- },
578
- "required": [
579
- "name"
580
- ]
581
- },
582
- "AppTokenParameters": {
583
- "type": "object",
584
- "additionalProperties": false,
585
- "properties": {
586
- "name": {
587
- "$ref": "#/components/schemas/AccessTokenName"
588
- },
589
- "token_type": {
590
- "type": "string",
591
- "enum": [
592
- "app"
593
- ]
594
- },
595
- "assignments": {
596
- "$ref": "#/components/schemas/Assignments"
597
- },
598
- "expires_in": {
599
- "$ref": "#/components/schemas/ExpiresIn"
600
- }
601
- },
602
- "required": [
603
- "name"
604
- ]
605
- },
606
- "AccessTokenItem": {
607
- "type": "object",
608
- "properties": {
609
- "id": {
610
- "$ref": "#/components/schemas/AccessTokenId"
611
- },
612
- "created_at": {
613
- "type": "string",
614
- "format": "date-time"
615
- },
616
- "name": {
617
- "$ref": "#/components/schemas/AccessTokenName"
618
- },
619
- "token_type": {
620
- "$ref": "#/components/schemas/AccessTokenType"
621
- },
622
- "journey_id": {
623
- "$ref": "#/components/schemas/AccessTokenJourneyId"
624
- },
625
- "portal_id": {
626
- "$ref": "#/components/schemas/PortalId"
627
- },
628
- "assignments": {
629
- "$ref": "#/components/schemas/Assignments"
630
- },
631
- "last_used": {
632
- "type": "string",
633
- "format": "date",
634
- "description": "Last date the token was used (YYYY-MM-DD format, 1 day accuracy)",
635
- "example": "2026-02-24"
636
- }
637
- },
638
- "required": [
639
- "id",
640
- "created_at",
641
- "name"
642
- ]
643
- },
644
- "RoleId": {
645
- "type": "string",
646
- "example": "123:owner",
647
- "description": "Format: <organization_id>:<slug>"
648
- },
649
- "Assignments": {
650
- "type": "array",
651
- "description": "List of role ids attached to an user",
652
- "items": {
653
- "$ref": "#/components/schemas/RoleId"
654
- }
655
- }
656
- }
657
- },
658
- "servers": [
659
- {
660
- "url": "https://access-token.sls.epilot.io"
661
- }
662
- ]
663
- }