Skip to main content

List API Keys

Lists all API keys in your OpenRouter account. Requires a Provisioning API key.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.

Inputs

  • Connection Id - The connection identifier from Connect node (optional if API Key is provided).
  • Offset - Optional pagination offset for large key lists.
  • Include Disabled - Optional. When true, includes disabled keys in results.

Options

  • API Key - OpenRouter Provisioning API key credential.
warning

Requires a Provisioning API key. Not supported with Robomotion AI Credits.

Output

  • API Keys - Array of API key objects, each containing:
    • name - Key name
    • label - Display label
    • limit - Credit limit
    • disabled - Whether disabled
    • created_at - Creation timestamp
    • updated_at - Last update timestamp
    • hash - Key hash identifier

Examples

Example: List All Active Keys

Input:

  • Connection Id: msg.connection

Output:

[
{
name: "Production Key",
label: "Production Key",
limit: 100.00,
disabled: false,
created_at: "2025-01-01T00:00:00Z",
updated_at: "2025-01-15T12:00:00Z",
hash: "abc123"
},
{
name: "Dev Key",
label: "Dev Key",
limit: 10.00,
disabled: false,
created_at: "2025-01-10T00:00:00Z",
updated_at: "2025-01-10T00:00:00Z",
hash: "def456"
}
]