Platform Documentation
Copy Page
Barrack API Documentation
Platform Documentation
Getting Started
Authentication & Access
Account Management
API Keys
GPU Models
Regions
Instance
OS Images
Bootsource Management
Deploy Instance
Instance Management
Hibernation
View Instances
Billing
Credit Depletion & Resource Protection
SSH Keys
Add SSH Keys
Manage SSH Keys
Connecting to Your VM via SSH
Volumes
Overview
Create Volume
List and View Volumes
Attach Volumes
Detach Volumes
Clone Volumes
Resize Volume
Delete Volume
Advanced Configurations
Network And Security
Cloudinit Script
Startup Script
Firewall
Manage Firewall
Rules and Attachment
Snapshot
Overview
Manage Snapshots
Restore Snapshots
Custom Images
Overview
Create and Manage Images
Balance
Get credit balance
GET
Deploy Instance
Create a new instance
POST
Pricing
Get pricing information
GET
Get pricing information
POST
Instances
List instances
GET
Delete instance
DELETE
Hibernate instance
POST
Reboot instance
POST
Restore hibernated instance
POST
Start instance
POST
Stop instance
POST
Toggle public IP for instance
POST
Get instance details
GET
Get firewalls attached to instance
GET
Add instance security rule
POST
Remove instance security rule
DELETE
Get instance billing
GET
List Instance eligible for snapshot creation
GET
SSH Keys
List SSH keys
Create SSH key
Get SSH key
Delete SSH key
Volumes
Attach volumes to instance
Detach volumes from instance
List volumes
Create volume
Get volume details
Delete volume
Clone volume
Resize volume
Get volume billing
List available volume types
Scripts
List all startup scripts
Create a startup script
Get startup script details
Update a startup script
Delete a startup script
Delete multiple startup scripts
Snapshots
Create snapshot
List snapshots
Get snapshot details
Delete snapshot
Restore snapshot
Get snapshot billing
Images
List custom images
Get image details
Delete custom image
List OS images
Create image from snapshot
Get snapshot-image relationship
Get snapshot-image relationship list
Firewalls
List firewalls
Get firewall details
Attach firewall to instances
Delete firewall
Remove firewall rule
Add firewall rule
Create firewall
List instances available for firewall attachment
Get supported protocols
GPU Stocks
Get GPU stock availability
GPU Specs
Get GPU specifications
Regions
List available regions
Schemas
AddFirewallRuleRequest
APIKeyResponse
AddFirewallRuleResponse
AddVMSecurityRuleResponse
AttachFirewallRequest
AggregatedBillingResponse
AttachFirewallResponse
AttachVolumesRequest
AttachVolumesResponse
AttachedFirewall
BatchSnapshotImageRelationshipResponse
Balance
Billing
ChatCompletionsRequest
ChatCompletionsResponse
CloneVolumeRequest
BillingRecord
BillingBreakdown
CloneVolumeResponse
BillingSummary
CreateFirewallRequest
CreateFirewallResponse
BootSourceEnum
CreateImageFromSnapshotRequest
BulkDeleteResponse
CreateSSHKeyRequest
CreateScriptRequest
CreateSnapshotRequest
CreateSnapshotResponse
CreateSSHKeyResponse
ComputeBilling
CurrencyEnum
Data
CreditBalanceResponse
CreateAPIKeyRequest
DeleteFirewallResponse
CreateVolumeRequest
CreateAPIKeyRequestTierEnum
DeleteSnapshotResponse
CreateVolumeResponse
CreateAPIKeyResponse
DeleteVMResponse
DetachVolumesRequest
DetachVolumesResponse
DeploymentRequest
DirectionEnum
DeploymentResponse
CreateSnapshotData
EthertypeEnum
ErrorResponse
FirewallAttachment
DeleteVolumeResponse
DeleteSSHKeyResponse
FirewallEnvironment
FirewallResponse
FirewallRule
FirewallVM
DataVolumeBilling
GetBatchSnapshotImageRelationshipsRequest
GetFirewallDetailsResponse
GPUStockConfiguration
GPUSpec
GetHibernatedVMsResponse
GPUStockItem
GPUSpecsResponse
GetSupportedProtocolsResponse
GPUStocksResponse
GetVMAttachedFirewallsResponse
DeploymentData
DeleteAPIKeyResponse
GetVolumeTypesResponse
HibernateVMResponse
HibernationBillingMetrics
ListFirewallsResponse
ListUserVMsResponse
ListVMsResponse
DeploymentDataStatusEnum
ModelsResponse
GetSSHKeysResponse
Pagination
PricingRequest
OSImage
Deposit
PricingResponse
OSImagesResponse
DepositStatusEnum
Protocol
GpuCountEnum
FirewallInstance
ProtocolEnum
Image
GpuModelEnum
GetVolumeDetailsResponse
RebootVMResponse
ImageCreateResponse
RecentHibernation
ImageDeleteResponse
GetVolumesWithNextNameResponse
RemoveFirewallRuleResponse
ImageDetailResponse
RemoveVMSecurityRuleResponse
Region
ImageListResponse
ResizeVolumeRequest
RegionsResponse
Price
ResizeVolumeResponse
ResourceTypeEnum
RestoreSnapshotRequest
RestoreSnapshotResponse
GetSSHKeyDetailResponse
RestoreVMResponse
Snapshot
SnapshotImageRelationshipResponse
GetSnapshotDetailsResponse
Specs
StartVMResponse
GpuBilling
StopVMResponse
TierEnum
UpdateScriptRequest
UsageHistoryResponse
UsageSummaryResponse
RegionEnum
UserVM
VMDetailsResponse
VMFlavor
InstanceFeatures
VMImage
InstanceSpecs
VMInstance
IpStatusEnum
VMResponse
SpecsMetadata
VMSecurityRule
VMSecurityRuleRequest
VMStatus
VMVolumeAttachment
Script
ListFirewallInstancesResponse
VolumeTypeEnum
SSHKeyResponse
ScriptListResponse
OsVolume
ListSnapshotsResponse
ListVMsForSnapshotResponse
ListAPIKeysResponse
PricingRequestVolumeTypeEnum
ToggleVMPublicIPResponse
PatchedDeposit
PatchedTransaction
PaymentMethodEnum
VolumeBillingRecord
VolumeBillingSummary
VolumeHourlyBillingResponse
SecurityRule
ScriptCreateResponse
RestoreSnapshotData
ScriptDeleteResponse
ScriptDetailResponse
VolumeResponse
ScriptUpdateResponse
StatusEnum
StorageBilling
SnapshotBillingRecord
SnapshotBillingResponse
SnapshotBillingSummary
SnapshotDetail
SnapshotListItem
SnapshotVMResponse
Tier528Enum
TokenObtainPair
TokenRefresh
Transaction
VolumeCreate
TransactionTypeEnum
VolumeCreateVolumeTypeEnum
VolumeRate
UserProfile
VMDetailVolumeAttachment
VMOperations
VMSpecs
VolumeTypeItem
VolumeTypesByTier
Platform Documentation
Copy Page
Authentication & Access
Multiple secure ways to access your account and manage your GPU-accelerated virtual machines.
Email & Password
Traditional login
with your registered email and password
Features:
Secure password-based authentication
Password recovery available via email
OTP-based password reset
Login at:
barrack.ai/login
OTP Login
Secure one-time password
login via email
Features:
Enhanced security with temporary codes
No password storage required
6-digit verification code
10-minute code expiration
Google OAuth
Quick sign-in
with your Google account
Features:
Single sign-on convenience
No additional password required
Leverages Google's security infrastructure
Instant account access
Password Recovery
OTP-based password reset
with secure verification
Features:
Email verification with 6-digit code
10-minute code validity
Secure password reset process
Immediate access after reset
Login Methods
#
Email & Password Login
#
1
Access Login Page
Navigate to
barrack.ai/login
2
Enter Credentials
Enter your registered email address
Enter your password
3
Access Dashboard
Successfully log in to your
dashboard
OTP (One-Time Password) Login
#
1
Request OTP
Navigate to
login page
Click "Sign in with OTP"
Enter your registered email address
2
Check Email
Check your email inbox for the 6-digit OTP code
The code is valid for 10 minutes
Codes are single-use only
3
Enter OTP
Return to the login page
Enter the 6-digit OTP code
Click "Verify and Login"
4
Access Account
Successfully access your account with enhanced security
Google OAuth Login
#
1
Initiate OAuth
Navigate to
login page
Click "Continue with Google"
You'll be redirected to Google's authentication
2
Google Authentication
Log in to your Google account if not already logged in
Review and accept the permissions requested
Authorize Barrack to access your basic profile information
3
Return to Platform
You'll be automatically redirected back to Barrack
Your account will be created or accessed automatically
Access your dashboard immediately
Password Recovery
#
If you forget your password:
1
Access Recovery
Go to the
login page
Click "Forgot Password?"
Enter your registered email address
2
Receive OTP Code
Check your email for a 6-digit verification code
The code is valid for 10 minutes
Code is single-use only
3
Reset Password
Enter the 6-digit verification code
Enter your new password
Confirm your new password
4
Complete Reset
Password reset is complete
You will be automatically logged in
Access your dashboard immediately
Account Setup
#
For account creation and profile setup, see our
Getting Started Guide
.
Profile Requirements:
Complete billing information (name, address, country) is required before deploying virtual machines or using platform features.
Troubleshooting Authentication Issues
#
Forgotten Password
OTP Not Received
OAuth Issues
Account Locked
OTP Expired
Problem:
Can't remember your password
Solution:
1.
Use the "Forgot Password?" link on
login page
2.
Enter your registered email address
3.
Check email for 6-digit verification code (valid 10 minutes)
4.
Enter the code and create a new password
Support
#
If you continue to experience authentication issues:
Email Support
Contact our support team
Include in your message:
Your registered email address
Description of the issue
Steps you've already tried
Any error messages received
Account Recovery
For serious account issues
Our team can help with:
Account recovery assistance
Email address verification
Security concern resolution
Identity verification
Previous
Getting Started
Next
Account Management