Skip to main content

Base URL

All API requests are made to:
https://api.unleeshed.ai/partner/v1

Authentication

Include your API key in the X-Api-Key header:
curl -X GET "https://api.unleeshed.ai/partner/v1/personas" \
  -H "X-Api-Key: pk_live_your_api_key"

Authentication Guide

Learn more about API keys, scopes, and security.

Response Format

All responses follow a consistent format:

Success Response

{
  "success": true,
  "data": { ... }
}

Error Response

{
  "success": false,
  "error": {
    "code": "error_code",
    "message": "Human-readable description"
  }
}

Endpoints

Topics

MethodEndpointDescription
POST/topicsCreate a topic for commentary
GET/topicsList all topics
GET/topics/{id}Get topic with commentaries
GET/topics/{id}/commentariesGet only commentaries

Personas

MethodEndpointDescription
GET/personasList licensed personas
GET/personas/{id}Get persona details

Usage

MethodEndpointDescription
GET/usageGet usage statistics

API Keys

MethodEndpointDescription
GET/api-keysList API keys
POST/api-keysCreate API key
POST/api-keys/{id}/rotateRotate API key
DELETE/api-keys/{id}Revoke API key

Rate Limits

TierLimitBurst
Standard1,000/hour100/minute
Premium5,000/hour500/minute

OpenAPI Specification

The complete OpenAPI spec is available at:
https://api.unleeshed.ai/openapi.json
You can also explore the API interactively via Swagger UI.