@celigo/api-specs 0.2.3 → 0.2.4-IO-168454-EPIC-fb
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/README.md +71 -80
- package/dist/account.yml +456 -55
- package/dist/agent.yml +15 -0
- package/dist/ai-agent.yml +1000 -192
- package/dist/alert.yml +1226 -0
- package/dist/api.yml +6375 -178
- package/dist/apim.yml +0 -4
- package/dist/asynchelper.yml +441 -62
- package/dist/audit.yml +57 -2
- package/dist/bartendertemplate.yml +508 -0
- package/dist/connection.yml +2533 -189
- package/dist/connector.yml +8 -0
- package/dist/ediprofile.yml +15 -0
- package/dist/editransaction.yml +250 -14
- package/dist/enduser.yml +6063 -47
- package/dist/environment.yml +8 -0
- package/dist/eventreport.yml +8 -0
- package/dist/export.yml +1624 -1804
- package/dist/filedefinition.yml +47 -0
- package/dist/filedefinitionrules.yml +722 -0
- package/dist/fileserver.yml +1457 -0
- package/dist/filestorage.yml +1087 -535
- package/dist/flow.yml +896 -209
- package/dist/guardrail.yml +310 -499
- package/dist/httpconnector.yml +8 -0
- package/dist/httpconnectorendpoint.yml +610 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +245 -114
- package/dist/import.yml +2583 -448
- package/dist/integration.yml +1114 -45
- package/dist/job.yml +188 -92
- package/dist/lookupcache.yml +45 -14
- package/dist/marketplace.yml +352 -107
- package/dist/mcp-oauth-provider.yml +15 -30
- package/dist/mcp-server.yml +7004 -68
- package/dist/networkpolicy.yml +1221 -0
- package/dist/notification.yml +59 -9
- package/dist/processor.yml +8 -3
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +91 -16
- package/dist/stack.yml +642 -5
- package/dist/storagequery.yml +935 -0
- package/dist/subscription.yml +428 -67
- package/dist/sync.yml +435 -79
- package/dist/tag.yml +8 -0
- package/dist/template.yml +47 -1
- package/dist/tool.yml +7932 -3273
- package/dist/topic.yml +1806 -0
- package/dist/tradingpartnerconnector.yml +18 -0
- package/dist/user.yml +465 -42
- package/package.json +13 -1
- package/schemas.json +2358 -1887
package/dist/user.yml
CHANGED
|
@@ -28,8 +28,9 @@ tags:
|
|
|
28
28
|
- **accessLevel** — account-wide role (administrator, manage, monitor, etc.)
|
|
29
29
|
- **integrationAccessLevel** — per-integration overrides for finer control.
|
|
30
30
|
|
|
31
|
-
The account owner is not included — only invited users appear
|
|
32
|
-
|
|
31
|
+
The account owner is not included — only invited users appear, plus any
|
|
32
|
+
the identity provider provisioned through SCIM (`provisionedBy: scim`).
|
|
33
|
+
Users can be disabled (reversible) or permanently removed.
|
|
33
34
|
|
|
34
35
|
## User schema
|
|
35
36
|
|
|
@@ -41,7 +42,9 @@ paths:
|
|
|
41
42
|
summary: List users
|
|
42
43
|
description: |-
|
|
43
44
|
Returns all users with access to the account. The account owner is
|
|
44
|
-
not included — only invited users appear.
|
|
45
|
+
not included — only invited users appear. Without `userType` the list
|
|
46
|
+
holds workspace records only; end-user records (MCP-only consumers
|
|
47
|
+
managed through the End Users API) are included only when asked for.
|
|
45
48
|
operationId: listUsers
|
|
46
49
|
tags:
|
|
47
50
|
- Users
|
|
@@ -54,13 +57,15 @@ paths:
|
|
|
54
57
|
enum:
|
|
55
58
|
- workspace
|
|
56
59
|
- end-user
|
|
60
|
+
- workspace,end-user
|
|
57
61
|
x-enumDescriptions:
|
|
58
|
-
workspace: Workspace (team member) access records — the records
|
|
59
|
-
end-user: End-user records
|
|
62
|
+
workspace: Workspace (team member) access records — the same records an unfiltered call returns.
|
|
63
|
+
end-user: End-user access records only, each carrying `resourceGrants`, `provisionedBy`, and — when the end user belongs to a group — `groupMemberships` and `_groupIds`.
|
|
64
|
+
workspace,end-user: Both planes in one list; tell the records apart by `userType`.
|
|
60
65
|
description: |-
|
|
61
|
-
Filter by access-record type. `
|
|
62
|
-
|
|
63
|
-
|
|
66
|
+
Filter by access-record type. `end-user` returns the same records as
|
|
67
|
+
`GET /v1/endusers`, in this API's shape (`sharedWithUser` instead of the
|
|
68
|
+
joined `email` and `name`). Any other value is rejected with 400.
|
|
64
69
|
responses:
|
|
65
70
|
'200':
|
|
66
71
|
description: All users with access to the account.
|
|
@@ -114,8 +119,51 @@ paths:
|
|
|
114
119
|
name: Integration User
|
|
115
120
|
allowedToResetMFA: false
|
|
116
121
|
accountSSOLinked: not_linked
|
|
122
|
+
endUsers:
|
|
123
|
+
summary: ?userType=end-user — one end user with a group membership
|
|
124
|
+
value:
|
|
125
|
+
- _id: 6aacb5cd76dd63f8209a4c57
|
|
126
|
+
accepted: true
|
|
127
|
+
userType: end-user
|
|
128
|
+
provisionedBy: invite
|
|
129
|
+
resourceGrants:
|
|
130
|
+
- resourceType: mcpServer
|
|
131
|
+
_resourceId: 6aacaf0c1e2c183620e7253d
|
|
132
|
+
capabilities:
|
|
133
|
+
- tool:all
|
|
134
|
+
- resourceType: mcpServer
|
|
135
|
+
_resourceId: 6ab1ebd05af4c5a3ea6b0958
|
|
136
|
+
capabilities:
|
|
137
|
+
- pset:6ab1ec1d2d2c0e0d88aea1dc
|
|
138
|
+
groupMemberships:
|
|
139
|
+
- _groupId: 6abf4dd8fa3e52974f9f1d7a
|
|
140
|
+
source: manual
|
|
141
|
+
_groupIds:
|
|
142
|
+
- 6abf4dd8fa3e52974f9f1d7a
|
|
143
|
+
allowIntegrationWorkspaceCreation: false
|
|
144
|
+
lastModified: '2026-09-22T02:47:05.390Z'
|
|
145
|
+
createdAt: '2026-09-18T03:53:49.619Z'
|
|
146
|
+
sharedWithUser:
|
|
147
|
+
_id: 6aacb5cc76dd63f8209a4c28
|
|
148
|
+
email: enduser@example.com
|
|
149
|
+
name: Ana Enduser
|
|
150
|
+
lastSignIn: '2026-09-18T04:10:35.199Z'
|
|
151
|
+
allowedToResetMFA: false
|
|
152
|
+
accountSSOLinked: not_linked
|
|
117
153
|
'204':
|
|
118
154
|
description: No users exist in the account
|
|
155
|
+
'400':
|
|
156
|
+
description: '`userType` is not one of the accepted values.'
|
|
157
|
+
content:
|
|
158
|
+
application/json:
|
|
159
|
+
schema:
|
|
160
|
+
$ref: '#/components/schemas/Error'
|
|
161
|
+
examples:
|
|
162
|
+
invalidUserType:
|
|
163
|
+
value:
|
|
164
|
+
errors:
|
|
165
|
+
- code: validation_failed
|
|
166
|
+
message: Validation failed. userType must be workspace, end-user, or workspace,end-user.
|
|
119
167
|
'401':
|
|
120
168
|
$ref: '#/components/responses/401-unauthorized'
|
|
121
169
|
/v1/ashares/{_id}:
|
|
@@ -125,7 +173,12 @@ paths:
|
|
|
125
173
|
operationId: getUser
|
|
126
174
|
tags:
|
|
127
175
|
- Users
|
|
128
|
-
description:
|
|
176
|
+
description: |-
|
|
177
|
+
Retrieve a single user's access record by its id. Returns the bare record:
|
|
178
|
+
the user is identified by `_sharedWithUserId` rather than the expanded
|
|
179
|
+
`sharedWithUser` the list returns, and `isProductionAdmin` is not computed.
|
|
180
|
+
Returns workspace records only — an end-user access-record id is not found
|
|
181
|
+
here; read those from `GET /v1/endusers`.
|
|
129
182
|
parameters:
|
|
130
183
|
- name: _id
|
|
131
184
|
in: path
|
|
@@ -145,23 +198,18 @@ paths:
|
|
|
145
198
|
default:
|
|
146
199
|
value:
|
|
147
200
|
_id: 6798f4dc43db9184f4bc8ee0
|
|
201
|
+
_sharedWithUserId: 624774a6a7574d3ed9f9a5cc
|
|
148
202
|
accepted: true
|
|
149
203
|
accessLevel: administrator
|
|
150
204
|
integrationAccessLevel: []
|
|
151
205
|
accountSSORequired: false
|
|
152
206
|
accountMFARequired: false
|
|
153
|
-
isProductionAdmin: true
|
|
154
207
|
allowIntegrationWorkspaceCreation: false
|
|
155
208
|
createdVia: existing_account_invite
|
|
156
209
|
lastModified: '2026-05-02T17:02:59.371Z'
|
|
157
210
|
createdAt: '2025-01-28T15:16:44.327Z'
|
|
158
211
|
lastSignIn: '2026-05-02T17:02:59.370Z'
|
|
159
|
-
|
|
160
|
-
_id: 624774a6a7574d3ed9f9a5cc
|
|
161
|
-
email: admin@example.com
|
|
162
|
-
name: Account Admin
|
|
163
|
-
allowedToResetMFA: false
|
|
164
|
-
accountSSOLinked: not_linked
|
|
212
|
+
userType: workspace
|
|
165
213
|
'401':
|
|
166
214
|
$ref: '#/components/responses/401-unauthorized'
|
|
167
215
|
'404':
|
|
@@ -173,10 +221,19 @@ paths:
|
|
|
173
221
|
tags:
|
|
174
222
|
- Users
|
|
175
223
|
description: |-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
224
|
+
Replaces a workspace user's access settings. The body must grant access
|
|
225
|
+
through `accessLevel` or a non-empty `integrationAccessLevel`, and
|
|
226
|
+
`integrationAccessLevel` and `accountMFARequired` are cleared when
|
|
227
|
+
omitted — send every value to keep. `accountSSORequired` is the
|
|
228
|
+
exception: it changes only when the body carries it, and is ignored
|
|
229
|
+
while the account enforces SSO for every user. `disabled` is not
|
|
230
|
+
applied here; toggle it with `PUT /v1/ashares/{_userId}/disable`.
|
|
231
|
+
Read-only fields echoed from the GET response are ignored, except
|
|
232
|
+
`userType`, which is rejected. The user's email cannot be changed after
|
|
233
|
+
invite. Callable from the production environment only.
|
|
234
|
+
|
|
235
|
+
End-user access records share this route with a different body — see
|
|
236
|
+
the End Users API.
|
|
180
237
|
parameters:
|
|
181
238
|
- name: _id
|
|
182
239
|
in: path
|
|
@@ -193,30 +250,79 @@ paths:
|
|
|
193
250
|
$ref: '#/components/schemas/Request'
|
|
194
251
|
examples:
|
|
195
252
|
changeAccessLevel:
|
|
196
|
-
summary: Change to administrator
|
|
253
|
+
summary: Change to administrator (resend accountMFARequired — omitted means cleared)
|
|
197
254
|
value:
|
|
198
255
|
accessLevel: administrator
|
|
256
|
+
integrationAccessLevel: []
|
|
257
|
+
accountMFARequired: true
|
|
199
258
|
integrationOnly:
|
|
200
|
-
summary: Integration-only access
|
|
259
|
+
summary: Integration-only access (no accessLevel; resend accountMFARequired)
|
|
201
260
|
value:
|
|
202
261
|
integrationAccessLevel:
|
|
203
262
|
- _integrationId: 68f52162f00a35a1b26eaafb
|
|
204
263
|
accessLevel: manage
|
|
205
264
|
- _integrationId: 6842261335b64c0bcb308e4f
|
|
206
265
|
accessLevel: monitor
|
|
207
|
-
|
|
208
|
-
|
|
266
|
+
accountMFARequired: true
|
|
267
|
+
requireSso:
|
|
268
|
+
summary: Turn on SSO for the user while keeping every other setting
|
|
209
269
|
value:
|
|
210
|
-
|
|
270
|
+
accessLevel: monitor
|
|
271
|
+
integrationAccessLevel: []
|
|
272
|
+
accountSSORequired: true
|
|
273
|
+
accountMFARequired: true
|
|
274
|
+
allowToEditRetryData: true
|
|
211
275
|
responses:
|
|
212
276
|
'204':
|
|
213
277
|
description: User updated.
|
|
214
278
|
'400':
|
|
215
|
-
|
|
279
|
+
description: The body grants no access, or echoes the read-only `userType`.
|
|
280
|
+
content:
|
|
281
|
+
application/json:
|
|
282
|
+
schema:
|
|
283
|
+
$ref: '#/components/schemas/Error'
|
|
284
|
+
examples:
|
|
285
|
+
noAccessGranted:
|
|
286
|
+
summary: Neither accessLevel nor integrationAccessLevel sent
|
|
287
|
+
value:
|
|
288
|
+
errors:
|
|
289
|
+
- code: invalid_request
|
|
290
|
+
message: To update the account access you need to either provide account level access or integration level access.
|
|
291
|
+
userTypeEchoed:
|
|
292
|
+
summary: Read-only userType sent back
|
|
293
|
+
value:
|
|
294
|
+
errors:
|
|
295
|
+
- code: validation_failed
|
|
296
|
+
message: userType is immutable after creation.
|
|
216
297
|
'401':
|
|
217
298
|
$ref: '#/components/responses/401-unauthorized'
|
|
299
|
+
'403':
|
|
300
|
+
description: The call was made from a sandbox environment.
|
|
301
|
+
content:
|
|
302
|
+
application/json:
|
|
303
|
+
schema:
|
|
304
|
+
$ref: '#/components/schemas/Error'
|
|
305
|
+
examples:
|
|
306
|
+
sandboxEnvironment:
|
|
307
|
+
value:
|
|
308
|
+
errors:
|
|
309
|
+
- code: access_restricted
|
|
310
|
+
message: This request can only be made through the production environment.
|
|
218
311
|
'404':
|
|
219
312
|
$ref: '#/components/responses/404-not-found'
|
|
313
|
+
'422':
|
|
314
|
+
description: '`integrationAccessLevel` is empty and no `accessLevel` was sent.'
|
|
315
|
+
content:
|
|
316
|
+
application/json:
|
|
317
|
+
schema:
|
|
318
|
+
$ref: '#/components/schemas/Error'
|
|
319
|
+
examples:
|
|
320
|
+
emptyIntegrationAccess:
|
|
321
|
+
value:
|
|
322
|
+
errors:
|
|
323
|
+
- code: missing_required_field
|
|
324
|
+
field: accessLevel
|
|
325
|
+
message: You need to provide user with either an account level access or integration level access.
|
|
220
326
|
delete:
|
|
221
327
|
x-internal: false
|
|
222
328
|
summary: Delete a user
|
|
@@ -251,8 +357,12 @@ paths:
|
|
|
251
357
|
summary: Toggle a user's account access (disable or re-enable)
|
|
252
358
|
description: |-
|
|
253
359
|
Toggles the `disabled` flag on a user's access record. Call again to
|
|
254
|
-
re-enable — there is no separate `/enable` path
|
|
255
|
-
|
|
360
|
+
re-enable — there is no separate `/enable` path, and this is the only
|
|
361
|
+
way to change `disabled` (the update operation does not apply it). A
|
|
362
|
+
pending invitation cannot be toggled until the invited user accepts or
|
|
363
|
+
declines it.
|
|
364
|
+
|
|
365
|
+
End-user access records share this route — see the End Users API.
|
|
256
366
|
parameters:
|
|
257
367
|
- name: _userId
|
|
258
368
|
in: path
|
|
@@ -278,7 +388,17 @@ paths:
|
|
|
278
388
|
'204':
|
|
279
389
|
description: User access toggled.
|
|
280
390
|
'400':
|
|
281
|
-
|
|
391
|
+
description: The invitation is still pending.
|
|
392
|
+
content:
|
|
393
|
+
application/json:
|
|
394
|
+
schema:
|
|
395
|
+
$ref: '#/components/schemas/Error'
|
|
396
|
+
examples:
|
|
397
|
+
pendingInvitation:
|
|
398
|
+
value:
|
|
399
|
+
errors:
|
|
400
|
+
- code: invalid_request
|
|
401
|
+
message: You can't disable this invitation without it being accepted or dismissed by the invited user.
|
|
282
402
|
'401':
|
|
283
403
|
$ref: '#/components/responses/401-unauthorized'
|
|
284
404
|
'404':
|
|
@@ -343,6 +463,94 @@ paths:
|
|
|
343
463
|
$ref: '#/components/responses/401-unauthorized'
|
|
344
464
|
'404':
|
|
345
465
|
$ref: '#/components/responses/404-not-found'
|
|
466
|
+
/v1/ashares/{_id}/accept:
|
|
467
|
+
put:
|
|
468
|
+
x-internal: false
|
|
469
|
+
summary: Accept an account invitation
|
|
470
|
+
operationId: acceptAccountInvitation
|
|
471
|
+
tags:
|
|
472
|
+
- Users
|
|
473
|
+
description: |-
|
|
474
|
+
Accepts an invitation to another user's account on behalf of the caller.
|
|
475
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
476
|
+
`GET /v1/shared/ashares`, not from `GET /v1/ashares`. Pending invitations
|
|
477
|
+
from the same owner's other environments are accepted with it, and the
|
|
478
|
+
owner is notified by email. Accepting an invitation that is already
|
|
479
|
+
accepted changes nothing. A user who still owns integrations, flows, or
|
|
480
|
+
syncs must transfer or delete them before they can join another account.
|
|
481
|
+
x-celigo-ai-guidance:
|
|
482
|
+
- Recipient-side operation — the caller's own token accepts the share. To grant access to your account, use `POST /v1/invite/multiple` instead.
|
|
483
|
+
parameters:
|
|
484
|
+
- name: _id
|
|
485
|
+
in: path
|
|
486
|
+
required: true
|
|
487
|
+
description: Share record id from `GET /v1/shared/ashares`.
|
|
488
|
+
schema:
|
|
489
|
+
type: string
|
|
490
|
+
format: objectId
|
|
491
|
+
examples:
|
|
492
|
+
- 612345abcdef6789012345ab
|
|
493
|
+
responses:
|
|
494
|
+
'204':
|
|
495
|
+
description: Invitation accepted (or already accepted).
|
|
496
|
+
'401':
|
|
497
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
498
|
+
'404':
|
|
499
|
+
description: No share with this id is addressed to the caller.
|
|
500
|
+
content:
|
|
501
|
+
application/json:
|
|
502
|
+
schema:
|
|
503
|
+
$ref: '#/components/schemas/Error'
|
|
504
|
+
examples:
|
|
505
|
+
notShared:
|
|
506
|
+
value:
|
|
507
|
+
errors:
|
|
508
|
+
- code: invalid_ref
|
|
509
|
+
message: AShare not found.
|
|
510
|
+
/v1/ashares/{_id}/dismiss:
|
|
511
|
+
put:
|
|
512
|
+
x-internal: false
|
|
513
|
+
summary: Dismiss an account invitation
|
|
514
|
+
operationId: dismissAccountInvitation
|
|
515
|
+
tags:
|
|
516
|
+
- Users
|
|
517
|
+
description: |-
|
|
518
|
+
Declines an invitation to another user's account on behalf of the caller.
|
|
519
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
520
|
+
`GET /v1/shared/ashares`. Pending invitations from the same owner's other
|
|
521
|
+
environments are dismissed with it, and the owner is notified by email;
|
|
522
|
+
they can send it again with `PUT /v1/ashares/{_id}/reinvite`. Dismissing
|
|
523
|
+
an invitation that is already dismissed changes nothing. To leave an
|
|
524
|
+
account whose invitation you accepted, use `DELETE /v1/shared/ashares/{_id}`.
|
|
525
|
+
x-celigo-ai-guidance:
|
|
526
|
+
- Recipient-side operation — the caller's own token declines the share. To remove a user from your account, use `DELETE /v1/ashares/{_id}` instead.
|
|
527
|
+
parameters:
|
|
528
|
+
- name: _id
|
|
529
|
+
in: path
|
|
530
|
+
required: true
|
|
531
|
+
description: Share record id from `GET /v1/shared/ashares`.
|
|
532
|
+
schema:
|
|
533
|
+
type: string
|
|
534
|
+
format: objectId
|
|
535
|
+
examples:
|
|
536
|
+
- 612345abcdef6789012345ab
|
|
537
|
+
responses:
|
|
538
|
+
'204':
|
|
539
|
+
description: Invitation dismissed (or already dismissed).
|
|
540
|
+
'401':
|
|
541
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
542
|
+
'404':
|
|
543
|
+
description: No share with this id is addressed to the caller.
|
|
544
|
+
content:
|
|
545
|
+
application/json:
|
|
546
|
+
schema:
|
|
547
|
+
$ref: '#/components/schemas/Error'
|
|
548
|
+
examples:
|
|
549
|
+
notShared:
|
|
550
|
+
value:
|
|
551
|
+
errors:
|
|
552
|
+
- code: invalid_ref
|
|
553
|
+
message: AShare not found.
|
|
346
554
|
/v1/invite/multiple:
|
|
347
555
|
post:
|
|
348
556
|
x-internal: false
|
|
@@ -435,9 +643,6 @@ components:
|
|
|
435
643
|
type: object
|
|
436
644
|
description: Writable fields shared by the request and response schemas.
|
|
437
645
|
properties:
|
|
438
|
-
disabled:
|
|
439
|
-
type: boolean
|
|
440
|
-
description: Set to False to enable a disabled user, or True to maintain disabled
|
|
441
646
|
accessLevel:
|
|
442
647
|
type: string
|
|
443
648
|
description: |-
|
|
@@ -452,16 +657,29 @@ components:
|
|
|
452
657
|
`integrationAccessLevel` undefined/empty
|
|
453
658
|
|
|
454
659
|
If per-integration level permissions are needed, omit `accessLevel` and instead populate `integrationAccessLevel`.
|
|
660
|
+
|
|
661
|
+
On update (`PUT /v1/ashares/{_id}`) the body replaces the access settings: `integrationAccessLevel`
|
|
662
|
+
and `accountMFARequired` are cleared when omitted, so resend them to keep them. `accountSSORequired`
|
|
663
|
+
is different — it changes only when the body carries it.
|
|
664
|
+
|
|
665
|
+
`none` is written by SCIM provisioning for a user who has no account-wide grant; do not send it
|
|
666
|
+
yourself — omit `accessLevel` and use `integrationAccessLevel` for integration-only access.
|
|
455
667
|
x-celigo-ai-guidance:
|
|
456
668
|
- Choose the `accessLevel` value based on what the user should be able to do across the account.
|
|
669
|
+
- |-
|
|
670
|
+
On PUT, "omit" means "clear" for integrationAccessLevel and accountMFARequired — GET the
|
|
671
|
+
record first and resend both with the new accessLevel. accountSSORequired keeps its stored
|
|
672
|
+
value when omitted.
|
|
457
673
|
enum:
|
|
458
674
|
- monitor
|
|
459
675
|
- manage
|
|
460
676
|
- administrator
|
|
677
|
+
- none
|
|
461
678
|
x-enumDescriptions:
|
|
462
679
|
monitor: Grants access to view all integrations, run flows, and troubleshoot flow errors (retry/resolve) without modifying integrations, flows, steps, resources, account settings, or users
|
|
463
680
|
manage: Grants access to edit all integrations and resources and troubleshoot flow errors, but not to view or edit account settings or invite/manage users
|
|
464
681
|
administrator: Grants full account administration, including editing account settings, resources, and integrations; inviting/managing users; and troubleshooting flow errors, but does not grant owner-only actions such as transferring account ownership or managing owner permissions
|
|
682
|
+
none: No account-wide grant; recorded by SCIM provisioning for users whose access is defined entirely by integrationAccessLevel
|
|
465
683
|
integrationAccessLevel:
|
|
466
684
|
type: array
|
|
467
685
|
description: |-
|
|
@@ -472,6 +690,8 @@ components:
|
|
|
472
690
|
- If `accessLevel` is omitted, this creates **integration-only** access.
|
|
473
691
|
- If `accessLevel` is `monitor`, this grants **elevated access** (typically `manage`) for specific integrations.
|
|
474
692
|
- If `accessLevel` is `manage` or `administrator`, do not set `integrationAccessLevel`.
|
|
693
|
+
|
|
694
|
+
Cleared when omitted on update — send `[]` explicitly only when you mean no per-integration grants.
|
|
475
695
|
items:
|
|
476
696
|
type: object
|
|
477
697
|
properties:
|
|
@@ -493,12 +713,22 @@ components:
|
|
|
493
713
|
manage: Full access to edit the integration and its resources.
|
|
494
714
|
accountSSORequired:
|
|
495
715
|
type: boolean
|
|
496
|
-
description:
|
|
716
|
+
description: |-
|
|
717
|
+
When true, the user must sign in through SSO to access this account. Written
|
|
718
|
+
only when present in the update body — omitting it on `PUT /v1/ashares/{_id}`
|
|
719
|
+
leaves the stored value unchanged. While the account enforces SSO for every
|
|
720
|
+
user, the value sent is ignored and the stored value is kept until that
|
|
721
|
+
enforcement is turned off.
|
|
722
|
+
examples:
|
|
723
|
+
- false
|
|
497
724
|
x-celigo-ai-guidance:
|
|
498
725
|
- Whether the invited user must use SSO to access this account.
|
|
726
|
+
- Send it only when you intend to change it; a PUT without it does not clear SSO enforcement for the user.
|
|
499
727
|
accountMFARequired:
|
|
500
728
|
type: boolean
|
|
501
|
-
description:
|
|
729
|
+
description: |-
|
|
730
|
+
When true, MFA is required for this user in this account. Cleared when
|
|
731
|
+
omitted on update — resend it with every `PUT /v1/ashares/{_id}`.
|
|
502
732
|
x-celigo-ai-guidance:
|
|
503
733
|
- Whether the invited user must use MFA to access this account.
|
|
504
734
|
allowAccessToAPIM:
|
|
@@ -519,6 +749,83 @@ components:
|
|
|
519
749
|
allowIntegrationWorkspaceCreation:
|
|
520
750
|
type: boolean
|
|
521
751
|
description: When true, the user can create integration workspaces.
|
|
752
|
+
ResourceGrant:
|
|
753
|
+
type: object
|
|
754
|
+
description: |-
|
|
755
|
+
Grants access to a resource (currently MCP servers only). A grant names
|
|
756
|
+
the resource, or applies as a wildcard across all resources of the type,
|
|
757
|
+
and lists the capabilities granted on it.
|
|
758
|
+
required:
|
|
759
|
+
- resourceType
|
|
760
|
+
- capabilities
|
|
761
|
+
properties:
|
|
762
|
+
resourceType:
|
|
763
|
+
type: string
|
|
764
|
+
enum:
|
|
765
|
+
- mcpServer
|
|
766
|
+
x-enumDescriptions:
|
|
767
|
+
mcpServer: Grants access to an MCP server and its tools, APIs, or permission sets.
|
|
768
|
+
description: Resource type this grant applies to.
|
|
769
|
+
_resourceId:
|
|
770
|
+
type:
|
|
771
|
+
- string
|
|
772
|
+
- 'null'
|
|
773
|
+
format: objectId
|
|
774
|
+
x-celigo-refModel: mcpservers
|
|
775
|
+
examples:
|
|
776
|
+
- 6a1b2c3d4e5f6a7b8c9d0e1f
|
|
777
|
+
description: |-
|
|
778
|
+
MCP server this grant applies to. Omit or set to null for a wildcard
|
|
779
|
+
grant across all MCP servers in the account.
|
|
780
|
+
capabilities:
|
|
781
|
+
type: array
|
|
782
|
+
minItems: 1
|
|
783
|
+
description: |-
|
|
784
|
+
Capabilities granted on the target resource. Each `:all` capability
|
|
785
|
+
covers only its own kind — grant `tool:all`, `api:all`, `prompt:all`,
|
|
786
|
+
and `resource:all` together to open every item on a server.
|
|
787
|
+
items:
|
|
788
|
+
type: string
|
|
789
|
+
pattern: ^(?:tool|api|prompt|resource):(?:[a-fA-F0-9]{24}|all)$|^pset:[a-fA-F0-9]{24}$
|
|
790
|
+
description: |-
|
|
791
|
+
Capability string for an `mcpServer` grant. `tool:`, `api:`,
|
|
792
|
+
`prompt:`, and `resource:` take `all` or a 24-hex id on the target
|
|
793
|
+
server — a `tools[]._toolId` or upstream tool row `_id`, an
|
|
794
|
+
`apis[]._apiId`, a `prompts[]._id`, or a `resources[]._id`; `pset:`
|
|
795
|
+
takes a `permissionSets[]._id`. Grant prompts with `prompt:<_id>`:
|
|
796
|
+
older grants written as `tool:<prompt _id>` still validate but are
|
|
797
|
+
not reported by effective access. Any other shape is rejected with
|
|
798
|
+
400 `validation_failed` ("Invalid capability"), and an id that is
|
|
799
|
+
not attached to the target server with 400 `validation_failed`
|
|
800
|
+
naming the missing item.
|
|
801
|
+
examples:
|
|
802
|
+
- tool:all
|
|
803
|
+
- prompt:6b2c3d4e5f6a7b8c9d0e1f2a
|
|
804
|
+
- pset:6c3d4e5f6a7b8c9d0e1f2a3b
|
|
805
|
+
GroupMembership:
|
|
806
|
+
type: object
|
|
807
|
+
description: An end user's membership in a group, with the source that created it.
|
|
808
|
+
properties:
|
|
809
|
+
_groupId:
|
|
810
|
+
type: string
|
|
811
|
+
format: objectId
|
|
812
|
+
x-celigo-refModel: groups
|
|
813
|
+
examples:
|
|
814
|
+
- 68a1b2c3d4e5f6a7b8c9d0e1
|
|
815
|
+
description: Group the end user belongs to.
|
|
816
|
+
source:
|
|
817
|
+
type: string
|
|
818
|
+
enum:
|
|
819
|
+
- manual
|
|
820
|
+
- idp
|
|
821
|
+
x-enumDescriptions:
|
|
822
|
+
manual: Membership was added by an owner or administrator (invite or group members API)
|
|
823
|
+
idp: Membership is synced from the identity provider — group claims at sign-in or a SCIM group push
|
|
824
|
+
description: |-
|
|
825
|
+
How the membership was created. IdP-synced memberships cannot be
|
|
826
|
+
removed through the group members API — change the person's group in
|
|
827
|
+
the identity provider instead (its group mapping, or the SCIM group
|
|
828
|
+
assignment, whichever created the membership).
|
|
522
829
|
ResourceResponse:
|
|
523
830
|
type: object
|
|
524
831
|
description: Response
|
|
@@ -554,6 +861,14 @@ components:
|
|
|
554
861
|
description: Timestamp when the resource was last updated. Changes whenever any property is modified.
|
|
555
862
|
x-celigo-ai-guidance:
|
|
556
863
|
- Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
|
|
864
|
+
- |-
|
|
865
|
+
Records that something was written, not what — a settings edit, a flag flip, or a
|
|
866
|
+
platform workflow all move it. What changed and when is in the audit log: the
|
|
867
|
+
per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
|
|
868
|
+
`resourceType` enum lists, or the account-wide
|
|
869
|
+
`GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
|
|
870
|
+
endpoint's enum accepts (users, environments, notifications among them). A type absent
|
|
871
|
+
from both enums — jobs, connectors, templates — has only this timestamp.
|
|
557
872
|
examples:
|
|
558
873
|
- '2023-04-15T14:30:15Z'
|
|
559
874
|
deletedAt:
|
|
@@ -573,18 +888,26 @@ components:
|
|
|
573
888
|
type: object
|
|
574
889
|
required:
|
|
575
890
|
- _id
|
|
576
|
-
- sharedWithUser
|
|
577
|
-
- integrationAccessLevel
|
|
578
891
|
- createdAt
|
|
579
892
|
- lastModified
|
|
893
|
+
if:
|
|
894
|
+
properties:
|
|
895
|
+
userType:
|
|
896
|
+
const: workspace
|
|
897
|
+
then:
|
|
898
|
+
required:
|
|
899
|
+
- integrationAccessLevel
|
|
580
900
|
description: |-
|
|
581
901
|
A user's access record in the account. Each user who has been invited
|
|
582
|
-
(or shared access)
|
|
902
|
+
(or shared access), or whom the identity provider provisioned through
|
|
903
|
+
SCIM, gets one record per account they belong to. The
|
|
583
904
|
`_id` is the access-record id, not the user's own id — the user's
|
|
584
|
-
identity is in `sharedWithUser._id
|
|
585
|
-
|
|
905
|
+
identity is in `sharedWithUser._id` on list and invite responses, and
|
|
906
|
+
in `_sharedWithUserId` on `GET /v1/ashares/{_id}`. The account owner
|
|
907
|
+
does not appear in this list.
|
|
586
908
|
x-celigo-ai-guidance:
|
|
587
909
|
- Account user object representing a user's access to the account
|
|
910
|
+
- The list expands the user into `sharedWithUser`; the single-record GET returns only `_sharedWithUserId`. Read the list when you need the email or name.
|
|
588
911
|
allOf:
|
|
589
912
|
- $ref: '#/components/schemas/UserBase'
|
|
590
913
|
- type: object
|
|
@@ -597,21 +920,45 @@ components:
|
|
|
597
920
|
examples:
|
|
598
921
|
- 6798f4dc43db9184f4bc8ee0
|
|
599
922
|
description: Access-record id for this user in the account.
|
|
923
|
+
_sharedWithUserId:
|
|
924
|
+
type: string
|
|
925
|
+
format: objectId
|
|
926
|
+
readOnly: true
|
|
927
|
+
x-celigo-refModel: users
|
|
928
|
+
examples:
|
|
929
|
+
- 624774a6a7574d3ed9f9a5cc
|
|
930
|
+
description: |-
|
|
931
|
+
The user's own account id. Present on `GET /v1/ashares/{_id}`, which
|
|
932
|
+
returns the bare record; the list and invite responses expand it into
|
|
933
|
+
`sharedWithUser` instead.
|
|
600
934
|
accepted:
|
|
601
935
|
type: boolean
|
|
602
936
|
readOnly: true
|
|
603
937
|
description: When true, the user has accepted the invitation to join the account.
|
|
938
|
+
disabled:
|
|
939
|
+
type: boolean
|
|
940
|
+
readOnly: true
|
|
941
|
+
description: |-
|
|
942
|
+
When true, the user's access to the account is suspended. Changed
|
|
943
|
+
only by `PUT /v1/ashares/{_userId}/disable` — a value sent on the
|
|
944
|
+
update operation is accepted but not applied.
|
|
604
945
|
userType:
|
|
605
946
|
type: string
|
|
606
947
|
readOnly: true
|
|
607
948
|
enum:
|
|
608
949
|
- workspace
|
|
950
|
+
- end-user
|
|
609
951
|
description: |-
|
|
610
952
|
Discriminates workspace users from end users on the underlying
|
|
611
|
-
access-record model.
|
|
612
|
-
records
|
|
953
|
+
access-record model. An unfiltered list and `GET /v1/ashares/{_id}`
|
|
954
|
+
return `workspace` records only; `end-user` records appear in the
|
|
955
|
+
list only when it is filtered with `userType=end-user` (or
|
|
956
|
+
`workspace,end-user`) and are otherwise managed through the End
|
|
957
|
+
Users API, which shares the update and disable routes. Sending it
|
|
958
|
+
back on update is rejected.
|
|
613
959
|
x-enumDescriptions:
|
|
614
960
|
workspace: A workspace (team member) access record.
|
|
961
|
+
end-user: An MCP-only end-user access record — carries `resourceGrants` (and group fields) in place of `accessLevel` and `integrationAccessLevel`.
|
|
615
962
|
lastSignIn:
|
|
616
963
|
type: string
|
|
617
964
|
format: date-time
|
|
@@ -651,10 +998,86 @@ components:
|
|
|
651
998
|
before their SSO-required access is fully active. Set by the
|
|
652
999
|
server during SSO enrollment; cleared by removing the field, so
|
|
653
1000
|
it is never `false`.
|
|
1001
|
+
provisionedBy:
|
|
1002
|
+
type: string
|
|
1003
|
+
readOnly: true
|
|
1004
|
+
enum:
|
|
1005
|
+
- invite
|
|
1006
|
+
- jit
|
|
1007
|
+
- scim
|
|
1008
|
+
x-enumDescriptions:
|
|
1009
|
+
invite: End-user record created through an explicit invite (or by migration from a workspace user); never present on a workspace record
|
|
1010
|
+
jit: End-user record provisioned just-in-time on first sign-in through an external IdP
|
|
1011
|
+
scim: Created, or adopted from an existing invitation, by the identity provider through SCIM
|
|
1012
|
+
description: |-
|
|
1013
|
+
On workspace records, present only when the identity provider
|
|
1014
|
+
manages the user through SCIM; every other workspace record omits
|
|
1015
|
+
the field, so an invited workspace user has no value here rather
|
|
1016
|
+
than `invite`. End-user records (`userType=end-user`) always carry
|
|
1017
|
+
it. The identity provider owns a SCIM-managed user's account-wide
|
|
1018
|
+
access level and active state: `PUT /v1/ashares/{_id}` still accepts
|
|
1019
|
+
a new `accessLevel` and `PUT /v1/ashares/{_userId}/disable` still
|
|
1020
|
+
toggles `disabled`, but the identity provider's next push overwrites
|
|
1021
|
+
both — change them in the IdP. SCIM never sets
|
|
1022
|
+
`integrationAccessLevel`, so integration-level grants made here stay.
|
|
1023
|
+
externalId:
|
|
1024
|
+
type: string
|
|
1025
|
+
readOnly: true
|
|
1026
|
+
examples:
|
|
1027
|
+
- 00u1a2b3c4d5e6f7g8h9
|
|
1028
|
+
description: |-
|
|
1029
|
+
Identifier the identity provider uses for this person in its own
|
|
1030
|
+
directory, stored when the record is provisioned through SCIM.
|
|
1031
|
+
Present only when `provisionedBy` is `scim`. SCIM matches people by
|
|
1032
|
+
email, not by this value.
|
|
1033
|
+
_scimSsoClientId:
|
|
1034
|
+
type: string
|
|
1035
|
+
format: objectId
|
|
1036
|
+
readOnly: true
|
|
1037
|
+
x-celigo-refModel: ssoclients
|
|
1038
|
+
examples:
|
|
1039
|
+
- 6a1b2c3d4e5f6a7b8c9d0e1f
|
|
1040
|
+
description: |-
|
|
1041
|
+
SSO client whose SCIM configuration provisioned this record. Present
|
|
1042
|
+
only when `provisionedBy` is `scim`.
|
|
1043
|
+
resourceGrants:
|
|
1044
|
+
type: array
|
|
1045
|
+
readOnly: true
|
|
1046
|
+
description: |-
|
|
1047
|
+
Present only on end-user records (`userType=end-user`): the MCP
|
|
1048
|
+
server grants held directly by the end user, in addition to any
|
|
1049
|
+
group- or role-derived access. Replace them with the End Users
|
|
1050
|
+
body on `PUT /v1/ashares/{_ashareId}`.
|
|
1051
|
+
items:
|
|
1052
|
+
$ref: '#/components/schemas/ResourceGrant'
|
|
1053
|
+
groupMemberships:
|
|
1054
|
+
type: array
|
|
1055
|
+
readOnly: true
|
|
1056
|
+
description: |-
|
|
1057
|
+
Present only on end-user records that belong to at least one
|
|
1058
|
+
group. Each entry names the group and whether an administrator or
|
|
1059
|
+
the identity provider created the membership.
|
|
1060
|
+
items:
|
|
1061
|
+
$ref: '#/components/schemas/GroupMembership'
|
|
1062
|
+
_groupIds:
|
|
1063
|
+
type: array
|
|
1064
|
+
readOnly: true
|
|
1065
|
+
description: |-
|
|
1066
|
+
Group ids from `groupMemberships`, flattened for quick filtering.
|
|
1067
|
+
Present exactly when `groupMemberships` is.
|
|
1068
|
+
items:
|
|
1069
|
+
type: string
|
|
1070
|
+
format: objectId
|
|
1071
|
+
x-celigo-refModel: groups
|
|
1072
|
+
examples:
|
|
1073
|
+
- 6abf4dd8fa3e52974f9f1d7a
|
|
654
1074
|
sharedWithUser:
|
|
655
1075
|
type: object
|
|
656
1076
|
readOnly: true
|
|
657
|
-
description:
|
|
1077
|
+
description: |-
|
|
1078
|
+
Identity details of the invited/shared user. Present on the list and
|
|
1079
|
+
invite responses; `GET /v1/ashares/{_id}` returns `_sharedWithUserId`
|
|
1080
|
+
in its place.
|
|
658
1081
|
properties:
|
|
659
1082
|
_id:
|
|
660
1083
|
type: string
|