open connection

This block is part of the anthropic group and was last modified in core v15.0.0.

open connection v15.0.0

Create a connection to the Anthropic (Claude) API for use by Claude blocks.

In pins 6 + flow
  • flow
    flow
  • api key required
    value

    The Anthropic API key. For security, do not hardcode it; wire in a secure system setting via value_get_system_key_select.

  • default model
    value

    Default model for blocks using this connection. Defaults to claude-opus-4-8.

  • base url
    value

    Optional API base URL override.

  • currency
    value

    Reporting currency for the get usage block (default USD). Converted via ECB rates. • Suggestions: USD EUR GBP

  • daily cap (USD)
    number

    Daily spend cap in USD for this connection. Defaults to 5. (Per-user/entity caps will become system settings later.)

  • concurrency cap
    number

    Max concurrent in-flight calls for this connection. Defaults to 10.

Out pins 3 + flow
  • flow
    flow
  • success
    condition
  • connection
    anthropicconnection
  • error
    value

A typical wiring for open connection: a function trigger starts the flow; value feeds the api_key pin; the flow out pin feeds debug.

Studio canvas example for the open connection block: typical wiring for open connection.

Version history

Introduced in v15.0.0.


Back to anthropic Return to the main group to view all sub-groups Back to anthropic Return to the group to view all blocks within this group