Management API schema
The Management API is one GraphQL endpoint. Every query and mutation below goes to it:
POST https://api.picked.app/api/graphql
Authorization: Bearer <access token>An API key goes in the X-API-Key header in place of Authorization. See Authentication. @picked/admin-api-client gives a typed client for every operation.
An operation with @auth needs a caller that has authenticated. @auth(only: USER) refuses an API key. The schema is also open to GraphQL introspection.
Operations
| Operation | Type | Description |
|---|---|---|
accountCreate | Mutation | Registers an email address and emails it a confirmation code and link. The response does not reveal whether the address has an account. Returns RATE_LIMITED when the project's email quota is spent. |
accountResendVerification | Mutation | Emails an existing account a new code and link: a confirmation, or a sign-in for a confirmed account. An address with no account returns an error, so the response reveals whether an account exists. An address emailed within the minimum send interval returns RATE_LIMITED. |
accountVerifyEmail | Mutation | Verifies the six-digit code from a confirmation or sign-in email and creates a session. |
action | Query | Reads an action. Scope: ORGANIZATION_WORKSPACE_READ. |
actionCreate | Mutation | Creates an action in a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
actionDelete | Mutation | Deletes an action and the workflow it starts. An action that an experience references is not deleted, and comes back as an IN_USE user error. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
actions | Query | Lists the actions in a workspace. search matches a case-insensitive substring of the name; sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
actionUpdate | Mutation | Updates an action. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
analyticsSignInTokenCreate | Mutation | Creates a short-lived token that signs the current user into analytics for an organization. Refuses tokens issued to OAuth clients. Scope: ORGANIZATION_REPORTS_READ. |
apiKeyCreate | Mutation | Creates an API key and returns the full key, once. A blank name, no scopes, or a scope the caller does not hold or the key cannot carry returns VALIDATION_ERROR. Scope: ORGANIZATION_API_KEYS_CREATE. |
apiKeyRevoke | Mutation | Revokes an API key, which then stops authenticating at once. Cannot be undone; an unknown or revoked key returns NOT_FOUND. Scope: ORGANIZATION_API_KEYS_DELETE. |
apiKeys | Query | Lists an organization's API keys, newest first. Revoked keys are left out. Scope: ORGANIZATION_API_KEYS_READ. |
app | Query | Reads an app. Null when no app has the ID. Scope: ORGANIZATION_APPS_READ. |
appDelete | Mutation | Deletes an app and removes it from every project it is installed on. Scope: ORGANIZATION_APPS_DELETE. |
appDeploy | Mutation | Deploys an app manifest as the app's next version, or returns the channel's latest version when the manifest matches it. The first deploy of a handle creates the app, which takes ORGANIZATION_APPS_CREATE. Scope: ORGANIZATION_APPS_UPDATE. |
appInstall | Mutation | Installs an app's latest version on a project with the access the user accepted, and sends the app installation.created. The user must hold, at the project, each scope the version asks for. Scope: ORGANIZATION_APPS_CREATE. |
appInstallation | Query | Reads an installation. Null when no installation has the ID. The installation's own token reads it without a scope. Scope: ORGANIZATION_APPS_READ. |
appInstallations | Query | Lists the apps installed on a project, oldest first, up to 200 a page. Scope: ORGANIZATION_APPS_READ. |
appInstallationTokenCreate | Mutation | Mints a one-hour token for an installation, authenticated by an app assertion in the picked-app-assertion header. An installation with offline access gets one at any time; any other only with the session token of the dashboard user the app is answering. |
appInstallationUpgrade | Mutation | Moves an installation to the newest version on its channel with the access the user accepted. It sends the app installation.upgraded. The user must hold, at the project, each scope the version asks for. An upgrade the app refuses or cannot receive is undone. Scope: ORGANIZATION_APPS_UPDATE. |
appPublicKeyAdd | Mutation | Registers a public key the app signs its app assertions with. An app holds at most two keys, so a rotation adds the next key before removing the last. Scope: ORGANIZATION_APPS_UPDATE. |
appPublicKeyRemove | Mutation | Removes a public key. App assertions it signs fail from then on. Scope: ORGANIZATION_APPS_UPDATE. |
apps | Query | Lists an organization's apps, by name, up to 200 a page. Scope: ORGANIZATION_APPS_READ. |
appSessionTokenCreate | Mutation | Mints a short-lived token asserting the signed-in user, for an app's frame to send its own server. Scope: ORGANIZATION_APPS_READ. |
appUninstall | Mutation | Removes an app from a project, with its tokens and labels. Scope: ORGANIZATION_APPS_DELETE. |
appVisibilityUpdate | Mutation | Publishes an app to every organization, or takes it back to its own. Scope: APPS_PUBLISH. |
asset | Query | Reads an asset. Scope: ORGANIZATION_PROJECTS_READ. |
assetCommit | Mutation | Commits an uploaded file as the asset's current version, recording its size, MIME type and image dimensions. Fails when the bytes do not match the claimed content type. Scope: ORGANIZATION_PROJECTS_UPDATE. |
assetDelete | Mutation | Deletes an asset and its stored files. Fails with CONFLICT once a publish uses any of its versions; content entries that reference it are not checked. Scope: ORGANIZATION_PROJECTS_UPDATE. |
assets | Query | Lists the assets in a project, newest first by default. Scope: ORGANIZATION_PROJECTS_READ. |
assetUploadInit | Mutation | Starts an asset upload and returns a pre-signed URL to PUT the bytes to. Nothing is stored until assetCommit. Scope: ORGANIZATION_PROJECTS_UPDATE. |
condition | Query | Reads a condition. Scope: ORGANIZATION_WORKSPACE_READ. |
conditionCreate | Mutation | Creates a condition in a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
conditionDelete | Mutation | Deletes a condition. A condition that an experience or another condition references is not deleted, and comes back as an IN_USE user error. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
conditions | Query | Lists the conditions in a workspace. search matches a case-insensitive substring of the name; sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
conditionUpdate | Mutation | Updates a condition. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentBlock | Query | Reads a block. Scope: ORGANIZATION_WORKSPACE_READ. |
contentBlockCreate | Mutation | Creates a block. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentBlockDelete | Mutation | Deletes a block. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentBlocks | Query | Lists the blocks in a workspace. Scope: ORGANIZATION_WORKSPACE_READ. |
contentBlockUpdate | Mutation | Updates a block. A schema change does not migrate the content entries that embed it. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentEntries | Query | Lists the content entries in a workspace. Scope: ORGANIZATION_WORKSPACE_READ. |
contentEntry | Query | Reads a content entry. Scope: ORGANIZATION_WORKSPACE_READ. |
contentEntryCreate | Mutation | Creates a content entry of a model. Each asset reference without a version is pinned to the asset's current version. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentEntryDelete | Mutation | Deletes a content entry. Fails with CONFLICT while a step uses it as its layout, or while another content entry references it. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentEntryUpdate | Mutation | Updates the data of a content entry. Each asset reference without a version is pinned to the asset's current version. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentModel | Query | Reads a model. Scope: ORGANIZATION_WORKSPACE_READ. |
contentModelCreate | Mutation | Creates a model. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentModelDelete | Mutation | Deletes a model. Fails with CONFLICT while content entries use it, or while another schema's reference field targets it. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
contentModels | Query | Lists the models in a workspace. Scope: ORGANIZATION_WORKSPACE_READ. |
contentModelUpdate | Mutation | Updates a model. A schema change migrates the data of its content entries and lists each removed value in migrationWarnings. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
createShopifyMetafieldConfig | Mutation | Creates a Shopify metafield config for a project. Scope: ORGANIZATION_INTEGRATIONS_CREATE. |
createShopifyWebhook | Mutation | Creates a Shopify webhook for a project and generates its HMAC secret. The result is the only place the secret appears. Scope: ORGANIZATION_INTEGRATIONS_CREATE and ORGANIZATION_INTEGRATIONS_READ. |
deleteShopifyMetafieldConfig | Mutation | Deletes a Shopify metafield config. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
deleteShopifyWebhook | Mutation | Deletes a Shopify webhook. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
designSystem | Query | Reads a design system. Scope: ORGANIZATION_PROJECTS_READ. |
designSystemCreate | Mutation | Creates a design system from a committed Markdown asset. Scope: ORGANIZATION_PROJECTS_UPDATE. |
designSystemDelete | Mutation | Deletes a design system. The asset that holds its guidance is kept. Scope: ORGANIZATION_PROJECTS_UPDATE. |
designSystems | Query | Lists the design systems in a project. Scope: ORGANIZATION_PROJECTS_READ. |
designSystemUpdate | Mutation | Updates a design system's name or guidance asset. Scope: ORGANIZATION_PROJECTS_UPDATE. |
emailLinkVerify | Mutation | Verifies the link from a password-reset, invitation, sign-in or confirmation email and creates a session. The link works once: call this when the recipient confirms, never on opening the link, which an email security scanner may do before delivery. |
experience | Query | Reads an experience. Scope: ORGANIZATION_WORKSPACE_READ. |
experienceCreate | Mutation | Creates an experience in a workspace. A PAGE experience gets its single step and flow graph automatically. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
experienceDelete | Mutation | Deletes an experience. Its steps, conditions and actions stay in the workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
experienceFlowUpdate | Mutation | Updates an experience's settings and flow graph, with the steps, conditions, actions and fields it uses, in one call. Validation runs before any write, and a change that fails it fails the whole call. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
experiences | Query | Lists the experiences in a workspace. search matches a case-insensitive substring of the name; status keeps only the ACTIVE or the DRAFT experiences; sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
experienceUpdate | Mutation | Updates an experience's settings. experienceFlowUpdate changes its flow graph. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
externalApi | Query | Reads an external API. Null when it does not exist. Scope: ORGANIZATION_INTEGRATIONS_READ. |
externalApiAuthHeaderClear | Mutation | Removes the static auth header of an external API. An external API with no static header is unchanged. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
externalApiAuthHeaderSet | Mutation | Sets the static auth header of an external API, and removes any OAuth2 credential. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
externalApiCreate | Mutation | Creates an external API in a project, with an optional credential. Scope: ORGANIZATION_INTEGRATIONS_CREATE. |
externalApiDelete | Mutation | Deletes an external API and its credential. Workflows then cannot call its origin. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
externalApiOAuth2Clear | Mutation | Removes the OAuth2 credential of an external API, with its secrets and cached access token. An external API with no OAuth2 credential is unchanged. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
externalApiOAuth2Refresh | Mutation | Fetches a new access token for the OAuth2 credential of an external API now, in place of any cached one. An external API with no OAuth2 credential is refused. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
externalApiOAuth2Set | Mutation | Sets the OAuth2 credential of an external API, and removes any static auth header. The next call fetches a new access token. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
externalApiUpdate | Mutation | Updates the name of an external API. To change the origin, delete it and create another. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
feature | Query | Reads a feature flag by its ID and workspace. Scope: ORGANIZATION_WORKSPACE_READ. |
featureCreate | Mutation | Creates a feature flag in a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
featureDelete | Mutation | Deletes a feature flag. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
features | Query | Lists the feature flags in a workspace. search matches a case-insensitive substring of the name; enabled keeps only the flags that are on (true) or off (false); sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
featureUpdate | Mutation | Updates a feature flag. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
feedbackCreate | Mutation | Sends product feedback from the signed-in user to the Picked team. |
field | Query | Reads a field. Scope: ORGANIZATION_WORKSPACE_READ. |
fieldCreate | Mutation | Creates a field in a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
fieldDelete | Mutation | Deletes a field. A field that is on a step, or that is the success or failure field of an action, is not deleted, and comes back as an IN_USE user error. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
fields | Query | Lists the fields in a workspace. search matches a case-insensitive substring of the name; sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
fieldUpdate | Mutation | Updates a field. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
installableApps | Query | Lists the apps a project can install, by name, up to 200 a page. These are its organization's own apps and the apps published to every organization. Only an app with a version an install can pin is listed: a release version, or for the organization's own app a dev version. Scope: ORGANIZATION_APPS_READ. |
integrationConfigurationCreate | Mutation | Creates the configuration of an installed integration. An integration has at most one configuration; a second gets a CONFLICT error. Scope: ORGANIZATION_INTEGRATIONS_CREATE. |
integrationConfigurationDelete | Mutation | Deletes an integration's configuration. The integration stays installed. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
integrationConfigurationUpdate | Mutation | Updates an integration's configuration. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
integrationInstall | Mutation | Installs an integration for a project. A project that already has an integration of that type gets a CONFLICT error. Scope: ORGANIZATION_INTEGRATIONS_CREATE and ORGANIZATION_PROJECTS_READ. |
integrationUninstall | Mutation | Uninstalls an integration and deletes its configuration. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
labeledAppInstallations | Query | Lists the installations of an app that hold a label with the value, oldest first, up to 200 of them. Covers only projects where the user holds the scope; a secret label never matches. Scope: ORGANIZATION_APPS_READ. |
labelsDelete | Mutation | Deletes labels from an owner. Deleting a label that is not set succeeds. Each owner type needs the write scope LabelOwnerType lists for it. Scope: ORGANIZATION_LEADS_UPDATE, ORGANIZATION_PROJECTS_UPDATE, ORGANIZATION_APPS_UPDATE or ORGANIZATION_UPDATE. |
labelsSet | Mutation | Creates or replaces labels on an owner. Labels the call does not name are unchanged. Each owner type needs the write scope LabelOwnerType lists for it. Scope: ORGANIZATION_LEADS_UPDATE, ORGANIZATION_PROJECTS_UPDATE, ORGANIZATION_APPS_UPDATE or ORGANIZATION_UPDATE. |
lead | Query | Reads a lead. Scope: ORGANIZATION_LEADS_READ. |
leadCreate | Mutation | Creates a lead and sets its labels, then starts the workflows triggered by lead.created. Answers that do not match their fields return userErrors and nothing is written. ORGANIZATION_LEADS_UPDATE is required only with labels. Scope: ORGANIZATION_LEADS_CREATE, ORGANIZATION_LEADS_READ and ORGANIZATION_LEADS_UPDATE. |
leadDelete | Mutation | Deletes a lead and its labels. This cannot be undone. Scope: ORGANIZATION_LEADS_DELETE. |
leadUpdate | Mutation | Merges answers into a lead and sets its labels, then starts the workflows triggered by lead.updated when anything changed. A workflow on lead.updated that calls this mutation starts itself again unless its own conditions stop it. Scope: ORGANIZATION_LEADS_UPDATE and ORGANIZATION_LEADS_READ. |
leadUpsert | Mutation | Merges answers into the newest lead of a visitor, or creates a lead when that lead is older than sameLeadWithin. Starts the workflows triggered by lead.created or lead.updated. Scope: ORGANIZATION_LEADS_CREATE, ORGANIZATION_LEADS_UPDATE and ORGANIZATION_LEADS_READ. |
magicLinkSend | Mutation | Emails an existing account a sign-in code and link. Never creates an account, and answers success: true for an address with no account. |
magicLinkVerify | Mutation | Verifies the six-digit code from a sign-in or confirmation email and creates a session. |
mcpServer | Query | Reads an MCP server. Null when no server has the ID. Scope: ORGANIZATION_INTEGRATIONS_READ. |
mcpServerAuthHeaderClear | Mutation | Removes an MCP server's auth header. Succeeds when the server has none. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
mcpServerAuthHeaderSet | Mutation | Sets or replaces the auth header sent to an MCP server. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
mcpServerDelete | Mutation | Deletes an MCP server with its stored URL and auth header. Cannot be undone; an unknown ID returns NOT_FOUND. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
mcpServerRegister | Mutation | Registers a third-party MCP server to a project. Scope: ORGANIZATION_INTEGRATIONS_CREATE. |
mcpServerUpdate | Mutation | Renames an MCP server. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
mcpServerUrlSet | Mutation | Replaces an MCP server's URL. Of the URL, the result shows only urlDisplay. A URL on another origin (scheme, host and port) removes the auth header unless authHeader supplies one; hasAuthHeaderValue in the result shows whether the server holds one. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
mfaChallengeCreate | Mutation | Opens a challenge against one of the caller's factors. |
mfaChallengeVerify | Mutation | Verifies an authenticator code against a challenge and returns the caller's session at AAL2. The user's other sessions keep their level. A wrong code returns MFA_CHALLENGE_FAILED, and an expired challenge TOKEN_EXPIRED. |
mfaFactorEnroll | Mutation | Enrols an authenticator app for the caller and returns its secret, once. First deletes the caller's unverified factors, except the two newest enrolled in the last minute; one holding the given friendlyName is deleted however new. |
mfaFactorUnenroll | Mutation | Removes one of the caller's factors. Removing a verified factor needs an AAL2 session, and otherwise returns MFA_REQUIRED. A user the MFA policy requires cannot remove their last verified factor (VALIDATION_ERROR). |
oauthAuthorize | Mutation | Creates the provider URL that starts a sign-in with an OAuth provider. |
oauthCallback | Mutation | Exchanges the authorisation code from an OAuth provider's redirect for a session. |
oauthConsentApprove | Mutation | Approves an OAuth authorisation request for the signed-in user. |
oauthConsentDeny | Mutation | Denies an OAuth authorisation request for the signed-in user. |
oauthConsentDetails | Query | Reads an OAuth authorisation request waiting for the signed-in user's consent. Reading a request the user already consented to approves it. |
organization | Query | Reads an organization by ID or slug. Null when no organization matches. Scope: ORGANIZATION_READ. |
organizationAnalyticsProvision | Mutation | Sets analytics up for an organization: everything the organization's members need to sign into analytics. Running it again sets up only what is missing. Scope: ORGANIZATION_REPORTS_READ. |
organizationClientManagerScopesUpdate | Mutation | Sets the scopes a client manager holds in one organization. The caller cannot edit their own scopes, and a client manager can add or remove only scopes they hold there themselves. Scope: STAFF_INVITE_CLIENT_MANAGER. |
organizationCreate | Mutation | Creates an organization owned by the calling user. Scope: ORGANIZATION_CREATE. |
organizationDelete | Mutation | Deletes an organization. Scope: ORGANIZATION_DELETE. |
organizationInvitationAccept | Mutation | Accepts an invitation, making the calling user a member with the scopes it carries. An invitation a user sent grants only the scopes that user holds when it is accepted, and fails once they leave the organization unless they are a super admin or a client manager; one an API key sent fails once the key is revoked. The invitation is used up; an unknown or expired token, one sent to another email address, or an existing membership, fails. |
organizationInvitationDecline | Mutation | Declines an invitation addressed to the calling user's email address and deletes it. |
organizationInvitationRevoke | Mutation | Revokes a pending invitation, so its token stops working. Scope: ORGANIZATION_INVITATIONS_DELETE. |
organizationMemberInvite | Mutation | Invites an email address to an organization and emails the invitee. delivery says which email went out. Scope: ORGANIZATION_INVITATIONS_CREATE. |
organizationMemberRemove | Mutation | Removes a member from an organization, with every scope they held there and the invitations they sent into it. The primary owner cannot be removed. Scope: ORGANIZATION_MEMBERS_DELETE. |
organizationMemberScopesUpdate | Mutation | Sets the scopes a member holds in an organization. The caller cannot edit their own scopes, grant a scope they do not hold, or take ORGANIZATION_MEMBERS_MANAGE_SCOPES from the primary owner. Scope: ORGANIZATION_MEMBERS_MANAGE_SCOPES. |
organizations | Query | Lists the organizations the user belongs to. search matches a case-insensitive substring of the name. Empty for an API key. |
organizationShopifyWebhooks | Query | Lists an organization's Shopify webhooks. Scope: ORGANIZATION_INTEGRATIONS_READ. |
organizationUpdate | Mutation | Updates an organization. Scope: ORGANIZATION_UPDATE. |
passwordResetSend | Mutation | Sends a password-reset email. Returns RATE_LIMITED when the address was emailed within the minimum send interval or the project's email quota is spent. |
passwordUpdate | Mutation | Sets the signed-in user's password without asking for the current one. Ends the user's other sessions and keeps the caller's. An AAL1 session may set a password only while the user holds no verified factor, and otherwise gets MFA_REQUIRED. |
ping | Query | Checks that the API is up. Answers pong. |
project | Query | Reads a project. Null when no project has the ID. Scope: ORGANIZATION_PROJECTS_READ. |
projectCreate | Mutation | Creates a project, with a draft workspace named Default. Scope: ORGANIZATION_PROJECTS_CREATE. |
projectDelete | Mutation | Deletes a project. Scope: ORGANIZATION_PROJECTS_DELETE. |
projectPreviewEnvironmentCreate | Mutation | Creates a preview environment on a project. Invalid input comes back as userErrors. Scope: ORGANIZATION_PROJECTS_UPDATE. |
projectPreviewEnvironmentDelete | Mutation | Deletes a preview environment. An unknown ID comes back as userErrors. Scope: ORGANIZATION_PROJECTS_UPDATE. |
projectPreviewEnvironmentUpdate | Mutation | Updates a preview environment. Invalid input comes back as userErrors. Scope: ORGANIZATION_PROJECTS_UPDATE. |
projects | Query | Lists the projects the user can reach, across every organization they belong to. search matches a case-insensitive substring of the name. Empty for an API key. |
projectShopifyMetafieldConfigs | Query | Lists a project's Shopify metafield configs. Scope: ORGANIZATION_INTEGRATIONS_READ. |
projectUpdate | Mutation | Updates a project's name or brief. Scope: ORGANIZATION_PROJECTS_UPDATE. |
report | Query | Reads a project report. Null when no project report has the ID. Scope: ORGANIZATION_REPORTS_READ. |
reportCreate | Mutation | Creates a report and adds it to a project. Scope: ORGANIZATION_REPORTS_CREATE. |
reportDelete | Mutation | Deletes a report from its project, and the report itself when no other project uses it. Scope: ORGANIZATION_REPORTS_DELETE. |
reportUpdate | Mutation | Updates a project report and its report. Scope: ORGANIZATION_REPORTS_UPDATE. |
savedView | Query | Reads a saved view. Scope: ORGANIZATION_PROJECTS_READ. |
savedViewCreate | Mutation | Creates a saved view of a list in a project. Scope: ORGANIZATION_PROJECTS_UPDATE. |
savedViewDelete | Mutation | Deletes a saved view. Scope: ORGANIZATION_PROJECTS_UPDATE. |
savedViewUpdate | Mutation | Updates a saved view: its name, its controls, or whether it is the default. Scope: ORGANIZATION_PROJECTS_UPDATE. |
sessionCreate | Mutation | Signs in with an email address and password and returns an AAL1 session. |
sessionRefresh | Mutation | Exchanges a refresh token for a new session. |
sessionStart | Mutation | Begins a sign-in from an email address alone: answers PASSWORD, or emails a sign-in code and answers EMAIL_CODE. Never creates an account. Returns RATE_LIMITED past 10 requests a minute from one IP address, or when the project's email quota is spent. |
shopifyCollectionContentUpdate | Mutation | Updates the content at key of a Shopify collection, stored in its app metafield content.<key>. Keeps up to nine earlier values. The shop must belong to the calling API key's organization. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
shopifyMetafieldConfigCreate | Mutation | Creates a Shopify metafield config for a project. Scope: ORGANIZATION_INTEGRATIONS_CREATE. |
shopifyMetafieldConfigDelete | Mutation | Deletes a Shopify metafield config. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
shopifyMetafieldConfigs | Query | Lists a project's Shopify metafield configs. Scope: ORGANIZATION_INTEGRATIONS_READ. |
shopifyMetafieldConfigUpdate | Mutation | Updates a Shopify metafield config. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
shopifyProduct | Query | Reads a Shopify product. Always returns null. |
shopifyProductContentUpdate | Mutation | Updates the content at key of a Shopify product, stored in its app metafield content.<key>. Keeps up to nine earlier values. The shop must belong to the calling API key's organization. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
shopifyProducts | Query | Lists Shopify products. Always returns an empty page. |
shopifyWebhookCreate | Mutation | Creates a Shopify webhook for a project and generates its HMAC secret. The result is the only place the secret appears. Scope: ORGANIZATION_INTEGRATIONS_CREATE and ORGANIZATION_INTEGRATIONS_READ. |
shopifyWebhookDelete | Mutation | Deletes a Shopify webhook. Scope: ORGANIZATION_INTEGRATIONS_DELETE. |
shopifyWebhooks | Query | Lists an organization's Shopify webhooks. Scope: ORGANIZATION_INTEGRATIONS_READ. |
shopifyWebhookUpdate | Mutation | Updates a Shopify webhook. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
step | Query | Reads a step. Scope: ORGANIZATION_WORKSPACE_READ. |
stepCreate | Mutation | Creates a step in a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
stepDelete | Mutation | Deletes a step. A step that an experience references is not deleted, and comes back as an IN_USE user error. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
steps | Query | Lists the steps in a workspace. search matches a case-insensitive substring of the name; sortKey and reverse set the order. Scope: ORGANIZATION_WORKSPACE_READ. |
stepUpdate | Mutation | Updates a step. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
tenant | Query | Reads a tenant and its branding by slug or hostname. Returns the default tenant when neither matches. Needs no authentication, and responses are cacheable for 5 minutes. |
updateShopifyCollectionContent | Mutation | Updates the content at key of a Shopify collection, stored in its app metafield content.<key>. Keeps up to nine earlier values. The shop must belong to the calling API key's organization. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
updateShopifyMetafieldConfig | Mutation | Updates a Shopify metafield config. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
updateShopifyProductContent | Mutation | Updates the content at key of a Shopify product, stored in its app metafield content.<key>. Keeps up to nine earlier values. The shop must belong to the calling API key's organization. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
updateShopifyWebhook | Mutation | Updates a Shopify webhook. Scope: ORGANIZATION_INTEGRATIONS_UPDATE. |
user | Query | Reads the signed-in user. Null when the caller is an API key or the auth service rejects the token. Exempt from the MFA policy, so a user the policy gates can read mfa and mfaFactors. |
viewerScopes | Query | Lists the scopes the caller holds outside any organization, such as ORGANIZATION_CREATE. Empty for an API key. Organization.viewerScopes lists the scopes held in one organization. |
workbenchAssetAdoptOwned | Mutation | Moves the ownership of an asset-library asset to a workbench, as OWNED. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workbenchAssetImport | Mutation | Imports an asset owned elsewhere into a workbench as IMPORTED. The asset's owner does not change. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workbenchAssetRemove | Mutation | Removes an asset from a workbench. Removing an OWNED asset also deletes it, which needs ORGANIZATION_PROJECTS_UPDATE and fails once a publish uses the asset. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflow | Query | Reads a workflow. Scope: ORGANIZATION_WORKSPACE_READ. |
workflowCreate | Mutation | Creates a workflow in a workspace. The caller must hold the scopes the workflow needs, as Workflow.scopes describes. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflowDelete | Mutation | Deletes a workflow. Published versions keep their copy, and an action that started it can start another workflow. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflowGraphUpdate | Mutation | Updates the graph of a workflow with a change set, all or nothing. A refused change set writes nothing and comes back in errors. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflowRun | Query | Reads a workflow run. Scope: ORGANIZATION_WORKSPACE_READ. |
workflowRunRerun | Mutation | Reruns a workflow run that has ended as a new run of the whole workflow, on the version chosen. Every step runs again, so leads are created and outbound requests are sent again, and an action_response answers nobody. The caller must also hold every scope the workflow of the chosen version acts with, except those any author grants, as Workflow.scopesToHold lists. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflows | Query | Lists the workflows in a workspace. search matches a case-insensitive substring of the name. Scope: ORGANIZATION_WORKSPACE_READ. |
workflowTestRun | Mutation | Tests a workflow by walking its draft graph once, holding back every write. Nothing is stored, and the caller must also hold every scope in Workflow.scopesToHold. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workflowTools | Query | Lists every tool a workflow node can run, with the arguments each takes. |
workflowUpdate | Mutation | Updates the name or the node visit limit of a workflow. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspace | Query | Reads a workspace. Scope: ORGANIZATION_WORKSPACE_READ. |
workspaceArchive | Mutation | Archives a workspace, which moves it out of the default list. It stays editable. Archiving an archived workspace changes nothing. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceContentEntryValidation | Query | Verifies each content entry in a workspace against its model's schema, including embedded blocks. It changes no data. Scope: ORGANIZATION_WORKSPACE_READ. |
workspaceCreate | Mutation | Creates an empty draft workspace in a project. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceDelete | Mutation | Deletes a workspace that is not live. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceDiff | Query | Compares two workspace snapshots and lists the entities added, removed and modified. Each side is a workspace at its current content or a published version, and both sides must belong to one project. Scope: ORGANIZATION_WORKSPACE_READ. |
workspaceDuplicate | Mutation | Copies a workspace and every entity in it, workflows included, into a new draft workspace in the same project. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceExport | Query | Exports a workspace and every entity in it as a JSON bundle that workspaceImport reads. The bundle lists the asset versions its content references; download each file from its downloadUrl. Scope: ORGANIZATION_WORKSPACE_READ. |
workspaceImport | Mutation | Creates a draft workspace in a project from a bundle that workspaceExport returned. Every entity gets a new ID, and every reference between entities, assets through assetMap included, points at the new IDs. Nothing is created when a userError is returned. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspacePublish | Mutation | Publishes a workspace: makes an immutable version of it and serves that version to visitors. The workspace becomes LIVE, and an archived workspace returns to the default list. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceUnarchive | Mutation | Unarchives a workspace, which returns it to DRAFT. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceUpdate | Mutation | Renames a workspace. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
workspaceVersionPublish | Mutation | Makes a published version the version its project serves. No new version is made and the workspace's draft does not change; the workspace becomes LIVE, and an archived one returns to the default list. Scope: ORGANIZATION_WORKSPACE_UPDATE. |
Domains
- Action
- Analytics session
- Analytics sign in
- Api key
- App
- Auth
- Cms fields
- Cms models
- Common
- Condition
- Design system
- Experience
- External api
- Feature
- Feedback
- Field
- Integration
- Label
- Lead
- Mcp server
- Metric
- Operation
- Organization
- Project
- Report
- Saved view
- Shopify
- Step
- Tenant branding
- Workbench
- Workflow run
- Workflow
- Workspace version
- Workspace
