Volver al catálogo

Unkey

unkey

Unkey provides API key management, authorization, rate limiting, usage analytics, and related platform APIs.

Acciones
43
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Add existing roles to a customer API key without removing its current roles or direct permissions.

Parámetros de entrada

  • rolesstring[]Obligatorio

    Names of existing workspace roles to add. Existing assignments are unchanged, and an invalid role causes the entire operation to fail.

  • key_idstringObligatorio

    Database 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Consume Multiple Rate LimitsUNKEY_CONSUME_MULTIPLE_RATELIMITSAcción

Irreversibly 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[]Obligatorio

    Up to 100 independent quota consumptions. Each item must use a unique combination of namespace ID, identifier, and duration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Consume Rate LimitUNKEY_CONSUME_RATELIMITAcción

Irreversibly 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

  • costintegerObligatorio

    Positive quota cost to consume irreversibly.

  • limitintegerObligatorio

    Maximum accumulated cost allowed during the rate-limit window.

  • durationintegerObligatorio

    Rate-limit window duration in milliseconds, from 1 second to 30 days.

  • identifierstringObligatorio

    Entity whose quota to consume, such as a user ID, IP address, or API client ID.

  • namespace_idstringObligatorio

    ID of an existing rate-limit namespace. Use CREATE_RATELIMIT_NAMESPACE to create one.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create APIUNKEY_CREATE_APIAcción

Create an API namespace for organizing and issuing customer API keys.

Parámetros de entrada

  • namestringObligatorio

    Human-readable name for this API within the workspace. Names must be unique and cannot be changed after creation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create API KeyUNKEY_CREATE_API_KEYAcción

Create 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

  • metaobject

    Arbitrary JSON metadata returned during verification. Do not include sensitive data; at most 100 properties are allowed.

  • namestring

    Human-readable name shown in Unkey management interfaces.

  • rolesstring[]

    Existing Unkey role IDs or names to assign to the key.

  • api_idstringObligatorio

    API namespace in which to create the key.

  • prefixstring

    Non-sensitive prefix included at the beginning of the generated key for recognition in logs and dashboards.

  • creditsobject

    Usage-credit balance and optional automatic refill configuration.

  • enabledboolean

    Whether the key is active immediately after creation.

  • expiresinteger

    Unix timestamp in milliseconds when the key expires; omit for no expiry.

  • ratelimitsobject[]

    Time-based rate limits configured directly on the key.

  • byte_lengthinteger

    Cryptographic key length in bytes (16-255).

  • external_idstring

    Stable identifier linking the key to a user or entity in your system.

  • recoverableboolean

    Whether Unkey stores an encrypted copy for later privileged recovery. Leave false for maximum security.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Existing-Key Portal SessionUNKEY_CREATE_EXISTING_KEY_PORTAL_SESSIONAcción

Create 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

  • portalstringObligatorio

    Portal identifier or slug for which to create the end-user session.

  • hostnamestring

    Verified custom domain of this portal on which to build the session URL; omit to use Unkey's portal host.

  • return_urlstringuri

    Absolute URL to which the end user returns after leaving the portal or when the session expires.

  • external_idstringObligatorio

    End user's identifier in the calling system.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create IdentityUNKEY_CREATE_IDENTITYAcción

Create an identity that groups customer API keys under one external entity with shared metadata and rate limits.

Parámetros de entrada

  • metaobject

    Arbitrary 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_idstringObligatorio

    Stable, workspace-unique identifier for the user, organization, or other entity in your system.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or Add Key PermissionsUNKEY_CREATE_OR_ADD_KEY_PERMISSIONSAcción

Create 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_idstringObligatorio

    Database identifier of the key that receives the permissions, as returned by keys.createKey; this is not the API key string.

  • permissionsstring[]Obligatorio

    Permission 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PermissionUNKEY_CREATE_PERMISSIONAcción

Create an RBAC permission with a unique slug for assignment to roles or customer API keys.

Parámetros de entrada

  • namestringObligatorio

    Human-readable name describing the permission's purpose.

  • slugstringObligatorio

    Workspace-unique identifier used to assign this permission to API keys and roles.

  • descriptionstring

    Internal documentation of the resources, operations, and limitations covered by this permission.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PortalUNKEY_CREATE_PORTALAcción

Create 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

  • slugstringObligatorio

    URL-safe portal handle, unique within the workspace.

  • enabledboolean

    Whether new sessions can be minted for the portal immediately.

  • logo_urlstringuri

    Absolute HTTPS URL of the logo shown in the portal header.

  • keyspace_idstringObligatorio

    Keyspace this portal serves.

  • display_namestringObligatorio

    Human-readable name shown to end users in portal headers and page titles.

  • primary_colorstring

    Six-digit hexadecimal color used for portal actions and accents.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Portal DomainUNKEY_CREATE_PORTAL_DOMAINAcción

Attach a custom domain to an Unkey portal, start asynchronous DNS verification, and return the records that must be published.

Parámetros de entrada

  • domainstringObligatorio

    Fully qualified domain name to attach, without a scheme, port, or path. It must be unique across the workspace.

  • portalstringObligatorio

    Portal ID or slug to attach the custom domain to.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Rate Limit NamespaceUNKEY_CREATE_RATELIMIT_NAMESPACEAcción

Create a named rate-limit namespace and return the rlns_ namespace ID used by quota inspection and consumption tools.

Parámetros de entrada

  • namestringObligatorio

    Workspace-unique, case-sensitive namespace name. After creation, use the returned rlns_ namespace ID with inspection and consumption tools.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create RoleUNKEY_CREATE_ROLEAcción

Create an RBAC role without attaching or creating permissions.

Parámetros de entrada

  • namestringObligatorio

    Unique workspace role name that clearly identifies its purpose.

  • descriptionstring

    Internal explanation of the role's purpose, intended users, access, and security considerations.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Role and PermissionsUNKEY_CREATE_ROLE_AND_PERMISSIONSAcción

Create 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

  • namestringObligatorio

    Unique workspace role name that clearly identifies its purpose.

  • descriptionstring

    Internal explanation of the role's purpose, intended users, access, and security considerations.

  • permissionsstring[]Obligatorio

    Permission slugs to attach to the new role. Existing workspace permissions are reused and missing slugs are created automatically.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get APIUNKEY_GET_APIAcción

Retrieve an API namespace by its API ID.

Parámetros de entrada

  • api_idstringObligatorio

    Unique ID of the API namespace to retrieve. It must begin with `api_` and exist in the connected workspace.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API KeyUNKEY_GET_API_KEYAcción

Retrieve 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_idstringObligatorio

    Database identifier of the API key to retrieve, not the plaintext API key used for authentication.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API Request MetricsUNKEY_GET_API_REQUEST_METRICSAcción

Count 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

  • filtersobject

    Optional request filters. Operators within one field follow Unkey's documented OR/AND rules; different fields are combined with AND.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get IdentityUNKEY_GET_IDENTITYAcción

Retrieve an identity by its Unkey identity ID or external ID.

Parámetros de entrada

  • identitystringObligatorio

    The identity to retrieve, provided as either an Unkey identity ID or the external ID used when the identity was created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PermissionUNKEY_GET_PERMISSIONAcción

Retrieve one RBAC permission by its permission ID or slug.

Parámetros de entrada

  • permissionstringObligatorio

    Unique RBAC permission ID (perm_...) or permission slug.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PortalUNKEY_GET_PORTALAcción

Retrieve 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_idstring

    ID of the app served by the portal. Provide exactly one selector.

  • portalstring

    Portal ID or slug to retrieve. Provide exactly one selector.

  • keyspace_idstring

    ID of the keyspace served by the portal. Provide exactly one selector.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Portal DomainUNKEY_GET_PORTAL_DOMAINAcción

Retrieve one portal custom domain, including its verification status and required DNS records.

Parámetros de entrada

  • portalstringObligatorio

    Portal ID or slug that the custom domain is attached to.

  • domain_idstringObligatorio

    Portal domain ID returned by a portal domain create, get, or list operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Rate Limit OverrideUNKEY_GET_RATELIMIT_OVERRIDEAcción

Retrieve one rate-limit override by namespace and its exact identifier pattern.

Parámetros de entrada

  • namespacestringObligatorio

    ID or name of the rate-limit namespace containing the override.

  • identifierstringObligatorio

    Exact, case-sensitive identifier pattern used when the override was created, including any wildcard characters.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get RoleUNKEY_GET_ROLEAcción

Retrieve one RBAC role and its assigned permissions by role ID or name.

Parámetros de entrada

  • rolestringObligatorio

    Unique ID or name of the RBAC role to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Workspace FlagsUNKEY_GET_WORKSPACE_FLAGSAcción

Get 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Workspace LimitsUNKEY_GET_WORKSPACE_LIMITSAcción

Return every workspace plan limit and its current usage where available.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Workspace UsageUNKEY_GET_WORKSPACE_USAGEAcción

Return billable API operations, Compute usage, and active gateway keys for the current UTC month or one requested recent calendar month.

Parámetros de entrada

  • periodobject

    Calendar 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Identify API KeyUNKEY_IDENTIFY_API_KEYAcción

Identify 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

  • keystringObligatoriopassword

    Complete 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Inspect Multiple Rate LimitsUNKEY_INSPECT_MULTIPLE_RATELIMITSAcción

Inspect 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[]Obligatorio

    Up to 100 independent rate-limit inspections. Each item must use a unique combination of namespace ID, identifier, and duration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Inspect Rate LimitUNKEY_INSPECT_RATELIMITAcción

Inspect 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

  • limitintegerObligatorio

    Maximum accumulated cost allowed during the rate-limit window.

  • durationintegerObligatorio

    Rate-limit window duration in milliseconds, from 1 second to 30 days.

  • identifierstringObligatorio

    Entity whose current rate-limit state to inspect, such as a user ID, IP address, or API client ID.

  • namespace_idstringObligatorio

    ID of an existing rate-limit namespace. Use CREATE_RATELIMIT_NAMESPACE to create one.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API KeysUNKEY_LIST_API_KEYSAcción

List 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

  • limitinteger

    Maximum number of API keys to return on this page (1-100).

  • api_idstringObligatorio

    The API namespace whose customer API keys should be listed.

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same API ID and filters when continuing.

  • external_idstring

    Return only keys whose external ID exactly matches this value.

  • revalidate_keys_cacheboolean

    Read keys and identities from the primary database to avoid replica lag. Primary reads can have higher latency.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API RequestsUNKEY_LIST_API_REQUESTSAcción

List 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

  • limitinteger

    Maximum number of API requests to return on this page (1-100).

  • cursorstring

    Continuation cursor from the previous page. Omit for the first page and repeat the same filters when continuing.

  • filtersobject

    Optional 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List IdentitiesUNKEY_LIST_IDENTITIESAcción

List one page of identities in the connected Unkey workspace, optionally filtering by identity ID or external ID.

Parámetros de entrada

  • limitinteger

    Maximum number of identities to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.

  • searchstring

    Case-insensitive text filter matched against identity IDs and external IDs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PermissionsUNKEY_LIST_PERMISSIONSAcción

List one page of RBAC permissions in the connected Unkey workspace, optionally filtering by permission text.

Parámetros de entrada

  • limitinteger

    Maximum number of permissions to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.

  • searchstring

    Case-insensitive text filter matched against permission IDs, names, slugs, and descriptions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Portal DomainsUNKEY_LIST_PORTAL_DOMAINSAcción

List all custom domains attached to one Unkey portal, including each domain's verification status and required DNS records.

Parámetros de entrada

  • portalstringObligatorio

    Portal ID or slug whose custom domains should be listed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Portal SessionsUNKEY_LIST_PORTAL_SESSIONSAcción

List 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

  • limitinteger

    Maximum number of end users to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same portal and search filter when continuing.

  • portalstringObligatorio

    Portal identifier or slug whose revocable sessions should be listed.

  • searchstring

    Case-sensitive external ID prefix used to filter end users. Percent and underscore characters are matched literally, not as wildcards.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Rate Limit NamespacesUNKEY_LIST_RATELIMIT_NAMESPACESAcción

List one page of readable rate-limit namespaces in the connected Unkey workspace, newest first, with optional text search.

Parámetros de entrada

  • limitinteger

    Maximum number of namespaces to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.

  • searchstring

    Case-insensitive text filter matched against rate-limit namespace IDs and names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Rate Limit OverridesUNKEY_LIST_RATELIMIT_OVERRIDESAcción

List one page of custom rate-limit overrides configured in a namespace, including each identifier pattern, request limit, and window duration.

Parámetros de entrada

  • limitinteger

    Maximum number of rate-limit overrides to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same namespace when continuing.

  • namespacestringObligatorio

    ID or name of the rate-limit namespace whose overrides should be listed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List RolesUNKEY_LIST_ROLESAcción

List 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

  • limitinteger

    Maximum number of roles to return on this page (1-100).

  • cursorstring

    Continuation cursor from a previous response. Omit for the first page and repeat the same search filter when continuing.

  • searchstring

    Case-insensitive text filter matched against role IDs, names, and descriptions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query Rate Limit AnalyticsUNKEY_QUERY_RATELIMIT_ANALYTICSAcción

Run 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

  • querystringObligatorio

    Read-only SQL SELECT query using only the documented public rate-limit analytics aliases.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query Verification AnalyticsUNKEY_QUERY_VERIFICATION_ANALYTICSAcción

Run 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

  • querystringObligatorio

    Read-only SQL SELECT query using only the documented public key-verification analytics aliases.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify and Consume API KeyUNKEY_VERIFY_AND_CONSUME_API_KEYAcción

Verify 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

  • keystringObligatoriopassword

    Customer 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_costintegerObligatorio

    Positive number of key credits consumed after all checks pass.

  • permissionsstring

    Permission expression the key must satisfy. Supports permission names, AND, OR, and parentheses.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify, Migrate, and Consume API KeyUNKEY_VERIFY_MIGRATE_AND_CONSUME_API_KEYAcción

Verify 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

  • keystringObligatoriopassword

    Customer 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_costintegerObligatorio

    Positive number of key credits consumed after all checks pass.

  • permissionsstring

    Permission expression the key must satisfy. Supports permission names, AND, OR, and parentheses.

  • migration_idstringObligatorio

    Provider-issued migration ID for on-demand migration from a previous key system. Unkey support must configure this migration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify Portal DomainUNKEY_VERIFY_PORTAL_DOMAINAcción

Restart 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

  • portalstringObligatorio

    Portal ID or slug that owns the custom domain.

  • domain_idstringObligatorio

    Portal domain ID returned by portal.createDomain.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not