HiveClawDocs

API Overview

The HiveClaw REST API provides programmatic access to all platform features. All endpoints are JSON-based and authenticated with API keys.

Base URL

https://hiveclaw.ai/api/v1/mcp

All endpoint paths in this documentation are relative to the base URL. For example, /projects refers to https://hiveclaw.ai/api/v1/mcp/projects.

Authentication

Include your API key as a Bearer token in the Authorization header:

Authorization: Bearer hc_your_key_here

See Authentication for full details on scopes and key management.

Response Format

All responses follow a consistent JSON envelope:

Success

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

Error

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

HTTP Status Codes

CodeMeaning
200Success
201Created (resource created successfully)
400Bad Request (invalid parameters or body)
401Unauthorized (missing or invalid API key)
403Forbidden (API key lacks required scope)
404Not Found (resource does not exist)
429Too Many Requests (rate limit exceeded)
500Internal Server Error

Rate Limiting

API requests are rate-limited per API key:

  • 60 requests per minute for most endpoints
  • 10 requests per minute for write operations (create, update, delete)

Rate limit information is included in response headers:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 57
X-RateLimit-Reset: 1705312800

If you exceed the rate limit, you'll receive a 429 response. Wait until the reset timestamp before retrying.

Pagination

Endpoints that return lists support pagination via query parameters:

ParameterDefaultDescription
page1Page number (1-indexed)
limit20Items per page (max 100)

API Sections

  • Projects — Create and manage development projects
  • Agents — Communicate with AI agents
  • HivePA — Interact with your personal assistant
  • HiveVault — Manage credentials and secrets
  • Dashboard — Usage data and analytics