Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Bulk unassign keys from a guardrail
OPENROUTER_BULK_UNASSIGN_KEYS_FROM_GUARDRAILUnassign multiple API keys from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Bulk unassign members from a guardrail
OPENROUTER_BULK_UNASSIGN_MEMBERS_FROM_GUARDRAILUnassign multiple organization members from a specific guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete an API key
OPENROUTER_DELETE_API_KEYDelete one of the authenticated account's own API keys, revoking the selected key's access. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
Delete a batch
OPENROUTER_DELETE_BATCHDeletes a batch in a terminal status (`completed`, `failed`, `expired`, or `cancelled`) and its stored requests and results. Batches still in progress return `409`. Billing and usage records are kept. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).
Delete a BYOK provider credential
OPENROUTER_DELETE_BYOK_CREDENTIALDelete (soft-delete) a bring-your-own-key (BYOK) provider credential by its `id`. The encrypted key material is wiped and the record is marked as deleted. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete a file
OPENROUTER_DELETE_FILEDeletes a file owned by the requesting workspace. Deletion is irreversible.
Delete a guardrail
OPENROUTER_DELETE_GUARDRAILDelete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete an observability destination
OPENROUTER_DELETE_OBSERVABILITY_DESTINATIONDelete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete a private endpoint
OPENROUTER_DELETE_PRIVATE_ENDPOINTDelete a private endpoint and stop routing to it. Pass `draft_only=true` to refuse (409) when the endpoint has been activated. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete a SCIM group mapping
OPENROUTER_DELETE_SCIM_GROUP_MAPPINGDelete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete a workspace
OPENROUTER_DELETE_WORKSPACEDelete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete a workspace budget
OPENROUTER_DELETE_WORKSPACE_BUDGETRemove the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Update an API key
OPENROUTER_UPDATE_API_KEYUpdate one of the authenticated account's own API keys. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys). Setting `disabled=true` disables the selected key. Set `workspace_id` to move the key to another workspace. <Warning> The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`. </Warning>