# Hyperstack API Reference > Every page of the Hyperstack API reference. Endpoint entries give the HTTP method and path. ## Overview - [Hyperstack API Reference](https://docs.hyperstack.cloud/docs/api-reference/introduction): The Hyperstack API is a REST API for deploying and managing GPU infrastructure on the Hyperstack cloud, provision virtual machines, manage volumes, configure networking, and access billing data programmatically. - [Quickstart](https://docs.hyperstack.cloud/docs/api-reference/quickstart): Deploy and connect to your first Hyperstack GPU virtual machine using the API. - [Authentication](https://docs.hyperstack.cloud/docs/api-reference/authentication): How to generate, use, and rotate Hyperstack API keys. - [Errors](https://docs.hyperstack.cloud/docs/api-reference/errors): Status codes, response shape, and common causes for Hyperstack API errors. - [Pagination](https://docs.hyperstack.cloud/docs/api-reference/pagination): How to page through list endpoints in the Hyperstack API. - [Rate Limits](https://docs.hyperstack.cloud/docs/api-reference/rate-limits): Rate limits, headers, and backoff guidance for the Hyperstack API. ## Core - [Core API](https://docs.hyperstack.cloud/docs/api-reference/section-core): The Core section covers Hyperstack's compute, storage, networking, and Kubernetes resources. These endpoints let you deploy and manage the resources you run workloads on, plus the provisioning profiles that automate VM setup. ## Core › Dashboard - [Dashboard](https://docs.hyperstack.cloud/docs/api-reference/dashboard) - [Retrieve Dashboard](https://docs.hyperstack.cloud/docs/api-reference/get-dashboard): `GET /core/dashboard` ## Core › Stock - [Stock](https://docs.hyperstack.cloud/docs/api-reference/stock) - [Retrieve GPU stocks](https://docs.hyperstack.cloud/docs/api-reference/get-gpu-stock): `GET /core/stocks` ## Core › Environment - [Environment](https://docs.hyperstack.cloud/docs/api-reference/environment) - [Create environment](https://docs.hyperstack.cloud/docs/api-reference/create-environment): `POST /core/environments` - [List environments](https://docs.hyperstack.cloud/docs/api-reference/list-environments): `GET /core/environments` - [Get environment VM quota](https://docs.hyperstack.cloud/docs/api-reference/get-environment-vm-quota): `GET /core/environments/{id}/vm-quota` - [Retrieve environment](https://docs.hyperstack.cloud/docs/api-reference/get-environment): `GET /core/environments/{id}` - [Delete environment](https://docs.hyperstack.cloud/docs/api-reference/delete-environment): `DELETE /core/environments/{id}` - [Update environment](https://docs.hyperstack.cloud/docs/api-reference/update-environment): `PUT /core/environments/{id}` - [Fetch environment name availability](https://docs.hyperstack.cloud/docs/api-reference/fetch-environment-name-availability): `GET /core/environments/name-availability/{name}` ## Core › Virtual Machine - [Virtual Machine](https://docs.hyperstack.cloud/docs/api-reference/virtual-machine) ### Core - [List virtual machines](https://docs.hyperstack.cloud/docs/api-reference/list-vms): `GET /core/virtual-machines` - [Create virtual machines](https://docs.hyperstack.cloud/docs/api-reference/create-vms): `POST /core/virtual-machines` - [Retrieve virtual machine details](https://docs.hyperstack.cloud/docs/api-reference/get-vm): `GET /core/virtual-machines/{vm_id}` - [Delete virtual machine](https://docs.hyperstack.cloud/docs/api-reference/delete-vm): `DELETE /core/virtual-machines/{vm_id}` - [Fetch virtual machine name availability](https://docs.hyperstack.cloud/docs/api-reference/check-vm-name-availability): `GET /core/virtual-machines/name-availability/{name}` ### Lifecycle - [Start virtual machine](https://docs.hyperstack.cloud/docs/api-reference/start-vm): `GET /core/virtual-machines/{vm_id}/start` - [Stop virtual machine](https://docs.hyperstack.cloud/docs/api-reference/stop-vm): `GET /core/virtual-machines/{vm_id}/stop` - [Hard reboot virtual machine](https://docs.hyperstack.cloud/docs/api-reference/hard-reboot-vm): `GET /core/virtual-machines/{vm_id}/hard-reboot` - [Hibernate virtual machine](https://docs.hyperstack.cloud/docs/api-reference/hibernate-vm): `GET /core/virtual-machines/{vm_id}/hibernate` - [Restore virtual machine from hibernation](https://docs.hyperstack.cloud/docs/api-reference/restore-vm-from-hibernation): `GET /core/virtual-machines/{vm_id}/hibernate-restore` ### Networking & Firewalls - [Attach firewalls to VMs](https://docs.hyperstack.cloud/docs/api-reference/attach-firewall-to-vms): `POST /core/firewalls/{firewall_id}/update-attachments` - [Attach firewalls to a virtual machine](https://docs.hyperstack.cloud/docs/api-reference/attach-firewalls-to-vm): `POST /core/virtual-machines/{vm_id}/attach-firewalls` - [Add firewall rule to virtual machine](https://docs.hyperstack.cloud/docs/api-reference/create-firewall-rule-for-vm): `POST /core/virtual-machines/{vm_id}/sg-rules` - [Delete firewall rule from virtual machine](https://docs.hyperstack.cloud/docs/api-reference/delete-firewall-rule-for-vm): `DELETE /core/virtual-machines/{vm_id}/sg-rules/{sg_rule_id}` ### Monitoring - [List virtual machine events](https://docs.hyperstack.cloud/docs/api-reference/list-vm-events): `GET /core/virtual-machines/{vm_id}/events` - [Request virtual machine logs](https://docs.hyperstack.cloud/docs/api-reference/request-vm-logs): `POST /core/virtual-machines/{vm_id}/logs` - [Get virtual machine logs](https://docs.hyperstack.cloud/docs/api-reference/get-vm-logs): `GET /core/virtual-machines/{vm_id}/logs` - [Retrieve virtual machine performance metrics](https://docs.hyperstack.cloud/docs/api-reference/get-vm-metrics): `GET /core/virtual-machines/{vm_id}/metrics` - [Update Enhanced Monitoring for a virtual machine](https://docs.hyperstack.cloud/docs/api-reference/update-enhanced-monitoring-for-a-virtual-machine): `PATCH /core/virtual-machines/{vm_id}/enhanced-metrics` ### Configuration - [Edit virtual machine labels](https://docs.hyperstack.cloud/docs/api-reference/add-vm-label): `PUT /core/virtual-machines/{vm_id}/label` - [Create snapshot from a virtual machine](https://docs.hyperstack.cloud/docs/api-reference/create-snapshot-for-vm): `POST /core/virtual-machines/{vm_id}/snapshots` - [Resize virtual machine](https://docs.hyperstack.cloud/docs/api-reference/resize-vm): `POST /core/virtual-machines/{vm_id}/resize` - [Retrieve virtual machines associated with a contract](https://docs.hyperstack.cloud/docs/api-reference/get-contract-vms): `GET /core/virtual-machines/contract/{contract_id}/virtual-machines` ## Core › Flavor - [Flavor](https://docs.hyperstack.cloud/docs/api-reference/flavor) - [List Flavors](https://docs.hyperstack.cloud/docs/api-reference/list-flavors): `GET /core/flavors` ## Core › Image - [Image](https://docs.hyperstack.cloud/docs/api-reference/image) - [List Images](https://docs.hyperstack.cloud/docs/api-reference/list-images): `GET /core/images` - [Get private image details](https://docs.hyperstack.cloud/docs/api-reference/get-image): `GET /core/images/{id}` - [Delete an image](https://docs.hyperstack.cloud/docs/api-reference/delete-image): `DELETE /core/images/{id}` - [Fetch name availability for Images](https://docs.hyperstack.cloud/docs/api-reference/fetch-image-name-availability): `GET /core/image/name-availability/{name}` ## Core › Keypair - [Keypair](https://docs.hyperstack.cloud/docs/api-reference/keypair) - [Import key pair](https://docs.hyperstack.cloud/docs/api-reference/import-key-pair): `POST /core/keypairs` - [List key pairs](https://docs.hyperstack.cloud/docs/api-reference/list-key-pairs): `GET /core/keypairs` - [List supported key pair types](https://docs.hyperstack.cloud/docs/api-reference/list-supported-key-pair-types): `GET /core/supported-keypairs` - [Delete key pair](https://docs.hyperstack.cloud/docs/api-reference/delete-key-pair): `DELETE /core/keypair/{id}` - [Update key pair name](https://docs.hyperstack.cloud/docs/api-reference/update-key-pair-name): `PUT /core/keypair/{id}` ## Core › VNC URL - [VNC URL](https://docs.hyperstack.cloud/docs/api-reference/vnc-url) - [Get VNC console link](https://docs.hyperstack.cloud/docs/api-reference/get-vnc-url): `GET /core/virtual-machines/{vm_id}/console/{job_id}` - [Request instance console](https://docs.hyperstack.cloud/docs/api-reference/request-vm-console): `GET /core/virtual-machines/{vm_id}/request-console` ## Core › Volume - [Volume](https://docs.hyperstack.cloud/docs/api-reference/volume) - [Create volume](https://docs.hyperstack.cloud/docs/api-reference/create-volume): `POST /core/volumes` - [List volume types](https://docs.hyperstack.cloud/docs/api-reference/list-volume-types): `GET /core/volume-types` - [List volumes](https://docs.hyperstack.cloud/docs/api-reference/list-volumes): `GET /core/volumes` - [Fetch volume details](https://docs.hyperstack.cloud/docs/api-reference/get-volume): `GET /core/volumes/{volume_id}` - [Delete volume](https://docs.hyperstack.cloud/docs/api-reference/delete-volume): `DELETE /core/volumes/{volume_id}` - [Update volume fields](https://docs.hyperstack.cloud/docs/api-reference/update-volume): `PATCH /core/volumes/{volume_id}` - [Fetch volume name availability](https://docs.hyperstack.cloud/docs/api-reference/fetch-volume-name-availability): `GET /core/volume/name-availability/{name}` ## Core › Volume Attachment - [Volume Attachment](https://docs.hyperstack.cloud/docs/api-reference/volume-attachment) - [Attach volumes to virtual machine](https://docs.hyperstack.cloud/docs/api-reference/attach-volumes-to-vm): `POST /core/virtual-machines/{vm_id}/attach-volumes` - [Detach volumes from virtual machine](https://docs.hyperstack.cloud/docs/api-reference/detach-volumes-from-vm): `POST /core/virtual-machines/{vm_id}/detach-volumes` - [Update a volume attachment](https://docs.hyperstack.cloud/docs/api-reference/update-volume-attachment): `PATCH /core/volume-attachments/{volume_attachment_id}` ## Core › GPU - [GPU](https://docs.hyperstack.cloud/docs/api-reference/gpu) - [List GPUs](https://docs.hyperstack.cloud/docs/api-reference/list-gpus): `GET /core/gpus` ## Core › Callbacks - [Callbacks](https://docs.hyperstack.cloud/docs/api-reference/callbacks) ### Virtual Machines - [Attach callback to virtual machine](https://docs.hyperstack.cloud/docs/api-reference/attach-callback-to-vm): `POST /core/virtual-machines/{vm_id}/attach-callback` - [Update virtual machine callback](https://docs.hyperstack.cloud/docs/api-reference/update-vm-callback): `PUT /core/virtual-machines/{vm_id}/update-callback` - [Delete virtual machine callback](https://docs.hyperstack.cloud/docs/api-reference/delete-vm-callback): `DELETE /core/virtual-machines/{vm_id}/delete-callback` ### Volumes - [Attach callback to volume](https://docs.hyperstack.cloud/docs/api-reference/attach-callback-to-volume): `POST /core/volumes/{volume_id}/attach-callback` - [Update volume callback](https://docs.hyperstack.cloud/docs/api-reference/update-volume-callback): `PUT /core/volumes/{volume_id}/update-callback` - [Delete volume callback](https://docs.hyperstack.cloud/docs/api-reference/delete-volume-callback): `DELETE /core/volumes/{volume_id}/delete-callback` ## Core › Floating IP - [Floating IP](https://docs.hyperstack.cloud/docs/api-reference/floating-ip) - [Attach public IP to virtual machine](https://docs.hyperstack.cloud/docs/api-reference/attach-public-ip-to-vm): `POST /core/virtual-machines/{vm_id}/attach-floatingip` - [Detach public IP from virtual machine](https://docs.hyperstack.cloud/docs/api-reference/detach-public-ip-from-vm): `POST /core/virtual-machines/{vm_id}/detach-floatingip` ## Core › Region - [Region](https://docs.hyperstack.cloud/docs/api-reference/region) - [List Regions](https://docs.hyperstack.cloud/docs/api-reference/list-regions): `GET /core/regions` ## Core › Profile - [Profile](https://docs.hyperstack.cloud/docs/api-reference/profile) - [Create profile](https://docs.hyperstack.cloud/docs/api-reference/create-profile): `POST /core/profiles` - [List profiles](https://docs.hyperstack.cloud/docs/api-reference/list-profiles): `GET /core/profiles` - [Retrieve profile details](https://docs.hyperstack.cloud/docs/api-reference/get-profile): `GET /core/profiles/{id}` - [Delete profile](https://docs.hyperstack.cloud/docs/api-reference/delete-profile): `DELETE /core/profiles/{id}` ## Core › Clusters - [Clusters](https://docs.hyperstack.cloud/docs/api-reference/clusters) ### Core - [Create Cluster](https://docs.hyperstack.cloud/docs/api-reference/create-cluster): `POST /core/clusters` - [List Clusters](https://docs.hyperstack.cloud/docs/api-reference/list-clusters): `GET /core/clusters` - [Get cluster details](https://docs.hyperstack.cloud/docs/api-reference/getting-cluster-detail): `GET /core/clusters/{id}` - [Delete a cluster](https://docs.hyperstack.cloud/docs/api-reference/delete-cluster): `DELETE /core/clusters/{id}` - [Reconcile a cluster](https://docs.hyperstack.cloud/docs/api-reference/reconcile-cluster): `POST /core/clusters/{cluster_id}/reconcile` - [Restore a hibernated cluster](https://docs.hyperstack.cloud/docs/api-reference/restore-cluster): `POST /core/clusters/{cluster_id}/restore` - [List cluster versions](https://docs.hyperstack.cloud/docs/api-reference/get-cluster-versions): `GET /core/clusters/versions` - [Get cluster master flavors](https://docs.hyperstack.cloud/docs/api-reference/get-cluster-master-flavors): `GET /core/clusters/master-flavors` - [Fetch cluster name availability](https://docs.hyperstack.cloud/docs/api-reference/fetch-cluster-name-availability): `GET /core/clusters/name-availability/{name}` ### Nodes - [Create Node](https://docs.hyperstack.cloud/docs/api-reference/create-node): `POST /core/clusters/{cluster_id}/nodes` - [Get cluster nodes](https://docs.hyperstack.cloud/docs/api-reference/get-cluster-nodes): `GET /core/clusters/{cluster_id}/nodes` - [Delete cluster node](https://docs.hyperstack.cloud/docs/api-reference/delete-cluster-node): `DELETE /core/clusters/{cluster_id}/nodes/{node_id}` - [Delete multiple cluster nodes](https://docs.hyperstack.cloud/docs/api-reference/delete-cluster-nodes): `POST /core/clusters/{cluster_id}/nodes/delete` ### Node Groups - [Create a node group in a cluster](https://docs.hyperstack.cloud/docs/api-reference/create-node-group): `POST /core/clusters/{cluster_id}/node-groups` - [List node groups for a cluster](https://docs.hyperstack.cloud/docs/api-reference/list-node-groups): `GET /core/clusters/{cluster_id}/node-groups` - [Retrieve a node group in a cluster](https://docs.hyperstack.cloud/docs/api-reference/get-node-group): `GET /core/clusters/{cluster_id}/node-groups/{node_group_id}` - [Update a node group in a cluster](https://docs.hyperstack.cloud/docs/api-reference/update-node-group): `PATCH /core/clusters/{cluster_id}/node-groups/{node_group_id}` - [Delete a node group](https://docs.hyperstack.cloud/docs/api-reference/delete-node-group): `DELETE /core/clusters/{cluster_id}/node-groups/{node_group_id}` ### Monitoring - [Fetch all of a cluster events](https://docs.hyperstack.cloud/docs/api-reference/list-cluster-events): `GET /core/clusters/{cluster_id}/events` ## Core › Firewalls - [Firewalls](https://docs.hyperstack.cloud/docs/api-reference/firewalls) ### Core - [Create firewall](https://docs.hyperstack.cloud/docs/api-reference/create-firewall): `POST /core/firewalls` - [List firewalls](https://docs.hyperstack.cloud/docs/api-reference/list-existing-firewalls): `GET /core/firewalls` - [Retrieve firewall details](https://docs.hyperstack.cloud/docs/api-reference/get-firewall): `GET /core/firewalls/{id}` - [Delete firewall](https://docs.hyperstack.cloud/docs/api-reference/delete-existing-firewall): `DELETE /core/firewalls/{id}` ### Rules - [List firewall rule protocols](https://docs.hyperstack.cloud/docs/api-reference/list-firewall-rule-protocols): `GET /core/sg-rules-protocols` - [Add firewall rule to firewall](https://docs.hyperstack.cloud/docs/api-reference/add-rule-to-firewall): `POST /core/firewalls/{firewall_id}/firewall-rules` - [Delete firewall rules from firewall](https://docs.hyperstack.cloud/docs/api-reference/delete-rule-from-firewall): `DELETE /core/firewalls/{firewall_id}/firewall-rules/{firewall_rule_id}` ## Core › Resource Defaults - [Resource Defaults](https://docs.hyperstack.cloud/docs/api-reference/user-detail-choice) - [Retrieve default flavors and images](https://docs.hyperstack.cloud/docs/api-reference/list-default-flavors-and-images): `GET /core/user/resources/defaults` ## Core › Snapshots - [Snapshots](https://docs.hyperstack.cloud/docs/api-reference/snapshots) - [Create an image from a snapshot](https://docs.hyperstack.cloud/docs/api-reference/create-custom-image): `POST /core/snapshots/{snapshot_id}/image` - [Retrieve a snapshot](https://docs.hyperstack.cloud/docs/api-reference/get-snapshot): `GET /core/snapshots/{id}` - [Retrieve list of snapshots with pagination](https://docs.hyperstack.cloud/docs/api-reference/list-snapshots): `GET /core/snapshots` - [Delete snapshot](https://docs.hyperstack.cloud/docs/api-reference/delete-snapshot): `DELETE /core/snapshots/{id}` - [Restore a snapshot](https://docs.hyperstack.cloud/docs/api-reference/restore-snapshot): `POST /core/snapshots/{id}/restore` - [Fetch all events for a snapshot](https://docs.hyperstack.cloud/docs/api-reference/list-snapshot-events): `GET /core/snapshots/{snapshot_id}/events` - [Fetch snapshot name availability](https://docs.hyperstack.cloud/docs/api-reference/fetch-snapshot-name-availability): `GET /core/snapshots/name-availability/{name}` ## Object Storage - [Object Storage API](https://docs.hyperstack.cloud/docs/api-reference/section-object-storage): The Object Storage section covers Hyperstack's S3-compatible storage. These endpoints let you inspect buckets and manage the access keys that authenticate SDKs against the storage service. ## Object Storage › Access Keys - [Access Keys](https://docs.hyperstack.cloud/docs/api-reference/access-keys) - [Generate a new access key](https://docs.hyperstack.cloud/docs/api-reference/create-access-key-endpoint): `POST /object-storage/access-keys` - [List access keys](https://docs.hyperstack.cloud/docs/api-reference/list-access-keys-endpoint): `GET /object-storage/access-keys` - [Rename an access key](https://docs.hyperstack.cloud/docs/api-reference/update-access-key-endpoint): `PATCH /object-storage/access-keys/{access_key_id}` - [Remove an existing access key](https://docs.hyperstack.cloud/docs/api-reference/delete-access-key-endpoint): `DELETE /object-storage/access-keys/{access_key_id}` ## Object Storage › Buckets - [Buckets](https://docs.hyperstack.cloud/docs/api-reference/buckets) - [List buckets](https://docs.hyperstack.cloud/docs/api-reference/list-buckets-endpoint): `GET /object-storage/buckets` - [Retrieve a bucket](https://docs.hyperstack.cloud/docs/api-reference/retrieve-bucket-endpoint): `GET /object-storage/buckets/{bucket_name}` - [Delete a bucket](https://docs.hyperstack.cloud/docs/api-reference/delete-bucket-endpoint): `DELETE /object-storage/buckets/{bucket_name}` ## Object Storage › Health - [Health](https://docs.hyperstack.cloud/docs/api-reference/health) - [Object storage health check](https://docs.hyperstack.cloud/docs/api-reference/healthz-endpoint): `GET /object-storage/healthz` ## Object Storage › Object Storage Regions - [Object Storage Regions](https://docs.hyperstack.cloud/docs/api-reference/regions) - [Get a list of supported regions](https://docs.hyperstack.cloud/docs/api-reference/list-regions-endpoint): `GET /object-storage/regions` ## AI Studio - [AI Studio API Reference](https://docs.hyperstack.cloud/docs/api-reference/section-ai-studio): AI Studio provides OpenAI-compatible inference on a catalog of text and image models. These endpoints let you list models, run inference, generate images, manage conversations and system prompts, and build knowledge bases. ## Organization & Access - [Organization & Access API](https://docs.hyperstack.cloud/docs/api-reference/section-organization-and-access): The Organization & Access section covers authentication, API keys, members, and the RBAC roles, policies, and permissions you assign to them. These endpoints let you provision your team and control what each member can do. ## Organization & Access › Auth - [Auth](https://docs.hyperstack.cloud/docs/api-reference/auth) - [Get user organizations](https://docs.hyperstack.cloud/docs/api-reference/get-user-organizations): `GET /auth/me/organizations` - [Retrieve authenticated user details](https://docs.hyperstack.cloud/docs/api-reference/get-authenticated-user): `GET /auth/me` - [Disable MFA on the calling user](https://docs.hyperstack.cloud/docs/api-reference/disable-mfa): `POST /auth/me/mfa/disable` - [Get MFA status for authenticated user](https://docs.hyperstack.cloud/docs/api-reference/get-user-mfa-status): `GET /auth/me/mfa` - [Switch organization](https://docs.hyperstack.cloud/docs/api-reference/change-organization-for-token): `GET /auth/token/change-org/{org_id}` ## Organization & Access › Organization - [Organization](https://docs.hyperstack.cloud/docs/api-reference/organization) - [Retrieve organization information](https://docs.hyperstack.cloud/docs/api-reference/retrieve-organization-information): `GET /auth/organizations` - [Remove organization member](https://docs.hyperstack.cloud/docs/api-reference/remove-organization-member): `POST /auth/organizations/remove-member` - [Update organization information](https://docs.hyperstack.cloud/docs/api-reference/update-organization-information): `PUT /auth/organizations/update` ## Organization & Access › API Key - [API Key](https://docs.hyperstack.cloud/docs/api-reference/api-key) - [Generate API key](https://docs.hyperstack.cloud/docs/api-reference/generate-api-key): `POST /api-key/generate` - [Retrieve API keys](https://docs.hyperstack.cloud/docs/api-reference/get-api-key): `GET /api-key` - [Delete API key](https://docs.hyperstack.cloud/docs/api-reference/delete-api-key): `DELETE /api-key/{api_key_id}` - [Update API key](https://docs.hyperstack.cloud/docs/api-reference/update-api-key): `PUT /api-key/{api_key_id}` ## Organization & Access › Invite - [Invite](https://docs.hyperstack.cloud/docs/api-reference/invite) - [List Invites](https://docs.hyperstack.cloud/docs/api-reference/list-invites): `GET /auth/invites` - [Delete Invite](https://docs.hyperstack.cloud/docs/api-reference/delete-invite): `DELETE /auth/invites/{id}` - [Accept Invite](https://docs.hyperstack.cloud/docs/api-reference/accept-invite): `GET /auth/invites/{id}/accept` - [Invite user to organization](https://docs.hyperstack.cloud/docs/api-reference/invite-user-to-organization): `POST /auth/invites` ## Organization & Access › Permission - [Permission](https://docs.hyperstack.cloud/docs/api-reference/permission) - [List Permissions](https://docs.hyperstack.cloud/docs/api-reference/list-permissions): `GET /auth/permissions` ## Organization & Access › User Permission - [User Permission](https://docs.hyperstack.cloud/docs/api-reference/user-permission) - [List my user permissions](https://docs.hyperstack.cloud/docs/api-reference/list-my-user-permissions): `GET /auth/users/me/permissions` - [List user permissions](https://docs.hyperstack.cloud/docs/api-reference/list-user-permissions): `GET /auth/users/{id}/permissions` ## Organization & Access › Policy - [Policy](https://docs.hyperstack.cloud/docs/api-reference/policy) - [List Policies](https://docs.hyperstack.cloud/docs/api-reference/list-policies): `GET /auth/policies` ## Organization & Access › RBAC Role - [RBAC Role](https://docs.hyperstack.cloud/docs/api-reference/rbac-role) - [Create RBAC role](https://docs.hyperstack.cloud/docs/api-reference/create-rbac-role): `POST /auth/roles` - [List RBAC roles](https://docs.hyperstack.cloud/docs/api-reference/list-rbac-roles): `GET /auth/roles` - [Retrieve RBAC role details](https://docs.hyperstack.cloud/docs/api-reference/retrieve-rbac-role-details): `GET /auth/roles/{id}` - [Delete RBAC role](https://docs.hyperstack.cloud/docs/api-reference/delete-rbac-role): `DELETE /auth/roles/{id}` - [Update RBAC role](https://docs.hyperstack.cloud/docs/api-reference/update-rbac-role): `PUT /auth/roles/{id}` ## Organization & Access › Assigning Member Role - [Assigning Member Role](https://docs.hyperstack.cloud/docs/api-reference/assigning-member-role) - [Remove RBAC role from user](https://docs.hyperstack.cloud/docs/api-reference/remove-rbac-role-from-user): `DELETE /auth/users/{user_id}/roles` - [Assign RBAC role](https://docs.hyperstack.cloud/docs/api-reference/assign-rbac-role-to-user): `PUT /auth/users/{user_id}/assign-roles` ## Organization & Access › Consent - [Consent](https://docs.hyperstack.cloud/docs/api-reference/user-consent): Review and manage the consent decisions recorded on your account. - [List consents](https://docs.hyperstack.cloud/docs/api-reference/get-all-consents-for-a-user): `GET /auth/user-consent` - [Record a consent](https://docs.hyperstack.cloud/docs/api-reference/add-a-new-consent-for-a-user): `POST /auth/user-consent` - [List consent templates](https://docs.hyperstack.cloud/docs/api-reference/get-all-consent-templates): `GET /auth/user-consent/templates` - [Retrieve a consent template](https://docs.hyperstack.cloud/docs/api-reference/get-consent-template-by-type): `GET /auth/user-consent/templates/{consent_type}` - [Update a consent](https://docs.hyperstack.cloud/docs/api-reference/update-a-consent-action-by-type): `PATCH /auth/user-consent/{consent_type}` - [List consent history](https://docs.hyperstack.cloud/docs/api-reference/get-consent-audit-events): `GET /auth/user-consent-events/{consent_type}/events` ## Organization & Access › Email Preferences - [Email Preferences](https://docs.hyperstack.cloud/docs/api-reference/email-preferences): Read and update the email notifications Hyperstack sends to your account. - [List email preferences](https://docs.hyperstack.cloud/docs/api-reference/list-email-preferences): `GET /auth/email/opt-out` - [Update an email preference](https://docs.hyperstack.cloud/docs/api-reference/update-email-preference): `PUT /auth/email/opt-out/{slug}` - [Toggle all optional email preferences](https://docs.hyperstack.cloud/docs/api-reference/toggle-all-email-preferences): `PUT /auth/email/opt-out` ## Pricebook - [Pricebook API](https://docs.hyperstack.cloud/docs/api-reference/section-pricebook): The Pricebook section covers Hyperstack's pricing data and the long-term GPU reservation contracts that override standard pricing. These endpoints let you forecast spend, look up the rate applied to a running resource, and inspect the terms of an active contract. ## Pricebook › Pricebook - [Pricebook](https://docs.hyperstack.cloud/docs/api-reference/pricebook) - [Get the pricebook](https://docs.hyperstack.cloud/docs/api-reference/get-pricebook): `GET /pricebook` ## Pricebook › Calculate - [Calculate](https://docs.hyperstack.cloud/docs/api-reference/calculate) - [Retrieve billing rate for resource](https://docs.hyperstack.cloud/docs/api-reference/calculate-resource-billing-rate): `GET /pricebook/calculate/resource/{resource_type}/{id}` ## Pricebook › Customer Contract - [Customer Contract](https://docs.hyperstack.cloud/docs/api-reference/customer-contract) - [List Contracts](https://docs.hyperstack.cloud/docs/api-reference/list-customer-contracts): `GET /pricebook/contracts` - [Retrieve contract details](https://docs.hyperstack.cloud/docs/api-reference/retrieve-contract): `GET /pricebook/contracts/{contract_id}` - [Retrieve GPU allocation graph for contract](https://docs.hyperstack.cloud/docs/api-reference/get-contract-gpu-allocation-graph): `GET /pricebook/contracts/{contract_id}/gpu_allocation_graph` ## Billing - [Billing API](https://docs.hyperstack.cloud/docs/api-reference/section-billing): The Billing section covers historical spend, credit balance, payment top-ups, voucher redemption, and the billing details Hyperstack uses for invoicing. These endpoints let you reconcile costs, surface remaining credit, and add funds programmatically. ## Billing › Alive - [Alive](https://docs.hyperstack.cloud/docs/api-reference/alive) - [Alive](https://docs.hyperstack.cloud/docs/api-reference/get-alive): `GET /billing/alive` ## Billing › Billing - [Billing](https://docs.hyperstack.cloud/docs/api-reference/billing) ### Overview - [Billing usage](https://docs.hyperstack.cloud/docs/api-reference/get-usage): `GET /billing/billing/usage` - [Last day cost](https://docs.hyperstack.cloud/docs/api-reference/get-last-day-cost): `GET /billing/billing/last-day-cost` - [Retrieve Billing History for a specific Billing Cycle](https://docs.hyperstack.cloud/docs/api-reference/get-user-billing-history): `GET /billing/billing/history` ### Virtual Machines - [Get VM hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-vm-billing-graph): `GET /billing/billing/history/virtual-machine/{vm_id}/graph` - [Get sub-resource historical cost datapoints for a VM](https://docs.hyperstack.cloud/docs/api-reference/get-vm-sub-resource-graph): `GET /billing/billing/virtual-machine/{vm_id}/sub-resource/graph` - [Get total cost for VM sub-resources](https://docs.hyperstack.cloud/docs/api-reference/get-vm-sub-resource-costs): `GET /billing/billing/virtual-machine/{vm_id}/sub-resource` - [Get VM billing history](https://docs.hyperstack.cloud/docs/api-reference/get-vm-billing-details): `GET /billing/billing/history/virtual-machine/{vm_id}` - [List VM billing history](https://docs.hyperstack.cloud/docs/api-reference/get-vm-billing-history): `GET /billing/billing/history/virtual-machine` - [Retrieve VM billing events history](https://docs.hyperstack.cloud/docs/api-reference/get-vm-billing-events): `GET /billing/billing/virtual-machine/{vm_id}/billing-events` ### Volumes - [Get volume hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-volume-billing-history-graph): `GET /billing/billing/history/volume/{volume_id}/graph` - [Get volume billing history](https://docs.hyperstack.cloud/docs/api-reference/get-volume-billing-details): `GET /billing/billing/history/volume/{volume_id}` - [List volume billing history](https://docs.hyperstack.cloud/docs/api-reference/get-volume-billing-history): `GET /billing/billing/history/volume` - [Retrieve Volume billing events history](https://docs.hyperstack.cloud/docs/api-reference/get-volume-billing-events): `GET /billing/billing/volume/{volume_id}/billing-events` ### Clusters - [Get cluster hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-cluster-billing-history-graph): `GET /billing/billing/history/cluster/{cluster_id}/graph` - [Get cluster billing history](https://docs.hyperstack.cloud/docs/api-reference/get-cluster-billing-history): `GET /billing/billing/history/cluster/{cluster_id}` - [List cluster billing history](https://docs.hyperstack.cloud/docs/api-reference/list-clusters-billing-history): `GET /billing/billing/history/cluster` - [Get contract billing history](https://docs.hyperstack.cloud/docs/api-reference/list-billing-contract-history): `GET /billing/billing/history/contract` ### Object Storage - [Get bucket hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/buckets-billing-history-hourly-chart): `GET /billing/billing/history/bucket/{bucket_id}/graph` - [Get bucket billing history](https://docs.hyperstack.cloud/docs/api-reference/list-bucket-billing-history): `GET /billing/billing/history/bucket` - [Get bucket billing history](https://docs.hyperstack.cloud/docs/api-reference/get-bucket-billing-history): `GET /billing/billing/history/bucket/{bucket_id}` ### Snapshots - [Get snapshot hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-snapshot-billing-history-graph): `GET /billing/billing/history/snapshot/{snapshot_id}/graph` - [List snapshot billing history](https://docs.hyperstack.cloud/docs/api-reference/list-snapshot-billing-history): `GET /billing/billing/history/snapshot` - [Get snapshot billing history](https://docs.hyperstack.cloud/docs/api-reference/get-snapshot-billing-history): `GET /billing/billing/history/snapshot/{snapshot_id}` ### Notifications - [All thresholds for organization](https://docs.hyperstack.cloud/docs/api-reference/list-org-notification-thresholds): `GET /billing/billing/threshold` - [Update: subscribe or unsubscribe notification threshold](https://docs.hyperstack.cloud/docs/api-reference/get-notification-threshold): `PUT /billing/billing/threshold/{threshold_id}` ## Billing › AI Studio Billing - [AI Studio Billing](https://docs.hyperstack.cloud/docs/api-reference/billing-ai-studio): Billing history and cost data for AI Studio workloads, including data synthesis, fine-tuning, image generation, model evaluations, and serverless inference. ### Data Synthesis - [Get data-synthesis hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-data-synthesis-billing-history-graph): `GET /billing/billing/history/data_synthesis/{resource_id}/graph` - [List data-synthesis billing history](https://docs.hyperstack.cloud/docs/api-reference/get-data-synthesis-billing-history): `GET /billing/billing/history/data_synthesis` - [Get data-synthesis billing history for a resource](https://docs.hyperstack.cloud/docs/api-reference/get-data-synthesis-history-for-resource): `GET /billing/billing/history/data_synthesis/{resource_id}` ### Fine-tuning - [Get fine-tuning resource hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-fine-tuning-billing-history-graph): `GET /billing/billing/history/fine_tuning/{resource_id}/graph` - [List fine-tuning billing history](https://docs.hyperstack.cloud/docs/api-reference/get-fine-tuning-billing-history): `GET /billing/billing/history/fine_tuning` - [Get fine-tuning resource billing history](https://docs.hyperstack.cloud/docs/api-reference/get-resource-fine-tuning-billing-history): `GET /billing/billing/history/fine_tuning/{resource_id}` ### Serverless Inference - [Get serverless-inference hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-serverless-inference-billing-history-graph): `GET /billing/billing/history/serverless_inference/{resource_id}/graph` - [List serverless-inference billing history](https://docs.hyperstack.cloud/docs/api-reference/list-serverless-inference-billing-history): `GET /billing/billing/history/serverless_inference` - [Get serverless-inference billing history for a resource](https://docs.hyperstack.cloud/docs/api-reference/get-serverless-inferences-billing-history): `GET /billing/billing/history/serverless_inference/{resource_id}` ### Image Generation - [Get image-generation hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-image-generation-billing-history-graph): `GET /billing/billing/history/image_generation/{resource_id}/graph` - [List image-generation billing history](https://docs.hyperstack.cloud/docs/api-reference/get-image-generation-billing-history): `GET /billing/billing/history/image_generation` - [Get image-generation billing history for a resource](https://docs.hyperstack.cloud/docs/api-reference/get-resource-image-generation-billing-history): `GET /billing/billing/history/image_generation/{resource_id}` ### Model Evaluations - [Get model-evaluation hourly cost datapoints](https://docs.hyperstack.cloud/docs/api-reference/get-model-evaluation-billing-history-graph): `GET /billing/billing/history/model_evaluation/{resource_id}/graph` - [List model-evaluation billing history](https://docs.hyperstack.cloud/docs/api-reference/get-model-evaluation-billing-history): `GET /billing/billing/history/model_evaluation` - [Get model-evaluation billing history for a resource](https://docs.hyperstack.cloud/docs/api-reference/get-resource-model-evaluation-billing-history): `GET /billing/billing/history/model_evaluation/{resource_id}` ## Billing › Vouchers - [Vouchers](https://docs.hyperstack.cloud/docs/api-reference/vouchers) - [Redeem a voucher with a voucher code](https://docs.hyperstack.cloud/docs/api-reference/redeem-a-voucher): `POST /billing/billing/vouchers/redeem` ## Billing › Credit - [Credit](https://docs.hyperstack.cloud/docs/api-reference/credit) - [View credit and threshold](https://docs.hyperstack.cloud/docs/api-reference/get-user-credit): `GET /billing/user-credit/credit` ## Billing › Payment - [Payment](https://docs.hyperstack.cloud/docs/api-reference/payment) - [Retrieve payment receipt](https://docs.hyperstack.cloud/docs/api-reference/get-payment-receipt): `GET /billing/payment/receipt/{payment_id}` - [Initiate payment](https://docs.hyperstack.cloud/docs/api-reference/initiate-payment): `POST /billing/payment/payment-initiate` - [View payment details](https://docs.hyperstack.cloud/docs/api-reference/list-payment-details): `GET /billing/payment/payment-details` ## Billing › Billing Information - [Billing Information](https://docs.hyperstack.cloud/docs/api-reference/user) - [Insert billing info](https://docs.hyperstack.cloud/docs/api-reference/add-user-billing-info): `POST /billing/user/info` - [Retrieve billing info](https://docs.hyperstack.cloud/docs/api-reference/get-user-billing-info): `GET /billing/user/info` - [Update billing info](https://docs.hyperstack.cloud/docs/api-reference/update-user-billing-info): `PUT /billing/user/info` - [List supported billing countries](https://docs.hyperstack.cloud/docs/api-reference/list-supported-billing-countries): `GET /billing/user/countries`