1

Prerequisites

You need an AgentRouter API key and the API base URL.

  • Create an API key with the Platform API type -- it is shown once, as <keyid>.<secret>. Copy it now.
  • Base URL https://api.tetrate.ai (or your tenant's). Set AGENTROUTER_API_KEY and optionally AGENTROUTER_BASE_URL in your environment.
2

Install

Install the tare CLI from the SDKs page, then authenticate with the API key you created above. Open the SDKs page

Install
# Set the key you created (printed once as <keyid>.<secret>):
export AGENTROUTER_API_KEY=<keyid>.<secret>
export AGENTROUTER_BASE_URL=https://api.tetrate.ai   # optional; defaults to prod
3

Your first call -- whoami

Resolve the identity behind your API key with a read-only GET /v1/me call. Copy the file below. Run the command below to call the API.

tare api whoami

← All languages · Download SDKs · API reference