SpecOS SpecOS icon Documentation

API Keys

This document describes how to authenticate with the SpecRight API.

Authentication

All API requests require authentication using API keys. API keys are prefixed with sk_ and should be included in the Authorization header as a Bearer token.

Authorization: Bearer sk_your32characterhexkeyhere

Getting an API Key

  1. Log into your SpecRight account
  2. Navigate to Settings > API Keys
  3. Click "Create API Key" and provide a descriptive name
  4. Copy the generated key (it starts with sk_)
  5. Store the key securely - you won't be able to see it again

Usage Limits

API Keys can be set to have usage limits. The default is 0 (No Limit)

When you exceed your limit, you'll receive a 429 Too Many Requests error with rate limiting headers.