Projects are logical groupings for containers, networks, and resources. Use these endpoints to create projects, manage quotas, share access with other users, and inspect aggregated resource usage across a project’s containers.
List all projects you own or have permissions for. Results are paginated and sortable.
Name In Type Required Description pagequery number No Page number (1-based). Default: 1 limitquery number No Items per page (max 100). Default: 10 sort_byquery string No Field to sort by. Allowed: id, alias, created_at, updated_at. Default: "created_at" sort_orderquery string No Sort direction. Allowed: asc, desc. Default: "desc" realm_idquery string No Filter by realm ID. Only returns projects that belong to this realm. Alternative to using realm subdomain in URL.
curl -X GET " https://api.hoody.icu/api/v1/projects/?page=1&limit=10&sort_by=created_at&sort_order=desc " \
-H " Authorization: Bearer <token> "
const projects = await client . api . projects . listIterator ({ page : 1 , limit : 10 });
" message " : " Projects retrieved successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439022 " ,
" alias " : " Production Environment " ,
" created_at " : " 2025-01-10T08:00:00.000Z " ,
" updated_at " : " 2025-01-15T10:30:00.000Z " ,
" id " : " 507f1f77bcf86cd799439033 " ,
" user_id " : " 507f1f77bcf86cd799439022 " ,
" created_at " : " 2025-01-05T12:00:00.000Z " ,
" updated_at " : " 2025-01-05T12:00:00.000Z " ,
" message " : " Invalid parameter value "
Error Code Title Description Resolution INVALID_PARAMETER_VALUEInvalid parameter value A parameter value is outside the allowed range or format Ensure parameter values meet the documented constraints (min/max, format, regex)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
Create a new project to organize and manage your containers, networks, and resources.
This endpoint takes no parameters.
Name Type Required Description aliasstring Yes Human-readable project name. Must be unique across your projects. Length: 1–100 characters. colorstring No HEX color code (3 or 6 digits). The # prefix is auto-added if missing, and the value is auto-normalized to uppercase. If not provided, a random color is generated. max_containersnumber | null No Maximum number of containers allowed in this project. Set to null for unlimited. This quota is enforced during container creation. Minimum: 0. realm_idsarray No Realm IDs to assign this project to. If you are creating from a realm subdomain, the subdomain realm is automatically included and merged with any explicitly provided realm_ids.
curl -X POST " https://api.hoody.icu/api/v1/projects/ " \
-H " Authorization: Bearer <token> " \
-H " Content-Type: application/json " \
"alias": "Production Environment",
await client . api . projects . create ({
alias : " Production Environment " ,
" message " : " Project created successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439022 " ,
" alias " : " Production Environment " ,
" created_at " : " 2025-01-10T08:00:00.000Z " ,
" updated_at " : " 2025-01-10T08:00:00.000Z " ,
" message " : " Validation failed "
Error Code Title Description Resolution VALIDATION_ERRORInvalid input parameters One or more request parameters failed validation Check the error message for specific field requirements and correct your input MISSING_REQUIRED_FIELDRequired field missing One or more required fields are missing from the request Include all required fields as specified in the API documentation INVALID_ALIAS_FORMATInvalid alias format Project alias must be between 1–100 characters Provide a valid alias following the format requirements: 1–100 characters INVALID_COLOR_FORMATInvalid color format Color must be a valid HEX color code (3 or 6 digits) Provide a valid HEX color like #RGB or #RRGGBB (e.g., #F00 or #FF0000) INVALID_QUOTA_VALUEInvalid quota value Quota values must be non-negative numbers or null Provide a valid quota value (0 or higher) or null for unlimited
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Project alias already exists "
Error Code Title Description Resolution DUPLICATE_ALIASProject alias already exists The provided project alias is already in use by another project in your account Choose a different, unique project alias
Retrieve detailed information about a specific project. Optionally include project permissions and associated user details.
Name In Type Required Description idpath string Yes Project ID include_permissionsquery boolean No Include project permissions with user details in response. Default: false
curl -X GET " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011?include_permissions=true " \
-H " Authorization: Bearer <token> "
const project = await client . api . projects . get ( " 507f1f77bcf86cd799439011 " , { include_permissions : true });
" message " : " Project retrieved successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439022 " ,
" alias " : " Production Environment " ,
" created_at " : " 2025-01-10T08:00:00.000Z " ,
" updated_at " : " 2025-01-15T10:30:00.000Z " ,
" id " : " 507f1f77bcf86cd799439033 " ,
" project_id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439044 " ,
" permission_level " : " read " ,
" created_at " : " 2025-01-12T14:00:00.000Z " ,
" updated_at " : " 2025-01-12T14:00:00.000Z " ,
" id " : " 507f1f77bcf86cd799439044 " ,
" username " : " jane_smith " ,
" message " : " Invalid ID format "
Error Code Title Description Resolution INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f) INVALID_PARAMETER_VALUEInvalid parameter value A parameter value is outside the allowed range or format Ensure parameter values meet the documented constraints (min/max, format, regex)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status
" message " : " Project not found "
Error Code Title Description Resolution PROJECT_NOT_FOUNDProject not found The requested project does not exist or has been deleted Verify the project ID is correct and that you have access to this project
Update a project’s alias, color, or quotas. You must be the owner or have edit permission.
Name In Type Required Description idpath string Yes Project ID to update
Name Type Required Description aliasstring Yes New project name. Must be unique across your projects. Length: 1–100 characters. colorstring No New HEX color code. Auto-normalized to uppercase with # prefix. max_containersnumber | null No Maximum number of containers allowed in this project. Set to null for unlimited. This quota is enforced during container creation. Minimum: 0. realm_idsarray No Update realm membership for this project. If updating from a realm subdomain, the subdomain realm is automatically preserved and merged. Only unrestricted tokens and admin users can modify realm_ids.
curl -X PUT " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011 " \
-H " Authorization: Bearer <token> " \
-H " Content-Type: application/json " \
"alias": "Production Environment Updated",
await client . api . projects . update ( " 507f1f77bcf86cd799439011 " , {
alias : " Production Environment Updated " ,
" message " : " Project updated successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439022 " ,
" alias " : " Production Environment Updated " ,
" created_at " : " 2025-01-10T08:00:00.000Z " ,
" updated_at " : " 2025-01-15T14:45:00.000Z " ,
" message " : " Validation failed "
Error Code Title Description Resolution VALIDATION_ERRORInvalid input parameters One or more request parameters failed validation Check the error message for specific field requirements and correct your input INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f) INVALID_ALIAS_FORMATInvalid alias format Project alias must be between 1–100 characters Provide a valid alias following the format requirements: 1–100 characters INVALID_COLOR_FORMATInvalid color format Color must be a valid HEX color code (3 or 6 digits) Provide a valid HEX color like #RGB or #RRGGBB (e.g., #F00 or #FF0000) INVALID_QUOTA_VALUEInvalid quota value Quota values must be non-negative numbers or null Provide a valid quota value (0 or higher) or null for unlimited
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status
" message " : " Project not found "
Error Code Title Description Resolution PROJECT_NOT_FOUNDProject not found The requested project does not exist or has been deleted Verify the project ID is correct and that you have access to this project
" message " : " Project alias already exists "
Error Code Title Description Resolution DUPLICATE_ALIASProject alias already exists The provided project alias is already in use by another project in your account Choose a different, unique project alias
Permanently delete a project and all associated resources. If deletion cannot be fully completed, the project remains available so you can retry safely. You must be the owner or have delete permission.
Name In Type Required Description idpath string Yes Project ID to delete include_deleted_itemsquery boolean No Include a lightweight list of deleted container IDs/names in the response for confirmation UX. Default: false
curl -X DELETE " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011?include_deleted_items=true " \
-H " Authorization: Bearer <token> "
await client . api . projects . delete ( " 507f1f77bcf86cd799439011 " , { include_deleted_items : true });
" message " : " Project deleted successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" id " : " 507f1f77bcf86cd799439012 " ,
" message " : " Invalid ID format "
Error Code Title Description Resolution INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status
" message " : " Project not found "
Error Code Title Description Resolution PROJECT_NOT_FOUNDProject not found The requested project does not exist or has been deleted Verify the project ID is correct and that you have access to this project
" message " : " Resource already exists "
Error Code Title Description Resolution RESOURCE_ALREADY_EXISTSResource already exists A resource with this identifier already exists Use a different identifier or update the existing resource instead
" error " : " Unprocessable Entity " ,
" message " : " Project contains active containers "
Error Code Title Description Resolution PROJECT_HAS_CONTAINERSProject has active containers Cannot delete project because it contains active containers Delete all containers in this project first, then try again
List all users who have been granted access to this project with their permission levels. Supports pagination and sorting.
Name In Type Required Description idpath string Yes Project ID pagequery number No Page number (1-based) limitquery number No Items per page sort_byquery string No Field to sort by. Allowed: id, user_id, permission_level, created_at, updated_at sort_orderquery string No Sort direction. Allowed: asc, desc
curl -X GET " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011/permissions?page=1&limit=10 " \
-H " Authorization: Bearer <token> "
const permissions = await client . api . projects . listPermissionsIterator ( " 507f1f77bcf86cd799439011 " , { page : 1 , limit : 10 });
" message " : " Project permissions retrieved successfully " ,
" id " : " 507f1f77bcf86cd799439033 " ,
" project_id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439044 " ,
" permission_level " : " read " ,
" created_at " : " 2025-01-12T14:00:00.000Z " ,
" updated_at " : " 2025-01-12T14:00:00.000Z " ,
" id " : " 507f1f77bcf86cd799439044 " ,
" username " : " jane_smith " ,
" id " : " 507f1f77bcf86cd799439055 " ,
" project_id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439066 " ,
" permission_level " : " edit " ,
" created_at " : " 2025-01-13T09:30:00.000Z " ,
" updated_at " : " 2025-01-14T16:20:00.000Z " ,
" id " : " 507f1f77bcf86cd799439066 " ,
" message " : " Invalid request "
" message " : " Authentication token required "
" message " : " Insufficient permissions "
" message " : " Project not found "
Grant another user access to your project with a specific permission level. You must be the owner or have edit permission.
Permission levels:
read — view only
edit — modify resources
delete — destroy project
Name In Type Required Description idpath string Yes Project ID
Name Type Required Description user_idstring Yes User ID to grant access to permission_levelstring Yes Access level. Allowed: read, edit, delete
curl -X POST " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011/permissions " \
-H " Authorization: Bearer <token> " \
-H " Content-Type: application/json " \
"user_id": "507f1f77bcf86cd799439044",
"permission_level": "edit"
await client . api . projects . addPermission ( " 507f1f77bcf86cd799439011 " , {
user_id : " 507f1f77bcf86cd799439044 " ,
" message " : " Project permission added successfully " ,
" id " : " 507f1f77bcf86cd799439033 " ,
" project_id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439044 " ,
" permission_level " : " read " ,
" created_at " : " 2025-01-12T14:00:00.000Z " ,
" updated_at " : " 2025-01-12T14:00:00.000Z " ,
" id " : " 507f1f77bcf86cd799439044 " ,
" username " : " jane_smith " ,
" message " : " Validation failed "
Error Code Title Description Resolution VALIDATION_ERRORInvalid input parameters One or more request parameters failed validation Check the error message for specific field requirements and correct your input INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f) MISSING_REQUIRED_FIELDRequired field missing One or more required fields are missing from the request Include all required fields as specified in the API documentation
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status
" message " : " Project not found "
Error Code Title Description Resolution PROJECT_NOT_FOUNDProject not found The requested project does not exist or has been deleted Verify the project ID is correct and that you have access to this project RESOURCE_NOT_FOUNDResource not found The requested resource does not exist or has been deleted Verify the resource ID and ensure it exists
" message " : " User already has permission for this project "
Error Code Title Description Resolution PERMISSION_ALREADY_EXISTSPermission already exists This user already has a permission for this project Update the existing permission instead of creating a new one CANNOT_GRANT_SELF_PERMISSIONCannot grant permission to self You cannot grant permissions to yourself As the owner, you already have full access to this project
Change a user’s permission level for a project. You must be the owner or have edit permission.
Name In Type Required Description idpath string Yes Project ID permissionIdpath string Yes Permission ID to update
Name Type Required Description permission_levelstring Yes New permission level. Allowed: read, edit, delete
curl -X PUT " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011/permissions/507f1f77bcf86cd799439033 " \
-H " Authorization: Bearer <token> " \
-H " Content-Type: application/json " \
"permission_level": "edit"
await client . api . projects . updatePermission (
" 507f1f77bcf86cd799439011 " ,
" 507f1f77bcf86cd799439033 " ,
{ permission_level : " edit " }
" message " : " Project permission updated successfully " ,
" id " : " 507f1f77bcf86cd799439033 " ,
" project_id " : " 507f1f77bcf86cd799439011 " ,
" user_id " : " 507f1f77bcf86cd799439044 " ,
" permission_level " : " edit " ,
" created_at " : " 2025-01-12T14:00:00.000Z " ,
" updated_at " : " 2025-01-15T14:45:00.000Z " ,
" id " : " 507f1f77bcf86cd799439044 " ,
" username " : " jane_smith " ,
" message " : " Validation failed "
Error Code Title Description Resolution VALIDATION_ERRORInvalid input parameters One or more request parameters failed validation Check the error message for specific field requirements and correct your input INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f) MISSING_REQUIRED_FIELDRequired field missing One or more required fields are missing from the request Include all required fields as specified in the API documentation
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status
" message " : " Project not found "
Error Code Title Description Resolution PROJECT_NOT_FOUNDProject not found The requested project does not exist or has been deleted Verify the project ID is correct and that you have access to this project PERMISSION_NOT_FOUNDPermission not found The requested permission does not exist or has been removed Verify the permission ID is correct
Revoke a user’s access to a project. The user will immediately lose all access. You must be the owner or have edit permission.
Name In Type Required Description idpath string Yes Project ID permissionIdpath string Yes Permission ID to remove
curl -X DELETE " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011/permissions/507f1f77bcf86cd799439033 " \
-H " Authorization: Bearer <token> "
await client . api . projects . removePermission (
" 507f1f77bcf86cd799439011 " ,
" 507f1f77bcf86cd799439033 "
" message " : " Project permission removed successfully "
" message " : " Invalid request "
" message " : " Authentication token required "
" message " : " Insufficient permissions "
" message " : " Project not found "
Get aggregated resource usage statistics for all containers in a project. Returns stats for each container plus summary metadata with total counts and processing time.
Name In Type Required Description idpath string Yes Unique identifier of the project
curl -X GET " https://api.hoody.icu/api/v1/projects/507f1f77bcf86cd799439011/stats " \
-H " Authorization: Bearer <token> "
const stats = await client . api . projects . getStats ( " 507f1f77bcf86cd799439011 " );
" message " : " Project statistics retrieved successfully " ,
" id " : " 507f1f77bcf86cd799439011 " ,
" project_id " : " 507f1f77bcf86cd799439033 " ,
" project_name " : " Production Environment " ,
" server_name " : " node-sg-sin-1 " ,
" started_at " : " 2025-12-03T18:39:53Z " ,
" project_id " : " 507f1f77bcf86cd799439033 " ,
" project_name " : " Production Environment " ,
" total_processing_time " : " 1506ms "
" message " : " Invalid ID format "
Error Code Title Description Resolution INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token TOKEN_EXPIREDAuthentication token expired The provided authentication token has expired Obtain a new token by logging in again or refreshing your session
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access ACCOUNT_BANNEDAccount banned Your account has been banned and cannot access this resource Contact support for information about your account status RESOURCE_ACCESS_DENIEDResource access denied You do not have permission to access this specific resource Ensure you own this resource or have been granted access by the owner
" message " : " Resource not found "
Error Code Title Description Resolution RESOURCE_NOT_FOUNDResource not found The requested resource does not exist or has been deleted Verify the resource ID and ensure it exists
" error " : " Internal Server Error " ,
" message " : " An unexpected error occurred "
Error Code Title Description Resolution INTERNAL_SERVER_ERRORInternal server error An unexpected error occurred on the server Try again later, or contact support if the problem persists EXTERNAL_SERVICE_ERRORExternal service error A required external service is unavailable or returned an error Try again later when the external service is available
These endpoints return live CPU, memory, disk, and network metrics for rented servers. Responses are served from a short-TTL cache so they can be polled frequently. First-party JWT only.
Get live runtime info for a rented physical server or subserver.
Name In Type Required Description idpath string Yes Rental identifier
curl -X GET " https://api.hoody.icu/api/v1/rentals/507f1f77bcf86cd799439011/runtime " \
-H " Authorization: Bearer <token> "
const runtime = await client . api . serverRental . getRentalRuntime ( " 507f1f77bcf86cd799439011 " );
" message " : " Runtime info retrieved successfully " ,
" ts " : " 2025-12-03T18:39:53Z " ,
" used_bytes " : 8589934592 ,
" total_bytes " : 34359738368 ,
" total_bytes " : 4294967296
" used_bytes " : 412316860416 ,
" total_bytes " : 1099511627776 ,
" message " : " Invalid ID format "
Error Code Title Description Resolution INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access
" message " : " Resource not found "
Error Code Title Description Resolution RESOURCE_NOT_FOUNDResource not found The requested resource does not exist or has been deleted Verify the resource ID and ensure it exists
" message " : " Host runtime not available for a shared server "
Error Code Title Description Resolution RUNTIME_HOST_SHAREDHost runtime not available for a shared server Host-level runtime info is not exposed for a physical server that hosts subservers or is a system server, because it would reveal co-tenant activity Query runtime for the specific subserver you rent instead of the whole physical host
" error " : " Too Many Requests " ,
" message " : " Rate limit exceeded "
Error Code Title Description Resolution RATE_LIMIT_EXCEEDEDRate limit exceeded You have exceeded the rate limit for this endpoint Wait before making additional requests, or upgrade your plan for higher limits
" error " : " Service Unavailable " ,
" message " : " Runtime info temporarily unavailable "
Error Code Title Description Resolution RUNTIME_UNAVAILABLERuntime info temporarily unavailable Live runtime info could not be collected for this server and no recent snapshot is available Retry shortly. If it persists, the host may be unreachable or under maintenance
Alias for GET /rentals/:id/runtime. Returns the same payload and error codes as the rentals endpoint above.
Name In Type Required Description idpath string Yes Server identifier
curl -X GET " https://api.hoody.icu/api/v1/servers/507f1f77bcf86cd799439011/runtime " \
-H " Authorization: Bearer <token> "
const runtime = await client . api . serverRental . getServerRuntime ( " 507f1f77bcf86cd799439011 " );
" message " : " Runtime info retrieved successfully " ,
" ts " : " 2025-12-03T18:39:53Z " ,
" used_bytes " : 4294967296 ,
" limit_bytes " : 17179869184 ,
" used_bytes " : 53687091200 ,
" limit_bytes " : 536870912000 ,
" read_bytes " : 1073741824 ,
" message " : " Invalid ID format "
Error Code Title Description Resolution INVALID_ID_FORMATInvalid ID format The provided ID must be a 24-character hexadecimal string Ensure the ID is exactly 24 characters long and contains only hexadecimal characters (0–9, a–f)
" message " : " Authentication token required "
Error Code Title Description Resolution MISSING_TOKENAuthentication token missing No authentication token was provided in the request Include a valid JWT token in the Authorization header as “Bearer <token>“ INVALID_TOKENInvalid authentication token The provided authentication token is malformed or invalid Obtain a new token by logging in again or using a valid auth token
" message " : " Insufficient permissions "
Error Code Title Description Resolution INSUFFICIENT_PERMISSIONSInsufficient permissions You do not have the required permissions to perform this action Contact the resource owner or administrator to request access
" message " : " Resource not found "
Error Code Title Description Resolution RESOURCE_NOT_FOUNDResource not found The requested resource does not exist or has been deleted Verify the resource ID and ensure it exists
" message " : " Host runtime not available for a shared server "
Error Code Title Description Resolution RUNTIME_HOST_SHAREDHost runtime not available for a shared server Host-level runtime info is not exposed for a physical server that hosts subservers or is a system server, because it would reveal co-tenant activity Query runtime for the specific subserver you rent instead of the whole physical host
" error " : " Too Many Requests " ,
" message " : " Rate limit exceeded "
Error Code Title Description Resolution RATE_LIMIT_EXCEEDEDRate limit exceeded You have exceeded the rate limit for this endpoint Wait before making additional requests, or upgrade your plan for higher limits
" error " : " Service Unavailable " ,
" message " : " Runtime info temporarily unavailable "
Error Code Title Description Resolution RUNTIME_UNAVAILABLERuntime info temporarily unavailable Live runtime info could not be collected for this server and no recent snapshot is available Retry shortly. If it persists, the host may be unreachable or under maintenance