Unkey
unkeyUnkey provides API key management, authorization, rate limiting, usage analytics, and related platform APIs.
Acciones disponibles (43)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Key RolesUNKEY_ADD_KEY_ROLESAcciónAdd existing roles to a customer API key without removing its current roles or direct permissions.
UNKEY_ADD_KEY_ROLESAcciónAdd existing roles to a customer API key without removing its current roles or direct permissions.
Parámetros de entrada
rolesstring[]ObligatorioNames of existing workspace roles to add. Existing assignments are unchanged, and an invalid role causes the entire operation to fail.
key_idstringObligatorioDatabase identifier of the customer API key that receives the roles. Use the key ID returned by key creation, not the plaintext API key.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Consume Multiple Rate LimitsUNKEY_CONSUME_MULTIPLE_RATELIMITSAcciónIrreversibly consume quota for up to 100 independent Unkey rate limits. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.
UNKEY_CONSUME_MULTIPLE_RATELIMITSAcciónIrreversibly consume quota for up to 100 independent Unkey rate limits. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.
Parámetros de entrada
checksobject[]ObligatorioUp to 100 independent quota consumptions. Each item must use a unique combination of namespace ID, identifier, and duration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Consume Rate LimitUNKEY_CONSUME_RATELIMITAcciónIrreversibly consume quota for one identifier in an existing Unkey rate-limit namespace. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.
UNKEY_CONSUME_RATELIMITAcciónIrreversibly consume quota for one identifier in an existing Unkey rate-limit namespace. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.
Parámetros de entrada
costintegerObligatorioPositive quota cost to consume irreversibly.
limitintegerObligatorioMaximum accumulated cost allowed during the rate-limit window.
durationintegerObligatorioRate-limit window duration in milliseconds, from 1 second to 30 days.
identifierstringObligatorioEntity whose quota to consume, such as a user ID, IP address, or API client ID.
namespace_idstringObligatorioID of an existing rate-limit namespace. Use CREATE_RATELIMIT_NAMESPACE to create one.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create APIUNKEY_CREATE_APIAcciónCreate an API namespace for organizing and issuing customer API keys.
UNKEY_CREATE_APIAcciónCreate an API namespace for organizing and issuing customer API keys.
Parámetros de entrada
namestringObligatorioHuman-readable name for this API within the workspace. Names must be unique and cannot be changed after creation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create API KeyUNKEY_CREATE_API_KEYAcciónCreate a customer API key in an API namespace and return its one-time plaintext key value. Roles must already exist in the workspace. Handle the returned key as a secret; add direct permissions afterward with CREATE_OR_ADD_KEY_PERMISSIONS.
UNKEY_CREATE_API_KEYAcciónCreate a customer API key in an API namespace and return its one-time plaintext key value. Roles must already exist in the workspace. Handle the returned key as a secret; add direct permissions afterward with CREATE_OR_ADD_KEY_PERMISSIONS.
Parámetros de entrada
metaobjectArbitrary JSON metadata returned during verification. Do not include sensitive data; at most 100 properties are allowed.
namestringHuman-readable name shown in Unkey management interfaces.
rolesstring[]Existing Unkey role IDs or names to assign to the key.
api_idstringObligatorioAPI namespace in which to create the key.
prefixstringNon-sensitive prefix included at the beginning of the generated key for recognition in logs and dashboards.
creditsobjectUsage-credit balance and optional automatic refill configuration.
enabledbooleanWhether the key is active immediately after creation.
expiresintegerUnix timestamp in milliseconds when the key expires; omit for no expiry.
ratelimitsobject[]Time-based rate limits configured directly on the key.
byte_lengthintegerCryptographic key length in bytes (16-255).
external_idstringStable identifier linking the key to a user or entity in your system.
recoverablebooleanWhether Unkey stores an encrypted copy for later privileged recovery. Leave false for maximum security.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Existing-Key Portal SessionUNKEY_CREATE_EXISTING_KEY_PORTAL_SESSIONAcciónCreate an end-user portal session with key read, key reroll, and analytics access for existing keys, then return its single-use redirect URL. This action does not grant the keys:create capability.
UNKEY_CREATE_EXISTING_KEY_PORTAL_SESSIONAcciónCreate an end-user portal session with key read, key reroll, and analytics access for existing keys, then return its single-use redirect URL. This action does not grant the keys:create capability.
Parámetros de entrada
portalstringObligatorioPortal identifier or slug for which to create the end-user session.
hostnamestringVerified custom domain of this portal on which to build the session URL; omit to use Unkey's portal host.
return_urlstringuriAbsolute URL to which the end user returns after leaving the portal or when the session expires.
external_idstringObligatorioEnd user's identifier in the calling system.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create IdentityUNKEY_CREATE_IDENTITYAcciónCreate an identity that groups customer API keys under one external entity with shared metadata and rate limits.
UNKEY_CREATE_IDENTITYAcciónCreate an identity that groups customer API keys under one external entity with shared metadata and rate limits.
Parámetros de entrada
metaobjectArbitrary JSON metadata returned during verification. Do not include sensitive data; at most 100 properties are allowed.
ratelimitsobject[]Shared rate limits applied across every API key attached to the identity.
external_idstringObligatorioStable, workspace-unique identifier for the user, organization, or other entity in your system.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or Add Key PermissionsUNKEY_CREATE_OR_ADD_KEY_PERMISSIONSAcciónCreate any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all supplied slugs directly to a customer API key without removing existing direct or role-based access.
UNKEY_CREATE_OR_ADD_KEY_PERMISSIONSAcciónCreate any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all supplied slugs directly to a customer API key without removing existing direct or role-based access.
Parámetros de entrada
key_idstringObligatorioDatabase identifier of the key that receives the permissions, as returned by keys.createKey; this is not the API key string.
permissionsstring[]ObligatorioPermission slugs to attach directly to the key. Missing slugs are created as workspace permissions, existing slugs are reused, existing key assignments are preserved, and duplicates are ignored.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PermissionUNKEY_CREATE_PERMISSIONAcciónCreate an RBAC permission with a unique slug for assignment to roles or customer API keys.
UNKEY_CREATE_PERMISSIONAcciónCreate an RBAC permission with a unique slug for assignment to roles or customer API keys.
Parámetros de entrada
namestringObligatorioHuman-readable name describing the permission's purpose.
slugstringObligatorioWorkspace-unique identifier used to assign this permission to API keys and roles.
descriptionstringInternal documentation of the resources, operations, and limitations covered by this permission.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PortalUNKEY_CREATE_PORTALAcciónCreate a keyspace-backed customer portal for free API Management. This action does not create portals backed by paid Compute apps. The provider marks this endpoint as unreleased and subject to change.
UNKEY_CREATE_PORTALAcciónCreate a keyspace-backed customer portal for free API Management. This action does not create portals backed by paid Compute apps. The provider marks this endpoint as unreleased and subject to change.
Parámetros de entrada
slugstringObligatorioURL-safe portal handle, unique within the workspace.
enabledbooleanWhether new sessions can be minted for the portal immediately.
logo_urlstringuriAbsolute HTTPS URL of the logo shown in the portal header.
keyspace_idstringObligatorioKeyspace this portal serves.
display_namestringObligatorioHuman-readable name shown to end users in portal headers and page titles.
primary_colorstringSix-digit hexadecimal color used for portal actions and accents.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Portal DomainUNKEY_CREATE_PORTAL_DOMAINAcciónAttach a custom domain to an Unkey portal, start asynchronous DNS verification, and return the records that must be published.
UNKEY_CREATE_PORTAL_DOMAINAcciónAttach a custom domain to an Unkey portal, start asynchronous DNS verification, and return the records that must be published.
Parámetros de entrada
domainstringObligatorioFully qualified domain name to attach, without a scheme, port, or path. It must be unique across the workspace.
portalstringObligatorioPortal ID or slug to attach the custom domain to.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Rate Limit NamespaceUNKEY_CREATE_RATELIMIT_NAMESPACEAcciónCreate a named rate-limit namespace and return the rlns_ namespace ID used by quota inspection and consumption tools.
UNKEY_CREATE_RATELIMIT_NAMESPACEAcciónCreate a named rate-limit namespace and return the rlns_ namespace ID used by quota inspection and consumption tools.
Parámetros de entrada
namestringObligatorioWorkspace-unique, case-sensitive namespace name. After creation, use the returned rlns_ namespace ID with inspection and consumption tools.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create RoleUNKEY_CREATE_ROLEAcciónCreate an RBAC role without attaching or creating permissions.
UNKEY_CREATE_ROLEAcciónCreate an RBAC role without attaching or creating permissions.
Parámetros de entrada
namestringObligatorioUnique workspace role name that clearly identifies its purpose.
descriptionstringInternal explanation of the role's purpose, intended users, access, and security considerations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Role and PermissionsUNKEY_CREATE_ROLE_AND_PERMISSIONSAcciónCreate an RBAC role, create any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all of them to the new role.
UNKEY_CREATE_ROLE_AND_PERMISSIONSAcciónCreate an RBAC role, create any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all of them to the new role.
Parámetros de entrada
namestringObligatorioUnique workspace role name that clearly identifies its purpose.
descriptionstringInternal explanation of the role's purpose, intended users, access, and security considerations.
permissionsstring[]ObligatorioPermission slugs to attach to the new role. Existing workspace permissions are reused and missing slugs are created automatically.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get APIUNKEY_GET_APIAcciónRetrieve an API namespace by its API ID.
UNKEY_GET_APIAcciónRetrieve an API namespace by its API ID.
Parámetros de entrada
api_idstringObligatorioUnique ID of the API namespace to retrieve. It must begin with `api_` and exist in the connected workspace.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API KeyUNKEY_GET_API_KEYAcciónRetrieve metadata, status, permissions, roles, and usage settings for a customer API key by key ID. This action never requests or returns plaintext key material.
UNKEY_GET_API_KEYAcciónRetrieve metadata, status, permissions, roles, and usage settings for a customer API key by key ID. This action never requests or returns plaintext key material.
Parámetros de entrada
key_idstringObligatorioDatabase identifier of the API key to retrieve, not the plaintext API key used for authentication.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API Request MetricsUNKEY_GET_API_REQUEST_METRICSAcciónCount requests served by the Unkey API for the connected workspace per time bucket, split into successful, client-error, and server-error totals.
UNKEY_GET_API_REQUEST_METRICSAcciónCount requests served by the Unkey API for the connected workspace per time bucket, split into successful, client-error, and server-error totals.
Parámetros de entrada
filtersobjectOptional request filters. Operators within one field follow Unkey's documented OR/AND rules; different fields are combined with AND.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get IdentityUNKEY_GET_IDENTITYAcciónRetrieve an identity by its Unkey identity ID or external ID.
UNKEY_GET_IDENTITYAcciónRetrieve an identity by its Unkey identity ID or external ID.
Parámetros de entrada
identitystringObligatorioThe identity to retrieve, provided as either an Unkey identity ID or the external ID used when the identity was created.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PermissionUNKEY_GET_PERMISSIONAcciónRetrieve one RBAC permission by its permission ID or slug.
UNKEY_GET_PERMISSIONAcciónRetrieve one RBAC permission by its permission ID or slug.
Parámetros de entrada
permissionstringObligatorioUnique RBAC permission ID (perm_...) or permission slug.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PortalUNKEY_GET_PORTALAcciónRetrieve one customer portal by portal ID, slug, keyspace ID, or app ID; provide exactly one selector. The provider marks this endpoint as unreleased and subject to change.
UNKEY_GET_PORTALAcciónRetrieve one customer portal by portal ID, slug, keyspace ID, or app ID; provide exactly one selector. The provider marks this endpoint as unreleased and subject to change.
Parámetros de entrada
app_idstringID of the app served by the portal. Provide exactly one selector.
portalstringPortal ID or slug to retrieve. Provide exactly one selector.
keyspace_idstringID of the keyspace served by the portal. Provide exactly one selector.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Portal DomainUNKEY_GET_PORTAL_DOMAINAcciónRetrieve one portal custom domain, including its verification status and required DNS records.
UNKEY_GET_PORTAL_DOMAINAcciónRetrieve one portal custom domain, including its verification status and required DNS records.
Parámetros de entrada
portalstringObligatorioPortal ID or slug that the custom domain is attached to.
domain_idstringObligatorioPortal domain ID returned by a portal domain create, get, or list operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Rate Limit OverrideUNKEY_GET_RATELIMIT_OVERRIDEAcciónRetrieve one rate-limit override by namespace and its exact identifier pattern.
UNKEY_GET_RATELIMIT_OVERRIDEAcciónRetrieve one rate-limit override by namespace and its exact identifier pattern.
Parámetros de entrada
namespacestringObligatorioID or name of the rate-limit namespace containing the override.
identifierstringObligatorioExact, case-sensitive identifier pattern used when the override was created, including any wildcard characters.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RoleUNKEY_GET_ROLEAcciónRetrieve one RBAC role and its assigned permissions by role ID or name.
UNKEY_GET_ROLEAcciónRetrieve one RBAC role and its assigned permissions by role ID or name.
Parámetros de entrada
rolestringObligatorioUnique ID or name of the RBAC role to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workspace FlagsUNKEY_GET_WORKSPACE_FLAGSAcciónGet feature flags for the connected workspace, keyed by flag slug, including each flag's current value and opt-in or opt-out availability.
UNKEY_GET_WORKSPACE_FLAGSAcciónGet feature flags for the connected workspace, keyed by flag slug, including each flag's current value and opt-in or opt-out availability.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workspace LimitsUNKEY_GET_WORKSPACE_LIMITSAcciónReturn every workspace plan limit and its current usage where available.
UNKEY_GET_WORKSPACE_LIMITSAcciónReturn every workspace plan limit and its current usage where available.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workspace UsageUNKEY_GET_WORKSPACE_USAGEAcciónReturn billable API operations, Compute usage, and active gateway keys for the current UTC month or one requested recent calendar month.
UNKEY_GET_WORKSPACE_USAGEAcciónReturn billable API operations, Compute usage, and active gateway keys for the current UTC month or one requested recent calendar month.
Parámetros de entrada
periodobjectCalendar month to read. Omit for the current UTC month to date. A requested month cannot be in the future and must start within the last 90 days.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Identify API KeyUNKEY_IDENTIFY_API_KEYAcciónIdentify a customer API key from its complete plaintext value and return the key's metadata, status, permissions, roles, usage settings, and identity.
UNKEY_IDENTIFY_API_KEYAcciónIdentify a customer API key from its complete plaintext value and return the key's metadata, status, permissions, roles, usage settings, and identity.
Parámetros de entrada
keystringObligatoriopasswordComplete customer API key, including its prefix. The key is sent to Unkey exactly as provided; never log, cache, or store it.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Inspect Multiple Rate LimitsUNKEY_INSPECT_MULTIPLE_RATELIMITSAcciónInspect up to 100 independent Unkey rate limits with cost zero. This does not consume quota, but Unkey still tracks each non-idempotent check. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.
UNKEY_INSPECT_MULTIPLE_RATELIMITSAcciónInspect up to 100 independent Unkey rate limits with cost zero. This does not consume quota, but Unkey still tracks each non-idempotent check. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.
Parámetros de entrada
checksobject[]ObligatorioUp to 100 independent rate-limit inspections. Each item must use a unique combination of namespace ID, identifier, and duration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Inspect Rate LimitUNKEY_INSPECT_RATELIMITAcciónInspect quota for one identifier in an existing Unkey rate-limit namespace with cost zero. This does not consume quota, but Unkey still tracks the non-idempotent check. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.
UNKEY_INSPECT_RATELIMITAcciónInspect quota for one identifier in an existing Unkey rate-limit namespace with cost zero. This does not consume quota, but Unkey still tracks the non-idempotent check. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.
Parámetros de entrada
limitintegerObligatorioMaximum accumulated cost allowed during the rate-limit window.
durationintegerObligatorioRate-limit window duration in milliseconds, from 1 second to 30 days.
identifierstringObligatorioEntity whose current rate-limit state to inspect, such as a user ID, IP address, or API client ID.
namespace_idstringObligatorioID of an existing rate-limit namespace. Use CREATE_RATELIMIT_NAMESPACE to create one.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List API KeysUNKEY_LIST_API_KEYSAcciónList one page of customer API keys in an API namespace, optionally filtered by external identity. Plaintext key values are never requested.
UNKEY_LIST_API_KEYSAcciónList one page of customer API keys in an API namespace, optionally filtered by external identity. Plaintext key values are never requested.
Parámetros de entrada
limitintegerMaximum number of API keys to return on this page (1-100).
api_idstringObligatorioThe API namespace whose customer API keys should be listed.
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same API ID and filters when continuing.
external_idstringReturn only keys whose external ID exactly matches this value.
revalidate_keys_cachebooleanRead keys and identities from the primary database to avoid replica lag. Primary reads can have higher latency.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List API RequestsUNKEY_LIST_API_REQUESTSAcciónList one page of recent Unkey API requests for the connected workspace, newest first. The required request and response header/body fields are returned as local redaction placeholders so log-read access cannot expose application payloads or response credentials.
UNKEY_LIST_API_REQUESTSAcciónList one page of recent Unkey API requests for the connected workspace, newest first. The required request and response header/body fields are returned as local redaction placeholders so log-read access cannot expose application payloads or response credentials.
Parámetros de entrada
limitintegerMaximum number of API requests to return on this page (1-100).
cursorstringContinuation cursor from the previous page. Omit for the first page and repeat the same filters when continuing.
filtersobjectOptional filters for time, path, method, requestId, and status. Use the documented operators: time supports gt/gte/lt/lte Unix-millisecond bounds; path supports is/isNot/contains/notContains/startsWith/endsWith string arrays; method and requestId support is/isNot arrays; status supports is/isNot arrays and gt/gte/lt/lte bounds. Different fields are combined with AND, and text matching is case-sensitive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List IdentitiesUNKEY_LIST_IDENTITIESAcciónList one page of identities in the connected Unkey workspace, optionally filtering by identity ID or external ID.
UNKEY_LIST_IDENTITIESAcciónList one page of identities in the connected Unkey workspace, optionally filtering by identity ID or external ID.
Parámetros de entrada
limitintegerMaximum number of identities to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.
searchstringCase-insensitive text filter matched against identity IDs and external IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PermissionsUNKEY_LIST_PERMISSIONSAcciónList one page of RBAC permissions in the connected Unkey workspace, optionally filtering by permission text.
UNKEY_LIST_PERMISSIONSAcciónList one page of RBAC permissions in the connected Unkey workspace, optionally filtering by permission text.
Parámetros de entrada
limitintegerMaximum number of permissions to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.
searchstringCase-insensitive text filter matched against permission IDs, names, slugs, and descriptions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Portal DomainsUNKEY_LIST_PORTAL_DOMAINSAcciónList all custom domains attached to one Unkey portal, including each domain's verification status and required DNS records.
UNKEY_LIST_PORTAL_DOMAINSAcciónList all custom domains attached to one Unkey portal, including each domain's verification status and required DNS records.
Parámetros de entrada
portalstringObligatorioPortal ID or slug whose custom domains should be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Portal SessionsUNKEY_LIST_PORTAL_SESSIONSAcciónList one page of end users with revocable sessions on a portal, including pending and active sessions. This administration operation authenticates with the connected workspace root key, not a portal session cookie. The provider marks this endpoint as unreleased and subject to change.
UNKEY_LIST_PORTAL_SESSIONSAcciónList one page of end users with revocable sessions on a portal, including pending and active sessions. This administration operation authenticates with the connected workspace root key, not a portal session cookie. The provider marks this endpoint as unreleased and subject to change.
Parámetros de entrada
limitintegerMaximum number of end users to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same portal and search filter when continuing.
portalstringObligatorioPortal identifier or slug whose revocable sessions should be listed.
searchstringCase-sensitive external ID prefix used to filter end users. Percent and underscore characters are matched literally, not as wildcards.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Rate Limit NamespacesUNKEY_LIST_RATELIMIT_NAMESPACESAcciónList one page of readable rate-limit namespaces in the connected Unkey workspace, newest first, with optional text search.
UNKEY_LIST_RATELIMIT_NAMESPACESAcciónList one page of readable rate-limit namespaces in the connected Unkey workspace, newest first, with optional text search.
Parámetros de entrada
limitintegerMaximum number of namespaces to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.
searchstringCase-insensitive text filter matched against rate-limit namespace IDs and names.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Rate Limit OverridesUNKEY_LIST_RATELIMIT_OVERRIDESAcciónList one page of custom rate-limit overrides configured in a namespace, including each identifier pattern, request limit, and window duration.
UNKEY_LIST_RATELIMIT_OVERRIDESAcciónList one page of custom rate-limit overrides configured in a namespace, including each identifier pattern, request limit, and window duration.
Parámetros de entrada
limitintegerMaximum number of rate-limit overrides to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same namespace when continuing.
namespacestringObligatorioID or name of the rate-limit namespace whose overrides should be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RolesUNKEY_LIST_ROLESAcciónList one page of RBAC roles and their assigned permissions in the connected Unkey workspace, optionally filtering by role ID, name, or description.
UNKEY_LIST_ROLESAcciónList one page of RBAC roles and their assigned permissions in the connected Unkey workspace, optionally filtering by role ID, name, or description.
Parámetros de entrada
limitintegerMaximum number of roles to return on this page (1-100).
cursorstringContinuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.
searchstringCase-insensitive text filter matched against role IDs, names, and descriptions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Rate Limit AnalyticsUNKEY_QUERY_RATELIMIT_ANALYTICSAcciónRun a read-only SQL query against Unkey rate-limit analytics for the connected workspace. This action only queries the rate-limit dataset.
UNKEY_QUERY_RATELIMIT_ANALYTICSAcciónRun a read-only SQL query against Unkey rate-limit analytics for the connected workspace. This action only queries the rate-limit dataset.
Parámetros de entrada
querystringObligatorioRead-only SQL SELECT query using only the documented public rate-limit analytics aliases.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Verification AnalyticsUNKEY_QUERY_VERIFICATION_ANALYTICSAcciónRun a read-only SQL query against Unkey key-verification analytics for the connected workspace. This action only queries the key-verification dataset.
UNKEY_QUERY_VERIFICATION_ANALYTICSAcciónRun a read-only SQL query against Unkey key-verification analytics for the connected workspace. This action only queries the key-verification dataset.
Parámetros de entrada
querystringObligatorioRead-only SQL SELECT query using only the documented public key-verification analytics aliases.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify and Consume API KeyUNKEY_VERIFY_AND_CONSUME_API_KEYAcciónVerify a customer API key while explicitly consuming a positive number of credits and any requested rate-limit quota. Inspect valid and code because an HTTP success can still report a failed verification.
UNKEY_VERIFY_AND_CONSUME_API_KEYAcciónVerify a customer API key while explicitly consuming a positive number of credits and any requested rate-limit quota. Inspect valid and code because an HTTP success can still report a failed verification.
Parámetros de entrada
keystringObligatoriopasswordCustomer API key to verify exactly as provided, including its prefix. Do not log or persist this secret.
tagsstring[]Non-sensitive analytics tags attached to this verification, preferably in key=value form. Tags do not affect the result.
keyspacesstring[]Keyspace IDs allowed for this verification. A mismatch returns valid=false and code=NOT_FOUND without consuming credits or limits.
ratelimitsobject[]Named rate limits to check and consume with explicit positive costs. Omit to skip explicit checks; automatically applied limits may still run.
credit_costintegerObligatorioPositive number of key credits consumed after all checks pass.
permissionsstringPermission expression the key must satisfy. Supports permission names, AND, OR, and parentheses.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify, Migrate, and Consume API KeyUNKEY_VERIFY_MIGRATE_AND_CONSUME_API_KEYAcciónVerify a customer API key using a provider-configured on-demand migration that may create or migrate a missing legacy key. This operation consumes the requested positive credit cost and any explicit rate-limit costs. Inspect valid and code because HTTP success can still mean invalid.
UNKEY_VERIFY_MIGRATE_AND_CONSUME_API_KEYAcciónVerify a customer API key using a provider-configured on-demand migration that may create or migrate a missing legacy key. This operation consumes the requested positive credit cost and any explicit rate-limit costs. Inspect valid and code because HTTP success can still mean invalid.
Parámetros de entrada
keystringObligatoriopasswordCustomer API key to verify exactly as provided, including its prefix. Do not log or persist this secret.
tagsstring[]Non-sensitive analytics tags attached to this verification, preferably in key=value form. Tags do not affect the result.
keyspacesstring[]Keyspace IDs allowed for this verification. A mismatch returns valid=false and code=NOT_FOUND without consuming credits or limits.
ratelimitsobject[]Named rate limits to check and consume with explicit positive costs. Omit to skip explicit checks; automatically applied limits may still run.
credit_costintegerObligatorioPositive number of key credits consumed after all checks pass.
permissionsstringPermission expression the key must satisfy. Supports permission names, AND, OR, and parentheses.
migration_idstringObligatorioProvider-issued migration ID for on-demand migration from a previous key system. Unkey support must configure this migration.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify Portal DomainUNKEY_VERIFY_PORTAL_DOMAINAcciónRestart asynchronous DNS verification for a pending or failed portal domain after correcting its records. This request is safe to retry; an already verified domain is accepted without starting another workflow.
UNKEY_VERIFY_PORTAL_DOMAINAcciónRestart asynchronous DNS verification for a pending or failed portal domain after correcting its records. This request is safe to retry; an already verified domain is accepted without starting another workflow.
Parámetros de entrada
portalstringObligatorioPortal ID or slug that owns the custom domain.
domain_idstringObligatorioPortal domain ID returned by portal.createDomain.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not