Elementum API

Elementum's versioned REST API (v1) for programmatically working with records across apps, elements, and tasks, plus attachments, links, comments, watchers, related items, agents, automations, flows, skills, tables, views, groups, and users. Authenticated with OAuth 2.0 client credentials; cursor-based (Relay-style) pagination and RSQL filtering on search endpoints. Available in US and EU regions.

OpenAPI Specification

elementum-openapi-original.json Raw ↑
{"openapi":"3.0.1","info":{"title":"Elementum API","description":"","contact":{"email":"apiteam@elementum.io"},"version":"0.0.1"},"externalDocs":{"description":"Find out more about Elementum","url":"https://www.elementum.com/"},"servers":[{"url":"/v1"}],"tags":[{"name":"Access Token","description":"Manage access tokens using OAuth 2.0 standards"},{"name":"Agents","description":"Manage AI agents"},{"name":"Apps","description":"Compose and manage apps"},{"name":"Attachments","description":"Manage the attachments of a record"},{"name":"Automations","description":"Manage automations"},{"name":"Comments","description":"Manage the conversation of a record"},{"name":"Elements","description":"Manage elements imported from connected cloud sources"},{"name":"Flows","description":"Manage flows"},{"name":"Groups","description":"Manage groups and group membership"},{"name":"Domains","description":"Manage organization domains"},{"name":"Records","description":"Manage your records"},{"name":"Related-items","description":"Manage the related items of a record"},{"name":"Search Tables","description":"Manage search tables (snowflake and linked)"},{"name":"Skills","description":"Manage agent skills"},{"name":"Tables","description":"Manage tables: schemas, fields, joins, and join mappings"},{"name":"Users","description":"Manage users in your organization"},{"name":"Views","description":"Manage app views"},{"name":"Watchers","description":"Manage the watchers of a record"}],"paths":{"/oauth/token":{"post":{"tags":["Access Token"],"summary":"Request an access token","operationId":"requestAccessToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenResponse"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"500":{"$ref":"#/components/responses/500"}},"servers":[{"url":"/"}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}":{"get":{"tags":["Records"],"summary":"Get the list of records","operationId":"recordList","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Records"],"summary":"Create a record","operationId":"createRecord","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"}],"requestBody":{"description":"record to be created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}":{"get":{"tags":["Records"],"summary":"Find a record by ID","operationId":"getRecord","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"put":{"tags":["Records"],"summary":"Update a record","operationId":"updateRecord","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"record to be updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record"}}},"required":true},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/related-items":{"get":{"tags":["Related-items"],"summary":"Get the list of related items","operationId":"getRecordRelations","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Related-items"],"summary":"Add a related item","operationId":"createRecordRelatedItems","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"the id and alias of the item to be related to this one","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedItemInput"}}},"required":true},"responses":{"201":{"description":"Created"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/related-items/{itemId}":{"delete":{"tags":["Related-items"],"summary":"Remove a related item","operationId":"deleteRecordRelatedItems","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/itemId"}],"responses":{"200":{"description":"Ok"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/attachments":{"get":{"tags":["Attachments"],"summary":"Get the list of attachments","operationId":"listRecordAttachments","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Attachments"],"summary":"Add an attachment","operationId":"createRecordAttachment","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"the attachment to be uploaded","content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/File"}}},"required":true},"responses":{"202":{"description":"Accepted"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/attachments/url-links":{"post":{"tags":["Attachments"],"summary":"Add a link","operationId":"createRecordLink","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"The link to be created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentLink"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentLink"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/attachments/{attachmentId}":{"get":{"tags":["Attachments"],"summary":"Find an attachment by ID","operationId":"getRecordAttachment","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/attachmentId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attachment"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["Attachments"],"summary":"Delete a record attachment","operationId":"deleteRecordAttachments","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/attachmentId"}],"responses":{"200":{"description":"Ok"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/attachments/{attachmentId}/content":{"get":{"tags":["Attachments"],"summary":"Download attachment content","operationId":"downloadRecordAttachment","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/attachmentId"}],"responses":{"200":{"description":"Ok","content":{"application/octet-stream":{}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/watchers":{"get":{"tags":["Watchers"],"summary":"Get the list of watchers","operationId":"listRecordWatchers","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatcherPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Watchers"],"summary":"Add a watcher","operationId":"createRecordWatchers","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"The watcher to be added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatcherListInput"}}},"required":true},"responses":{"201":{"description":"Created"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["Watchers"],"summary":"Delete a watcher","operationId":"deleteRecordWatchers","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"The watcher to be removed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatcherListInput"}}},"required":true},"responses":{"200":{"description":"Ok"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/{id}/comment":{"get":{"tags":["Comments"],"summary":"Get the list of comments","operationId":"listRecordComments","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"},{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Comments"],"summary":"Add a comment","operationId":"createRecordComment","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"},{"$ref":"#/components/parameters/recordId"}],"requestBody":{"description":"The comment to be added","content":{"text/plain":{"schema":{"type":"string"}}},"required":true},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/users":{"get":{"tags":["Users"],"summary":"List users in your organization","operationId":"listUsers","parameters":[{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Users"],"summary":"Create a user in your organization","operationId":"createUser","parameters":[],"requestBody":{"description":"The user to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserInput"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/users/{userId}":{"get":{"tags":["Users"],"summary":"Get a user by ID","operationId":"getUser","parameters":[{"$ref":"#/components/parameters/userId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/users/{userId}/deactivate":{"post":{"tags":["Users"],"summary":"Deactivate a user","operationId":"deactivateUser","parameters":[{"$ref":"#/components/parameters/userId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/groups":{"get":{"tags":["Groups"],"summary":"List groups in your organization","operationId":"listGroups","parameters":[{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Groups"],"summary":"Create a group","operationId":"createGroup","parameters":[],"requestBody":{"description":"The group to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/groups/{groupId}":{"get":{"tags":["Groups"],"summary":"Get a group by ID","operationId":"getGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"put":{"tags":["Groups"],"summary":"Update a group","operationId":"updateGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"requestBody":{"description":"The group fields to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupRequest"}}},"required":true},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/groups/{groupId}/users":{"get":{"tags":["Groups"],"summary":"List users in a group","operationId":"listGroupUsers","parameters":[{"$ref":"#/components/parameters/groupId"},{"$ref":"#/components/parameters/first"},{"$ref":"#/components/parameters/after"},{"$ref":"#/components/parameters/last"},{"$ref":"#/components/parameters/before"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPagedList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Groups"],"summary":"Add users to a group","operationId":"addUsersToGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"requestBody":{"description":"The user IDs to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUserIdsInput"}}},"required":true},"responses":{"201":{"description":"Created"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["Groups"],"summary":"Remove users from a group","operationId":"removeUsersFromGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"requestBody":{"description":"The user IDs to remove","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUserIdsInput"}}},"required":true},"responses":{"200":{"description":"Ok"},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/groups/{groupId}/domains":{"post":{"tags":["Groups"],"summary":"Add email domains to a group","operationId":"addDomainsToGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"requestBody":{"description":"The email domains to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDomainsInput"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDomainList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["Groups"],"summary":"Remove email domains from a group","operationId":"removeDomainsFromGroup","parameters":[{"$ref":"#/components/parameters/groupId"}],"requestBody":{"description":"The email domains to remove","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDomainsInput"}}},"required":true},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDomainList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/domains":{"post":{"tags":["Domains"],"summary":"Create an organization domain","operationId":"createOrganizationDomain","parameters":[],"requestBody":{"description":"The domain to create (exactly one of managedDomain or emailDomain)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomain"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/domains/{domainId}":{"put":{"tags":["Domains"],"summary":"Update an organization domain","operationId":"updateOrganizationDomain","parameters":[{"$ref":"#/components/parameters/domainId"}],"requestBody":{"description":"The domain fields to update","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomainRequest"}}},"required":true},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDomain"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/aspects/compose":{"post":{"tags":["Apps"],"summary":"Create or update an app (compose)","operationId":"composeApp","parameters":[],"requestBody":{"description":"Free-form JSON payload forwarded to the downstream service","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/aspects/compose/{id}":{"put":{"tags":["Apps"],"summary":"Update an app by ID","operationId":"updateApp","parameters":[{"$ref":"#/components/parameters/passthroughId"}],"requestBody":{"description":"Free-form JSON payload forwarded to the downstream service","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}},"required":true},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/automations":{"get":{"tags":["Automations"],"summary":"List automations under an app or element","operationId":"listAutomations","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationList"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"},"post":{"tags":["Automations"],"summary":"Create an automation under an app or element","operationId":"createAutomation","parameters":[{"$ref":"#/components/parameters/recordType"},{"$ref":"#/components/parameters/alias"}],"requestBody":{"description":"Free-form JSON payload forwarded to the downstream service","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}},"required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PassthroughObject"}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"404":{"$ref":"#/components/responses/404"},"422":{"$ref":"#/components/responses/422"},"429":{"$ref":"#/components/responses/429"},"500":{"$ref":"#/components/responses/500"}},"security":[{"ClientCredentials":[]}],"x-codegen-request-body-name":"body"}},"/{recordType}/{alias}/automations/va

# --- truncated at 32 KB (114 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elementum/refs/heads/main/openapi/elementum-openapi-original.json