API Documentation
Learn how to integrate with our API
API Version
v2
API Documentation
Version 2.0
Documentation Sections
Getting Started
Learn how to authenticate and make your first API request
Quick Start: Generate your API token from the Developer Settings page, then use the Bearer token in your Authorization header for all requests.
Authentication
Learn how to authenticate your API requests
Bearer Token
All API requests require authentication using a Bearer token. You can generate a token in your Developer Settings.
curl -X GET "https://dashboard.tensordock.com/api/v2/instances" \
-H "Authorization: Bearer YOUR_TOKEN"
Tip: Store your API tokens as environment variables and never commit them to version control.
Rate Limiting
API requests are limited to 100 requests per minute per organization. Rate limit headers are included in all responses.
Base URL
The base URL for all API requests
https://dashboard.tensordock.com/api/v2
Example Request
A complete example of making an authenticated request
curl -X GET "https://dashboard.tensordock.com/api/v2/instances" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example Response
The structure of a typical API response
{
"data": {
"type": "list",
"id": "instances",
"attributes": {
"instances": [
{
"type": "instance",
"id": "550e8400-e29b-41d4-a716-446655440000",
"attributes": {
"name": "My Instance",
"status": "running",
"region": "us-east-1"
}
}
]
}
}
}