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.
Last updated