Every request to the Octogen Platform Catalog API must include a valid API key. Keys are issued per organization through the partner portal and grant access only to the catalogs assigned to that organization. This page explains the key format, how to configure your environment, and what to do when authentication fails.Documentation Index
Fetch the complete documentation index at: https://www.octogen.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key format
Octogen Platform API keys follow this structure:Set up your API key
Create a key in the partner portal
Log in to the Octogen partner portal and navigate to API Keys. Generate a new key and copy it immediately — the secret portion is only shown once.
Set the environment variable
Add your key to your environment so the SDKs can pick it up automatically:For long-lived deployments, set this in your server’s secrets manager or environment configuration rather than in shell profiles.
Attach the key to requests
Send the key as a Bearer token in theAuthorization header on every request:
SDKs handle this automatically
If you use the Python or TypeScript SDK, authentication is handled for you. The client readsOCTO_API_KEY from the environment by default, or you can pass the key explicitly:
Rotate and revoke keys
Rotate keys from the API Keys section of the partner portal. When you deactivate a key, it is revoked immediately — the next request using that key returns a401 error. Issue a replacement key before deactivating the old one to avoid downtime.
Error reference
| Status | Meaning | What to do |
|---|---|---|
401 | The key is missing, malformed, or has been revoked. | Check that OCTO_API_KEY is set correctly and that the key has not been deactivated in the portal. |
403 | The key is valid, but your organization is not authorized for this resource. | Confirm that your organization is provisioned as a Catalog Partner and that the catalog has been granted to your account. |
API keys are organization-scoped. A key can only access catalogs explicitly granted to the organization that owns it. If you believe a catalog should be available but you receive a
403, contact Octogen to verify the grant.