Introduction
The Tank Registry API is a RESTful HTTP API for publishing, discovering, and downloading AI agent skills. It powers thetank CLI and is available for integration with custom tooling.
Base URL
All API endpoints are relative to the registry base URL:API Versioning
The API uses URL-based versioning with the/v1 prefix. This ensures backward compatibility as the API evolves.
- Current version:
v1 - Stability: Production-ready
- Breaking changes: Will result in a new version (e.g.,
/v2)
Request Format
All POST/PUT requests accept JSON payloads:Response Format
All responses return JSON with appropriate HTTP status codes:- 2xx: Success
- 4xx: Client errors (invalid input, auth required, not found)
- 5xx: Server errors
Success Response
Error Response
Rate Limiting
API keys have configurable rate limits:- Default: 1000 requests per day
- Headers: Rate limit info included in responses
Pagination
Endpoints that return lists support pagination:Page number (1-indexed)
Results per page (max 50)
Paginated Response
Skill Visibility
Skills can bepublic or private:
- Public: Visible to all users, discoverable in search
- Private: Only visible to publisher, organization members, or granted users
Scoped Packages
Skills can be scoped to organizations:- Format:
@org-slug/skill-name - Publishing: Requires organization membership
- Example:
@acme/internal-tools
Health Check
Check API availability:Error Codes
| Code | Meaning |
|---|---|
| 400 | Bad Request - Invalid input or malformed JSON |
| 401 | Unauthorized - Missing or invalid authentication |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource does not exist |
| 409 | Conflict - Resource already exists (e.g., version) |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Server-side failure |
Next Steps
Authentication
Learn how to authenticate with API keys
Skills API
Publish and manage skills
Search API
Discover skills with full-text search
Security Scanning
Understand security analysis endpoints