kirha logo

Authentication

All Kirha API requests require an API key for authentication.

Create an account

Sign up at app.kirha.com to get started.

Create a project

Projects isolate your API usage, logs, and billing. Go to the Dashboard and create a new project.

Generate an API key

Inside your project, go to API Keys and generate a new key.

Using your API key

Pass the key as an environment variable when initializing the SDK:

import { Kirha } from "kirha";

const kirha = new Kirha({
  apiKey: process.env.KIRHA_API_KEY,
  vertical: "crypto",
});

Or include it in the Authorization header for HTTP requests:

Authorization: Bearer <your_api_key>

Keep your key safe

Never hardcode API keys in your source code. Use environment variables or a secrets manager.

Logs

Every API call is logged with request details, tool execution steps, and response data. Go to the Logs Dashboard to inspect your calls.

On this page