Skip to main content

Get API Key

Retrieves information about a specific API key by its hash. 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).
  • Hash - API key hash identifier. Required and cannot be empty.

Options

  • API Key - OpenRouter Provisioning API key credential.
warning

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

Output

  • API Key Info - API key information object 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: Get Key Details

Input:

  • Connection Id: msg.connection
  • Hash: "abc123"

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"
}