AGISTRY DOCUMENTATION
  • Overview
    • Introduction
  • How Agistry works?
  • Roadmap
  • agistry hub
  • Dashboard
  • Create your first Agent
  • Manage your Agents
  • Triggers
  • Adapters & Modules
  • Workflows
  • API Keys
  • Enterprise
  • Framework
    • Core Concepts
    • Getting Started
    • Building and Deploying
  • Execution Model
    • SDK
      • Authentication
      • Adapter Calls
      • Design Flow
    • Adapters
      • Adapter Specification
      • Adapter Schema
      • Adapter Execution
  • Registry
    • Registry Design
    • Capability Matching
  • official links
    • Website
    • GitHub
  • X/Twitter
  • Telegram
Powered by GitBook
On this page
Export as PDF
  1. Execution Model
  2. SDK

Authentication

All requests to the Agistry must be authenticated using a Bearer Token Standard via the Authorization header.

How It Works

  • Every request must include a valid API token in the Authorization header.

  • Tokens are unique per user or integration.

  • If the token is missing or invalid, the API will return a 401 Unauthorized error.

Example Authorization

import { AdapterClient } from "agistry";

const client = new AdapterClient({
  baseUrl: 'https://api.agistry.ai',
  headers: {
    Authorization: `Bearer ${process.env.AGISTRY_API_KEY}`
  }
});

IMPORTANT: API keys grant full access to your account — treat them like passwords. Never expose them in public repos or frontend code.

Where to Get Your API Key? You can generate and manage your API keys from the Agistry Hub, available for early access users.

PreviousSDKNextAdapter Calls

Last updated 17 days ago