--- title: "Access Console" method: GET path: "/api/v1/nodes/vnc/{node_id}" url: "/api/myaccount/operations/access-console/" --- # Access Console `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/vnc/{node_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate requests to the Access Console | | `location` | string | yes | Specifies the location for the request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | object | no | | | `data.token` | string | no | Authentication token returned after successful login | | `data.port` | string | no | Port number of the Access Console as a string | | `data.password` | string | no | Password returned for console access | | `data.host` | string | no | Hostname of the Access Console server | | `data.ip_address_public` | string | no | Public IP address of the resource | | `data.ip_address_private` | string | no | Private IPv4 address assigned to the resource | | `data.vm_name` | string | no | Name of the virtual machine | | `errors` | object | no | | | `message` | string | no | Status message returned by the Access Console. | Example 200 response: ```json { "code": 200, "data": { "token": "example-hexadecimal", "port": "12345", "password": "q1w2e3r4", "host": "one.e2enetworks.com", "ip_address_public": "", "ip_address_private": "10.2.3.4", "vm_name": "C3-8GB-501" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/vnc/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Enable / Disable Access Logs" method: PUT path: "/api/v1/appliances/load-balancers/log-migrate/" url: "/api/myaccount/operations/access-log-migration/" --- # Enable / Disable Access Logs `PUT https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/log-migrate/` Enables or disables shipping of the load balancer's HAProxy access logs to an object-storage (EOS) bucket. The behaviour is controlled by the `is_enabled` query parameter together with the request body: - **Enable**: call with `?is_enabled=true` and a body containing `appliance_id`, `access_key`, `secret_key`, and `bucket` - the credentials for the destination object-storage bucket. - **Disable**: call with a body of `{ "appliance_id": "", "disable": true }`. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `is_enabled` | boolean | no | Used only when enabling access-log shipping - send `is_enabled=true` together with the bucket-credentials body. For the disable flow this parameter is discarded; send the `{ "appliance_id": "", "disable": true }` body instead. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `appliance_id` | string | yes | ID of the load balancer (appliance) whose access logs are being configured. | | `access_key` | string | no | Access key for the destination object-storage (EOS) bucket. Required when enabling. | | `secret_key` | string | no | Secret key for the destination object-storage bucket. Required when enabling. | | `bucket` | string | no | Name of the destination object-storage bucket. Required when enabling. | | `disable` | boolean | no | Send `true` (with `appliance_id`) to disable access-log shipping. | Example request: ```json { "appliance_id": "7972", "access_key": "access-key", "secret_key": "secret-key", "bucket": "bucket-name", "disable": true } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.appliance_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "appliance_id": "7972" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/log-migrate/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"appliance_id":"7972","access_key":"access-key","secret_key":"secret-key","bucket":"bucket-name","disable":true}' ``` --- --- title: "Action Logs" method: GET path: "/api/v1/appliances/load-balancer-actionlog/{lb_id}/" url: "/api/myaccount/operations/action-logs/" --- # Action Logs `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-actionlog/{lb_id}/` Returns a paginated audit trail of actions performed on the load balancer (configuration updates, IPv6 attach/detach, alert pause/resume, and so on). Each entry records the `timestamp`, `event`, originating `client_ip`, a human-readable `details` string, the `project_name`, and the `created_by_user_email`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of log entries to return per page. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].timestamp` | string | no | | | `data[].event` | string | no | Action that was logged (e.g. UPDATE, IPV6_DETACH, PAUSE_ALERT, RESUME_ALERT). | | `data[].client_ip` | string | no | | | `data[].details` | string | no | | | `data[].project_name` | string | no | | | `data[].created_by_user_email` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "timestamp": "Jun 08, 2026 01:24:59 PM", "event": "UPDATE", "client_ip": "59.160.116.134", "details": "Appliance name: new-name-1, Message: Configuration updated successfully", "project_name": "default-project-33935", "created_by_user_email": "user@example.com" } ], "errors": {}, "message": "Success", "total_page_number": 5, "total_count": 23 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-actionlog//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Activate Backup" method: PUT path: "/api/v1/cdpbackup/activate/{node_id}/" url: "/api/myaccount/operations/activate-backup/" --- # Activate Backup `PUT https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate/{node_id}/` Enables CDP Backup for a node. Refused with "CDP Backup Cannot Be Enabled — The selected security group does not have TCP port 1167 open, which is required for CDP Backup agent communication" unless the node's security group has that port open. Billed as a flat license fee (₹900 or $10 per month) plus ₹2.5 or $0.03 per GB of backup storage per month; the first backup runs, and every backup after it, every 6 hours by default. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Specifies the target location for activating the backup. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `plan_id` | integer | no | Identifier of the backup plan to activate. | | `type` | string | no | Specifies the backup activation schedule type. | | `exclude_file_folder` | string | no | Path or pattern of files/folders to exclude from the backup | | `backup_now` | boolean | no | Flag to trigger an immediate backup when true. | | `compression_type` | string | no | Specifies the compression algorithm to use for the backup. | | `is_encryption_required` | boolean | no | Indicates whether encryption is required for the backup activation. | | `compression_level` | string | no | Specifies the desired compression intensity for the backup operation. | | `hoursOfDay` | string | no | Hours of the day when the backup should run, expressed as a comma-separated list of 0-23 values | | `startingMinute` | integer | no | Minute of the hour when backup activation should start | | `db_enabled` | string | no | Indicates whether the database backup should be enabled | | `db_username` | string | no | Database username for authentication | | `db_password` | string | no | Database password used for backup activation | Example request: ```json { "plan_id": 1, "type": "HOURLY", "exclude_file_folder": "", "backup_now": true, "compression_type": "ZLib", "is_encryption_required": false, "compression_level": "Low", "hoursOfDay": "0,6,12,18", "startingMinute": 38, "db_enabled": "", "db_username": "", "db_password": "" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code returned by the Activate Backup operation | | `data` | object | no | | | `data.support_ticket_created` | boolean | no | Indicates whether a support ticket was created during the backup activation | | `errors` | object | no | | | `message` | string | no | Human-readable status message confirming activation of backup. | Example 200 response: ```json { "code": 200, "data": { "support_ticket_created": true }, "errors": {}, "message": "Your backups will begin shortly." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/activate//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"plan_id":1,"type":"HOURLY","exclude_file_folder":"","backup_now":true,"compression_type":"ZLib","is_encryption_required":false,"compression_level":"Low","hoursOfDay":"0,6,12,18","startingMinute":38,"db_enabled":"","db_username":"","db_password":""}' ``` --- --- title: "Activate Bitninja" method: POST path: "/api/v1/license/bitninja/{vm_id}/node/" url: "/api/myaccount/operations/activate-bitninja/" --- # Activate Bitninja `POST https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/node/` Buys a BitNinja security license for a node — the Node Security tab's **Buy** action, shown when the node has no active license. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the Activate Bitninja request | | `location` | string | yes | Specifies the target location for the activation request. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the activation response | | `data` | object | no | | | `data.command_to_execute` | string | no | Shell command to execute for activating Bitninja | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the activation request | Example 200 response: ```json { "code": 200, "data": { "command_to_execute": "curl https://get.bitninja.io/install.sh | /bin/bash -s - --license_key=RSK__216_48_190_175__XUN9DS1FBLKEPIL7OBXR0HOPWYJTCNE4" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/license/bitninja//node/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Activity Timeline" method: GET path: "/api/v1/appliances/load-balancer-timeline/{lb_id}/" url: "/api/myaccount/operations/activity-timeline/" --- # Activity Timeline `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-timeline/{lb_id}/` Returns the activity timeline for a load balancer, optionally filtered to a given `year` and `month`. Compared with Action Logs, each timeline entry additionally records who performed the operation (`operation_performed_by`, `performer_type`, `performer_name`) and whether it succeeded (`status`). Events include `CREATE`, `UPDATE`, `RENAME`, `UPGRADE_PLAN`, `POWER_OFF`, `IPV6_ATTACH` / `IPV6_DETACH`, `ENABLE_ACCESS_LOGS` / `DISABLE_ACCESS_LOGS`, `ACTIVATE_BITNINJA_LICENSE` / `TERMINATE_BITNINJA_LICENSE`, and `PAUSE_ALERT` / `RESUME_ALERT`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `year` | string | no | Filter the timeline to this calendar year. | | `month` | string | no | Filter the timeline to this month (zero-padded). | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].timestamp` | string | no | | | `data[].event` | string | no | Timeline event (e.g. CREATE, UPDATE, RENAME, UPGRADE_PLAN, POWER_OFF, IPV6_ATTACH, ENABLE_ACCESS_LOGS, ACTIVATE_BITNINJA_LICENSE). | | `data[].client_ip` | string | no | | | `data[].details` | string | no | | | `data[].operation_performed_by` | string | no | | | `data[].performer_type` | string | no | | | `data[].performer_name` | string | no | | | `data[].status` | boolean | no | Whether the operation succeeded. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "timestamp": "Jun 09, 2026 05:48:40 AM", "event": "ENABLE_ACCESS_LOGS", "client_ip": "59.160.116.134", "details": "Appliance name: new-name-1, Bucket name: bucket-name, Message: Access logs enabled successfully", "operation_performed_by": "user@example.com", "performer_type": "primary_user", "performer_name": "Tushar Tushar", "status": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-timeline//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Add Schedule Action" method: POST path: "/api/v1/nodes/{node_id}/scheduled_actions/" url: "/api/myaccount/operations/add-schedule-action/" --- # Add Schedule Action `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/scheduled_actions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Location identifier for the schedule | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `timezone` | string | no | Time zone identifier for the schedule | | `action_tag` | string | no | Identifier for the schedule action to perform | | `action` | string | no | Specifies the schedule action to perform | | `scheduled_type` | string | no | Specifies the type of schedule to add | | `periodic` | object | no | | | `periodic.repeat` | string | no | Recurrence interval for the schedule | | `periodic.start_time` | string | no | The start time of the schedule in local date-time format. | | `periodic.end_type` | string | no | Specifies how the periodic schedule ends. | | `periodic.repeat_period` | string | no | Number of periods between schedule repetitions | | `periodic.end_time` | string | no | The ending timestamp of the schedule period. | Example request: ```json { "timezone": "Asia/Calcutta", "action_tag": "pow-off", "action": "poweroff", "scheduled_type": "periodic", "periodic": { "repeat": "weekly", "start_time": "2025-08-12 15:00:00", "end_type": "on", "repeat_period": "3", "end_time": "2025-08-13 12:00:00" } } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of adding a schedule | | `data` | integer | no | Identifier of the created schedule | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the add schedule operation | Example 200 response: ```json { "code": 200, "data": 123456, "errors": {}, "message": "successfully added scheduled action to your virtual machine" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//scheduled_actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"timezone":"Asia/Calcutta","action_tag":"pow-off","action":"poweroff","scheduled_type":"periodic","periodic":{"repeat":"weekly","start_time":"2025-08-12 15:00:00","end_type":"on","repeat_period":"3","end_time":"2025-08-13 12:00:00"}}' ``` --- --- title: "Add Start Script" method: POST path: "/api/v1/start-script/" url: "/api/myaccount/operations/add-start-script/" --- # Add Start Script `POST https://api.e2enetworks.com/myaccount/api/v1/start-script/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the target location for the start script | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `label` | string | no | Name of the start script to add | | `script_content` | string | no | Script content to be executed at start | Example request: ```json { "label": "nginx-hello", "script_content": "hello" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of adding the start script | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Human-readable result message of the add start script operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/start-script/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"label":"nginx-hello","script_content":"hello"}' ``` --- --- title: "Alerts" method: GET path: "/api/v1/nodes/{node_id}/monitoring/alerts/" url: "/api/myaccount/operations/alerts/" --- # Alerts `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitoring/alerts/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location filter for alerts | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | object | no | | | `errors` | string | no | Human-readable error message returned by the API | | `message` | string | no | Human-readable status message for the alerts response | Example 200 response: ```json { "code": 200, "data": {}, "errors": "", "message": "Emails retrieved successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Allow All Traffic" method: POST path: "/api/v1/security_group/{vm_id}/allow-all-traffic-node/" url: "/api/myaccount/operations/allow-all-traffic/" --- # Allow All Traffic `POST https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/allow-all-traffic-node/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Specifies the location for the request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | string | no | String payload of the response, typically empty for allow-all traffic | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the operation. | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Security Group attached successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//allow-all-traffic-node/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Active Nodes in a Group" method: GET path: "/api/v1/scaler/scalegroups/nodes/{scaler_id}" url: "/api/myaccount/operations/as-active-nodes/" --- # List Active Nodes in a Group `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/nodes/{scaler_id}` Returns the currently running (active) nodes for an auto scaling group - each node's `id`, `name`, public and private IP address, and `status`. Terminated nodes are returned by Deleted Nodes instead. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].public_ip_address` | string | no | | | `data[].private_ip_address` | string | no | | | `data[].status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "web_7_service_12345", "public_ip_address": "164.2.3.4", "private_ip_address": "10.8.46.6", "status": "Running" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Audit Activity Timeline" method: GET path: "/api/v1/scaler/scalegroups/timeline/{scaler_id}/" url: "/api/myaccount/operations/as-activity-timeline/" --- # Get Audit Activity Timeline `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/timeline/{scaler_id}/` Returns the audited user-action timeline for the group for a given month - who performed which management action (START, STOP, RESIZE, ATTACH_SG, ATTACH_VPC, ATTACH_PUBLIC_IP, UPDATE_POLICY, LAUNCH, and so on), when, from which client IP, and whether it succeeded. Filter with the required `year` and `month` query parameters. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `year` | integer | yes | Four-digit year to filter the timeline by. | | `month` | integer | yes | Month (1-12) to filter the timeline by. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].timestamp` | string | no | | | `data[].event` | string | no | | | `data[].client_ip` | string | no | | | `data[].details` | string | no | | | `data[].operation_performed_by` | string | no | | | `data[].performer_type` | string | no | | | `data[].performer_name` | string | no | | | `data[].status` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "timestamp": "Jan 15, 2026 09:37:01 AM", "event": "ATTACH_SG", "client_ip": "203.0.113.10", "details": "ATTACH_SG(allow_all_traffic_delhi) performed on AutoScale Group web-autoscale-group", "operation_performed_by": "user@example.com", "performer_type": "primary_user", "performer_name": "Example User", "status": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/timeline//?apikey=&year=&month=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Enable Public IP for a Group" method: PUT path: "/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/" url: "/api/myaccount/operations/as-assign-public-ip/" --- # Enable Public IP for a Group `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/` Enables public IP assignment for the group, so its nodes get a public IP. The request body is empty. The group must be stopped for the operation to succeed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "public_ip has been attached successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//public_ip/action/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Attach a Security Group to a Group" method: PUT path: "/api/v1/scaler/scalegroups/security_groups/{scaler_id}/" url: "/api/myaccount/operations/as-attach-sg/" --- # Attach a Security Group to a Group `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups/{scaler_id}/` Attaches a single security group to the auto scaling group. Send the security group's `id` (from Available SGs) as `security_group_id` in the body. Call once per security group to attach more than one. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_group_id` | integer | yes | ID of the security group to attach (from Available SGs). | Example request: ```json { "security_group_id": 12345 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Attaching Successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_group_id":12345}' ``` --- --- title: "Attach a VPC to a Group" method: PUT path: "/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/" url: "/api/myaccount/operations/as-attach-vpc/" --- # Attach a VPC to a Group `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/` Attaches one or more VPC networks to the group. New nodes launched after the change join the attached VPC(s). **VPC operations are only allowed while the group is stopped** - use Stop / Start first. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vpc` | array of object | yes | List of VPC networks to attach. | | `vpc[].name` | string | no | VPC name. | | `vpc[].network_id` | integer | no | VPC network ID. | | `vpc[].ipv4_cidr` | string | no | IPv4 CIDR block of the VPC. | | `vpc[].state` | string | no | VPC state. | | `vpc[].subnets` | array of object | no | Subnets within the VPC. | | `vpc[].is_e2e_vpc` | boolean | no | Whether this is an E2E-managed VPC. | Example request: ```json { "vpc": [ { "name": "VPC-Example", "network_id": 12345, "ipv4_cidr": "10.8.46.0/23", "state": "", "subnets": [], "is_e2e_vpc": true } ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "vpc has been attached successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//vpc/action/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vpc":[{"name":"VPC-Example","network_id":12345,"ipv4_cidr":"10.8.46.0/23","state":"","subnets":[],"is_e2e_vpc":true}]}' ``` --- --- title: "List Load Balancers Attached to a Group" method: GET path: "/api/v1/scaler/scalegroups/lb_details/{scaler_id}" url: "/api/myaccount/operations/as-attached-lb/" --- # List Load Balancers Attached to a Group `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/lb_details/{scaler_id}` Returns the load balancers that route traffic to the auto scaling group - each load balancer's `id`, `name`, and `status`. An auto scaling group is typically used as a backend of a load balancer so that scaled-out nodes automatically receive traffic. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "LB-ALB-Example", "status": "RUNNING" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/lb_details/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups Attached to a Group" method: GET path: "/api/v1/scaler/scalegroups/security_groups/{scaler_id}/" url: "/api/myaccount/operations/as-attached-sgs/" --- # List Security Groups Attached to a Group `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups/{scaler_id}/` Returns the security groups currently attached to the auto scaling group, including each group's full inbound/outbound rule set. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | | | `data[].rules[].protocol_name` | string | no | | | `data[].rules[].port_range` | string | no | | | `data[].rules[].network` | string | no | | | `data[].rules[].network_cidr` | string | no | | | `data[].rules[].network_size` | integer | no | | | `data[].rules[].vpc_id` | integer | no | | | `data[].rules[].description` | string | no | | | `data[].is_default` | boolean | no | | | `data[].is_all_traffic_rule` | boolean | no | | | `data[].is_dr_source` | boolean | no | | | `data[].is_dr_target` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].inbound_rules_count` | integer | no | | | `data[].outbound_rules_count` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "default_sg_delhi", "description": "default security group delhi", "rules": [ { "id": 12345, "rule_type": "Inbound", "protocol_name": "Custom_TCP", "port_range": "22,443,80", "network": "any", "network_cidr": "--", "network_size": 1, "vpc_id": null, "description": "" } ], "is_default": true, "is_all_traffic_rule": false, "is_dr_source": false, "is_dr_target": false, "is_active": true, "inbound_rules_count": 1, "outbound_rules_count": 1 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Autoscaling Activity Logs" method: GET path: "/api/v1/scaler/scalegroups/logs/{scaler_id}" url: "/api/myaccount/operations/as-audit-logs/" --- # Get Autoscaling Activity Logs `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/logs/{scaler_id}` Returns the autoscaling activity log for the group - the chronological record of state transitions and scale up/down events (for example `Role web scaling up from 2 to 3 nodes`, `New state: SCALING`), each with a `created_at` timestamp. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].created_at` | string | no | | | `data[].state` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "created_at": "2026-01-15T14:55:09", "state": "Role web scaling up from 2 to 3 nodes" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/logs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups Available to Attach" method: GET path: "/api/v1/scaler/scalegroups/remaining_security_group/{scaler_id}" url: "/api/myaccount/operations/as-available-sgs/" --- # List Security Groups Available to Attach `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/remaining_security_group/{scaler_id}` Returns the security groups in the region that are **not** yet attached to the group and can be attached to it. Use a group's `id` from this list as the `security_group_id` for Attach SG. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | | | `data[].rules[].protocol_name` | string | no | | | `data[].rules[].port_range` | string | no | | | `data[].rules[].network` | string | no | | | `data[].rules[].network_cidr` | string | no | | | `data[].rules[].network_size` | integer | no | | | `data[].rules[].vpc_id` | integer | no | | | `data[].rules[].description` | string | no | | | `data[].is_default` | boolean | no | | | `data[].is_all_traffic_rule` | boolean | no | | | `data[].is_dr_source` | boolean | no | | | `data[].is_dr_target` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].inbound_rules_count` | integer | no | | | `data[].outbound_rules_count` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "allow_all_traffic_delhi", "description": "allow all traffic security group delhi", "rules": [ { "id": 12345, "rule_type": "Inbound", "protocol_name": "ALL", "port_range": "", "network": "any", "network_cidr": "--", "network_size": 1, "vpc_id": null, "description": "" } ], "is_default": false, "is_all_traffic_rule": true, "is_dr_source": false, "is_dr_target": false, "is_active": true, "inbound_rules_count": 1, "outbound_rules_count": 1 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/remaining_security_group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create Auto Scaling Group" method: POST path: "/api/v1/scaler/scalegroups" url: "/api/myaccount/operations/as-create/" --- # Create Auto Scaling Group `POST https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups` Provisions an auto scaling group ("scale group"). The group launches between `min_nodes` and `max_nodes` identical nodes from the selected image and plan, and scales the running count automatically according to its scaling policies. **At least one of `policy` (elastic) or `scheduled_policy` is required.** - **Elastic `policy`** reacts to a metric (CPU, MEMORY, or a custom parameter). It is sent as two objects: a scale-up rule (`adjust: 1`) and a scale-down rule (`adjust: -1`). - **Scheduled `scheduled_policy`** changes the target node count on a cron schedule. It is sent as two objects (scale-up and scale-down), where `scheduled_policy[0].adjust` <= `max_nodes`, `scheduled_policy[1].adjust` >= `min_nodes`, and `scheduled_policy[0].adjust` >= `scheduled_policy[1].adjust`. A group can have at most `60` nodes (`MAX_NODES_PER_GROUP`). For a private cluster (`is_private: true`) send `custom_sku` and `host_ids` and a mandatory `vpc`, instead of `plan_id`. On success the group is returned in `Deploying` state - poll List or Detail until it is `Running`. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the create request. | | `location` | string | yes | Region in which the group will be provisioned. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Display name of the auto scaling group. | | `min_nodes` | integer | yes | Minimum number of running nodes the group will maintain. | | `desired` | integer | yes | Initial target number of running nodes. On create this equals min_nodes. | | `max_nodes` | integer | yes | Maximum number of running nodes the group may scale to. | | `plan_id` | integer | no | ID of the compute plan (SKU) backing each node. Required for a public group (is_private false). | | `plan_name` | string | no | Human-readable plan name, from Plan. | | `slug_name` | string | no | Plan slug identifier, from Plan. | | `sku_id` | integer | no | SKU identifier for the selected plan. | | `vm_image_id` | integer | no | ID of the image the nodes boot from. | | `vm_image_name` | string | no | Name of the selected image. | | `vm_template_id` | integer | yes | Template ID of the selected image (its `template_id`). | | `my_account_sg_id` | integer | no | ID of the security group to attach to the group's nodes at create time. | | `vpc` | array of object | no | VPC networks to attach to the group. Mandatory for a private cluster. | | `vpc[].name` | string | no | VPC name. | | `vpc[].network_id` | integer | no | VPC network ID. | | `vpc[].ipv4_cidr` | string | no | IPv4 CIDR block of the VPC. | | `vpc[].state` | string | no | VPC state. | | `vpc[].subnets` | array of object | no | Subnets within the VPC. | | `vpc[].is_e2e_vpc` | boolean | no | Whether this is an E2E-managed VPC. | | `is_public_ip_required` | boolean | yes | Whether each node should be launched with a public IP. | | `isEncryptionEnabled` | boolean | no | Whether to enable disk encryption on the nodes. | | `encryption_passphrase` | string | no | Passphrase used for disk encryption. Required when isEncryptionEnabled is true. | | `policy_type` | one of `Default`, `Custom` | no | Whether the elastic policy uses a Default metric (CPU/MEMORY) or a Custom parameter. | | `custom_parameter_name` | string | no | Name of the custom scaling metric, when policy_type is Custom. | | `custom_parameter_value` | integer | no | Initial value of the custom metric. Sent as 0 at create time. | | `is_private` | boolean | no | Whether to launch the group on a private (dedicated) cluster. | | `host_ids` | array of integer | no | IDs of the private-cluster hosts to place nodes on. Used when is_private is true. | | `custom_sku` | object | no | Custom node sizing for a private cluster. Used when is_private is true. | | `custom_sku.cpu` | integer | no | vCPU count per node. | | `custom_sku.memory` | integer | no | RAM per node, in GB. | | `custom_sku.disk` | integer | no | Root disk size per node, in GB. | | `custom_sku.cluster_id` | integer | no | ID of the private cluster to launch on. | | `policy` | array of object | no | Elastic (metric-based) scaling rules. Sent as two objects: a scale-up rule (adjust 1) and a scale-down rule (adjust -1). | | `policy[].type` | string | no | Policy type. Always CHANGE for an elastic rule. | | `policy[].adjust` | integer | no | Node count change applied when the rule fires (positive to scale up, negative to scale down). | | `policy[].parameter` | string | no | Metric the rule watches. | | `policy[].operator` | one of `>`, `<`, `>=`, `<=` | no | Comparison operator between the metric and value. | | `policy[].value` | integer | no | Threshold the metric is compared against (a percentage for CPU/MEMORY). | | `policy[].period_number` | integer | no | Number of consecutive evaluation periods the condition must hold (watch period). | | `policy[].period` | integer | no | Length of each evaluation period, in seconds. | | `policy[].cooldown` | integer | no | Cooldown after a scaling action before the next one, in seconds. | | `scheduled_policy` | array of object | no | Scheduled (cron-based) scaling rules. Sent as two objects: a scale-up and a scale-down target. scheduled_policy[0].adjust must be <= max_nodes, scheduled_policy[1].adjust must be >= min_nodes, and scheduled_policy[0].adjust must be >= scheduled_policy[1].adjust. | | `scheduled_policy[].type` | string | no | Policy type. Always CARDINALITY for a scheduled rule. | | `scheduled_policy[].adjust` | integer | no | Target number of running nodes when the schedule fires. | | `scheduled_policy[].recurrence` | string | no | Cron expression for when the rule fires. | Example request: ```json { "plan_id": 1088, "plan_name": "C3.8GB", "slug_name": "e2e_public_cloud", "sku_id": 12345, "vm_image_id": 12345, "vm_image_name": "Ubuntu-22.04", "vm_template_id": 12345, "my_account_sg_id": 12345, "name": "web-autoscale-group", "min_nodes": 2, "desired": 2, "max_nodes": 5, "vpc": [ { "name": "VPC-Example", "network_id": 12345, "ipv4_cidr": "10.8.46.0/23", "state": "", "subnets": [], "is_e2e_vpc": true } ], "is_public_ip_required": true, "isEncryptionEnabled": true, "encryption_passphrase": "Secret@123", "policy_type": "Default", "policy": [ { "type": "CHANGE", "adjust": 1, "parameter": "CPU", "operator": ">", "value": 60, "period_number": 3, "period": 10, "cooldown": 150 }, { "type": "CHANGE", "adjust": -1, "parameter": "CPU", "operator": "<", "value": 30, "period_number": 3, "period": 10, "cooldown": 150 } ], "scheduled_policy": [ { "type": "CARDINALITY", "adjust": 4, "recurrence": "0 12 * * *" }, { "type": "CARDINALITY", "adjust": 2, "recurrence": "0 2 * * *" } ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | string | no | | | `data.name` | string | no | | | `data.plane_name` | string | no | | | `data.vm_image_name` | string | no | | | `data.provision_status` | string | no | | | `data.running` | integer | no | | | `data.desired` | integer | no | | | `data.tags` | string | no | | | `data.min_nodes` | integer | no | | | `data.max_nodes` | integer | no | | | `data.customer_id` | integer | no | | | `data.plan_id` | integer | no | | | `data.image_id` | integer | no | | | `data.nodes` | array of object | no | | | `data.vpc_names` | string | no | | | `data.elastic_policy` | object | no | | | `data.elastic_policy.type` | string | no | | | `data.elastic_policy.policy` | string | no | | | `data.elastic_policy.policy_measure` | string | no | | | `data.elastic_policy.policy_op` | string | no | | | `data.elastic_policy.upscale_policy_value` | integer | no | | | `data.elastic_policy.downscale_policy_value` | integer | no | | | `data.elastic_policy.wait_for_period` | integer | no | | | `data.elastic_policy.wait_period` | integer | no | | | `data.elastic_policy.cooldown` | integer | no | | | `data.scheduled_policy` | object | no | | | `data.scheduled_policy.type` | string | no | | | `data.scheduled_policy.scheduled_policy_ip` | string | no | | | `data.scheduled_policy.upscale_recurrence` | string | no | | | `data.scheduled_policy.upscale_adjust` | integer | no | | | `data.scheduled_policy.downscale_recurrence` | string | no | | | `data.scheduled_policy.downscale_adjust` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": "12345", "name": "web-autoscale-group", "plane_name": null, "vm_image_name": "Ubuntu-22.04", "provision_status": "Deploying", "running": 0, "desired": 2, "tags": "", "min_nodes": 2, "max_nodes": 5, "customer_id": 12345, "plan_id": 1088, "image_id": 12345, "nodes": [ null ], "vpc_names": "VPC-Example", "elastic_policy": { "type": "CHANGE", "policy": "CPU>60", "policy_measure": "CPU", "policy_op": ">", "upscale_policy_value": 60, "downscale_policy_value": 30, "wait_for_period": 3, "wait_period": 10, "cooldown": 150 }, "scheduled_policy": { "type": "CARDINALITY", "scheduled_policy_ip": "scheduled_action", "upscale_recurrence": "0 12 * * *", "upscale_adjust": 4, "downscale_recurrence": "0 2 * * *", "downscale_adjust": 2 } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"plan_id":1088,"plan_name":"C3.8GB","slug_name":"e2e_public_cloud","sku_id":12345,"vm_image_id":12345,"vm_image_name":"Ubuntu-22.04","vm_template_id":12345,"my_account_sg_id":12345,"name":"web-autoscale-group","min_nodes":2,"desired":2,"max_nodes":5,"vpc":[{"name":"VPC-Example","network_id":12345,"ipv4_cidr":"10.8.46.0/23","state":"","subnets":[],"is_e2e_vpc":true}],"is_public_ip_required":true,"isEncryptionEnabled":true,"encryption_passphrase":"Secret@123","policy_type":"Default","policy":[{"type":"CHANGE","adjust":1,"parameter":"CPU","operator":">","value":60,"period_number":3,"period":10,"cooldown":150},{"type":"CHANGE","adjust":-1,"parameter":"CPU","operator":"<","value":30,"period_number":3,"period":10,"cooldown":150}],"scheduled_policy":[{"type":"CARDINALITY","adjust":4,"recurrence":"0 12 * * *"},{"type":"CARDINALITY","adjust":2,"recurrence":"0 2 * * *"}]}' ``` --- --- title: "Delete Auto Scaling Group" method: DELETE path: "/api/v1/scaler/scalegroups/{scaler_id}" url: "/api/myaccount/operations/as-delete/" --- # Delete Auto Scaling Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}` Permanently deletes an auto scaling group. All of the group's running nodes are terminated and the group is removed - the action cannot be undone. Use the group `id` returned by List. On success the API returns `code: 204` with an empty `data` object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group to delete, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the group being deleted. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 204, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Deleted (Terminated) Nodes" method: GET path: "/api/v1/scaler/scalenodeinfo/{scaler_id}" url: "/api/myaccount/operations/as-deleted-nodes/" --- # List Deleted (Terminated) Nodes `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalenodeinfo/{scaler_id}` Returns the nodes that the group has scaled down / terminated, with each node's `node_name`, `created_at`, `terminated_at`, total `usage` duration, and the `public_ip` it had. Useful for auditing past scaling activity and node lifetimes. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].node_name` | string | no | | | `data[].created_at` | string | no | | | `data[].terminated_at` | string | no | | | `data[].usage` | string | no | | | `data[].public_ip` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "node_name": "web_0_service_12345", "created_at": "2026-01-15T09:02:13.309834Z", "terminated_at": "2026-01-15T14:22:06.981739Z", "usage": "0 days 5 hours 19 minutes", "public_ip": "164.2.3.4" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalenodeinfo/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach a Security Group from a Group" method: DELETE path: "/api/v1/scaler/scalegroups/security_groups/{scaler_id}/" url: "/api/myaccount/operations/as-detach-sg/" --- # Detach a Security Group from a Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups/{scaler_id}/` Detaches a security group from the auto scaling group, identified by the `security_group_id` query parameter (the security group's `id`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `security_group_id` | integer | yes | The `id` of the attached security group to detach. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Detaching Successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/security_groups//?apikey=&security_group_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach a VPC from a Group" method: DELETE path: "/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/" url: "/api/myaccount/operations/as-detach-vpc/" --- # Detach a VPC from a Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/` Detaches a VPC network from the group, identified by the `vpc_id` query parameter (the VPC's `network_id`). At least one VPC must remain attached, and the group must be stopped for the operation to succeed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `vpc_id` | integer | yes | The `network_id` of the VPC to detach (from VPC Details). | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "vpc has been detached successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//vpc/action/?apikey=&vpc_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Auto Scaling Group Details" method: GET path: "/api/v1/scaler/scalegroups/{scaler_id}/" url: "/api/myaccount/operations/as-detail/" --- # Get Auto Scaling Group Details `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/` Returns the full configuration and live node list for a single auto scaling group, including the elastic and scheduled policy detail and every currently running node (id, private/public IP, status). Use the group `id` returned by List. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.running` | integer | no | | | `data.desired` | integer | no | | | `data.provision_status` | string | no | | | `data.tags` | string | no | | | `data.min_nodes` | integer | no | | | `data.max_nodes` | integer | no | | | `data.plan_name` | string | no | | | `data.plan` | string | no | | | `data.vm_image_name` | string | no | | | `data.customer_id` | integer | no | | | `data.plan_id` | integer | no | | | `data.image_id` | integer | no | | | `data.nodes` | array of object | no | | | `data.nodes[].id` | integer | no | | | `data.nodes[].name` | string | no | | | `data.nodes[].ip` | array of string | no | | | `data.nodes[].public_ip` | string | no | | | `data.nodes[].status` | string | no | | | `data.nodes[].real_cpu` | string | no | | | `data.policy_op` | string | no | | | `data.policy` | string | no | | | `data.upscale_policy_value` | integer | no | | | `data.downscale_policy_value` | integer | no | | | `data.wait_for_period` | integer | no | | | `data.wait_period` | integer | no | | | `data.cooldown` | integer | no | | | `data.policy_measure` | string | no | | | `data.scheduled_policy_op` | string | no | | | `data.upscale_recurrence` | string | no | | | `data.upscale_adjust` | integer | no | | | `data.downscale_recurrence` | string | no | | | `data.downscale_adjust` | integer | no | | | `data.policy_upscale_operator` | string | no | | | `data.policy_downscale_operator` | string | no | | | `data.policy_type` | string | no | | | `data.parameter_evaluated_value` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 12345, "name": "web-autoscale-group", "running": 2, "desired": 2, "provision_status": "Running", "tags": "", "min_nodes": 2, "max_nodes": 5, "plan_name": "C3.8GB", "plan": "e2e_public_cloud", "vm_image_name": "Ubuntu-22.04", "customer_id": 12345, "plan_id": 1088, "image_id": 12345, "nodes": [ { "id": 12345, "name": "web_0_service_12345", "ip": [ "10.2.3.4" ], "public_ip": "164.2.3.4", "status": "Running", "real_cpu": "" } ], "policy_op": ">", "policy": "CPU>60", "upscale_policy_value": 60, "downscale_policy_value": 30, "wait_for_period": 3, "wait_period": 10, "cooldown": 150, "policy_measure": "CPU", "scheduled_policy_op": "scheduled_action", "upscale_recurrence": "0 12 * * *", "upscale_adjust": 4, "downscale_recurrence": "0 2 * * *", "downscale_adjust": 2, "policy_upscale_operator": ">", "policy_downscale_operator": "<", "policy_type": "Default", "parameter_evaluated_value": 0 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Groups" method: GET path: "/api/v1/scaler/scalegroups" url: "/api/myaccount/operations/as-list/" --- # List Auto Scaling Groups `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups` Returns a paginated list of the auto scaling groups in the project. Each entry summarises the group's configuration (plan, image, min/max nodes, elastic and scheduled policy, encryption flag) and its current `provision_status` and running/desired node counts. Use `page_no` and `per_page` to page through results; `total_count` and `total_page_number` are returned at the top level. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of groups to return per page. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region to filter groups by. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | string | no | | | `data[].name` | string | no | | | `data[].plan_id` | integer | no | | | `data[].policy` | string | no | | | `data[].policy_measure` | string | no | | | `data[].policy_op` | string | no | | | `data[].upscale_policy_value` | integer | no | | | `data[].downscale_policy_value` | integer | no | | | `data[].running` | integer | no | | | `data[].desired` | integer | no | | | `data[].provision_status` | string | no | | | `data[].tags` | string | no | | | `data[].min_nodes` | integer | no | | | `data[].max_nodes` | integer | no | | | `data[].plan_name` | string | no | | | `data[].vm_image_name` | string | no | | | `data[].wait_for_period` | integer | no | | | `data[].wait_period` | integer | no | | | `data[].cooldown` | integer | no | | | `data[].upscale_recurrence` | string | no | | | `data[].downscale_recurrence` | string | no | | | `data[].scheduled_policy_op` | string | no | | | `data[].upscale_adjust` | integer | no | | | `data[].downscale_adjust` | integer | no | | | `data[].upscale_policy_operator` | string | no | | | `data[].downscale_policy_operator` | string | no | | | `data[].parameter_evaluated_value` | integer | no | | | `data[].policy_type` | string | no | | | `data[].isEncryptionEnabled` | boolean | no | | | `data[].custom_sku` | object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": "12345", "name": "web-autoscale-group", "plan_id": 1088, "policy": "CPU>60", "policy_measure": "CPU", "policy_op": ">", "upscale_policy_value": 60, "downscale_policy_value": 30, "running": 2, "desired": 2, "provision_status": "Running", "tags": "", "min_nodes": 2, "max_nodes": 5, "plan_name": "C3.8GB", "vm_image_name": "Ubuntu-22.04", "wait_for_period": 3, "wait_period": 10, "cooldown": 150, "upscale_recurrence": "0 12 * * *", "downscale_recurrence": "0 2 * * *", "scheduled_policy_op": "scheduled_action", "upscale_adjust": 4, "downscale_adjust": 2, "upscale_policy_operator": ">", "downscale_policy_operator": "<", "parameter_evaluated_value": 0, "policy_type": "Default", "isEncryptionEnabled": true, "custom_sku": {} } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 2 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Plans & Pricing for an Image" method: GET path: "/api/v1/images/upgradeimage/{vm_template_id}/" url: "/api/myaccount/operations/as-plan/" --- # List Plans & Pricing for an Image `GET https://api.e2enetworks.com/myaccount/api/v1/images/upgradeimage/{vm_template_id}/` For an image template, returns the compute plans (SKUs) available in the region along with their specs (vCPU, RAM, disk) and hourly/monthly pricing and committed-pricing options. Use the `sku_name`, `id` (SKU ID) and plan slug from this response as `plan_name`, `sku_id` and `slug_name` when creating a group. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_template_id` | integer | yes | The `template_id` of the image to fetch plans for. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region whose plans and pricing should be returned. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.data` | array of object | no | | | `data.data[].name` | string | no | | | `data.data[].plan` | string | no | | | `data.data[].image` | string | no | | | `data.data[].os` | object | no | | | `data.data[].os.name` | string | no | | | `data.data[].os.version` | string | no | | | `data.data[].os.image` | string | no | | | `data.data[].os.category` | string | no | | | `data.data[].location` | string | no | | | `data.data[].specs` | object | no | | | `data.data[].specs.id` | string | no | | | `data.data[].specs.sku_name` | string | no | | | `data.data[].specs.ram` | string | no | | | `data.data[].specs.cpu` | integer | no | | | `data.data[].specs.disk_space` | integer | no | | | `data.data[].specs.price_per_month` | integer | no | | | `data.data[].specs.price_per_hour` | number | no | | | `data.data[].specs.series` | string | no | | | `data.data[].specs.minimum_billing_amount` | integer | no | | | `data.data[].specs.committed_sku` | array of object | no | | | `data.data[].specs.committed_sku[].committed_sku_id` | integer | no | | | `data.data[].specs.committed_sku[].committed_sku_name` | string | no | | | `data.data[].specs.committed_sku[].committed_sku_price` | number | no | | | `data.data[].specs.committed_sku[].committed_upto_date` | string | no | | | `data.data[].specs.committed_sku[].committed_days` | integer | no | | | `data.data[].specs.family` | string | no | | | `data.data[].available_inventory_status` | boolean | no | | | `data.data[].currency` | string | no | | | `data.is_private_cluster_user` | boolean | no | | | `data.storage_price` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "data": [ { "name": "C3.8GB", "plan": "C3-4vCPU-8RAM-100DISK-C3-Onetemplate-Ubuntu24.04-Delhi", "image": "Ubuntu-24.04-Distro", "os": { "name": "Ubuntu", "version": "24.04", "image": "Ubuntu-24.04-Distro", "category": "Ubuntu" }, "location": "Delhi", "specs": { "id": "1088", "sku_name": "C3.8GB", "ram": "8.00", "cpu": 4, "disk_space": 100, "price_per_month": 2263, "price_per_hour": 3.1, "series": "C3", "minimum_billing_amount": 0, "committed_sku": [ { "committed_sku_id": 12345, "committed_sku_name": "365 Days Committed , Rs. 21725.0", "committed_sku_price": 21725, "committed_upto_date": "19-June-2027 08:46", "committed_days": 365 } ], "family": "C3" }, "available_inventory_status": true, "currency": "INR" } ], "is_private_cluster_user": false, "storage_price": 0 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/upgradeimage//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Public IP Requirement" method: GET path: "/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/" url: "/api/myaccount/operations/as-public-ip-details/" --- # Get Public IP Requirement `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/` Returns whether the group's nodes are launched with a public IP (`is_public_ip_required`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.is_public_ip_required` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "is_public_ip_required": true }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//public_ip/action/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resize Auto Scaling Group (Cardinality)" method: PUT path: "/api/v1/scaler/scalegroups/{scaler_id}" url: "/api/myaccount/operations/as-resize/" --- # Resize Auto Scaling Group (Cardinality) `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}` Manually sets the number of running nodes (`cardinality`) for the group. The requested `cardinality` must be within the group's `[min_nodes, max_nodes]` range. Set `update_min_nodes: true` to also raise `min_nodes` to the new cardinality so autoscaling does not immediately scale back down. A resize is rejected with `412 Precondition Failed` if the group is not in a resizable state (for example while it is already `SCALING`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `cardinality` | integer | yes | Target number of running nodes. | | `update_min_nodes` | boolean | no | When true, also raise min_nodes to the new cardinality so autoscaling does not scale back down. | Example request: ```json { "cardinality": 2, "update_min_nodes": true } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"cardinality":2,"update_min_nodes":true}' ``` --- --- title: "Start an Auto Scaling Group" method: PUT path: "/api/v1/scaler/scalegroups/{scaler_id}/start/" url: "/api/myaccount/operations/as-start/" --- # Start an Auto Scaling Group `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/start/` Starts a stopped group: brings its nodes back online and resumes autoscaling. The request body is empty. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "your service has been started", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//start/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Stop an Auto Scaling Group" method: PUT path: "/api/v1/scaler/scalegroups/{scaler_id}/stop/" url: "/api/myaccount/operations/as-stop/" --- # Stop an Auto Scaling Group `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/stop/` Stops the group: shuts down all of its nodes and pauses autoscaling. Network operations (attach/detach VPC or public IP) are only permitted while the group is stopped. The request body is empty. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Your service has been stopped successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//stop/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Disable Public IP for a Group" method: DELETE path: "/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/" url: "/api/myaccount/operations/as-unassign-public-ip/" --- # Disable Public IP for a Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/` Disables public IP assignment for the group, so its nodes no longer get a public IP. The group must be stopped for the operation to succeed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "public_ip has been detached successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//public_ip/action/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Update Auto Scaling Group Configuration" method: PUT path: "/api/v1/scaler/scalegroups/update/{scaler_id}/" url: "/api/myaccount/operations/as-update/" --- # Update Auto Scaling Group Configuration `PUT https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/update/{scaler_id}/` Updates a group's configuration: its `name`, `min_nodes` / `max_nodes`, the backing `plan_id`, the `policy_type`, and the elastic (`policy`) and scheduled (`scheduled_policy`) rules. The same min/max and policy validation as Create applies (`max_nodes` <= 60, the scheduled-policy ordering rules, and at least one of `policy` / `scheduled_policy`). For a private cluster set `is_private: true` and omit `plan_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the update request. | | `location` | string | yes | Region of the group being updated. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Display name of the group. | | `plan_id` | integer | no | ID of the compute plan backing each node. Required when is_private is false. | | `is_private` | boolean | no | Whether the group runs on a private cluster. | | `min_nodes` | integer | yes | Minimum number of running nodes. | | `max_nodes` | integer | yes | Maximum number of running nodes. | | `policy_type` | one of `Default`, `Custom` | no | Whether the elastic policy uses a Default metric or a Custom parameter. | | `policy` | array of object | no | Elastic scaling rules (scale-up and scale-down). See Create for field detail. | | `policy[].type` | string | no | | | `policy[].adjust` | integer | no | | | `policy[].parameter` | string | no | | | `policy[].operator` | string | no | | | `policy[].value` | integer | no | | | `policy[].period_number` | integer | no | | | `policy[].period` | integer | no | | | `policy[].cooldown` | integer | no | | | `scheduled_policy` | array of object | no | Scheduled scaling rules (scale-up and scale-down). See Create for field detail. | | `scheduled_policy[].type` | string | no | | | `scheduled_policy[].adjust` | integer | no | | | `scheduled_policy[].recurrence` | string | no | | Example request: ```json { "name": "web-autoscale-group", "plan_id": 1088, "is_private": false, "min_nodes": 1, "max_nodes": 5, "policy_type": "Default", "policy": [ { "type": "CHANGE", "adjust": 1, "parameter": "CPU", "operator": ">", "value": 60, "period_number": 3, "period": 10, "cooldown": 150 }, { "type": "CHANGE", "adjust": -1, "parameter": "CPU", "operator": "<", "value": 30, "period_number": 3, "period": 10, "cooldown": 150 } ], "scheduled_policy": [ { "type": "CARDINALITY", "adjust": 4, "recurrence": "0 12 * * *" }, { "type": "CARDINALITY", "adjust": 2, "recurrence": "0 2 * * *" } ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "service updated sucessfully, service_name: web-autoscale-group" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/update//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"web-autoscale-group","plan_id":1088,"is_private":false,"min_nodes":1,"max_nodes":5,"policy_type":"Default","policy":[{"type":"CHANGE","adjust":1,"parameter":"CPU","operator":">","value":60,"period_number":3,"period":10,"cooldown":150},{"type":"CHANGE","adjust":-1,"parameter":"CPU","operator":"<","value":30,"period_number":3,"period":10,"cooldown":150}],"scheduled_policy":[{"type":"CARDINALITY","adjust":4,"recurrence":"0 12 * * *"},{"type":"CARDINALITY","adjust":2,"recurrence":"0 2 * * *"}]}' ``` --- --- title: "List VPCs Attached to a Group" method: GET path: "/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/" url: "/api/myaccount/operations/as-vpc-details/" --- # List VPCs Attached to a Group `GET https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/vpc/action/` Returns the VPC networks currently attached to an auto scaling group - each VPC's `network_id`, `name`, and `ipv4_cidr`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `scaler_id` | integer | yes | The `id` of the auto scaling group, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the group. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].network_id` | integer | no | | | `data[].name` | string | no | | | `data[].ipv4_cidr` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "network_id": 12345, "name": "VPC-Example", "ipv4_cidr": "10.8.46.0/23" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups//vpc/action/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach AddOn IPv4" method: POST path: "/api/v1/reserve_ips/{public_ip}/actions/" url: "/api/myaccount/operations/attach-addon-ipv4/" --- # Attach AddOn IPv4 `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/{public_ip}/actions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `public_ip` | string | yes | Path parameter `public_ip`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for attaching the IPv4 add-on. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"vm_id\": {{vm_id}},\n \"type\": \"attach\"\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | object | no | | | `data.IP` | string | no | IPv4 address of the attached add-on | | `data.status` | string | no | status field | | `data.vm_name` | string | no | Name of the virtual machine | | `data.vm_id` | integer | no | Identifier of the virtual machine | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the IPv4 attachment operation. | Example 200 response: ```json { "code": 200, "data": { "IP": "1.2.3.4", "status": "Attached", "vm_name": "C3-8GB-792", "vm_id": 123456 }, "errors": {}, "message": "IP assigned Successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"vm_id\": {{vm_id}},\n \"type\": \"attach\"\n}"' ``` --- --- title: "Attach or Detach IPv6 Address" method: PUT path: "/api/v1/appliances/load-balancers/{lb_id}/ipv6/" url: "/api/myaccount/operations/attach-detach-ipv6/" --- # Attach or Detach IPv6 Address `PUT https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/{lb_id}/ipv6/` Attaches a public IPv6 address to a load balancer, or detaches the existing one. The operation is selected by the `action` field in the request body (`attach` or `detach`). On success the full load balancer configuration `context` is returned with the updated `host_target_ipv6` and `is_ipv6_attached` fields. IPv6 is only available for external load balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `action` | one of `attach`, `detach` | yes | Whether to attach a new public IPv6 address or detach the existing one. | Example request: ```json { "action": "attach" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | The load balancer configuration context (see the Update Load Balancer request body for the complete field reference). | | `data.lb_name` | string | no | | | `data.lb_type` | string | no | | | `data.lb_mode` | string | no | | | `data.lb_port` | string | no | | | `data.plan_name` | string | no | | | `data.is_ipv6_attached` | boolean | no | Whether an IPv6 address is currently attached. | | `data.host_target_ipv6` | string | no | The attached IPv6 address (empty/absent when detached). | | `data.host_target` | string | no | Comma-separated public IPv4 (and IPv6, when attached) targets. | | `data.management_ip` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "lb_name": "new-name-1", "lb_type": "external", "lb_mode": "HTTP", "lb_port": "80", "plan_name": "E2E-LB-2", "is_ipv6_attached": false, "host_target_ipv6": "2406:69c0:3000::65", "host_target": "164.52.192.224,2406:69c0:3000::65", "management_ip": "192.168.0.204" }, "errors": {}, "message": "IPv6 Attached successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers//ipv6/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"action":"attach"}' ``` --- --- title: "Attach Floating IPv4" method: PUT path: "/api/v1/reserve_ips/floating-ip/attach/" url: "/api/myaccount/operations/attach-floating-ipv4/" --- # Attach Floating IPv4 `PUT https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/attach/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | Specifies the target location for attaching the floating IPv4 address. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"ip_address\": {{floating_ip}},\n \"node_ids\": [\n {{node_id}}\n ]\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the attach operation | | `data` | object | no | | | `data.ip_address` | string | no | IPv4 address of the attached floating IP | | `data.node_ids` | array of integer | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message indicating the result of the attach operation. | Example 200 response: ```json { "code": 200, "data": { "ip_address": "1.2.3.4", "node_ids": [ 123456 ] }, "errors": {}, "message": "Floating IP is attached successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"ip_address\": {{floating_ip}},\n \"node_ids\": [\n {{node_id}}\n ]\n}"' ``` --- --- title: "Attach IPv6" method: POST path: "/api/v1/nodes/ipv6/" url: "/api/myaccount/operations/attach-ipv6/" --- # Attach IPv6 `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/ipv6/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the location identifier for the IPv6 attachment. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"node_id\": {{vm_id}},\n \"action\": \"attach\",\n \"location\": {{location}}\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the IPv6 attachment request | | `data` | object | no | | | `data.attached_ipv6` | string | no | IPv6 address attached to the resource | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the IPv6 attachment operation. | Example 200 response: ```json { "code": 200, "data": { "attached_ipv6": "2306:64c0:2000::59" }, "errors": {}, "message": "IPv6 attached successfully to the compute node." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/ipv6/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"node_id\": {{vm_id}},\n \"action\": \"attach\",\n \"location\": {{location}}\n}"' ``` --- --- title: "Attach Security Group" method: POST path: "/api/v1/security_group/{vm_id}/attach/" url: "/api/myaccount/operations/attach-security-group/" --- # Attach Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/attach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Specifies the target location for attaching the security group. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"security_group_ids\": [\n {{security_group_id}}\n ]\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the attach operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message indicating the result of the attach operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Attached Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"security_group_ids\": [\n {{security_group_id}}\n ]\n}"' ``` --- --- title: "Attach Volume" method: PUT path: "/api/v1/block_storage/{block_id}/vm/attach/" url: "/api/myaccount/operations/attach-volume/" --- # Attach Volume `PUT https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/vm/attach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Path parameter `block_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for attaching the volume | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"vm_id\": {{vm_id}}\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the attach volume request | | `data` | object | no | | | `data.image_id` | integer | no | Unique identifier of the attached image | | `data.vm_id` | integer | no | Identifier of the virtual machine | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the attach volume operation. | Example 200 response: ```json { "code": 200, "data": { "image_id": 1234, "vm_id": 1234 }, "errors": {}, "message": "Block Storage is Attached to VM." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//vm/attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"vm_id\": {{vm_id}}\n}"' ``` --- --- title: "Attach VPC" method: POST path: "/api/v1/vpc/node/attach/" url: "/api/myaccount/operations/attach-vpc/" --- # Attach VPC `POST https://api.e2enetworks.com/myaccount/api/v1/vpc/node/attach/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | The target location or region for the VPC attachment. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"network_id\": \"{{network_id}}\",\n \"vpc_name\": \"VPC-493\",\n \"current_private_ip\": {{private_ip}},\n \"node_id\": {{node_id}},\n \"subnet_id\": \"{{subnet_id}}\",\n \"input_ip\": {{preffered_ip}},\n \"action\": \"attach\"\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the attach VPC operation | | `data` | object | no | | | `data.vpc_id` | integer | no | Identifier of the VPC to which the resource is attached | | `data.vpc_name` | string | no | Identifier of the attached VPC | | `data.project_id` | string | no | Unique identifier of the project | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the Attach VPC operation | Example 200 response: ```json { "code": 200, "data": { "vpc_id": 1234, "vpc_name": "VPC-493", "project_id": "12345" }, "errors": {}, "message": "VPC Attach operation successfully done" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/node/attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"network_id\": \"{{network_id}}\",\n \"vpc_name\": \"VPC-493\",\n \"current_private_ip\": {{private_ip}},\n \"node_id\": {{node_id}},\n \"subnet_id\": \"{{subnet_id}}\",\n \"input_ip\": {{preffered_ip}},\n \"action\": \"attach\"\n}"' ``` --- --- title: "Attached Security Group" method: GET path: "/api/v1/security_group/{vm_id}/attach/" url: "/api/myaccount/operations/attached-security-group/" --- # Attached Security Group `GET https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/attach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Location filter for the attached security group query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the request | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the attached security group | | `data[].name` | string | no | Name of the attached security group | | `data[].description` | string | no | Name of the attached security group | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | Unique identifier for the security group rule | | `data[].rules[].rule_type` | string | no | Specifies the direction of the security group rule | | `data[].rules[].protocol_name` | string | no | Name of the network protocol for the rule | | `data[].rules[].port_range` | string | no | Port range for the rule, expressed as a single port or a start-end range | | `data[].rules[].network` | string | no | Network identifier for the rule, such as a CIDR block or "any" | | `data[].rules[].network_cidr` | string | no | Network CIDR block for the security group rule | | `data[].rules[].network_size` | integer | no | Number of networks associated with the security group | | `data[].rules[].vpc_id` | string | no | Identifier of the VPC associated with the security group rule | | `data[].rules[].description` | string | no | Textual description of the security group rule. | | `data[].is_default` | boolean | no | Indicates whether the attached security group is the default one | | `data[].is_all_traffic_rule` | boolean | no | Indicates whether the security group rule applies to all traffic | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of attaching a security group | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "default_sg_delhi_35027", "description": "default security group delhi", "rules": [ { "id": 123456, "rule_type": "Inbound", "protocol_name": "All", "port_range": "", "network": "any", "network_cidr": "--", "network_size": 1, "vpc_id": "string", "description": "" } ], "is_default": true, "is_all_traffic_rule": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attached Volume Monitoring" method: GET path: "/api/v1/nodes/{node_id}/monitoring/volume/" url: "/api/myaccount/operations/attached-volume-monitoring/" --- # Attached Volume Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitoring/volume/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `interval` | string | no | Time interval in seconds for monitoring data retrieval. | | `volume_id` | string | no | Identifier of the volume to monitor | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the geographic location for the attached volume monitoring request. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the monitoring response | | `data` | array of object | no | | | `data[].disk` | string | no | Identifier of the attached volume device | | `data[].mountpoint` | string | no | The filesystem path where the volume is mounted. | | `data[].read_iops` | object | no | | | `data[].read_iops.labels` | array of string | no | | | `data[].read_iops.results` | array of string | no | | | `data[].write_iops` | object | no | | | `data[].write_iops.labels` | array of string | no | | | `data[].write_iops.results` | array of string | no | | | `data[].size` | object | no | | | `data[].size.labels` | array of string | no | | | `data[].size.results` | array of integer | no | | | `data[].name` | string | no | Identifier name of the attached volume monitoring entry | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the volume monitoring request | Example 200 response: ```json { "code": 200, "data": [ { "disk": "vdb", "mountpoint": "/root/volume", "read_iops": { "labels": [ "05:55PM" ], "results": [ "772.0" ] }, "write_iops": { "labels": [ "05:55PM" ], "results": [ "6150.0" ] }, "size": { "labels": [ "Free Memory (GB)" ], "results": [ 0 ] }, "name": "monitoring" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/volume/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attached Volumes" method: GET path: "/api/v1/nodes/{node_id}/attached-volumes/" url: "/api/myaccount/operations/attached-volumes/" --- # Attached Volumes `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/attached-volumes/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | Specifies the location filter for attached volumes. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the attached volumes response | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier for the attached volume | | `data[].volume_name` | string | no | Name of the attached volume | | `data[].total_size` | string | no | Total size of the attached volume as a stringified number of bytes | | `data[].total_size_string` | string | no | Human-readable total size of the volume | | `data[].total_iops_sec` | string | no | IOPS per second for the attached volume | | `data[].bs_size` | number | no | Size of the attached volume in gigabytes | | `data[].hourly_price` | string | no | Hourly price of the attached volume as a formatted string. | | `data[].monthly_price` | string | no | Monthly price of the attached volume | | `data[].is_encrypted` | boolean | no | Indicates whether the attached volume is encrypted. | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": [ { "id": 1234, "volume_name": "V_100GB_160", "total_size": "12345", "total_size_string": "100.0 GB", "total_iops_sec": "1500", "bs_size": 0.1, "hourly_price": "Rs. 0.69/Hour", "monthly_price": "Rs. 500.0 Monthly", "is_encrypted": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//attached-volumes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Audit Logs" method: GET path: "/api/v1/nodes/nodeactionlog/{vm_id}" url: "/api/myaccount/operations/audit-logs/" --- # Audit Logs `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/nodeactionlog/{vm_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request for audit logs | | `location` | string | yes | Filter audit logs by location | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the audit log response | | `data` | array of object | no | | | `data[].customer_id` | integer | no | Identifier of the customer associated with the audit log entry | | `data[].timestamp` | string | no | Timestamp of the audit log entry | | `data[].event` | string | no | The name of the audit log event. | | `data[].client_ip` | string | no | IP address of the client that performed the action | | `data[].details` | string | no | Human-readable description of the audit event | | `data[].status` | boolean | no | Indicates whether the audit log entry is successful | | `data[].operation_performed_by` | string (email) | no | Email of the user who performed the operation | | `data[].performer_type` | string | no | type of performer that generated the audit log entry | | `data[].performer_name` | string | no | Name of the performer associated with the audit log entry | | `errors` | object | no | | | `message` | string | no | Result status of the audit operation | Example 200 response: ```json { "code": 200, "data": [ { "customer_id": 12345, "timestamp": "Aug 12, 2025 05:36:05 AM", "event": "RESUME_ALERT", "client_ip": "14.2.3.4", "details": "Trigger: load > 10.0", "status": true, "operation_performed_by": "your_email@example.com", "performer_type": "primary_user", "performer_name": "your_email" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/nodeactionlog/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Available Security Group" method: GET path: "/api/v1/security_group/{vm_id}/detach/" url: "/api/myaccount/operations/available-security-group/" --- # Available Security Group `GET https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/detach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location identifier for the security group query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the request | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the security group | | `data[].name` | string | no | Name of the security group | | `data[].description` | string | no | Brief textual description of the security group. | | `data[].rules` | array of string | no | | | `data[].is_default` | boolean | no | Indicates whether the security group is the default one | | `data[].is_all_traffic_rule` | boolean | no | Indicates whether the rule applies to all traffic | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the response | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "api-automation-sg-7177", "description": "Base Security Group payload for negative testing", "rules": [ "string" ], "is_default": false, "is_all_traffic_rule": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Backup Plans" method: GET path: "/api/v1/cdpbackup/plans/" url: "/api/myaccount/operations/backup-plans/" --- # Backup Plans `GET https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/plans/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | The geographic location for the backup plan. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the backup plan request | | `data` | array of object | no | | | `data[].plan_id` | integer | no | Identifier of the backup plan | | `data[].plan_name` | string | no | Name of the backup plan | | `data[].plan_type` | string | no | type identifier of the backup plan | | `data[].schedule_type` | string | no | type of backup schedule (e.g., HOURLY) | | `data[].hourly_interval` | integer | no | Number of hours between each backup execution | | `data[].retention_settings` | object | no | | | `data[].retention_settings.hourlyLimit` | integer | no | Maximum number of hourly backups to retain | | `data[].retention_settings.dailyLimit` | integer | no | Maximum number of daily backups to retain | | `data[].retention_settings.weeklyLimit` | integer | no | Maximum number of weekly backups to retain | | `data[].retention_settings.monthlyLimit` | integer | no | Maximum number of monthly backups to retain | | `data[].retention_settings.yearlyLimit` | integer | no | Maximum number of yearly backups to retain | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the backup plan operation | | `can_activate_backup` | boolean | no | Indicates whether the backup plan can be activated | Example 200 response: ```json { "code": 200, "data": [ { "plan_id": 1, "plan_name": "Regular Plan", "plan_type": "DEFAULT", "schedule_type": "HOURLY", "hourly_interval": 6, "retention_settings": { "hourlyLimit": 12, "dailyLimit": 14, "weeklyLimit": 4, "monthlyLimit": 2, "yearlyLimit": 0 } } ], "errors": {}, "message": "Success", "can_activate_backup": true } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/plans/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Backup Status" method: GET path: "/api/v1/cdpbackup/{node_id}/status/" url: "/api/myaccount/operations/backup-status/" --- # Backup Status `GET https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/{node_id}/status/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the backup status request | | `location` | string | yes | Specifies the location for which to retrieve backup status. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for backup operation | | `data` | array of object | no | | | `data[].node_id` | integer | no | Unique identifier of the node in the backup status response | | `data[].status` | string | no | Indicates the current backup status for the item. | | `data[].detail` | string | no | Backup status detail string | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the backup operation | Example 200 response: ```json { "code": 200, "data": [ { "node_id": 12345, "status": "backup_not_activated", "detail": "Not Activated" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup//status/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Billing Logs" method: GET path: "/api/v1/nodes/nodebillinglog/{vm_id}" url: "/api/myaccount/operations/billing-logs/" --- # Billing Logs `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/nodebillinglog/{vm_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request for billing logs | | `location` | string | yes | Specifies the geographic location for the billing logs query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the billing log response | | `data` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the billing log request | Example 200 response: ```json { "code": 200, "data": [ "string" ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/nodebillinglog/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Bitninja Details" method: GET path: "/api/v1/nodes/{node_id}/bitninjaDetails/" url: "/api/myaccount/operations/bitninja-details/" --- # Bitninja Details `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/bitninjaDetails/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the target location for the Bitninja details request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | array of object | no | | | `data[].node_id` | integer | no | Unique identifier for the node | | `data[].show_bitninja` | boolean | no | Flag indicating whether BitNinja details are shown | | `data[].bitninja_cost` | string | no | Cost value returned by BitNinja, represented as a string | | `data[].is_bitninja_license_active` | boolean | no | Indicates whether the Bitninja license is currently active | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": [ { "node_id": 12345, "show_bitninja": true, "bitninja_cost": "760.0", "is_bitninja_license_active": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//bitninjaDetails/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Bulk Action" method: PUT path: "/api/v1/nodes/action-on-multiple-nodes/" url: "/api/myaccount/operations/bulk-action/" --- # Bulk Action `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/action-on-multiple-nodes/` Applies the same action to up to 10 nodes at once; a longer `node_ids` list is rejected with "Batch actions can be performed on maximum 10 nodes at a time." The body is a JSON payload with a `node_ids` array and a `type` field naming the action. Only `power_off`, `power_on`, `reboot`, `lock_vm`, and `unlock_vm` are supported for a batch; any other action is rejected. This view reads the request body directly rather than through a schema class, so the required fields here are written from the view's own code, not from an automated schema check. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the bulk action request | | `location` | string | yes | Region of the target nodes | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `node_ids` | array of integer | yes | IDs of the nodes to apply the action to. All nodes must belong to the project identified by the `project_id` query parameter and must be in a state compatible with the chosen action (e.g. you cannot `power_off` a node that is already off). | | `type` | one of `power_off`, `power_on`, `reboot`, `lock_vm`, `unlock_vm` | yes | The bulk-supported action to perform. A strict subset of the single-node action set - only the "simple" actions that take no additional fields are allowed in bulk. | Example request: ```json { "node_ids": [ 12345 ], "type": "power_off" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the bulk action result. | | `data` | string | no | Result data returned by the bulk action. | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the bulk action. | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "All selected nodes powered off successfuly." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/action-on-multiple-nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"node_ids":[12345],"type":"power_off"}' ``` --- --- title: "Check Connection" method: GET path: "/api/v1/cdpbackup/{node_id}/cdp-agent/" url: "/api/myaccount/operations/check-connection/" --- # Check Connection `GET https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/{node_id}/cdp-agent/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location identifier used in the check connection request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the connection check | | `data` | object | no | | | `data.connection_status` | boolean | no | Indicates whether the connection check succeeded | | `data.message` | string | no | Human-readable status or error message for the connection check | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the connection check | Example 200 response: ```json { "code": 200, "data": { "connection_status": false, "message": "Connecting to agent failed." }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup//cdp-agent/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Configure DB Backup" method: PUT path: "/api/v1/cdpbackup/database_update/{node_id}/" url: "/api/myaccount/operations/configure-db-backup/" --- # Configure DB Backup `PUT https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/database_update/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the backup target location. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `db_username` | string | no | Database username for backup configuration | | `db_password` | string | no | Database password used for backup configuration | Example request: ```json { "db_username": "admin", "db_password": "admin@1234" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the Configure DB Backup response | | `data` | string | no | Result message for the DB backup configuration request. | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the backup configuration request. | Example 200 response: ```json { "code": 200, "data": "Database settings has been updated successfully.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/database_update//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"db_username":"admin","db_password":"admin@1234"}' ``` --- --- title: "Convert to Committed" method: POST path: "/api/v1/nodes/{node_id}/" url: "/api/myaccount/operations/convert-to-committed/" --- # Convert to Committed `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the target location for the conversion operation. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `sku_day_id` | integer | no | Identifier for the SKU day to convert | Example request: ```json { "sku_day_id": 1234 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the conversion response | | `data` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Message confirming the node was converted to a committed node | Example 200 response: ```json { "code": 200, "data": [ "" ], "errors": {}, "message": "Your Node is converted into Committed Node" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"sku_day_id":1234}' ``` --- --- title: "Create Alert" method: POST path: "/api/v1/monitoring/single-service/alerts/" url: "/api/myaccount/operations/create-alert/" --- # Create Alert `POST https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | Specifies the location for which the alert is created | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `trigger_data` | object | no | | | `trigger_data.trigger_type` | string | no | Specifies the type of trigger that activates the alert | | `trigger_data.trigger_operator` | string | no | Comparison operator used to evaluate the trigger condition | | `trigger_data.trigger_threshold` | integer | no | Threshold value that triggers the alert | | `trigger_data.owner` | integer | no | ID of the user who owns the alert | | `trigger_data.usergroups` | array of integer | no | | | `trigger_data.trigger_severity` | integer | no | Severity level of the trigger | | `trigger_data.service_type` | string | no | Specifies the type of service that triggered the alert | | `trigger_data.service_ids` | array of integer | no | | Example request: ```json { "trigger_data": { "trigger_type": "load", "trigger_operator": ">", "trigger_threshold": 10, "owner": 12345, "usergroups": [ 1234 ], "trigger_severity": 4, "service_type": "nodes", "service_ids": [ 12345 ] } } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the create alert request | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the created alert | | `data.trigger_type` | string | no | The type of condition that triggers the alert | | `data.operator` | string | no | Comparison operator used in the alert condition | | `data.threshold` | integer | no | The numeric threshold value for the created alert. | | `data.service_type` | string | no | Type of service the alert applies to | | `data.is_alert_enabled` | boolean | no | Indicates whether the created alert is enabled | | `data.notified_groups` | array of object | no | | | `data.notified_groups[].id` | integer | no | Unique identifier of the notified group | | `data.notified_groups[].name` | string | no | Name of the notified group | | `data.notified_groups[].zabbix_user_group_id` | integer | no | Identifier of the Zabbix user group associated with the notification | | `data.notified_groups[].member` | array of object | no | | | `data.notified_groups[].member[].id` | integer | no | Unique identifier of the group member | | `data.notified_groups[].member[].iam_user` | object | no | | | `data.notified_groups[].member[].iam_user.member_id` | integer | no | Unique identifier of the IAM user | | `data.notified_groups[].member[].iam_user.name` | string | no | Name of the IAM user associated with the notified group member. | | `data.notified_groups[].member[].iam_user.email` | string (email) | no | IAM user's email address | | `data.notified_groups[].member[].iam_user.role` | string | no | IAM role assigned to the member within the notified group | | `data.notified_groups[].member[].iam_user.iam_type` | string | no | IAM role type of the user | | `data.notified_groups[].member[].iam_user.invitation_status` | string | no | Status of the IAM user invitation | | `data.notified_groups[].member[].iam_user.allowed_to_edit_by_current_user` | string | no | Indicates if the current user can edit this IAM user | | `data.notified_groups[].member[].date_joined` | string (date-time) | no | Timestamp when the member joined, in ISO 8601 UTC format | | `data.notified_groups[].member[].date_removed` | string | no | Date the member was removed from the notified group | | `data.resources` | array of object | no | | | `data.resources[].id` | integer | no | Unique identifier of the created alert | | `data.resources[].name` | string | no | Name of the created alert resource | | `data.severity` | integer | no | Severity level of the created alert | | `data.volume_id` | string | no | Unique identifier of the volume related to the alert | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the create alert operation | Example 200 response: ```json { "code": 201, "data": { "id": 123456, "trigger_type": "load", "operator": ">", "threshold": 10, "service_type": "nodes", "is_alert_enabled": true, "notified_groups": [ { "id": 1234, "name": "Default-26931-40057", "zabbix_user_group_id": 123, "member": [ { "id": 1234, "iam_user": { "member_id": 12345, "name": "Name", "email": "example@gmail.com", "role": "Admin", "iam_type": "Owner", "invitation_status": "Accepted", "allowed_to_edit_by_current_user": "string" }, "date_joined": "2025-02-19T06:38:52.965166Z", "date_removed": "string" } ] } ], "resources": [ { "id": 12345, "name": "C3-8GB-508" } ], "severity": 4, "volume_id": "string" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"trigger_data":{"trigger_type":"load","trigger_operator":">","trigger_threshold":10,"owner":12345,"usergroups":[1234],"trigger_severity":4,"service_type":"nodes","service_ids":[12345]}}' ``` --- --- title: "Create API token" method: POST path: "/api/v1/apis/token/" url: "/api/myaccount/operations/create-api-token/" --- # Create API token `POST https://api.e2enetworks.com/myaccount/api/v1/apis/token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for the API token | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | Name of the API token | | `access_name` | object | yes | | Example request: ```json { "token_name": "api-automation", "access_name": null } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the token creation request | | `data` | object | no | | | `data.token_name` | string | no | Name of the created API token | | `data.access_name` | array of one of `READ`, `WRITE` | no | | | `data.api_key` | string (uuid) | no | API token identifier | | `data.auth_token` | string | no | JWT authentication token associated with the API token | | `data.created_at` | string | no | Human-readable relative timestamp indicating when the token was created | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": { "token_name": "api-automation", "access_name": [ "READ", "WRITE" ], "api_key": "uuid-string", "auth_token": "example-jwt-string", "created_at": "0 Day ago" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/apis/token/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"token_name":"api-automation","access_name":null}' ``` --- --- title: "Create Load Balancer (ALB or NLB)" method: POST path: "/api/v1/appliances/load-balancers/" url: "/api/myaccount/operations/create-load-balancer/" --- # Create Load Balancer (ALB or NLB) `POST https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/` Provisions a load balancer appliance (HAProxy). A single endpoint creates both types - the request body shape is what distinguishes them: - **Application Load Balancer (ALB)** - Layer-7 (HTTP/HTTPS). Identified by one or more `backends` (and no `tcp_backend`). Supports host/path ACL routing, SSL termination, WebSocket timeouts, and node-based or auto-scaling-group backends. `lb_mode` is `HTTP`, `HTTPS`, or `BOTH`. - **Network Load Balancer (NLB)** - Layer-4 (TCP). Identified by a single `tcp_backend` entry (and no `backends`). `lb_mode` is `TCP` and the listening port comes from the `tcp_backend` entry. ACLs and SSL are not supported. `backends` and `tcp_backend` are mutually exclusive. ACL rules (`acl_list` / `acl_map`) are always sent **empty** at create time and added later via the Update Load Balancer endpoint. On success the appliance is returned in `Creating` state - poll the Load Balancer Status endpoint until it becomes `Running`. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the create request | | `location` | string | yes | Region in which the load balancer will be provisioned. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `plan_name` | string | yes | Plan SKU backing the load balancer appliance. Use the `name` of a plan returned by LB Plans (for example `E2E-LB-2`). | | `lb_name` | string | yes | Display name of the load balancer. | | `lb_type` | one of `external`, `internal` | yes | Network scheme of the load balancer. `external` exposes a public IP; `internal` is reachable only inside the selected VPC(s) and requires `vpc_list`. (This is the "Scheme/Type" choice in the console; it does **not** distinguish ALB from NLB - the presence of `backends` is what makes this an ALB.) | | `lb_mode` | one of `HTTP`, `HTTPS`, `BOTH`, `TCP` | yes | Frontend protocol. For an **ALB**: `HTTP` (port 80 only), `HTTPS` (443 only), or `BOTH` (HTTP redirects honour `ssl_context.redirect_to_https`). For an **NLB**: always `TCP`. | | `lb_port` | string | yes | Primary listening port, sent as a string. The console sets `80` when `lb_mode` is `HTTP` and `443` otherwise. | | `node_list_type` | one of `D` | yes | Backend node-list mode. Always `D` (dynamic) for load balancers created from the console. | | `connection_timeout` | integer | no | HAProxy connection timeout, in seconds. | | `client_timeout` | integer | no | HAProxy client-side inactivity timeout, in seconds. | | `server_timeout` | integer | no | HAProxy server-side inactivity timeout, in seconds. | | `http_keep_alive_timeout` | integer | no | HAProxy HTTP keep-alive timeout, in seconds. | | `ssl_context` | object | no | TLS configuration. Required when `lb_mode` is `HTTPS` or `BOTH` (an SSL certificate must be selected); not used for plain `HTTP`. | | `ssl_context.ssl_certificate_id` | integer | no | ID of an uploaded SSL certificate to terminate TLS with. Required when `lb_mode` is not `HTTP`; `null` otherwise. | | `ssl_context.redirect_to_https` | boolean | no | When `true`, plain HTTP requests are redirected to HTTPS. | | `backends` | array of object | no | One or more backend groups the ALB routes traffic to. At least one backend is required for an ALB (this is what distinguishes it from an NLB). `backends` and `tcp_backend` are mutually exclusive. | | `backends[].name` | string | yes | Backend group name (also referenced by ACL maps and `default_backend`). | | `backends[].balance` | one of `source`, `roundrobin`, `leastconn` | no | Load-balancing (routing policy) algorithm. `source` provides IP stickiness, `roundrobin` distributes evenly, `leastconn` sends to the least-busy server. | | `backends[].backend_mode` | one of `http`, `https` | no | Backend protocol. Mirrors `backend_ssl` - `http` or `https`. | | `backends[].backend_ssl` | boolean | no | Whether the ALB connects to backend servers over HTTPS. | | `backends[].http_check` | boolean | no | Enables HTTP health checks against `check_url`. | | `backends[].check_url` | string | no | Path used for HTTP health checks. | | `backends[].domain_name` | string | yes | Host header used for health checks. The console sends `localhost`. | | `backends[].websocket_timeout` | integer | no | WebSocket idle timeout in seconds, or `null` to disable. | | `backends[].network_id` | string | no | VPC network ID for the backend; `null` for public backends. | | `backends[].scaler_id` | string | no | Auto Scaling Group ID when the backend type is an auto-scaling group. `null` for node-based backends. | | `backends[].scaler_port` | string | no | Port on the auto-scaling group's nodes. `null` for node-based backends. | | `backends[].servers` | array of object | no | Backend servers (nodes) for a node-based backend. Omitted/empty when the backend is an auto-scaling group. | | `backends[].servers[].backend_name` | string | yes | Name of the backend server. | | `backends[].servers[].backend_ip` | string | yes | Private/public IPv4 address of the backend server. | | `backends[].servers[].backend_port` | integer | yes | Port the backend server listens on. | | `default_backend` | string | no | Name of the backend that receives traffic not matched by any ACL. May only be set when `backends` is non-empty. | | `acl_list` | array of object | no | Layer-7 routing rule definitions. Always sent **empty** at create time; add rules afterwards via Update Load Balancer. | | `acl_map` | array of object | no | Mapping of ACL rules to backends. Always sent **empty** at create time. | | `tcp_backend` | array of object | no | The single TCP backend group for an **NLB**. Provide exactly one entry for an NLB (and leave `backends` empty); leave this empty for an ALB. `backends` and `tcp_backend` are mutually exclusive. | | `tcp_backend[].backend_name` | string | no | Backend group name. | | `tcp_backend[].port` | integer | yes | Port the NLB listens on and forwards to the backend servers (also copied to top-level `lb_port`). | | `tcp_backend[].balance` | one of `source`, `roundrobin`, `leastconn` | no | Load-balancing (routing policy) algorithm. | | `tcp_backend[].timeout_connect` | string | no | TCP connect timeout in seconds (as a string). | | `tcp_backend[].timeout_client` | string | no | TCP client-side timeout in seconds (as a string). | | `tcp_backend[].timeout_server` | string | no | TCP server-side timeout in seconds (as a string). | | `tcp_backend[].servers` | array of object | yes | Backend servers (nodes) for the TCP backend. | | `tcp_backend[].servers[].backend_name` | string | yes | | | `tcp_backend[].servers[].backend_ip` | string | yes | | | `tcp_backend[].servers[].backend_port` | integer | yes | | | `vpc_list` | array of object | no | VPC(s) the load balancer attaches to. **Required when `lb_type` is `internal`**; optional otherwise. | | `vpc_list[].network_id` | string | yes | VPC network ID. | | `vpc_list[].vpc_name` | string | yes | VPC name. | | `vpc_list[].ipv4_cidr` | string | yes | IPv4 CIDR block of the VPC. | | `vpc_list[].subnet_id` | string | no | Subnet ID, when attaching to a specific subnet. | | `lb_reserve_ip` | string | no | A previously reserved public IPv4 address to assign to the load balancer. Send an empty string to allocate a fresh IP. Not allowed for internal load balancers. | | `is_ipv6_attached` | boolean | no | Whether to attach a public IPv6 address at creation (external load balancers only). | | `enable_bitninja` | boolean | no | Whether to activate the BitNinja security add-on on the appliance. | | `security_group_id` | integer | no | ID of the security group to attach to the load balancer. The console always sends the selected security group. | | `isEncryptionEnabled` | boolean | no | Enables disk encryption on the appliance. When `true`, `encryption_passphrase` is required. | | `encryption_passphrase` | string | no | Passphrase for disk encryption. Only used when `isEncryptionEnabled` is `true`. | | `cn_id` | integer | no | Committed (reserved) SKU ID, when creating the load balancer on a committed plan. `null` for standard hourly billing. Use a `committed_sku_id` from LB Plans. | | `cn_status` | string | no | Committed-plan renewal status. `null` for standard hourly billing. | Example request: ```json { "plan_name": "E2E-LB-2", "lb_name": "LB-ALB-26321-6218", "lb_type": "external", "lb_mode": "BOTH", "lb_port": "443", "node_list_type": "D", "connection_timeout": 60, "client_timeout": 60, "server_timeout": 60, "http_keep_alive_timeout": 60, "ssl_context": { "ssl_certificate_id": null, "redirect_to_https": false }, "backends": [ { "name": "backend-group-1", "balance": "source", "backend_mode": "http", "backend_ssl": false, "http_check": true, "check_url": "/", "domain_name": "localhost", "websocket_timeout": 60, "network_id": null, "scaler_id": null, "scaler_port": null, "servers": [ { "backend_name": "C3-8GB-853", "backend_ip": "10.2.3.4", "backend_port": 8080 } ] } ], "default_backend": "backend-group-1", "acl_list": [ null ], "acl_map": [ null ], "tcp_backend": [ { "backend_name": "backend-group-1", "port": 12345, "balance": "leastconn", "timeout_connect": "5", "timeout_client": "10", "timeout_server": "10", "servers": [ { "backend_name": "C3-8GB-853", "backend_ip": "10.8.54.7", "backend_port": 32 } ] } ], "vpc_list": [ { "network_id": "60806", "vpc_name": "VPC-261", "ipv4_cidr": "10.8.46.0/23", "subnet_id": null } ], "lb_reserve_ip": "", "is_ipv6_attached": false, "enable_bitninja": false, "security_group_id": 81526, "isEncryptionEnabled": false, "encryption_passphrase": "ApiAuto@24", "cn_id": null, "cn_status": null } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.appliance_id` | integer | no | ID of the newly created load balancer. | | `data.id` | integer | no | Same as `appliance_id`. | | `data.IP` | string | no | Public IP assigned to the load balancer. | | `data.is_credit_sufficient` | boolean | no | Whether the account had sufficient credit for the request. | | `data.resource_type` | string | no | | | `data.label_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "appliance_id": 1234, "id": 1234, "IP": "164.2.3.4", "is_credit_sufficient": true, "resource_type": null, "label_id": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"plan_name":"E2E-LB-2","lb_name":"LB-ALB-26321-6218","lb_type":"external","lb_mode":"BOTH","lb_port":"443","node_list_type":"D","connection_timeout":60,"client_timeout":60,"server_timeout":60,"http_keep_alive_timeout":60,"ssl_context":{"ssl_certificate_id":null,"redirect_to_https":false},"backends":[{"name":"backend-group-1","balance":"source","backend_mode":"http","backend_ssl":false,"http_check":true,"check_url":"/","domain_name":"localhost","websocket_timeout":60,"network_id":null,"scaler_id":null,"scaler_port":null,"servers":[{"backend_name":"C3-8GB-853","backend_ip":"10.2.3.4","backend_port":8080}]}],"default_backend":"backend-group-1","acl_list":[null],"acl_map":[null],"tcp_backend":[{"backend_name":"backend-group-1","port":12345,"balance":"leastconn","timeout_connect":"5","timeout_client":"10","timeout_server":"10","servers":[{"backend_name":"C3-8GB-853","backend_ip":"10.8.54.7","backend_port":32}]}],"vpc_list":[{"network_id":"60806","vpc_name":"VPC-261","ipv4_cidr":"10.8.46.0/23","subnet_id":null}],"lb_reserve_ip":"","is_ipv6_attached":false,"enable_bitninja":false,"security_group_id":81526,"isEncryptionEnabled":false,"encryption_passphrase":"ApiAuto@24","cn_id":null,"cn_status":null}' ``` --- --- title: "Create Node" method: POST path: "/api/v1/nodes/" url: "/api/myaccount/operations/create-node/" --- # Create Node `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/` Creates one or more nodes. For a committed node, use the Committed node body and set `cn_id` to a committed plan from [OS Plans](/api/myaccount/operations/os-plans/). ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the create node request | | `location` | string | yes | Location identifier for the node | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code returned for the Create Node operation | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the created node | | `data.name` | string | no | Unique identifier of the created node | | `data.vm_id` | integer | no | Identifier of the created virtual machine | | `data.created_at` | string (date-time) | no | Timestamp when the node was created | | `data.public_ip_address` | string | no | The public IPv4 address assigned to the created node. | | `data.private_ip_address` | string | no | The private IPv4 address assigned to the node. | | `data.backup` | boolean | no | Indicates whether a backup was created for the node | | `data.disk` | string | no | Disk size specification for the node | | `data.status` | string | no | Current status of the node creation process | | `data.vcpus` | string | no | Number of virtual CPUs allocated to the node | | `data.memory` | string | no | Amount of memory allocated to the node | | `data.plan` | string | no | Identifier of the node's plan | | `data.region` | string | no | Geographic region identifier for the created node | | `data.is_locked` | boolean | no | Indicates whether the newly created node is locked | | `data.zabbix_host_id` | string | no | Zabbix host identifier associated with the created node | | `data.zabbix_host_id_v2` | string | no | Zabbix host identifier for the created node | | `data.gpu` | string | no | Identifier of the GPU assigned to the node | | `data.price` | string | no | Pricing string with currency and billing period | | `data.additional_ip` | array of string | no | | | `data.label` | string | no | Human-readable name of the created node | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].label` | string (email) | no | Label identifying the SSH key | | `data.ssh_keys[].ssh_key` | string | no | SSH public key string for the node | | `data.is_active` | boolean | no | Indicates whether the created node is active | | `data.scaler_id` | string | no | Identifier of the scaler associated with the node | | `data.os_info` | object | no | | | `data.os_info.name` | string | no | Operating system name | | `data.os_info.version` | string | no | Operating system version string | | `data.os_info.category` | string | no | Operating system category name | | `data.os_info.full_name` | string | no | Operating system full name string | | `data.is_monitored` | boolean | no | Indicates whether the node is being monitored. | | `data.backup_status` | object | no | | | `data.backup_status.status` | string | no | Current backup status of the node | | `data.backup_status.detail` | string | no | Human-readable status detail of the backup operation | | `data.backup_status.node_id` | integer | no | Identifier of the created node | | `data.backup_status.is_encryption_enabled` | boolean | no | Indicates whether backup encryption is enabled. | | `data.location` | string | no | City name where the node is located | | `data.monitor_status` | object | no | | | `data.monitor_status.status` | string | no | Current monitoring status of the node | | `data.monitor_status.reason` | string | no | Human-readable explanation for the monitor status | | `data.enable_bitninja_details` | object | no | | | `data.enable_bitninja_details.show_bitninja` | boolean | no | Indicates whether BitNinja details are displayed | | `data.enable_bitninja_details.bitninja_cost` | integer | no | Cost associated with BitNinja service | | `data.is_bitninja_license_active` | boolean | no | Indicates whether the BitNinja license is active. | | `data.any_license_attached` | object | no | | | `data.any_license_attached.is_license_attached` | boolean | no | Indicates whether a license is attached to the created node | | `data.any_license_attached.license_deletion_message` | string | no | Message returned after a license deletion attempt | | `data.any_license_attached.mssql_license_attached` | boolean | no | Indicates whether a Microsoft SQL Server license is attached to the node. | | `data.is_committed` | boolean | no | Indicates whether the node creation has been committed | | `data.audit_log_message` | string | no | Human-readable message describing the audit log entry | | `data.monitoring_tab_enabled` | boolean | no | Indicates whether the monitoring tab is enabled for the created node. | | `data.cdp_tab_enabled` | boolean | no | Indicates if the CDP tab is enabled for the node. | | `data.alert_tab_enabled` | boolean | no | Indicates whether the alert tab is enabled for the node. | | `data.bitninja_discount_percentage` | integer | no | Discount percentage applied by BitNinja | | `data.is_image_deleted` | boolean | no | Indicates whether the node's image was deleted. | | `data.vpc_enabled` | boolean | no | Indicates if the node has VPC enabled | | `data.is_snapshot_allowed` | boolean | no | Indicates if snapshots are permitted for the created node. | | `data.is_fortigate_vm` | boolean | no | Indicates whether the node is a FortiGate virtual machine. | | `data.rescue_mode_status` | string | no | Indicates whether rescue mode is enabled for the node. | | `data.is_upgradable` | boolean | no | Indicates if the created node can be upgraded. | | `data.abuse_flag` | boolean | no | Indicates if the created node is flagged for abuse | | `data.currency` | string | no | Three-letter ISO 4217 currency code of the node | | `data.vm_type` | string | no | type identifier of the created virtual machine | | `data.is_accidental_protection` | boolean | no | Indicates if accidental protection is enabled for the created node | | `data.project_name` | string | no | Name of the project associated with the created node | | `data.resource_type` | string | no | The type of resource associated with the created node. | | `data.label_id` | string | no | Identifier of the label associated with the created node | | `errors` | object | no | | | `message` | string | no | Result message indicating the outcome of the node creation request | Example 200 response: ```json { "code": 200, "data": { "id": 12345, "name": "C3-8GB-627", "vm_id": 12345, "created_at": "2025-09-04T06:17:21.574517Z", "public_ip_address": "1.2.3.4", "private_ip_address": "10.15.160.6", "backup": false, "disk": "100 GB", "status": "Creating", "vcpus": "4", "memory": "8 GB", "plan": "C3.8GB", "region": "string", "is_locked": false, "zabbix_host_id": "string", "zabbix_host_id_v2": "string", "gpu": "", "price": "Rs. 3.1/Hour or Rs. 2263.0 Monthly", "additional_ip": [ "string" ], "label": "Default", "ssh_keys": [ { "label": "your_email@example.com", "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... your_email@example.com" } ], "is_active": true, "scaler_id": "string", "os_info": { "name": "Ubuntu", "version": "24.04", "category": "Linux Virtual Node", "full_name": "Ubuntu 24.04 x86_64" }, "is_monitored": false, "backup_status": { "status": "backup_not_activated", "detail": "Not Activated", "node_id": 12345, "is_encryption_enabled": false }, "location": "Delhi", "monitor_status": { "status": "not_activated", "reason": "" }, "enable_bitninja_details": { "show_bitninja": true, "bitninja_cost": 760 }, "is_bitninja_license_active": false, "any_license_attached": { "is_license_attached": false, "license_deletion_message": "", "mssql_license_attached": false }, "is_committed": false, "audit_log_message": "string", "monitoring_tab_enabled": true, "cdp_tab_enabled": true, "alert_tab_enabled": true, "bitninja_discount_percentage": 0, "is_image_deleted": false, "vpc_enabled": false, "is_snapshot_allowed": true, "is_fortigate_vm": false, "rescue_mode_status": "Disabled", "is_upgradable": true, "abuse_flag": false, "currency": "INR", "vm_type": "vm", "is_accidental_protection": false, "project_name": "default-project-35027", "resource_type": "string", "label_id": "string" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data 'null' ``` --- --- title: "Create Snapshot" method: POST path: "/api/v1/nodes/{node_id}/snapshots/" url: "/api/myaccount/operations/create-snapshot/" --- # Create Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshots/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | The target location or region for the snapshot. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the snapshot to create | Example request: ```json { "name": "random" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the snapshot creation response | | `data` | object | no | | | `data.snapshot_id` | integer | no | Identifier of the created snapshot | | `data.snapshot_details` | object | no | | | `data.snapshot_details.name` | string | no | Identifier for the created snapshot | | `data.snapshot_details.date` | string (date-time) | no | Timestamp of when the snapshot was created | | `data.snapshot_details.size` | string | no | Size of the snapshot in bytes represented as a string | | `data.snapshot_details.snapshot_id` | string | no | Identifier of the created snapshot | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the snapshot creation. | Example 200 response: ```json { "code": 200, "data": { "snapshot_id": 0, "snapshot_details": { "name": "random_1752239735.723534", "date": "2025-07-11T13:15:36Z", "size": "95367", "snapshot_id": "0" } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"random"}' ``` --- --- title: "Deactivate Bitninja" method: DELETE path: "/api/v1/license/bitninja/{vm_id}/node/" url: "/api/myaccount/operations/deactivate-bitninja/" --- # Deactivate Bitninja `DELETE https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/node/` Terminates a node's active BitNinja security license — the Node Security tab's **Terminate** action, shown when a license is already active. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the Deactivate Bitninja request | | `location` | string | yes | Query parameter specifying the target location for deactivation | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the deactivation request | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the deactivation request | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/license/bitninja//node/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Alert" method: DELETE path: "/api/v1/nodes/{node_id}/monitoring/triggers/" url: "/api/myaccount/operations/delete-alert/" --- # Delete Alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitoring/triggers/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `id` | string | no | Identifier of the alert to delete | | `type` | string | no | Specifies the type of delete operation for the alert | | `zabbix_id` | string | no | Zabbix alert identifier to delete | | `apikey` | string | yes | API key used to authenticate the delete alert request | | `location` | string | yes | The location identifier for the alert to delete. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the delete operation | | `data` | object | no | | | `errors` | string | no | Error message returned by the Delete Alert operation | | `message` | string | no | Human-readable confirmation that the alert was deleted | Example 200 response: ```json { "code": 200, "data": {}, "errors": "", "message": "Trigger was deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/triggers/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete API Token" method: DELETE path: "/api/v1/apis/token/" url: "/api/myaccount/operations/delete-api-token/" --- # Delete API Token `DELETE https://api.e2enetworks.com/myaccount/api/v1/apis/token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | Name of the API token to delete | | `apikey` | string | yes | API key used to authenticate the delete token request | | `location` | string | yes | Specifies the location identifier for the API token to delete. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code returned by the delete operation | | `data` | object | no | | | `data.token_name` | string | no | Name of the deleted API token | | `data.access_name` | array of one of `READ`, `WRITE` | no | | | `data.api_key` | string (uuid) | no | API token identifier | | `data.auth_token` | string | no | JWT authentication token associated with the deleted API token | | `data.created_at` | string | no | Human-readable relative timestamp indicating when the token was created | | `errors` | object | no | | | `message` | string | no | Confirmation message indicating the token was deleted | Example 200 response: ```json { "code": 200, "data": { "token_name": "api_automation", "access_name": [ "READ", "WRITE" ], "api_key": "uuid-string", "auth_token": "example-jwt-string", "created_at": "21 Days ago" }, "errors": {}, "message": "Token has been deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/apis/token/?apikey=&token_name=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Snapshot" method: DELETE path: "/api/v1/block_storage/{block_id}/snapshot/{snapshot_id}" url: "/api/myaccount/operations/delete-block-storage-block-id-snapshot-snapshot-id/" --- # Delete Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/snapshot/{snapshot_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `snapshot_id` | string | yes | Snapshot ID | | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Volume" method: DELETE path: "/api/v1/block_storage/{block_id}/" url: "/api/myaccount/operations/delete-block-storage-block-id/" --- # Delete Volume `DELETE https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A successful response indicating the deletion of a block storage image | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code | | `data` | object | no | | | `data.image_id` | integer | no | Identifier for the deleted image | | `data.image_name` | string | no | Name of the deleted image | | `errors` | object | no | Any errors that occurred during the operation (if applicable) | | `message` | string | no | Response message indicating the operation result | Example 200 response: ```json { "code": 200, "data": { "image_id": 25550, "image_name": "V_250GB_45211qqq11" }, "errors": {}, "message": "Block Storage Deleted" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete CDN" method: DELETE path: "/api/v1/cdn/distributions/" url: "/api/myaccount/operations/delete-cdn-distributions/" --- # Delete CDN `DELETE https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_id` | string | yes | CDN Domain ID | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/?apikey=&domain_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Repo" method: DELETE path: "/api/v1/container_registry/projects-repository/" url: "/api/myaccount/operations/delete-container-registry-projects-repository/" --- # Delete Repo `DELETE https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-repository/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `repository_name` | string | yes | Repository Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Repository deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Repository Deleted Successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-repository/?apikey=&project_name=&repository_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Source Registry" method: DELETE path: "/api/v1/container_registry/registries/{source_registry_id}/" url: "/api/myaccount/operations/delete-container-registry-registries-source-registry-id/" --- # Delete Source Registry `DELETE https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/{source_registry_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `source_registry_id` | integer | yes | Source Registry ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Registry deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Registry Deleted Successfully" } ``` ### 400 Registry deletion failed due to active replication policy. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 400 response: ```json { "code": 400, "data": {}, "errors": "Registry cannot be deleted since it is a part of a replication policy.", "message": "Bad Request" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries//?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Replication Rule" method: DELETE path: "/api/v1/container_registry/replication/policies/{policy_id}/" url: "/api/myaccount/operations/delete-container-registry-replication-policies-policy-id/" --- # Delete Replication Rule `DELETE https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/{policy_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `policy_id` | string | yes | Path parameter `policy_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `policy_id` | integer | yes | Policy ID | | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Replication policy deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Replication Policy Deleted Successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies//?apikey=&policy_id=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Container Registry" method: DELETE path: "/api/v1/container_registry/setup-container-registry/" url: "/api/myaccount/operations/delete-container-registry-setup-container-registry/" --- # Delete Container Registry `DELETE https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `project_name` | integer | yes | Container Registry name | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Container Registry deletion status retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": "Container Registry Deletion Started" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/?apikey=&project_id=&project_name=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Access Token" method: DELETE path: "/api/v1/container_registry/token/{token_name}/" url: "/api/myaccount/operations/delete-container-registry-token-token-name/" --- # Delete Access Token `DELETE https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/{token_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | Token Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Token deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/token//?apikey=&project_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete DNS" method: DELETE path: "/api/v1/e2e_dns/forward/" url: "/api/myaccount/operations/delete-e2e-dns-forward/" --- # Delete DNS `DELETE https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_id` | string | yes | CDN Domain ID | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response indicating domain deletion | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "The domain was deleted successfully" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/?apikey=&domain_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete SFS" method: DELETE path: "/api/v1/efs/delete/{sfs_id}/" url: "/api/myaccount/operations/delete-efs-delete-sfs-id/" --- # Delete SFS `DELETE https://api.e2enetworks.com/myaccount/api/v1/efs/delete/{sfs_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `sfs_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response indicating SFS deletion initiation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "We have initiated your SFS deletion request you will be notified using email in a short while" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs/delete//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Disable all access" method: DELETE path: "/api/v1/efs/{sfs_id}/node/{VPC_NODE_ID}/prohibit/" url: "/api/myaccount/operations/delete-efs-sfs-id-node-vpc-node-id-prohibit/" --- # Disable all access `DELETE https://api.e2enetworks.com/myaccount/api/v1/efs/{sfs_id}/node/{VPC_NODE_ID}/prohibit/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_NODE_ID` | integer | yes | VPC Network ID | | `sfs_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `connection_type` | one of `VPC` | yes | connection type | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response indicating network de-configuration initiation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.efs_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "efs_id": "636" }, "errors": {}, "message": "Network De-configuration Initiated. Expected completion within 2-3 minutes." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs//node//prohibit/?apikey=&connection_type=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete EPFS" method: DELETE path: "/api/v1/epfs/{epfs_id}/" url: "/api/myaccount/operations/delete-epfs-epfs-id/" --- # Delete EPFS `DELETE https://api.e2enetworks.com/myaccount/api/v1/epfs/{epfs_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `epfs_id` | integer | yes | EPFS Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response confirming deletion of EPFS | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Pfs has been deleted.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/epfs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a Function" method: DELETE path: "/api/v1/faas/function/{function_id}/" url: "/api/myaccount/operations/delete-faas-function-function-id/" --- # Delete a Function `DELETE https://api.e2enetworks.com/myaccount/api/v1/faas/function/{function_id}/` Deletes the specified function by its ID. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `function_id` | integer | yes | Function ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Function deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "e2e-function-91786", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/function//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Deactivate Functions (FaaS)" method: DELETE path: "/api/v1/faas/namespace/" url: "/api/myaccount/operations/delete-faas-namespace/" --- # Deactivate Functions (FaaS) `DELETE https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/` Deactivate Function (FaaS) on your E2E Myaccount. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Namespace deleted successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Namespace deleted" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete User group" method: DELETE path: "/api/v1/iam/groups/{group_id}/" url: "/api/myaccount/operations/delete-iam-groups-group-id/" --- # Delete User group `DELETE https://api.e2enetworks.com/myaccount/api/v1/iam/groups/{group_id}/` Deletes an User group by its ID. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | ID of the User group to update | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Group deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "User group deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/iam/groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Image" method: DELETE path: "/api/v1/images/{image_id}/" url: "/api/myaccount/operations/delete-images-image-id/" --- # Delete Image `DELETE https://api.e2enetworks.com/myaccount/api/v1/images/{image_id}/` Delete an existing image by specifying its ID. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `image_id` | integer | yes | Image ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response for deleting image | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "Image deleted successfully" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a tag" method: DELETE path: "/api/v1/label/{tag_id}/" url: "/api/myaccount/operations/delete-label-tag-id/" --- # Delete a tag `DELETE https://api.e2enetworks.com/myaccount/api/v1/label/{tag_id}/` Delete a tag by its ID in a specific project and location. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tag_id` | integer | yes | The ID of the label to delete. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Label deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.resource_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "resource_name": "new" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Load Balancer" method: DELETE path: "/api/v1/appliances/{lb_id}/" url: "/api/myaccount/operations/delete-load-balancer/" --- # Delete Load Balancer `DELETE https://api.e2enetworks.com/myaccount/api/v1/appliances/{lb_id}/` Permanently deletes a load balancer appliance. Note the path uses the generic `appliances/{lb_id}/` route, not the `load-balancers/` prefix. Use the `reserve_ip_required` query parameter to decide whether the load balancer's public IP should be retained as a reserved IP on the account after deletion. This action cannot be undone. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `reserve_ip_required` | boolean | no | When `true`, the load balancer's public IP is converted to a reserved IP on the account instead of being released. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request | | `location` | string | yes | Region of the load balancer being deleted. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.appliance_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "appliance_id": "" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a alert" method: DELETE path: "/api/v1/monitoring/single-service/alerts/{alert_id}/" url: "/api/myaccount/operations/delete-monitoring-single-service-alerts-alert-id/" --- # Delete a alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts/{alert_id}/` Deletes an alert identified by its ID. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `alert_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Alert deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Alert deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Node" method: DELETE path: "/api/v1/nodes/{node_id}/" url: "/api/myaccount/operations/delete-node/" --- # Delete Node `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete node request | | `location` | string | yes | Specifies the target node location for deletion | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code returned by the Delete Node operation | | `data` | object | no | | | `data.vm_id` | integer | no | Identifier of the deleted node | | `data.location` | string | no | Name of the location associated with the deleted node | | `errors` | object | no | | | `message` | string | no | Result message indicating the outcome of the delete operation | Example 200 response: ```json { "code": 200, "data": { "vm_id": 123456, "location": "Delhi" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Firewall by Node ID" method: DELETE path: "/api/v1/nodes/{firewall_id}/" url: "/api/myaccount/operations/delete-nodes-firewall-id/" --- # Delete Firewall by Node ID `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{firewall_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `firewall_id` | string | yes | Firewall ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Snapshot" method: DELETE path: "/api/v1/rds/cluster/{Cluster_id}/snapshot/{snapshot_uuid}/" url: "/api/myaccount/operations/delete-rds-cluster-cluster-id-snapshot-snapshot-uuid/" --- # Delete Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/snapshot/{snapshot_uuid}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | | `snapshot_uuid` | string | yes | snapshot_uuid | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Snapshot information successfully Deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.cluster_id` | integer | no | | | `data.snapshot_uuid` | string (uuid) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "cluster_id": 5275, "snapshot_uuid": "fc3a42db-b1e6-4c65-84e2-0fa3fe3de53e" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//snapshot//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete DBaaS" method: DELETE path: "/api/v1/rds/cluster/{Cluster_id}/" url: "/api/myaccount/operations/delete-rds-cluster-cluster-id/" --- # Delete DBaaS `DELETE https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved cluster information | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code. | | `data` | object | no | | | `data.cluster_id` | integer | no | The ID of the DBaaS cluster. | | `data.name` | string | no | The name of the DBaaS cluster. | | `errors` | object | no | An empty object, meaning no errors occurred. | | `message` | string | no | A success message indicating the request was processed successfully. | Example 200 response: ```json { "code": 200, "data": { "cluster_id": 5276, "name": "E2E-DBaaS-26322-2920" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Read Replica" method: DELETE path: "/api/v1/rds/instance/{Instance_id}/" url: "/api/myaccount/operations/delete-rds-instance-instance-id/" --- # Delete Read Replica `DELETE https://api.e2enetworks.com/myaccount/api/v1/rds/instance/{Instance_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance_id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Success response with detailed data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.instance_id` | integer | no | | | `data.cluster_id` | integer | no | | | `data.replica_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "instance_id": 10540, "cluster_id": 5198, "replica_name": "Slave-5" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/instance//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Parameter Group" method: DELETE path: "/api/v1/rds/parameter-group/{pg_id}/" url: "/api/myaccount/operations/delete-rds-parameter-group-pg-id/" --- # Delete Parameter Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/{pg_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response after deleting a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a Reserved IP" method: DELETE path: "/api/v1/reserve_ips/{ip_address}/actions/" url: "/api/myaccount/operations/delete-reserve-ips-ip-address-actions/" --- # Delete a Reserved IP `DELETE https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/{ip_address}/actions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `ip_address` | string | yes | IP address | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response confirming the IP address has been released | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `is_limit_available` | boolean | no | | | `reserved_ip_details` | object | no | | | `reserved_ip_details.customer_max_limit` | integer | no | | | `reserved_ip_details.reserved_ips_count` | integer | no | | | `reserve_ip_price` | string | no | | | `currency` | string | no | | Example 200 response: ```json { "code": 200, "data": { "message": "IP Released 164.52.198.54" }, "errors": {}, "message": "Success", "is_limit_available": true, "reserved_ip_details": { "customer_max_limit": 10, "reserved_ips_count": 5 }, "reserve_ip_price": "INR 199.0 (excluding GST)", "currency": "INR" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Schedule Action" method: DELETE path: "/api/v1/nodes/{node_id}/scheduled_actions/{action_id}/" url: "/api/myaccount/operations/delete-schedule-action/" --- # Delete Schedule Action `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/scheduled_actions/{action_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `action_id` | string | yes | Path parameter `action_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | E2E Myaccount region identifier for the delete schedule request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the delete operation | | `data` | integer | no | Identifier of the deleted schedule | | `errors` | object | no | | | `message` | string | no | Human-readable status message indicating the result of the delete operation | Example 200 response: ```json { "code": 200, "data": 12345, "errors": {}, "message": "successfully deleted scheduled action" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//scheduled_actions//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Security Group" method: DELETE path: "/api/v1/security_group/{security_grp_id}/" url: "/api/myaccount/operations/delete-security-group-security-grp-id/" --- # Delete Security Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/security_group/{security_grp_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `security_grp_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response when a security group is deleted. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "name": "testing1" }, "errors": {}, "message": "Security Group deleted successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Snapshot" method: DELETE path: "/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}" url: "/api/myaccount/operations/delete-snapshot/" --- # Delete Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `snapshot_uuid` | string | yes | Path parameter `snapshot_uuid`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authorize the delete snapshot request | | `location` | string | yes | E2E Myaccount region where the snapshot resides | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code returned by the Delete Snapshot operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Result message indicating the outcome of the delete snapshot operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete an IdP" method: DELETE path: "/api/v1/sso/organizations/{organization_id}/" url: "/api/myaccount/operations/delete-sso-organizations-organization-id/" --- # Delete an IdP `DELETE https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/` Deletes the specified IdP organization from E2E Cloud. This action is irreversible and will remove all associated configurations. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Start Script" method: DELETE path: "/api/v1/start-script/" url: "/api/myaccount/operations/delete-start-script/" --- # Delete Start Script `DELETE https://api.e2enetworks.com/myaccount/api/v1/start-script/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for the delete start script operation | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `id` | integer | no | Identifier of the start script to delete | Example request: ```json { "id": 123 } ``` ## Responses ### 200 Successful response Type: string Example 200 response: ```json "123" ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/start-script/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"id":123}' ``` --- --- title: "Delete Lifecycle Rule" method: DELETE path: "/api/v1/storage/bucket_lifecycle/{bucket_name}/{lifecycle_rule_id}" url: "/api/myaccount/operations/delete-storage-bucket-lifecycle-bucket-name-lifecycle-rule-id/" --- # Delete Lifecycle Rule `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle/{bucket_name}/{lifecycle_rule_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `lifecycle_rule_id` | string | yes | Lifecycle Rule ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Permission" method: DELETE path: "/api/v1/storage/bucket_perm/{permission_id}/" url: "/api/myaccount/operations/delete-storage-bucket-perm-permission-id/" --- # Delete Permission `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perm/{permission_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `permission_id` | string | yes | Permission ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perm//?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Bucket Replication" method: DELETE path: "/api/v1/storage/bucket-replication/" url: "/api/myaccount/operations/delete-storage-bucket-replication/" --- # Delete Bucket Replication `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `rule_id` | integer | yes | Replication Rule ID | ## Responses ### 200 A successful response with an empty data object | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/?apikey=&project_id=&location=&rule_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Remove Legal Hold (Object)" method: DELETE path: "/api/v1/storage/buckets/{bucket_name}/legalhold/object/" url: "/api/myaccount/operations/delete-storage-buckets-bucket-name-legalhold-object/" --- # Remove Legal Hold (Object) `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/legalhold/object/` This API allows users to remove legal hold from an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//legalhold/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Remove Governance Lock (Object)" method: DELETE path: "/api/v1/storage/buckets/{bucket_name}/lock/object/" url: "/api/myaccount/operations/delete-storage-buckets-bucket-name-lock-object/" --- # Remove Governance Lock (Object) `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/object/` This API allows users to remove governance lock from an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Responses ### 200 Response indicating that object retention has been cleared or reset | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.mode` | string | no | | | `data.versionID` | string | no | | | `data.status` | string | no | | | `data.error` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "mode": "", "versionID": "abc123-version-id", "status": "success", "error": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Remove Governance Lock (Bucket)" method: DELETE path: "/api/v1/storage/buckets/{bucket_name}/lock/" url: "/api/myaccount/operations/delete-storage-buckets-bucket-name-lock/" --- # Remove Governance Lock (Bucket) `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/` This API allows users to remove governance lock from a bucket. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved the retention policy for the bucket. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket` | integer | no | | | `data.mode` | one of `GOVERNANCE` | no | | | `data.retention_period` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "bucket": 12345, "mode": "GOVERNANCE", "retention_period": 5, "created_at": "2025-05-27T13:50:12.651315Z", "updated_at": "2025-05-27T13:50:22.881128Z" }, "errors": {}, "message": "Success" } ``` ### 412 No retention policy exists for the specified bucket. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "No locking policy defined for this bucket.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Object Storage" method: DELETE path: "/api/v1/storage/buckets/{bucket_name}/" url: "/api/myaccount/operations/delete-storage-buckets-bucket-name/" --- # Delete Object Storage `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Bucket deletion initiated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Your request to delete the bucket is being processed. This may take some time depending on the amount of data in the bucket." } ``` ### 412 Precondition Failed – Bucket has a lock policy applied | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "You can not delete this bucket. Default lock policy is applied on this bucket. First delete default lock policy and then delete bucket.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Access Key" method: DELETE path: "/api/v1/storage/core/users/" url: "/api/myaccount/operations/delete-storage-core-users/" --- # Delete Access Key `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `access_key` | string | yes | Access key | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A successful response indicating the delete operation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": "", "message": "The delete operation is successful" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/?apikey=&access_key=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete an Object" method: DELETE path: "/api/v1/storage/objects/" url: "/api/myaccount/operations/delete-storage-objects/" --- # Delete an Object `DELETE https://api.e2enetworks.com/myaccount/api/v1/storage/objects/` Soft delete in MinIO retains deleted objects as previous versions, allowing recovery. This feature works for buckets that have versioning enabled. To delete (hard) a specific version of an object, use the `version_id` parameter. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `object_ids` | string | yes | List of object IDs for which versions are to be fetched. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_ids` | string | no | Version ID | ## Responses ### 200 Successful request with empty data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/objects/?apikey=&bucket_name=&object_ids=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Terminate License" method: DELETE path: "/api/v1/terminate-request/357/" url: "/api/myaccount/operations/delete-terminate-request-357/" --- # Terminate License `DELETE https://api.e2enetworks.com/myaccount/api/v1/terminate-request/357/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 License terminated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": "Liscense terminated successfully", "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/terminate-request/357/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Secret" method: DELETE path: "/api/v1/vault/delete/{vault_id}" url: "/api/myaccount/operations/delete-vault-delete-vault-id/" --- # Delete Secret `DELETE https://api.e2enetworks.com/myaccount/api/v1/vault/delete/{vault_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vault_id` | integer | yes | Secret (Vault) ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response when a secret is deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.vault_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "vault_id": 222 }, "errors": {}, "message": "Secret deleted successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vault/delete/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Tunnel" method: DELETE path: "/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/delete/" url: "/api/myaccount/operations/delete-vpc-tunnels-vpc-tunnel-id-delete/" --- # Delete Tunnel `DELETE https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/delete/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_TUNNEL_ID` | integer | yes | VPC_TUNNEL_ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 VPC Peering deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.local_vpc` | object | no | | | `data.local_vpc.id` | integer | no | | | `data.local_vpc.name` | string | no | | | `data.local_vpc.network_id` | integer | no | | | `data.local_vpc.is_active` | boolean | no | | | `data.local_vpc.created_at` | string (date-time) | no | | | `data.local_vpc.network_mask` | string | no | | | `data.local_vpc.ipv4_cidr` | string | no | | | `data.local_vpc.vm_count` | integer | no | | | `data.local_vpc.dns` | string | no | | | `data.local_vpc.gateway_ip` | string | no | | | `data.local_vpc.pool_size` | integer | no | | | `data.local_vpc.gateway_node` | object | no | | | `data.local_vpc.gateway_node.node_name` | string | no | | | `data.local_vpc.gateway_node.node_id` | integer | no | | | `data.local_vpc.gateway_node.ip_address_public` | string | no | | | `data.local_vpc.gateway_node.ip_address_private` | string | no | | | `data.local_vpc.gateway_node.state` | string | no | | | `data.local_vpc.state` | string | no | | | `data.local_vpc.project_name` | string | no | | | `data.local_vpc.location` | string | no | | | `data.peer_vpc` | object | no | | | `data.peer_vpc.id` | integer | no | | | `data.peer_vpc.name` | string | no | | | `data.peer_vpc.network_id` | integer | no | | | `data.peer_vpc.is_active` | boolean | no | | | `data.peer_vpc.created_at` | string (date-time) | no | | | `data.peer_vpc.network_mask` | string | no | | | `data.peer_vpc.ipv4_cidr` | string | no | | | `data.peer_vpc.vm_count` | integer | no | | | `data.peer_vpc.dns` | string | no | | | `data.peer_vpc.gateway_ip` | string | no | | | `data.peer_vpc.pool_size` | integer | no | | | `data.peer_vpc.gateway_node` | object | no | | | `data.peer_vpc.gateway_node.node_name` | string | no | | | `data.peer_vpc.gateway_node.node_id` | integer | no | | | `data.peer_vpc.gateway_node.ip_address_public` | string | no | | | `data.peer_vpc.gateway_node.ip_address_private` | string | no | | | `data.peer_vpc.gateway_node.state` | string | no | | | `data.peer_vpc.state` | string | no | | | `data.peer_vpc.project_name` | string | no | | | `data.peer_vpc.location` | string | no | | | `data.is_peer_vpc_external` | boolean | no | | | `data.local_ts` | string | no | | | `data.remote_ts` | string | no | | | `data.local_id` | string | no | | | `data.remote_id` | string | no | | | `data.customer` | integer | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 99, "name": "vpc-peer-VPC-573-01", "status": "TERMINATED", "local_vpc": { "id": 6834, "name": "VPC-573", "network_id": 1155, "is_active": true, "created_at": "2025-09-19T05:59:25.772020Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.100.246.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.100.246.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-573-gateway", "node_id": 265723, "ip_address_public": "151.185.32.178", "ip_address_private": "10.100.246.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "peer_vpc": { "id": 6908, "name": "VPC-385", "network_id": 1189, "is_active": true, "created_at": "2025-09-25T04:55:24.692984Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.101.6.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.101.6.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-385-gateway", "node_id": 267152, "ip_address_public": "151.185.32.197", "ip_address_private": "10.101.6.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "is_peer_vpc_external": false, "local_ts": "10.100.246.0/23", "remote_ts": "10.101.6.0/23", "local_id": "10.100.246.1", "remote_id": "10.101.6.1", "customer": 36787, "created_at": "2025-09-25T05:15:16.010562Z" }, "errors": {}, "message": "VPC Peering deleted successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels//delete/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Subnet" method: DELETE path: "/api/v1/vpc/{VPC_NETWORK_ID}/subnet/{Subnet_ID}/" url: "/api/myaccount/operations/delete-vpc-vpc-network-id-subnet-subnet-id/" --- # Delete Subnet `DELETE https://api.e2enetworks.com/myaccount/api/v1/vpc/{VPC_NETWORK_ID}/subnet/{Subnet_ID}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_NETWORK_ID` | integer | yes | VPC Network ID | | `Subnet_ID` | integer | yes | Subnet ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Subnet Deleted Successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "message": "Subnet deleted successfully" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc//subnet//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete VPC" method: DELETE path: "/api/v1/vpc/{VPC_NETWORK_ID}/" url: "/api/myaccount/operations/delete-vpc-vpc-network-id/" --- # Delete VPC `DELETE https://api.e2enetworks.com/myaccount/api/v1/vpc/{VPC_NETWORK_ID}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_NETWORK_ID` | integer | yes | VPC Network ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.vpc_id` | integer | no | | | `data.vpc_name` | string | no | | | `data.project_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "vpc_id": 3957, "vpc_name": "VPC-785", "project_id": "17925" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Floating IPv4" method: PUT path: "/api/v1/reserve_ips/floating-ip/detach/" url: "/api/myaccount/operations/detach-floating-ipv4/" --- # Detach Floating IPv4 `PUT https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/detach/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | The target region or data center for the detach operation. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"ip_address\": {{floating_ip}},\n \"node_ids\": [\n {{node_id}}\n ]\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the detach operation | | `data` | object | no | | | `data.ip_address` | string | no | IPv4 address of the detached floating IP | | `data.node_ids` | array of integer | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message indicating the result of the detach operation. | Example 200 response: ```json { "code": 200, "data": { "ip_address": "1.2.3.4", "node_ids": [ 123456 ] }, "errors": {}, "message": "Floating IP is detached successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"ip_address\": {{floating_ip}},\n \"node_ids\": [\n {{node_id}}\n ]\n}"' ``` --- --- title: "Detach Public IP" method: POST path: "/api/v1/reserve_ips/public_reserveip_actions/" url: "/api/myaccount/operations/detach-public-ip/" --- # Detach Public IP `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/public_reserveip_actions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authorize the detach public IP request | | `location` | string | yes | E2E Myaccount region where the public IP is located | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"public_ip\": {{public_ip}},\n \"type\": \"detach\",\n \"vm_id\": {{vm_id}}\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the detach operation | | `data` | object | no | | | `data.IP` | string | no | The public IPv4 address assigned to the detached resource | | `data.status` | string | no | Indicates the result status of the detach public IP operation | | `data.vm_name` | string | no | Name of the virtual machine associated with the detach operation | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the detach public IP operation. | Example 200 response: ```json { "code": 200, "data": { "IP": "1.2.3.4", "status": "", "vm_name": "--" }, "errors": {}, "message": "IP Detached Successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/public_reserveip_actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"public_ip\": {{public_ip}},\n \"type\": \"detach\",\n \"vm_id\": {{vm_id}}\n}"' ``` --- --- title: "Detach Security Group" method: POST path: "/api/v1/security_group/{vm_id}/detach/" url: "/api/myaccount/operations/detach-security-group/" --- # Detach Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/detach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | string | yes | Path parameter `vm_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | E2E Myaccount region identifier for the request | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"security_group_ids\": [\n {{security_group_id}}\n ]\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the detach operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the detach security group operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Groups Detached Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"security_group_ids\": [\n {{security_group_id}}\n ]\n}"' ``` --- --- title: "Detach VPC" method: POST path: "/api/v1/vpc/node/detach/" url: "/api/myaccount/operations/detach-vpc/" --- # Detach VPC `POST https://api.e2enetworks.com/myaccount/api/v1/vpc/node/detach/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the geographic region for the VPC operation | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"vpc_name\": \"VPC-493\",\n \"dns\": \"8.8.8.8 8.8.4.4\",\n \"cidr\": {{vpc_cidr}},\n \"node_id\": {{node_id}},\n \"action\": \"detach\",\n \"network_id\": {{network_id}},\n \"subnet_id\": {{subnet_id}}\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the detach VPC operation | | `data` | object | no | | | `data.vpc_id` | integer | no | Identifier of the VPC that was detached | | `data.vpc_name` | string | no | Name or identifier of the VPC | | `data.project_id` | string | no | Identifier of the detached project | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the detach VPC operation | Example 200 response: ```json { "code": 200, "data": { "vpc_id": 1234, "vpc_name": "VPC-493", "project_id": "12345" }, "errors": {}, "message": "VPC detach operation successfully done" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/node/detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"vpc_name\": \"VPC-493\",\n \"dns\": \"8.8.8.8 8.8.4.4\",\n \"cidr\": {{vpc_cidr}},\n \"node_id\": {{node_id}},\n \"action\": \"detach\",\n \"network_id\": {{network_id}},\n \"subnet_id\": {{subnet_id}}\n}"' ``` --- --- title: "Disable BitNinja License" method: DELETE path: "/api/v1/license/bitninja/{vm_id}/lb/" url: "/api/myaccount/operations/disable-bitninja/" --- # Disable BitNinja License `DELETE https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/lb/` Terminates the BitNinja security license on the load balancer's underlying VM. As with enabling, the path takes the load balancer node's `vm_id` (the `node_detail.vm_id` field), not the appliance ID. No request body is required. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | The `vm_id` field from the `node_detail` object in the List Load Balancers response. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/license/bitninja//lb/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Disable Scheduled Snapshots" method: DELETE path: "/api/v1/schedule-snapshot/" url: "/api/myaccount/operations/disable-scheduled-snapshots/" --- # Disable Scheduled Snapshots `DELETE https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `service_type` | string | no | Specifies the type of service to disable scheduled snapshots for. | | `resource_id` | string | no | Identifier of the node whose scheduled snapshots are to be disabled | | `resource_type` | string | no | Specifies the type of resource for which scheduled snapshots are disabled. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for disabling scheduled snapshots. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of disabling scheduled snapshots | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Confirmation message indicating scheduled snapshots have been disabled. | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Schedule settings has been disabled successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Enable BitNinja License" method: POST path: "/api/v1/license/bitninja/{vm_id}/lb/" url: "/api/myaccount/operations/enable-bitninja/" --- # Enable BitNinja License `POST https://api.e2enetworks.com/myaccount/api/v1/license/bitninja/{vm_id}/lb/` Activates the BitNinja security license on the load balancer's underlying VM. BitNinja is an add-on, server-protection layer (billed separately - see `can_support_bitninja` / `bitninja_cost` in LB Plans). The path takes the `vm_id` of the load balancer's node (the `node_detail.vm_id` field from List Load Balancers), not the load balancer (appliance) ID. The response returns the install `command_to_execute`. The request body is an empty JSON object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | The `vm_id` field from the `node_detail` object in the List Load Balancers response. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.command_to_execute` | string | no | Shell command to install the BitNinja agent on the appliance. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "command_to_execute": "curl https://get.bitninja.io/install.sh | /bin/bash -s - --license_key=" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/license/bitninja//lb/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Abuse Logs" method: GET path: "/api/v1/abuse-detail/" url: "/api/myaccount/operations/get-abuse-detail/" --- # Abuse Logs `GET https://api.e2enetworks.com/myaccount/api/v1/abuse-detail/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/abuse-detail/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Billing History" method: GET path: "/api/v1/accounts/profile/billing-history/" url: "/api/myaccount/operations/get-accounts-profile-billing-history/" --- # Billing History `GET https://api.e2enetworks.com/myaccount/api/v1/accounts/profile/billing-history/` Fetches the billing history for a specific project and location. Requires API key and bearer token for authentication. ## Responses ### 200 Billing history fetched successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.type` | string | no | | | `data.message` | string | no | | | `data.previous_billing_entities` | array of object | no | | | `data.previous_billing_entities[].updated_date` | string (date-time) | no | | | `data.previous_billing_entities[].type` | string | no | | | `data.previous_billing_entities[].company_name` | string | no | | | `data.previous_billing_entities[].pan` | string | no | | | `data.previous_billing_entities[].gstn` | string | no | | | `data.historical_address_records` | array of object | no | | | `data.historical_address_records[].updated_date` | string (date-time) | no | | | `data.historical_address_records[].address` | string | no | | | `data.historical_address_records[].country` | string | no | | | `data.historical_address_records[].city` | string | no | | | `data.historical_address_records[].state` | string | no | | | `data.historical_address_records[].zip` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": true, "type": "hide", "message": "user billing history fetch successfully", "previous_billing_entities": [ { "updated_date": "2025-03-07T11:23:05Z", "type": "", "company_name": "E2E Networks Limited", "pan": "QWERTYU228F", "gstn": "1234567FGH45" } ], "historical_address_records": [ { "updated_date": "2025-03-07T11:23:05Z", "address": "XYZ Company, New Delhi 110002", "country": "India", "city": "Noida", "state": "Uttar Pradesh", "zip": "201301" } ] }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/accounts/profile/billing-history/?apikey=' \ --header 'Authorization: Bearer ' ``` --- --- title: "User Profile Details" method: GET path: "/api/v1/accounts/profile/detail/" url: "/api/myaccount/operations/get-accounts-profile-detail/" --- # User Profile Details `GET https://api.e2enetworks.com/myaccount/api/v1/accounts/profile/detail/` Retrieves the details of a user's profile, including basic information such as user ID, name, email, and contact information. Requires API key and bearer token for authorization. ## Responses ### 200 User profile fetched successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `data.website_link` | string | no | | | `data.social_link` | string | no | | | `data.work_load` | string | no | | | `data.official_email` | string | no | | | `data.nature_of_business` | string | no | | | `data.organization_type` | string | no | | | `data.email` | string | no | | | `data.first_name` | string | no | | | `data.last_name` | string | no | | | `data.phone` | string | no | | | `data.company_name` | string | no | | | `data.gstn` | string | no | | | `data.pan` | string | no | | | `data.tan` | string | no | | | `data.type` | string | no | | | `data.vat_id` | string | no | | | `data.company_other_name` | string | no | | | `data.customer_company_type` | string | no | | | `data.company_type` | string | no | | | `data.website` | string | no | | | `data.notify_me` | boolean | no | | | `data.address` | string | no | | | `data.city` | string | no | | | `data.zip` | string | no | | | `data.state` | string | no | | | `data.country` | string | no | | | `data.tds_rate` | string | no | | | `data.gst_treatment` | string | no | | | `data.signup_time` | string | no | | | `data.contact_person_details` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": true, "message": "user profile fetch successfully", "website_link": "", "social_link": "", "work_load": "AI/ML/Computer Vision Workload For Production and Staging", "official_email": "xyz@abc.com", "nature_of_business": "CLOUD AND MACHINE LEARNING", "organization_type": "", "email": "xyz@abc.com", "first_name": "xyz", "last_name": "xyz", "phone": "+919123456789", "company_name": "ABC", "gstn": "", "pan": "AB123SDF12", "tan": "", "type": "", "vat_id": "", "company_other_name": "", "customer_company_type": "individual", "company_type": "", "website": null, "notify_me": true, "address": "", "city": "", "zip": "", "state": "", "country": "IN", "tds_rate": "TDS_0", "gst_treatment": null, "signup_time": "Jan 14, 2025 11:22 AM", "contact_person_details": null }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/accounts/profile/detail/?apikey=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Ledger Statement" method: GET path: "/api/v1/billing/ledger-statement/" url: "/api/myaccount/operations/get-billing-ledger-statement/" --- # Ledger Statement `GET https://api.e2enetworks.com/myaccount/api/v1/billing/ledger-statement/` Retrieves the ledger statement in HTML format for a specific customer identified by Zoho ID, for the selected time period. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `zoho_id` | string | yes | Unique Zoho Contact ID of the customer. | | `filter_type` | one of `current_month` | yes | Specifies which time range of Zoho transaction IDs to fetch. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Response schema for ledger statement HTML. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.contact_name` | string | no | | | `data.template_type_formatted` | string | no | | | `data.from_date` | string (date) | no | | | `data.from_date_formatted` | string | no | | | `data.contact_id` | string | no | | | `data.to_date_formatted` | string | no | | | `data.page_width` | string | no | | | `data.html_string` | string (html) | no | Renderable HTML string representing the full ledger statement. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "contact_name": "E2E Networks Limited", "template_type_formatted": "Standard", "from_date": "2025-04-01", "from_date_formatted": "01 Apr 2025", "contact_id": "183096000000000237", "to_date_formatted": "30 Apr 2025", "page_width": "8.27in", "html_string": "string" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/billing/ledger-statement/?apikey=&zoho_id=&filter_type=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monthly Usage Details" method: GET path: "/api/v1/billing/prepaid/monthly-estimate/" url: "/api/myaccount/operations/get-billing-prepaid-monthly-estimate/" --- # Monthly Usage Details `GET https://api.e2enetworks.com/myaccount/api/v1/billing/prepaid/monthly-estimate/` Fetches the prepaid monthly estimated billing details including usage, rates, discounts, and total amounts for a project and location, based on the selected month and year. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `month` | integer | yes | The ID of the label to delete. | | `year` | integer | yes | Year for which the billing estimate is to be fetched (format- YYYY). | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful monthly estimate billing response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.usage` | array of object | no | | | `data.usage[].quantity` | number | no | | | `data.usage[].rate` | number | no | | | `data.usage[].discount` | number | no | | | `data.usage[].description` | string | no | | | `data.usage[].line_item_value` | number | no | | | `data.usage[].sku_name` | string | no | | | `data.usage[].region` | string | no | | | `data.total_amount` | number | no | | | `data.total_discount` | number | no | | | `data.currency` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "usage": [ { "quantity": 1, "rate": 199, "discount": 0, "description": "Additional IP Address\nPublic IP: 164.52.207.136\nFrom: 23-April-2025 15:12 hours To: 23-April-2025 15:14 hours", "line_item_value": 199, "sku_name": "Addon_IP_Charge", "region": "Delhi" } ], "total_amount": 1627.46, "total_discount": 0, "currency": "Currency : INR" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/billing/prepaid/monthly-estimate/?apikey=&month=&year=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "TDS Upload Info" method: GET path: "/api/v1/billing/tds-upload/" url: "/api/myaccount/operations/get-billing-tds-upload/" --- # TDS Upload Info `GET https://api.e2enetworks.com/myaccount/api/v1/billing/tds-upload/` Retrieves the TDS upload information for a user, filtered by project ID and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 TDS upload data retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.uploaded_documents` | array of object | no | | | `data.total_tds_refunded` | integer | no | | | `data.total_tds_amount_refunded` | string | no | | | `data.tds_refund_enable` | boolean | no | | | `errors` | array of object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "uploaded_documents": [], "total_tds_refunded": 0, "total_tds_amount_refunded": "0", "tds_refund_enable": true }, "errors": [] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/billing/tds-upload/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Invoice/Credit Notes" method: GET path: "/api/v1/billing/transactions/" url: "/api/myaccount/operations/get-billing-transactions/" --- # Invoice/Credit Notes `GET https://api.e2enetworks.com/myaccount/api/v1/billing/transactions/` Fetches billing transactions and generated invoices, with support for filtering by billing type like invoices and credit_notes, project, and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `type` | one of `invoice`, `credit_notes` | yes | Type of transaction (invoice or credit_notes) | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful billing transactions response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.items` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": { "items": [ null ] }, "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/billing/transactions/?apikey=&type=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Snahpshot List" method: GET path: "/api/v1/block_storage/{block_id}/snapshot/" url: "/api/myaccount/operations/get-block-storage-block-id-snapshot/" --- # Snahpshot List `GET https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/snapshot/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with a list of snapshot details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].date` | string (date-time) | no | | | `data[].size` | string | no | | | `data[].snapshot_uuid` | string (uuid) | no | | | `data[].snapshot_id` | string | no | | | `data[].status` | string | no | | | `data[].method` | string | no | | | `data[].is_locked` | boolean | no | | | `data[].bs_size` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "snapshot-884", "date": "2024-11-06T04:59:33Z", "size": "239373", "snapshot_uuid": "c6fff338-16e5-40c7-bb24-20f14a508733", "snapshot_id": "1", "status": "Complete", "method": "Manual", "is_locked": false, "bs_size": "0.2337626953125" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Volumes List" method: GET path: "/api/v1/block_storage/" url: "/api/myaccount/operations/get-block-storage/" --- # Volumes List `GET https://api.e2enetworks.com/myaccount/api/v1/block_storage/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A successful response containing block storage details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code | | `data` | array of object | no | | | `data[].block_id` | integer | no | Unique identifier for the block storage | | `data[].name` | string | no | Name of the block storage | | `data[].size` | integer | no | Size of the block storage in MB | | `data[].status` | string | no | Status of the block storage | | `data[].template` | object | no | | | `data[].template.DEV_PREFIX` | string | no | Device prefix | | `data[].template.DRIVER` | string | no | Storage driver type | | `data[].template.TOTAL_IOPS_SEC` | string | no | Total IOPS per second | | `data[].vm_detail` | object | no | Details of the VM associated with the block storage (if any) | | `data[].created_on` | string (date-time) | no | Timestamp of when the block storage was created | | `data[].size_string` | string | no | Human-readable size of the block storage | | `errors` | object | no | Any errors that occurred during the operation (if applicable) | | `message` | string | no | Response message indicating success | Example 200 response: ```json { "code": 200, "data": [ { "block_id": 25214, "name": "V_250GB_572", "size": 238419, "status": "Available", "template": { "DEV_PREFIX": "vd", "DRIVER": "raw", "TOTAL_IOPS_SEC": "5000" }, "vm_detail": {}, "created_on": "2024-10-16T07:20:53Z", "size_string": "250 GB" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get CDN list" method: GET path: "/api/v1/cdn/distributions/" url: "/api/myaccount/operations/get-cdn-distributions/" --- # Get CDN list `GET https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful retrieval of CDN . | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].domain_id` | string | no | | | `data[].user_domain_name` | string | no | | | `data[].e2e_domain_name` | string | no | | | `data[].domain_state` | string | no | | | `data[].is_enabled` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1052, "domain_id": "ENZYVCZPO9X4L", "user_domain_name": "docs.e2enetworks.com", "e2e_domain_name": "docs1g047zlrhx.cdn.e2enetworks.net", "domain_state": "Deployed", "is_enabled": true, "created_at": "30/Oct/2024 12:48 PM" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "CDP Backup Listing" method: GET path: "/api/v1/cdpbackup/" url: "/api/myaccount/operations/get-cdpbackup/" --- # CDP Backup Listing `GET https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of nodes retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].node_id` | integer | no | | | `data[].name` | string | no | | | `data[].label` | string | no | | | `data[].status` | string | no | | | `data[].public_ip_address` | string (ipv4) | no | | | `data[].private_ip_address` | string (ipv4) | no | | | `data[].plan` | string | no | | | `data[].region` | string | no | | | `data[].backup_status` | object | no | | | `data[].backup_status.node_id` | integer | no | | | `data[].backup_status.status` | string | no | | | `data[].backup_status.detail` | string | no | | | `data[].backup_status.is_encryption_enabled` | boolean | no | | | `data[].audit_log_message` | string | no | | | `data[].project_name` | string | no | | | `data[].backup_detail_id` | integer | no | | | `data[].last_recovery_point_created_on` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 232063, "node_id": 232063, "name": "C3-8GB-985", "label": "default", "status": "Running", "public_ip_address": "164.52.195.207", "private_ip_address": "10.14.168.8", "plan": "C3.8GB", "region": null, "backup_status": { "node_id": 232063, "status": "backup_not_activated", "detail": "Not Activated", "is_encryption_enabled": false }, "audit_log_message": null, "project_name": "sdfghj", "backup_detail_id": 13886, "last_recovery_point_created_on": null } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Connected agents" method: GET path: "/api/v1/compliance-security/agent/" url: "/api/myaccount/operations/get-compliance-security-agent/" --- # Connected agents `GET https://api.e2enetworks.com/myaccount/api/v1/compliance-security/agent/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `key` | one of `Total_agents`, `Disconnected_agents`, `Never_connected_agents` | no | Agent classificaiton. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with agent status data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.agent_configured` | boolean | no | | | `data.status_info` | object | no | | | `data.status_info.Total_agents` | integer | no | | | `data.status_info.Active_agents` | integer | no | | | `data.status_info.Disconnected_agents` | integer | no | | | `data.status_info.Pending_agents` | integer | no | | | `data.status_info.Never_connected_agents` | integer | no | | | `data.most_active_agent` | string | no | | | `data.last_registered_agent` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "agent_configured": true, "status_info": { "Total_agents": 1, "Active_agents": 0, "Disconnected_agents": 0, "Pending_agents": 0, "Never_connected_agents": 1 }, "most_active_agent": null, "last_registered_agent": "C3-8GB-133" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/compliance-security/agent/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Container Registries" method: GET path: "/api/v1/container_registry/projects-details/" url: "/api/myaccount/operations/get-container-registry-projects-details/" --- # List Container Registries `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-details/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of projects retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].project_size` | integer | no | | | `data[].domain_name` | string | no | | | `data[].prevent_vul` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].deleted` | boolean | no | | | `data[].project_name` | string | no | | | `data[].project_id` | integer | no | | | `data[].is_public` | boolean | no | | | `data[].severity` | string | no | | | `data[].deleted_at` | string (date-time) | no | | | `data[].storage_limit` | integer | no | | | `data[].location` | string | no | | | `data[].state` | string | no | | | `data[].customer` | integer | no | | | `data[].my_account_project` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 727, "project_size": 0, "domain_name": "registry.e2enetworks.net", "prevent_vul": false, "created_at": "2025-04-09T06:20:05.542940Z", "updated_at": "2025-04-09T06:20:06.272937Z", "deleted": false, "project_name": "cr-19490", "project_id": 1164, "is_public": false, "severity": "critical", "deleted_at": null, "storage_limit": -1, "location": "Delhi", "state": "CREATED", "customer": 12345, "my_account_project": 67890 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-details/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Repo Logs" method: GET path: "/api/v1/container_registry/projects-logs/" url: "/api/myaccount/operations/get-container-registry-projects-logs/" --- # Repo Logs `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-logs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `repository_name` | string | yes | Repository Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Container Registry audit logs retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].op_time` | string (date-time) | no | | | `data[].operation` | string | no | | | `data[].resource` | string | no | | | `data[].resource_type` | string | no | | | `data[].username` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 112871, "op_time": "2025-04-09T07:13:19.899Z", "operation": "create", "resource": "cr-19490/nginx:latest", "resource_type": "artifact", "username": "sales@e2enetworks.com" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-logs/?apikey=&project_name=&repository_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Source Registries" method: GET path: "/api/v1/container_registry/registries/" url: "/api/myaccount/operations/get-container-registry-registries/" --- # List Source Registries `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Registry information fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].registry_name` | string | no | | | `data[].registry_type` | string | no | | | `data[].registry_id` | integer | no | | | `data[].registry_url` | string | no | | | `data[].registry_insecure` | boolean | no | | | `data[].customer` | integer | no | | | `data[].project` | integer | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].deleted_at` | string (date-time) | no | | | `data[].registry_description` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "registry_name": "docker-12", "registry_type": "docker-hub", "registry_id": 49, "registry_url": "https://hub.docker.com", "registry_insecure": false, "customer": 12345, "project": 123, "created_at": "2025-04-29T09:34:44.287830Z", "updated_at": "2025-04-29T09:34:44.287924Z", "deleted_at": null, "registry_description": null } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Replication Executions" method: GET path: "/api/v1/container_registry/replication/executions/" url: "/api/myaccount/operations/get-container-registry-replication-executions/" --- # List Replication Executions `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `policy_id` | integer | yes | Policy ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Policy executions fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].end_time` | string (date-time) | no | | | `data[].failed` | integer | no | | | `data[].id` | integer | no | | | `data[].in_progress` | integer | no | | | `data[].policy_id` | integer | no | | | `data[].start_time` | string (date-time) | no | | | `data[].status` | string | no | | | `data[].status_text` | string | no | | | `data[].stopped` | integer | no | | | `data[].succeed` | integer | no | | | `data[].total` | integer | no | | | `data[].trigger` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "end_time": "0001-01-01T00:00:00.000Z", "failed": 0, "id": 45082, "in_progress": 3, "policy_id": 35, "start_time": "2025-04-29T11:08:29.245Z", "status": "InProgress", "status_text": "", "stopped": 0, "succeed": 0, "total": 3, "trigger": "manual" } ], "errors": {}, "message": "Policy Execution fetched Successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions/?apikey=&policy_id=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Replication Rules" method: GET path: "/api/v1/container_registry/replication/policies/" url: "/api/myaccount/operations/get-container-registry-replication-policies/" --- # List Replication Rules `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Replication policy fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].policy_name` | string | no | | | `data[].policy_id` | integer | no | | | `data[].source_registry_id` | integer | no | | | `data[].source_registry_name` | string | no | | | `data[].destination_namespace` | string | no | | | `data[].destination_namespace_replace_count` | integer | no | | | `data[].policy_description` | string | no | | | `data[].trigger_type` | string | no | | | `data[].trigger_value` | string | no | | | `data[].replicate_deletion` | boolean | no | | | `data[].override` | boolean | no | | | `data[].enabled` | boolean | no | | | `data[].customer` | integer | no | | | `data[].project` | integer | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].deleted_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "policy_name": "replication-rule", "policy_id": 34, "source_registry_id": 50, "source_registry_name": "docker-source", "destination_namespace": "cr-12345", "destination_namespace_replace_count": -1, "policy_description": null, "trigger_type": "manual", "trigger_value": null, "replicate_deletion": false, "override": true, "enabled": true, "customer": 12345, "project": 123, "created_at": "2025-04-29T10:16:03.612678Z", "updated_at": "2025-04-29T10:16:03.612789Z", "deleted_at": null } ], "errors": {}, "message": "Replication Policy fetched Successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Repo Details" method: GET path: "/api/v1/container_registry/repository-artifacts/" url: "/api/myaccount/operations/get-container-registry-repository-artifacts/" --- # Repo Details `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/repository-artifacts/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `repository_name` | string | yes | Repository Name | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Container artifact metadata retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].accessories` | object | no | | | `data[].addition_links` | object | no | | | `data[].addition_links.build_history` | object | no | | | `data[].addition_links.build_history.absolute` | boolean | no | | | `data[].addition_links.build_history.href` | string | no | | | `data[].addition_links.vulnerabilities` | object | no | | | `data[].addition_links.vulnerabilities.absolute` | boolean | no | | | `data[].addition_links.vulnerabilities.href` | string | no | | | `data[].annotations` | object | no | | | `data[].digest` | string | no | | | `data[].extra_attrs` | object | no | | | `data[].extra_attrs.architecture` | string | yes | | | `data[].extra_attrs.author` | string | yes | | | `data[].extra_attrs.config` | object | yes | | | `data[].extra_attrs.config.Cmd` | array of string | no | | | `data[].extra_attrs.config.Entrypoint` | array of string | no | | | `data[].extra_attrs.config.Env` | array of string | no | | | `data[].extra_attrs.config.ExposedPorts` | object | no | | | `data[].extra_attrs.config.Labels` | object | no | | | `data[].extra_attrs.config.StopSignal` | string | no | | | `data[].extra_attrs.created` | string (date-time) | yes | | | `data[].extra_attrs.os` | string | yes | | | `data[].icon` | string | no | | | `data[].id` | integer | no | | | `data[].labels` | object | no | | | `data[].manifest_media_type` | string | no | | | `data[].media_type` | string | no | | | `data[].project_id` | integer | no | | | `data[].pull_time` | string (date-time) | no | | | `data[].push_time` | string (date-time) | no | | | `data[].references` | object | no | | | `data[].repository_id` | integer | no | | | `data[].scan_overview` | object | no | | | `data[].size` | number (float) | no | | | `data[].tags` | array of object | no | | | `data[].tags[].artifact_id` | integer | no | | | `data[].tags[].id` | integer | no | | | `data[].tags[].immutable` | boolean | no | | | `data[].tags[].name` | string | no | | | `data[].tags[].pull_time` | string (date-time) | no | | | `data[].tags[].push_time` | string (date-time) | no | | | `data[].tags[].repository_id` | integer | no | | | `data[].tags[].signed` | boolean | no | | | `data[].type` | string | no | | | `data[].domain_name` | string | no | | | `data[].project_severity` | string | no | | | `data[].tag_name` | string | no | | | `data[].preventVulnerable` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "accessories": null, "addition_links": { "build_history": { "absolute": false, "href": "/api/v2.0/projects/cr-19490/repositories/nginx/artifacts/sha256:.../additions/build_history" }, "vulnerabilities": { "absolute": false, "href": "/api/v2.0/projects/cr-19490/repositories/nginx/artifacts/sha256:.../additions/vulnerabilities" } }, "annotations": { "org.opencontainers.image.version": "1.27.4" }, "digest": "sha256:846993cfd1ec2f814d7f3cfdc8df7aa67ecfe6ab233fd990c82d34eea47beb8e", "extra_attrs": { "architecture": "arm64", "author": "NGINX Docker Maintainers ", "config": { "Cmd": [ "string" ], "Entrypoint": [ "string" ], "Env": [ "string" ], "ExposedPorts": {}, "Labels": {}, "StopSignal": "string" }, "created": "string", "os": "string" }, "icon": "sha256:0048162a053eef4d4ce3fe7518615bef084403614f8bca43b40ae2e762e11e06", "id": 21052, "labels": null, "manifest_media_type": "application/vnd.oci.image.manifest.v1+json", "media_type": "application/vnd.oci.image.config.v1+json", "project_id": 1164, "pull_time": "string", "push_time": "string", "references": null, "repository_id": 4653, "scan_overview": {}, "size": 68.65, "tags": [ { "artifact_id": 0, "id": 0, "immutable": false, "name": "string", "pull_time": "string", "push_time": "string", "repository_id": 0, "signed": false } ], "type": "IMAGE", "domain_name": "registry.e2enetworks.net", "project_severity": "critical", "tag_name": "latest", "preventVulnerable": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/repository-artifacts/?apikey=&project_name=&repository_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Access Tokens" method: GET path: "/api/v1/container_registry/token/" url: "/api/myaccount/operations/get-container-registry-token/" --- # List Access Tokens `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_name` | integer | yes | Container Registry name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of credential tokens fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].duration` | integer | no | | | `data[].creation_time` | string (date-time) | no | | | `data[].expires_at` | string (date-time) | no | | | `data[].state` | one of `enabled`, `disabled` | no | | | `data[].access_list` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 24, "name": "", "description": "This token will never expire.", "duration": -1, "creation_time": "2025-04-29T12:16:28.842000Z", "expires_at": "1969-12-31T23:59:59Z", "state": "enabled", "access_list": [ "pull", "push" ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/?apikey=&project_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Repo Vulnerability" method: GET path: "/api/v1/container_registry/vulnerabilities/" url: "/api/myaccount/operations/get-container-registry-vulnerabilities/" --- # Repo Vulnerability `GET https://api.e2enetworks.com/myaccount/api/v1/container_registry/vulnerabilities/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `repository_name` | string | yes | Repository Name | | `reference` | string | yes | Tag Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Vulnerability scan completed successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/vulnerabilities/?apikey=&project_name=&repository_name=&reference=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Applied Coupons Details" method: GET path: "/api/v1/coupons/get-user-coupons/" url: "/api/myaccount/operations/get-coupons-get-user-coupons/" --- # Applied Coupons Details `GET https://api.e2enetworks.com/myaccount/api/v1/coupons/get-user-coupons/` Retrieves a list of coupons available for a user, filtered by project ID and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful user coupons response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].code` | string | no | | | `data[].redeemed_at` | string | no | | | `data[].expires_on` | string | no | | | `data[].details` | string | no | | | `data[].status` | string | no | | | `data[].customer_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "code": "PPAIDFDSXF", "redeemed_at": "01-05-2025", "expires_on": "30-07-2025", "details": "10000 free credits added to your balance.", "status": "Applied", "customer_name": "Siddhant" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/coupons/get-user-coupons/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resource Limit" method: GET path: "/api/v1/customer-resource-limit/" url: "/api/myaccount/operations/get-customer-resource-limit/" --- # Resource Limit `GET https://api.e2enetworks.com/myaccount/api/v1/customer-resource-limit/` ## Responses ### 200 Successful response with customer resource data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.existing_customer` | boolean | no | | | `data.is_gpu_and_higher_plans_enabled` | boolean | no | | | `data.is_customer_resource_limit_used` | boolean | no | | | `data.total_limit` | integer | no | | | `data.used_limit` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "existing_customer": false, "is_gpu_and_higher_plans_enabled": true, "is_customer_resource_limit_used": false, "total_limit": 15, "used_limit": 7 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/customer-resource-limit/?apikey=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Verify DNS record" method: GET path: "/api/v1/e2e_dns/diagnostics/verify_ns/{domain_name}/" url: "/api/myaccount/operations/get-e2e-dns-diagnostics-verify-ns-domain-name/" --- # Verify DNS record `GET https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_ns/{domain_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_name` | string | yes | Domain Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with nameserver status | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `data.data` | object | no | | | `data.data.gl_nameservers` | array of string | no | | | `data.data.e2e_nameservers` | array of string | no | | | `data.data.authority` | boolean | no | | | `data.data.problem` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "Your nameservers are not setup correctly", "data": { "gl_nameservers": [ "ns2.taipandns.com.", "ns1.taipandns.com." ], "e2e_nameservers": [ "ns50.e2enetworks.net.in.", "ns51.e2enetworks.net.in." ], "authority": false, "problem": 1 } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_ns//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Diagnose TTL" method: GET path: "/api/v1/e2e_dns/diagnostics/verify_ttl/{domain_name}/" url: "/api/myaccount/operations/get-e2e-dns-diagnostics-verify-ttl-domain-name/" --- # Diagnose TTL `GET https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_ttl/{domain_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_name` | string | yes | Domain Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response indicating an error with TTL verification | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `data.data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "Error verifying TTL for your DNS records.", "data": [ {} ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_ttl//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Diagnose DNS validity" method: GET path: "/api/v1/e2e_dns/diagnostics/verify_validity/{domain_name}/" url: "/api/myaccount/operations/get-e2e-dns-diagnostics-verify-validity-domain-name/" --- # Diagnose DNS validity `GET https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_validity/{domain_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_name` | string | yes | Domain Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 412 Precondition Failed due to missing domain validity | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `errors.status` | boolean | no | | | `errors.message` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": { "status": false, "message": "Could not find validity for your domain." }, "message": "Precondition Failed" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/diagnostics/verify_validity//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "View DNS record" method: GET path: "/api/v1/e2e_dns/forward/{domain_name}/" url: "/api/myaccount/operations/get-e2e-dns-forward-domain-name/" --- # View DNS record `GET https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/{domain_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `domain_name` | string | yes | Domain Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with domain details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.domain_name` | string | no | | | `data.domain` | object | no | | | `data.domain.account` | string | no | | | `data.domain.api_rectify` | boolean | no | | | `data.domain.dnssec` | boolean | no | | | `data.domain.id` | string | no | | | `data.domain.kind` | string | no | | | `data.domain.last_check` | integer | no | | | `data.domain.masters` | array of string | no | | | `data.domain.name` | string | no | | | `data.domain.notified_serial` | integer | no | | | `data.domain.nsec3narrow` | boolean | no | | | `data.domain.nsec3param` | string | no | | | `data.domain.rrsets` | array of object | no | | | `data.domain.rrsets[].comments` | array of string | no | | | `data.domain.rrsets[].name` | string | no | | | `data.domain.rrsets[].records` | array of object | no | | | `data.domain.rrsets[].records[].content` | string | no | | | `data.domain.rrsets[].records[].disabled` | boolean | no | | | `data.domain.rrsets[].ttl` | integer | no | | | `data.domain.rrsets[].type` | string | no | | | `data.domain.serial` | integer | no | | | `data.domain.soa_edit` | string | no | | | `data.domain.soa_edit_api` | string | no | | | `data.domain.url` | string | no | | | `data.domain_ip` | string (ipv4) | no | | | `data.DOMAIN_TTL` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "domain_name": "bunty.com.", "domain": { "account": "", "api_rectify": false, "dnssec": false, "id": "bunty.com.", "kind": "Native", "last_check": 0, "masters": [], "name": "bunty.com.", "notified_serial": 0, "nsec3narrow": false, "nsec3param": "", "rrsets": [ { "comments": [], "name": "bunty.com.", "records": [ { "content": "ns50.e2enetworks.net.in. abuse.e2enetworks.net.in. 2024110404 10800 3600 604800 86400", "disabled": false } ], "ttl": 86400, "type": "SOA" } ], "serial": 2024110404, "soa_edit": "", "soa_edit_api": "DEFAULT", "url": "/api/v1/servers/localhost/zones/bunty.com." }, "domain_ip": "1.1.1.1", "DOMAIN_TTL": 86400 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get DNS List" method: GET path: "/api/v1/e2e_dns/forward/" url: "/api/myaccount/operations/get-e2e-dns-forward/" --- # Get DNS List `GET https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response returning a list of domains | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].domain_name` | string | no | | | `data[].domain_ip` | string (ipv4) | no | | | `data[].validity` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].deleted` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 10280, "domain_name": "testing098.com.", "domain_ip": "1.1.1.1", "validity": null, "created_at": "2024-11-04T09:01:30.545588Z", "deleted": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "SFS Plans" method: GET path: "/api/v1/efs/plans/" url: "/api/myaccount/operations/get-efs-plans/" --- # SFS Plans `GET https://api.e2enetworks.com/myaccount/api/v1/efs/plans/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with storage options data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].bs_size` | number (float) | no | | | `data[].price_per_hour` | number (float) | no | | | `data[].price_per_month` | number | no | | | `data[].location` | string | no | | | `data[].iops` | integer | no | | | `data[].is_active` | boolean | no | | | `data[].currency` | string | no | | | `data[].available_inventory_status` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "250 GB", "bs_size": 0.25, "price_per_hour": 4.175, "price_per_month": 3000, "location": "Delhi", "iops": 3750, "is_active": true, "currency": "INR", "available_inventory_status": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs/plans/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List SFS" method: GET path: "/api/v1/efs/" url: "/api/myaccount/operations/get-efs/" --- # List SFS `GET https://api.e2enetworks.com/myaccount/api/v1/efs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with EFS resources data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].efs_disk_size` | string | no | | | `data[].private_endpoint` | string | no | | | `data[].iops` | integer | no | | | `data[].status` | string | no | | | `data[].plan_name` | string | no | | | `data[].is_backup_enabled` | boolean | no | | | `data[].backup_state` | string | no | | | `data[].vpc_id` | integer | no | | | `data[].vpc_name` | string | no | | | `data[].is_all_vpc_resources_allowed` | boolean | no | | | `data[].vpc_node_id` | integer | no | | | `data[].price_per_hour` | number (float) | no | | | `data[].price_per_month` | number (float) | no | | | `data[].committed_info` | object | no | | | `data[].isEncryptionEnabled` | boolean | no | | | `data[].subnet_name` | string | no | | | `data[].is_e2e_vpc` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1396, "name": "sfs-993", "efs_disk_size": "250 GB", "private_endpoint": "10.0.0.19", "iops": 3750, "status": "Available", "plan_name": "250 GB", "is_backup_enabled": false, "backup_state": "", "vpc_id": 6882, "vpc_name": "VPC-672", "is_all_vpc_resources_allowed": false, "vpc_node_id": 266626, "price_per_hour": 4.175, "price_per_month": 3000, "committed_info": null, "isEncryptionEnabled": true, "subnet_name": "Subnet-137", "is_e2e_vpc": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "GET EPFS by Id" method: GET path: "/api/v1/epfs/{epfs_id}/" url: "/api/myaccount/operations/get-epfs-epfs-id/" --- # GET EPFS by Id `GET https://api.e2enetworks.com/myaccount/api/v1/epfs/{epfs_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `epfs_id` | integer | yes | EPFS Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with EPFS details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.vpc` | object | no | | | `data.vpc.name` | string | no | | | `data.vpc.network_id` | integer | no | | | `data.vpc.is_active` | boolean | no | | | `data.vpc.dns` | string | no | | | `data.vpc.network_mask` | string | no | | | `data.vpc.ipv4_cidr` | string | no | | | `data.vpc.vm_count` | integer | no | | | `data.vpc.gateway_ip` | string | no | | | `data.vpc.state` | string | no | | | `data.vpc.reserve_network_id` | integer | no | | | `data.deleted` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.name` | string | no | | | `data.size` | integer | no | | | `data.plan_name` | string | no | | | `data.deleted_at` | string | no | | | `data.status` | string | no | | | `data.location` | string | no | | | `data.fs_id` | string | no | | | `data.client_project_id` | string | no | | | `data.nid` | integer | no | | | `data.gateway_ip` | string | no | | | `data.fs_name` | string | no | | | `data.project` | integer | no | | | `data.customer` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 145, "vpc": { "name": "VPC-717", "network_id": 34872, "is_active": true, "dns": "8.8.8.8 8.8.4.4", "network_mask": "255.255.254.0", "ipv4_cidr": "10.7.26.0/23", "vm_count": 0, "gateway_ip": "10.7.26.1", "state": "Running", "reserve_network_id": 34873 }, "deleted": false, "created_at": "2025-05-26T09:40:25.508756Z", "updated_at": "2025-05-26T09:42:14.054705Z", "name": "epfs-127", "size": 1000, "plan_name": "", "deleted_at": null, "status": "running", "location": "Delhi", "fs_id": "37144145", "client_project_id": "3714414517595", "nid": 1144, "gateway_ip": "10.7.27.254", "fs_name": "pfs0", "project": 42347, "customer": 37144 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/epfs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "EPFS Listing" method: GET path: "/api/v1/epfs/" url: "/api/myaccount/operations/get-epfs/" --- # EPFS Listing `GET https://api.e2enetworks.com/myaccount/api/v1/epfs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `page` | integer | no | Page No. | | `page_size` | integer | no | Page size | ## Responses ### 200 Successful response with EPFS list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].vpc` | object | no | | | `data[].vpc.name` | string | no | | | `data[].vpc.network_id` | integer | no | | | `data[].vpc.is_active` | boolean | no | | | `data[].vpc.dns` | string | no | | | `data[].vpc.network_mask` | string | no | | | `data[].vpc.ipv4_cidr` | string | no | | | `data[].vpc.vm_count` | integer | no | | | `data[].vpc.gateway_ip` | string | no | | | `data[].vpc.state` | string | no | | | `data[].vpc.reserve_network_id` | integer | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].name` | string | no | | | `data[].size` | integer | no | | | `data[].plan_name` | string | no | | | `data[].deleted_at` | string | no | | | `data[].status` | string | no | | | `data[].location` | string | no | | | `data[].fs_id` | string | no | | | `data[].client_project_id` | string | no | | | `data[].nid` | integer | no | | | `data[].gateway_ip` | string | no | | | `data[].fs_name` | string | no | | | `data[].project` | integer | no | | | `data[].customer` | integer | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 145, "vpc": { "name": "VPC-717", "network_id": 34872, "is_active": true, "dns": "8.8.8.8 8.8.4.4", "network_mask": "255.255.254.0", "ipv4_cidr": "10.7.26.0/23", "vm_count": 0, "gateway_ip": "10.7.26.1", "state": "Running", "reserve_network_id": 34873 }, "deleted": false, "created_at": "2025-05-26T09:40:25.508756Z", "updated_at": "2025-05-26T09:42:14.054705Z", "name": "epfs-127", "size": 1000, "plan_name": "", "deleted_at": null, "status": "running", "location": "Delhi", "fs_id": "37144145", "client_project_id": "3714414517595", "nid": 1144, "gateway_ip": "10.7.27.254", "fs_name": "pfs0", "project": 42347, "customer": 37144 } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/epfs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get All Functions" method: GET path: "/api/v1/faas/functions/" url: "/api/myaccount/operations/get-faas-functions/" --- # Get All Functions `GET https://api.e2enetworks.com/myaccount/api/v1/faas/functions/` Returns a list of functions. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page` | integer | no | Page No. | | `page_size` | integer | no | Page size | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved the functions list. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/functions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get logs for a Function" method: GET path: "/api/v1/faas/logs/{function_id}/" url: "/api/myaccount/operations/get-faas-logs-function-id/" --- # Get logs for a Function `GET https://api.e2enetworks.com/myaccount/api/v1/faas/logs/{function_id}/` Retrieves logs of the specified function based on type and duration. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `function_id` | integer | yes | Function ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `type` | string | yes | | | `duration` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved logs. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.logs` | string | no | | | `data.scroll_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "logs": "", "scroll_id": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/logs//?apikey=&type=&duration=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Function Monitoring Data" method: GET path: "/api/v1/faas/monitoring-data/" url: "/api/myaccount/operations/get-faas-monitoring-data/" --- # Get Function Monitoring Data `GET https://api.e2enetworks.com/myaccount/api/v1/faas/monitoring-data/` Retrieves monitoring data such as memory usage and invocation counts for a specific function. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `function_name` | string | yes | The name of the function to monitor. | | `interval` | integer | yes | interval | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved monitoring data. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pod_memory_working_set_bytes` | object | no | | | `data.pod_memory_working_set_bytes.labels` | array of string | no | | | `data.pod_memory_working_set_bytes.results` | array of string | no | | | `data.gateway_function_invocation_total` | object | no | | | `data.gateway_function_invocation_total.labels` | array of string | no | | | `data.gateway_function_invocation_total.results` | array of string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pod_memory_working_set_bytes": { "labels": [ "23 Jun 12:39 PM", "23 Jun 12:40 PM" ], "results": [ "48.173056 MB", "48.173056 MB" ] }, "gateway_function_invocation_total": { "labels": [], "results": [] } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/monitoring-data/?apikey=&function_name=&interval=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Check Functions (FaaS) Activation" method: GET path: "/api/v1/faas/namespace/" url: "/api/myaccount/operations/get-faas-namespace/" --- # Check Functions (FaaS) Activation `GET https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/` Check if Functions (FaaS) is activated on your E2E Myaccount. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Namespace exists | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Namespace e2e-faas-28393-dl exists", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Firewall List" method: GET path: "/api/v1/fortigate/list" url: "/api/myaccount/operations/get-fortigate-list/" --- # Firewall List `GET https://api.e2enetworks.com/myaccount/api/v1/fortigate/list` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].vm_id` | integer | no | | | `data[].created_at` | string (date-time) | no | | | `data[].public_ip_address` | string | no | | | `data[].private_ip_address` | string | no | | | `data[].backup` | boolean | no | | | `data[].disk` | string | no | | | `data[].status` | string | no | | | `data[].vcpus` | string | no | | | `data[].memory` | string | no | | | `data[].plan` | string | no | | | `data[].region` | string | no | | | `data[].is_locked` | boolean | no | | | `data[].zabbix_host_id` | integer | no | | | `data[].zabbix_host_id_v2` | integer | no | | | `data[].gpu` | string | no | | | `data[].price` | string | no | | | `data[].additional_ip` | array of string | no | | | `data[].label` | string | no | | | `data[].ssh_keys` | array of string | no | | | `data[].is_active` | boolean | no | | | `data[].scaler_id` | integer | no | | | `data[].os_info` | object | no | | | `data[].os_info.name` | string | no | | | `data[].os_info.version` | string | no | | | `data[].os_info.category` | string | no | | | `data[].os_info.full_name` | string | no | | | `data[].is_monitored` | boolean | no | | | `data[].backup_status` | object | no | | | `data[].backup_status.status` | string | no | | | `data[].backup_status.detail` | string | no | | | `data[].backup_status.node_id` | integer | no | | | `data[].backup_status.is_encryption_enabled` | boolean | no | | | `data[].location` | string | no | | | `data[].monitor_status` | object | no | | | `data[].monitor_status.status` | string | no | | | `data[].monitor_status.reason` | string | no | | | `data[].enable_bitninja_details` | object | no | | | `data[].enable_bitninja_details.show_bitninja` | boolean | no | | | `data[].enable_bitninja_details.bitninja_cost` | number | no | | | `data[].is_bitninja_license_active` | boolean | no | | | `data[].any_license_attached` | object | no | | | `data[].any_license_attached.is_license_attached` | boolean | no | | | `data[].any_license_attached.license_deletion_message` | string | no | | | `data[].any_license_attached.mssql_license_attached` | boolean | no | | | `data[].is_committed` | boolean | no | | | `data[].audit_log_message` | string | no | | | `data[].monitoring_tab_enabled` | boolean | no | | | `data[].cdp_tab_enabled` | boolean | no | | | `data[].alert_tab_enabled` | boolean | no | | | `data[].bitninja_discount_percentage` | number | no | | | `data[].is_image_deleted` | boolean | no | | | `data[].vpc_enabled` | boolean | no | | | `data[].is_snapshot_allowed` | boolean | no | | | `data[].is_fortigate_vm` | boolean | no | | | `data[].rescue_mode_status` | string | no | | | `data[].is_upgradable` | boolean | no | | | `data[].abuse_flag` | boolean | no | | | `data[].currency` | string | no | | | `data[].vm_type` | string | no | | | `data[].is_accidental_protection` | boolean | no | | | `data[].project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 201196, "name": "Fortinet-7-01-Fortinet-835", "vm_id": 215859, "created_at": "2024-11-04T07:19:53.078897Z", "public_ip_address": "164.52.195.15", "private_ip_address": "10.15.86.11", "backup": false, "disk": "20 GB", "status": "Creating", "vcpus": "1", "memory": "9 GB", "plan": "FTN.100V", "region": null, "is_locked": false, "zabbix_host_id": null, "zabbix_host_id_v2": null, "gpu": "", "price": "Rs. 13.0/Hour or Rs. 9490.0 Monthly", "additional_ip": [], "label": "Default", "ssh_keys": [], "is_active": true, "scaler_id": null, "os_info": { "name": "Fortinet", "version": "7.01", "category": "", "full_name": "Fortinet 7.01 x86_64" }, "is_monitored": false, "backup_status": { "status": "backup_unsupported", "detail": "Backup Unsupported", "node_id": 201196, "is_encryption_enabled": false }, "location": "Delhi", "monitor_status": { "status": "not_activated", "reason": "" }, "enable_bitninja_details": { "show_bitninja": false, "bitninja_cost": 0 }, "is_bitninja_license_active": false, "any_license_attached": { "is_license_attached": false, "license_deletion_message": "", "mssql_license_attached": false }, "is_committed": true, "audit_log_message": null, "monitoring_tab_enabled": true, "cdp_tab_enabled": true, "alert_tab_enabled": true, "bitninja_discount_percentage": 0, "is_image_deleted": false, "vpc_enabled": true, "is_snapshot_allowed": false, "is_fortigate_vm": true, "rescue_mode_status": "Disabled", "is_upgradable": false, "abuse_flag": false, "currency": "INR", "vm_type": "committed_vm", "is_accidental_protection": false, "project_name": "default-project-17976" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/fortigate/list?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Itemised Usage Details" method: GET path: "/api/v1/get_estimates/" url: "/api/myaccount/operations/get-get-estimates/" --- # Itemised Usage Details `GET https://api.e2enetworks.com/myaccount/api/v1/get_estimates/` Fetches billing estimates for the provided date range and project, with detailed breakdowns of each item. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `start_date` | string | yes | Start date for the billing estimate (format- YYYY-MM-DD). | | `end_date` | string | yes | End date for the billing estimate (format- YYYY-MM-DD). | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful billing estimates response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.total_amount` | number (float) | no | | | `data.itemlist` | array of object | no | | | `data.itemlist[].item_name` | string | no | | | `data.itemlist[].public_ip` | string | no | | | `data.itemlist[].item_description` | string | no | | | `data.itemlist[].quantity` | string | no | | | `data.itemlist[].rate` | string | no | | | `data.itemlist[].amount` | string | no | | | `data.itemlist[].project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "total_amount": 1472.65, "itemlist": [ { "item_name": "ADDON IP", "public_ip": "164.52.207.136", "item_description": "164.52.207.136 addon ip", "quantity": "1.00", "rate": "199.00", "amount": "199.00", "project_name": "default-project-35380" } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/get_estimates/?apikey=&start_date=&end_date=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Autopay Details" method: GET path: "/api/v1/get-prepaid-autopay-options/" url: "/api/myaccount/operations/get-get-prepaid-autopay-options/" --- # Autopay Details `GET https://api.e2enetworks.com/myaccount/api/v1/get-prepaid-autopay-options/` Fetches the current autopay settings for a prepaid project, including credit refill and alert preferences. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with prepaid autopay options | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].autopayoption_id` | integer | no | | | `data[].refill_credits` | boolean | no | | | `data[].low_credits_alert` | boolean | no | | | `data[].threshold_credits` | number | no | | | `data[].minimum_credits_refill` | number | no | | | `data[].credit_alert_threshold` | number | no | | | `data[].credit_alert_via_sms` | boolean | no | | | `data[].credit_alert_via_email` | boolean | no | | | `data[].smart_topup_enabled` | boolean | no | | | `errors` | array of string | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "autopayoption_id": 16293, "refill_credits": false, "low_credits_alert": false, "threshold_credits": null, "minimum_credits_refill": null, "credit_alert_threshold": 1000, "credit_alert_via_sms": false, "credit_alert_via_email": true, "smart_topup_enabled": false } ], "errors": [], "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/get-prepaid-autopay-options/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get User groups list" method: GET path: "/api/v1/iam/groups/" url: "/api/myaccount/operations/get-iam-groups/" --- # Get User groups list `GET https://api.e2enetworks.com/myaccount/api/v1/iam/groups/` Retrieves a list of User groups with their members. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful retrieval of IAM groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].zabbix_user_group_id` | integer | no | | | `data[].member` | array of object | no | | | `data[].member[].id` | integer | no | | | `data[].member[].iam_user` | object | no | | | `data[].member[].iam_user.member_id` | integer | no | | | `data[].member[].iam_user.name` | string | no | | | `data[].member[].iam_user.email` | string | no | | | `data[].member[].iam_user.role` | string | no | | | `data[].member[].iam_user.iam_type` | string | no | | | `data[].member[].iam_user.invitation_status` | string | no | | | `data[].member[].iam_user.allowed_to_edit_by_current_user` | boolean | no | | | `data[].member[].date_joined` | string (date-time) | no | | | `data[].member[].date_removed` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 0, "name": "string", "zabbix_user_group_id": 0, "member": [ { "id": 0, "iam_user": { "member_id": 0, "name": "string", "email": "string", "role": "string", "iam_type": "string", "invitation_status": "string", "allowed_to_edit_by_current_user": false }, "date_joined": "string", "date_removed": "string" } ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/iam/groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "CRN details" method: GET path: "/api/v1/iam/multi-crn/" url: "/api/myaccount/operations/get-iam-multi-crn/" --- # CRN details `GET https://api.e2enetworks.com/myaccount/api/v1/iam/multi-crn/` ## Responses ### 200 Successful response with CRN data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.crn_data` | array of object | no | | | `data.crn_data[].first_name` | string | no | | | `data.crn_data[].last_name` | string | no | | | `data.crn_data[].crn` | integer | no | | | `data.crn_data[].email` | string | no | | | `data.crn_data[].iam_type` | string | no | | | `data.crn_data[].organisation_name` | string | no | | | `data.crn_data[].is_available_for_switching` | boolean | no | | | `data.last_used_crn` | integer | no | | | `data.last_used_project` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "crn_data": [ { "first_name": "Nipun", "last_name": "", "crn": 23827, "email": "nipun.arora@e2enetworks.com", "iam_type": "Owner", "organisation_name": "NIPUN", "is_available_for_switching": true } ], "last_used_crn": 14760, "last_used_project": 17925 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/iam/multi-crn/?apikey=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Saved images List" method: GET path: "/api/v1/images/saved-images/" url: "/api/myaccount/operations/get-images-saved-images/" --- # Saved images List `GET https://api.e2enetworks.com/myaccount/api/v1/images/saved-images/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved image templates | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].template_id` | integer | no | | | `data[].is_windows` | boolean | no | | | `data[].vm_info` | array of object | no | | | `data[].image_type` | string | no | | | `data[].os_distribution` | string | no | | | `data[].name` | string | no | | | `data[].image_id` | string | no | | | `data[].distro` | string | no | | | `data[].sku_type` | string | no | | | `data[].image_state` | string | no | | | `data[].running_vms` | string | no | | | `data[].cloning_ops` | string | no | | | `data[].image_size` | string | no | | | `data[].creation_time` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "template_id": 28894, "is_windows": false, "vm_info": [], "image_type": "E2E Image", "os_distribution": "DEL-TestingnnooDE_1726058019", "name": "TestingnnooDE_1726058019_1726058019", "image_id": "24440", "distro": "CentOS-Stream", "sku_type": "C3VPS", "image_state": "Ready", "running_vms": "0", "cloning_ops": "0", "image_size": "95.368 GB", "creation_time": "11-09-2024 18:03:37" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/saved-images/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Window Image permission" method: GET path: "/api/v1/images/window-image-permissions/" url: "/api/myaccount/operations/get-images-window-image-permissions/" --- # Window Image permission `GET https://api.e2enetworks.com/myaccount/api/v1/images/window-image-permissions/` Returns whether the import of Windows custom images is permitted for the given customer. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Success response indicating whether Windows image import is allowed | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.is_windows_allowed` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "is_windows_allowed": false }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/window-image-permissions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Mapped label to Parameter Group" method: GET path: "/api/v1/label/mapping/parameter_group/" url: "/api/myaccount/operations/get-label-mapping-parameter-group/" --- # Mapped label to Parameter Group `GET https://api.e2enetworks.com/myaccount/api/v1/label/mapping/parameter_group/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response of attached label to a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].resource_id` | integer | no | | | `data[].resource_type` | string | no | | | `data[].label_mapping` | array of object | no | | | `data[].label_mapping[].label_name` | string | no | | | `data[].label_mapping[].label_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "resource_id": 909, "resource_type": "parameter_group", "label_mapping": [ { "label_name": "newtag3", "label_id": "2690" } ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/mapping/parameter_group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get All Attached Tag" method: GET path: "/api/v1/label/mapping/{resource_type}/" url: "/api/myaccount/operations/get-label-mapping-resource-type/" --- # Get All Attached Tag `GET https://api.e2enetworks.com/myaccount/api/v1/label/mapping/{resource_type}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `resource_type` | one of `load_balancer`, `volumes`, `nodes`, `eos`, `sfs`, `kubernetes`, `dbass`, `images`, `cdp_backup`, `cdn`, `auto_scaling`, `reserve_ip`, `vpc`, `eqs`, `security_groups`, `parameter_group`, `firewall` | yes | Type of the resource to attach/detach tag. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved label mapping for a resource. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].resource_id` | integer | no | | | `data[].resource_type` | string | no | | | `data[].label_mapping` | array of object | no | | | `data[].label_mapping[].label_name` | string | no | | | `data[].label_mapping[].label_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "resource_id": 235813, "resource_type": "nodes", "label_mapping": [ { "label_name": "m", "label_id": "2790" } ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/mapping//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get All Tags" method: GET path: "/api/v1/label/" url: "/api/myaccount/operations/get-label/" --- # Get All Tags `GET https://api.e2enetworks.com/myaccount/api/v1/label/` Retrieves a list of all tags for a given project and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of labels retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].label_name` | string | no | | | `data[].metadata` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 2790, "label_name": "my-label", "metadata": "" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get monitoring alerts" method: GET path: "/api/v1/monitoring/alerts/" url: "/api/myaccount/operations/get-monitoring-alerts/" --- # Get monitoring alerts `GET https://api.e2enetworks.com/myaccount/api/v1/monitoring/alerts/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### content ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Global Monitoring Stats" method: GET path: "/api/v1/monitoring/global/" url: "/api/myaccount/operations/get-monitoring-global/" --- # Get Global Monitoring Stats `GET https://api.e2enetworks.com/myaccount/api/v1/monitoring/global/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `start_time` | integer | yes | Start time in epoch format or relative window (e.g., 30 = last 30 minutes) | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `filters` | string | no | Optional filter string | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.problems` | array of object | no | | | `data.severity_counts` | object | no | | | `data.severity_counts.Not classified` | integer | no | | | `data.severity_counts.Information` | integer | no | | | `data.severity_counts.Warning` | integer | no | | | `data.severity_counts.Average` | integer | no | | | `data.severity_counts.High` | integer | no | | | `data.severity_counts.Disaster` | integer | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": { "problems": [], "severity_counts": { "Not classified": 0, "Information": 0, "Warning": 0, "Average": 0, "High": 0, "Disaster": 0 } }, "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/global/?apikey=&start_time=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monthly Billing Report" method: GET path: "/api/v1/monthly-report/csv/" url: "/api/myaccount/operations/get-monthly-report-csv/" --- # Monthly Billing Report `GET https://api.e2enetworks.com/myaccount/api/v1/monthly-report/csv/` Downloads the detailed monthly billing report in CSV format for a given project and location, based on the selected month and year. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `month` | integer | yes | The ID of the label to delete. | | `year` | integer | yes | Year for which the billing estimate is to be fetched (format- YYYY). | | `type` | one of `csv` | yes | Download csv | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Response schema for user profile data. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.user_id` | string | no | | | `data.full_name` | string | no | | | `data.email` | string (email) | no | | | `data.join_date` | string (date) | no | | | `data.is_active` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "user_id": "user_123456", "full_name": "Jane Doe", "email": "jane.doe@example.com", "join_date": "2023-01-15", "is_active": true }, "errors": {}, "message": "Profile fetched successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monthly-report/csv/?apikey=&month=&year=&type=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Node Details" method: GET path: "/api/v1/nodes/{node_id}/" url: "/api/myaccount/operations/get-node-details/" --- # Get Node Details `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the node's location as a string. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the node | | `data.vm_id` | integer | no | Unique identifier of the virtual machine | | `data.name` | string | no | The node's identifier string. | | `data.label` | string | no | Identifier for the node | | `data.plan` | string | no | Identifier of the node's resource plan | | `data.disk` | string | no | Disk capacity of the node | | `data.memory` | string | no | Amount of memory allocated to the node, e.g., "8 GB" | | `data.vcpus` | string | no | Number of virtual CPUs allocated to the node | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].label` | string (email) | no | Label identifying the SSH key | | `data.ssh_keys[].ssh_key` | string | no | SSH public key string associated with the node | | `data.os_info` | object | no | | | `data.os_info.name` | string | no | Operating system name of the node | | `data.os_info.version` | string | no | Operating system version string | | `data.os_info.category` | string | no | Human-readable category of the operating system | | `data.os_info.full_name` | string | no | Operating system full name string | | `data.price` | string | no | Price of the node as a formatted string | | `data.created_at` | string (date-time) | no | Timestamp when the node was created. | | `data.is_bitninja_license_active` | boolean | no | Indicates whether the BitNinja license is currently active. | | `data.ngc_container` | string | no | Identifier of the NGC container associated with the node | | `data.gpu` | string | no | GPU model or identifier for the node | | `data.cdp_tab_enabled` | boolean | no | Indicates whether the CDP tab is enabled | | `data.monitoring_tab_enabled` | boolean | no | Indicates if the monitoring tab is enabled for the node | | `data.is_snapshot_allowed` | boolean | no | Indicates whether taking snapshots is allowed on the node | | `data.alert_tab_enabled` | boolean | no | Indicates if the alert tab is enabled for the node | | `data.is_volume_attachable` | boolean | no | Indicates whether a volume can be attached to the node. | | `data.zabbix_host_id` | string | no | Identifier of the host in Zabbix | | `data.zabbix_host_id_v2` | string | no | Zabbix host identifier for the node | | `data.is_fortigate_vm` | boolean | no | Indicates whether the node is a FortiGate virtual machine. | | `data.status` | string | no | Current lifecycle state of the node | | `data.any_license_attached` | object | no | | | `data.any_license_attached.is_license_attached` | boolean | no | Indicates whether a license is attached to the node | | `data.any_license_attached.license_deletion_message` | string | no | Message displayed when a license is deleted | | `data.any_license_attached.mssql_license_attached` | boolean | no | Indicates whether a Microsoft SQL Server license is attached to the node | | `data.is_locked` | boolean | no | Indicates whether the node is currently locked | | `data.is_upgradable` | boolean | no | Indicates whether the node can be upgraded | | `data.vm_type` | string | no | type of virtual machine for the node | | `data.committed_details` | array of object | no | | | `data.committed_details[].committed_sku_id` | integer | no | Identifier of the committed SKU | | `data.committed_details[].committed_sku_name` | string | no | Name of the committed SKU | | `data.committed_details[].committed_node_message` | string | no | Message indicating reservation period and cost for a committed node | | `data.committed_details[].committed_sku_price` | number | no | Price of the committed SKU | | `data.committed_details[].committed_upto_date` | string | no | Date and time up to which the node is committed | | `data.committed_details[].committed_days` | integer | no | Number of days the node is committed | | `data.committed_info` | string | no | Details about the node's committed state | | `data.series` | string | no | Series identifier for the node | | `data.public_ip_address` | string | no | The node's public IPv4 address. | | `data.private_ip_address` | string | no | The private IPv4 address of the node. | | `data.pool_ip_address` | array of string | no | | | `data.start_scripts` | array of object | no | | | `data.start_scripts[].label` | string | no | Label of the start script | | `data.start_scripts[].script_content` | string | no | Shell script to run on the node | | `data.is_accidental_protection` | boolean | no | Indicates whether accidental protection is enabled for the node | | `data.hypervisor` | boolean | no | True if the node functions as a hypervisor, otherwise false | | `data.is_node_compliance` | boolean | no | Indicates whether the node complies with the required standards | | `data.is_never_connected` | boolean | no | Indicates whether the node has never established a connection. | | `data.rescue_mode_status` | string | no | Indicates whether the node's rescue mode is currently enabled or disabled | | `data.snapshot_exist` | boolean | no | True if a snapshot exists for the node, otherwise false. | | `data.is_vpc_attached` | boolean | no | Indicates whether the node is attached to a VPC. | | `data.cluster_name` | string | no | Name of the cluster the node belongs to | | `data.security_group_count` | integer | no | Number of security groups associated with the node | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": { "id": 12345, "vm_id": 12345, "name": "C3-8GB-420", "label": "default", "plan": "C3.8GB", "disk": "100 GB", "memory": "8 GB", "vcpus": "4", "ssh_keys": [ { "label": "your_email@example.com", "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... your_email@example.com" } ], "os_info": { "name": "Ubuntu", "version": "24.04", "category": "Linux Virtual Node", "full_name": "Ubuntu 24.04 x86_64" }, "price": "Rs. 3.1/Hour or Rs. 2263.0 Monthly", "created_at": "2025-07-11T11:23:55.352656Z", "is_bitninja_license_active": false, "ngc_container": "", "gpu": "", "cdp_tab_enabled": true, "monitoring_tab_enabled": true, "is_snapshot_allowed": true, "alert_tab_enabled": true, "is_volume_attachable": true, "zabbix_host_id": "string", "zabbix_host_id_v2": "string", "is_fortigate_vm": false, "status": "Creating", "any_license_attached": { "is_license_attached": false, "license_deletion_message": "", "mssql_license_attached": false }, "is_locked": false, "is_upgradable": true, "vm_type": "vm", "committed_details": [ { "committed_sku_id": 1234, "committed_sku_name": "90 Days Committed , Rs. 6026.0", "committed_node_message": "This committed node will be reserved for next 90 days ( till 09-October-2025 11:23). The cost Rs. 6026.0 of this node will be added in next invoice.", "committed_sku_price": 6026, "committed_upto_date": "09-October-2025 11:23", "committed_days": 90 } ], "committed_info": "string", "series": "C3", "public_ip_address": "1.2.3.4", "private_ip_address": "10.8.64.17", "pool_ip_address": [ "string" ], "start_scripts": [ { "label": "nginx", "script_content": "sudo apt-get updates\nsudo apt-get install nginx -y" } ], "is_accidental_protection": false, "hypervisor": false, "is_node_compliance": false, "is_never_connected": false, "rescue_mode_status": "Disabled", "snapshot_exist": false, "is_vpc_attached": true, "cluster_name": "string", "security_group_count": 1 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Project details" method: GET path: "/api/v1/pbac/projects-header/" url: "/api/myaccount/operations/get-pbac-projects-header/" --- # Project details `GET https://api.e2enetworks.com/myaccount/api/v1/pbac/projects-header/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `crn` | integer | yes | CRN ID [**Find your CRN here** ](/api/myaccount/operations/get-iam-multi-crn/) | ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/pbac/projects-header/?apikey=&crn=' \ --header 'Authorization: Bearer ' ``` --- --- title: "MyAccount – Plans & Pricing" method: GET path: "/publicapi/v1/plans-and-pricing/" url: "/api/myaccount/operations/get-plans-and-pricing/" --- # MyAccount – Plans & Pricing `GET https://api.e2enetworks.com/myaccount/publicapi/v1/plans-and-pricing/` Returns plans and pricing for MyAccount services. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `service` | one of `node`, `gpu`, `load_balancer`, `kubernetes_master`, `kubernetes_worker`, `saved_image`, `cdp_backup`, `faas`, `volume`, `sfs`, `eos`, `epfs`, `container_registry`, `dbaas`, `snapshot`, `firewall`, `vpc`, `reserve_ip`, `secret_management`, `licenses`, `cdn` | yes | | | `location` | one of `Delhi`, `Chennai` | yes | | | `currency` | one of `inr`, `usd` | yes | | ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/publicapi/v1/plans-and-pricing/?apikey=&service=&location=¤cy=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Usage Details" method: GET path: "/api/v1/pre-paid-date-range-usage/" url: "/api/myaccount/operations/get-pre-paid-date-range-usage/" --- # Usage Details `GET https://api.e2enetworks.com/myaccount/api/v1/pre-paid-date-range-usage/` Retrieves prepaid usage details for a given date range. Allows filtering by summary type (e.g., Node) along with project and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `start_date` | string | yes | Start date for the billing estimate (format- DD-MM-YYYY). | | `end_date` | string | yes | End date for the billing estimate (format- DD-MM-YYYY). | | `summary_type` | string | no | Summary type for grouping the usage data. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Prepaid usage details for the given date range. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].project_id` | integer | no | | | `data[].created_at__date` | string (date) | no | | | `data[].total_amount` | number | no | | | `data[].project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "ADDON IP", "description": "164.52.207.136 addon ip", "project_id": 40473, "created_at__date": "2025-04-23", "total_amount": 199, "project_name": "default-project-35380" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/pre-paid-date-range-usage/?apikey=&start_date=&end_date=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Infra Credit Details" method: GET path: "/api/v1/pre-transaction/" url: "/api/myaccount/operations/get-pre-transaction/" --- # Infra Credit Details `GET https://api.e2enetworks.com/myaccount/api/v1/pre-transaction/` Fetches a paginated list of all debit and credit transactions for a prepaid account, including transaction type and reason. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of prepaid billing transactions including pagination and balance details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].amount` | string | no | | | `data[].date` | string | no | | | `data[].reason` | string | no | | | `data[].transaction_type` | one of `Debit`, `Credit` | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `credit_available` | number | no | | | `total_consumption` | number | no | | Example 200 response: ```json { "code": 200, "data": [ { "amount": "154.81", "date": "Apr 29, 2025 11:00:15 AM", "reason": "Daily usage", "transaction_type": "Debit" } ], "errors": {}, "message": "Success", "total_page_number": 4, "total_count": 19, "credit_available": 3372.54, "total_consumption": 1627.46 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/pre-transaction/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Cost Analysis" method: GET path: "/api/v1/prepaid/cost_usage/" url: "/api/myaccount/operations/get-prepaid-cost-usage/" --- # Cost Analysis `GET https://api.e2enetworks.com/myaccount/api/v1/prepaid/cost_usage/` Retrieves the cost usage summary for prepaid billing based on the specified frequency and item scope. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `frequency` | string | yes | Frequency of usage data. Use `1` for monthly. | | `item` | string | yes | Filter usage by item. Use `all` to get all usage items. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A list of monthly prepaid usage and their respective amounts. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].month` | string | no | | | `data[].year` | string | no | | | `data[].amount` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "month": "4", "year": "2025", "amount": "1472.65" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/prepaid/cost_usage/?apikey=&frequency=&item=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Profile Settings" method: GET path: "/api/v1/profile-settings/" url: "/api/myaccount/operations/get-profile-settings/" --- # Profile Settings `GET https://api.e2enetworks.com/myaccount/api/v1/profile-settings/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Server security settings fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pk` | integer | no | | | `data.bitninja_active` | boolean | no | | | `data.cdp_backup_active` | boolean,null | no | | | `data.default_ssh_keys_enabled` | array of integer | no | | | `data.password_authentication` | boolean | no | | | `data.whatsapp_notifications` | boolean,null | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pk": 1234, "bitninja_active": false, "cdp_backup_active": null, "default_ssh_keys_enabled": [ 12345 ], "password_authentication": true, "whatsapp_notifications": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/profile-settings/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Show Log Queries" method: GET path: "/api/v1/rds/cluster/{Cluster_id}/get-logs" url: "/api/myaccount/operations/get-rds-cluster-cluster-id-get-logs/" --- # Show Log Queries `GET https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/get-logs` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `time_filter` | integer | yes | time_filter | | `search_from` | integer | yes | search_from | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved slow queries data | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.total` | integer | no | Total number of slow queries. | | `data.slow_data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "total": 0, "slow_data": [ [] ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//get-logs?apikey=&time_filter=&search_from=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monitoring" method: GET path: "/api/v1/rds/cluster/{Cluster_id}/graph-monitoring" url: "/api/myaccount/operations/get-rds-cluster-cluster-id-graph-monitoring/" --- # Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/graph-monitoring` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | | `interval` | integer | yes | interval | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Success response with detailed database performance metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.cpu` | object | no | | | `data.cpu.labels` | array of string | no | | | `data.cpu.results` | array of string | no | | | `data.iops` | object | no | | | `data.iops.disk_iops_read` | object | no | | | `data.iops.disk_iops_read.labels` | array of string | no | | | `data.iops.disk_iops_read.results` | array of string | no | | | `data.iops.disk_iops_write` | object | no | | | `data.iops.disk_iops_write.labels` | array of string | no | | | `data.iops.disk_iops_write.results` | array of string | no | | | `data.memory_usage` | object | no | | | `data.memory_usage.labels` | array of string | no | | | `data.memory_usage.results` | array of string | no | | | `data.mysql_conn` | object | no | | | `data.mysql_conn.labels` | array of string | no | | | `data.mysql_conn.results` | array of string | no | | | `data.mysql_query` | object | no | | | `data.mysql_query.labels` | array of string | no | | | `data.mysql_query.results` | array of string | no | | | `data.mysql_network` | object | no | | | `data.mysql_network.mysql_bytes_received` | object | no | | | `data.mysql_network.mysql_bytes_received.labels` | array of string | no | | | `data.mysql_network.mysql_bytes_received.results` | array of string | no | | | `data.mysql_network.mysql_bytes_send` | object | no | | | `data.mysql_network.mysql_bytes_send.labels` | array of string | no | | | `data.mysql_network.mysql_bytes_send.results` | array of string | no | | | `data.database_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "cpu": { "labels": [], "results": [] }, "iops": { "disk_iops_read": { "labels": [ "04:24PM", "04:25PM", "04:26PM", "04:31PM", "04:32PM", "04:33PM", "04:34PM" ], "results": [ "26007.0", "26007.0", "26007.0", "26007.0", "26007.0", "26007.0", "26007.0" ] }, "disk_iops_write": { "labels": [ "04:24PM", "04:25PM", "04:26PM", "04:31PM", "04:32PM", "04:33PM", "04:34PM" ], "results": [ "8074.0", "8084.0", "8096.0", "8158.0", "8170.0", "8184.0", "8190.0" ] } }, "memory_usage": { "labels": [], "results": [] }, "mysql_conn": { "labels": [], "results": [] }, "mysql_query": { "labels": [], "results": [] }, "mysql_network": { "mysql_bytes_received": { "labels": [], "results": [] }, "mysql_bytes_send": { "labels": [], "results": [] } }, "database_name": "mysql" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//graph-monitoring?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Snapshot List" method: GET path: "/api/v1/rds/cluster/{Cluster_id}/snapshot" url: "/api/myaccount/operations/get-rds-cluster-cluster-id-snapshot/" --- # Snapshot List `GET https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/snapshot` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved snapshots and plans | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.snapshots` | array of object | no | | | `data.snapshots[].name` | string | no | | | `data.snapshots[].date` | string (date-time) | no | | | `data.snapshots[].size` | string | no | | | `data.snapshots[].snapshot_id` | integer | no | | | `data.snapshots[].snapshot_uuid` | string (uuid) | no | | | `data.snapshots[].status` | string | no | | | `data.plans` | array of object | no | | | `data.plans[].name` | string | no | | | `data.plans[].price` | string | no | | | `data.plans[].template_id` | integer | no | | | `data.plans[].ram` | string | no | | | `data.plans[].cpu` | string | no | | | `data.plans[].disk` | string | no | | | `data.plans[].currency` | string | no | | | `data.plans[].software` | object | no | | | `data.plans[].software.name` | string | no | | | `data.plans[].software.version` | string | no | | | `data.plans[].software.engine` | string | no | | | `data.plans[].available_inventory_status` | boolean | no | | | `data.plans[].price_per_hour` | number (float) | no | | | `data.plans[].price_per_month` | number (float) | no | | | `data.total_page` | integer | no | | | `data.per_page` | integer | no | | | `data.total_count` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "snapshots": [ { "name": "vishnu2", "date": "2025-02-05T12:21:08Z", "size": "0.0 GB", "snapshot_id": 1, "snapshot_uuid": "2c8a29cb-252b-4af7-a28f-3fdce63b44c3", "status": "In progress" } ], "plans": [ { "name": "DBS.16GB", "price": "Rs. 9.0/Hour or Rs. 6570.0 Monthly", "template_id": 21, "ram": "16", "cpu": "4", "disk": "200", "currency": "INR", "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "available_inventory_status": true, "price_per_hour": 9, "price_per_month": 6570 } ], "total_page": 1, "per_page": 5, "total_count": 2 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//snapshot?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "DBaaS Details" method: GET path: "/api/v1/rds/cluster/{Cluster_id}/" url: "/api/myaccount/operations/get-rds-cluster-cluster-id/" --- # DBaaS Details `GET https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Success response with database service details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.status_title` | string | no | | | `data.status_actions` | array of string | no | | | `data.num_instances` | integer | no | | | `data.software` | object | no | | | `data.software.name` | string | no | | | `data.software.version` | string | no | | | `data.software.engine` | string | no | | | `data.master_node` | object | no | | | `data.master_node.node_name` | string | no | | | `data.master_node.instance_id` | integer | no | | | `data.master_node.cluster_id` | integer | no | | | `data.master_node.node_id` | integer | no | | | `data.master_node.vm_id` | integer | no | | | `data.master_node.port` | string | no | | | `data.master_node.public_ip_address` | string | no | | | `data.master_node.private_ip_address` | string | no | | | `data.master_node.allowed_ip_address` | object | no | | | `data.master_node.allowed_ip_address.whitelisted_ips` | array of string | no | | | `data.master_node.allowed_ip_address.temp_ips` | array of string | no | | | `data.master_node.allowed_ip_address.whitelisted_ips_tags` | array of string | no | | | `data.master_node.allowed_ip_address.temp_ips_tags` | array of string | no | | | `data.master_node.allowed_ip_address.whitelisting_in_progress` | boolean | no | | | `data.master_node.zabbix_host_id` | integer | no | | | `data.master_node.database` | object | no | | | `data.master_node.database.id` | integer | no | | | `data.master_node.database.username` | string | no | | | `data.master_node.database.database` | string | no | | | `data.master_node.database.pg_detail` | object | no | | | `data.master_node.ram` | string | no | | | `data.master_node.cpu` | string | no | | | `data.master_node.disk` | string | no | | | `data.master_node.status` | string | no | | | `data.master_node.db_status` | string | no | | | `data.master_node.created_at` | string | no | | | `data.master_node.plan` | object | no | | | `data.master_node.plan.name` | string | no | | | `data.master_node.plan.price` | string | no | | | `data.master_node.plan.template_id` | integer | no | | | `data.master_node.plan.ram` | string | no | | | `data.master_node.plan.cpu` | string | no | | | `data.master_node.plan.disk` | string | no | | | `data.master_node.plan.currency` | string | no | | | `data.master_node.plan.software` | object | no | | | `data.master_node.plan.software.name` | string | no | | | `data.master_node.plan.software.version` | string | no | | | `data.master_node.plan.software.engine` | string | no | | | `data.master_node.plan.available_inventory_status` | boolean | no | | | `data.master_node.plan.price_per_hour` | number (float) | no | | | `data.master_node.plan.price_per_month` | number (float) | no | | | `data.master_node.ssl` | boolean | no | | | `data.master_node.domain` | string | no | | | `data.master_node.public_port` | string | no | | | `data.slave_nodes` | array of object | no | | | `data.whitelisted_ips` | array of string | no | | | `data.connectivity` | string | no | | | `data.connectivity_status` | string | no | | | `data.read_end_point` | array of object | no | | | `data.read_end_point[].address` | string | no | | | `data.read_end_point[].port` | string | no | | | `data.write_end_point` | array of object | no | | | `data.write_end_point[].address` | string | no | | | `data.write_end_point[].port` | string | no | | | `data.backup_enabled` | boolean | no | | | `data.vector_database_status` | string | no | | | `data.replication_factor` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 5276, "name": "E2E-DBaaS-26322-2920", "status": "RUNNING", "status_title": "Running", "status_actions": [ "delete", "stop", "restart", "manual-snapshot", "restore-snapshot" ], "num_instances": 1, "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "master_node": { "node_name": "E2E-DBaaS-26322-2920-Node-1", "instance_id": 10650, "cluster_id": 5276, "node_id": 214105, "vm_id": 228917, "port": "3306", "public_ip_address": "164.52.212.177", "private_ip_address": "10.7.214.7", "allowed_ip_address": { "whitelisted_ips": [], "temp_ips": [], "whitelisted_ips_tags": [], "temp_ips_tags": [], "whitelisting_in_progress": false }, "zabbix_host_id": 102563, "database": { "id": 5276, "username": "admin", "database": "DB-26322-2920", "pg_detail": {} }, "ram": "16 GB", "cpu": "4", "disk": "200 GB", "status": "Running", "db_status": "Running", "created_at": "06/Feb/2025 02:34 PM", "plan": { "name": "DBS.16GB", "price": "Rs. 9.0/Hour or Rs. 6570.0 Monthly", "template_id": 21, "ram": "16", "cpu": "4", "disk": "200", "currency": "INR", "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "available_inventory_status": true, "price_per_hour": 9, "price_per_month": 6570 }, "ssl": true, "domain": "e2e-81-177.ssdcloudindia.net", "public_port": null }, "slave_nodes": [ [] ], "whitelisted_ips": [], "connectivity": "Connecting using Different Read/Write Point", "connectivity_status": "updated", "read_end_point": [ { "address": "e2e-81-177.ssdcloudindia.net", "port": "3307" } ], "write_end_point": [ { "address": "e2e-81-177.ssdcloudindia.net", "port": "3306" } ], "backup_enabled": false, "vector_database_status": "Disabled", "replication_factor": 1 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "DBaaS List" method: GET path: "/api/v1/rds/cluster/" url: "/api/myaccount/operations/get-rds-cluster/" --- # DBaaS List `GET https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A list of database instances. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].status` | one of `CREATING`, `CREATED`, `DELETING`, `FAILED` | no | | | `data[].status_title` | string | no | | | `data[].num_instances` | integer | no | | | `data[].software` | object | no | | | `data[].software.name` | string | no | | | `data[].software.version` | string | no | | | `data[].software.engine` | string | no | | | `data[].master_node` | object | no | | | `data[].master_node.node_name` | string | no | | | `data[].master_node.instance_id` | integer | no | | | `data[].master_node.cluster_id` | integer | no | | | `data[].master_node.node_id` | integer | no | | | `data[].master_node.vm_id` | integer | no | | | `data[].master_node.port` | string | no | | | `data[].master_node.public_ip_address` | string | no | | | `data[].master_node.private_ip_address` | string | no | | | `data[].master_node.allowed_ip_address` | object | no | | | `data[].master_node.allowed_ip_address.whitelisted_ips` | array of string | no | | | `data[].master_node.allowed_ip_address.temp_ips` | array of string | no | | | `data[].master_node.allowed_ip_address.whitelisted_ips_tags` | array of string | no | | | `data[].master_node.allowed_ip_address.temp_ips_tags` | array of string | no | | | `data[].master_node.allowed_ip_address.whitelisting_in_progress` | boolean | no | | | `data[].master_node.zabbix_host_id` | string | no | | | `data[].master_node.database` | object | no | | | `data[].master_node.database.id` | integer | no | | | `data[].master_node.database.username` | string | no | | | `data[].master_node.database.database` | string | no | | | `data[].master_node.database.pg_detail` | object | no | | | `data[].master_node.ram` | string | no | | | `data[].master_node.cpu` | string | no | | | `data[].master_node.disk` | string | no | | | `data[].master_node.status` | string | no | | | `data[].master_node.db_status` | string | no | | | `data[].master_node.created_at` | string (date-time) | no | | | `data[].master_node.plan` | object | no | | | `data[].master_node.plan.name` | string | no | | | `data[].master_node.plan.price` | string | no | | | `data[].master_node.plan.template_id` | integer | no | | | `data[].master_node.plan.ram` | string | no | | | `data[].master_node.plan.cpu` | string | no | | | `data[].master_node.plan.disk` | string | no | | | `data[].master_node.plan.currency` | string | no | | | `data[].master_node.plan.software` | object | no | | | `data[].master_node.plan.software.name` | string | no | | | `data[].master_node.plan.software.version` | string | no | | | `data[].master_node.plan.software.engine` | string | no | | | `data[].master_node.plan.available_inventory_status` | boolean | no | | | `data[].master_node.plan.price_per_hour` | number (float) | no | | | `data[].master_node.plan.price_per_month` | number (float) | no | | | `data[].master_node.ssl` | boolean | no | | | `data[].master_node.domain` | string | no | | | `data[].master_node.public_port` | string | no | | | `data[].connectivity_detail` | string | no | | | `data[].vector_database_status` | one of `Disabled`, `Enabled` | no | | | `data[].project_name` | string | no | | | `data[].snapshot_exist` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 5267, "name": "E2E-DBaaS-26322-1577", "status": "CREATING", "status_title": "Creating", "num_instances": 1, "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "master_node": { "node_name": "E2E-DBaaS-26322-1577-Node-1", "instance_id": 10624, "cluster_id": 5267, "node_id": 213545, "vm_id": 228350, "port": "3306", "public_ip_address": "164.52.210.66", "private_ip_address": "10.17.10.7", "allowed_ip_address": { "whitelisted_ips": [ "string" ], "temp_ips": [ "string" ], "whitelisted_ips_tags": [ "string" ], "temp_ips_tags": [ "string" ], "whitelisting_in_progress": false }, "zabbix_host_id": null, "database": { "id": 5267, "username": "admin", "database": "DB-26322-1577", "pg_detail": {} }, "ram": "16 GB", "cpu": "4", "disk": "200 GB", "status": "Creating", "db_status": "Creating", "created_at": "2025-02-03T18:22:00", "plan": { "name": "DBS.16GB", "price": "Rs. 9.0/Hour or Rs. 6570.0 Monthly", "template_id": 21, "ram": "16", "cpu": "4", "disk": "200", "currency": "INR", "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "available_inventory_status": true, "price_per_hour": 9, "price_per_month": 6570 }, "ssl": true, "domain": null, "public_port": null }, "connectivity_detail": "{'read_end_point': [{'ip': '164.52.210.66', 'port': 3307}, {'ip': '10.17.10.7', 'port': 3307}], 'read_and_write_end_point': [{'ip': '164.52.210.66', 'port': 3306}, {'ip': '10.17.10.7', 'port': 3306}], 'status': 'updating', 'type': 1}", "vector_database_status": "Disabled", "project_name": "default-project-33931", "snapshot_exist": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Parameter Group Templates" method: GET path: "/api/v1/rds/parameter-group/templates/" url: "/api/myaccount/operations/get-rds-parameter-group-templates/" --- # Parameter Group Templates `GET https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/templates/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response containing database details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].version` | string | no | | | `data[].engine` | string | no | | | `data[].software_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "MySQL", "version": "8.0", "engine": "Innodb", "software_id": 4 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/templates/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get DBaaS Plans" method: GET path: "/api/v1/rds/plans/" url: "/api/myaccount/operations/get-rds-plans/" --- # Get DBaaS Plans `GET https://api.e2enetworks.com/myaccount/api/v1/rds/plans/` Pass the software ID of the engine and version you want; the answer lists its plans, each with the template ID that the create call takes. ##### All DBaaS Plans | DBaaS Name | Software ID | | --- | --- | | MySQL 8.0 | 4 | | MariaDB 10.6 | 11 | | MariaDB 10.11 | 12 | | PostgreSQL 15.0 | 10 | | PostgreSQL 16.0 | 19 | | PostgreSQL 17.0 | 20 | | PostgreSQL 18.0 | 21 | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `software_id` | integer | yes | software_id | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.template_plans` | array of object | no | | | `data.database_engines` | array of object | no | | | `data.database_engines[].id` | integer | no | | | `data.database_engines[].name` | string | no | | | `data.database_engines[].version` | string | no | | | `data.database_engines[].engine` | string | no | | | `data.database_engines[].description` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 0, "data": { "template_plans": [ {} ], "database_engines": [ { "id": 1, "name": "MariaDB", "version": "10.4", "engine": "MariaDB", "description": null } ] }, "errors": {}, "message": "string" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/plans/?apikey=&software_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get List of Reserved IPs" method: GET path: "/api/v1/reserve_ips/" url: "/api/myaccount/operations/get-reserve-ips/" --- # Get List of Reserved IPs `GET https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of Reserved IPs | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].ip_address` | string | no | | | `data[].status` | string | no | | | `data[].bought_at` | string | no | | | `data[].vm_id` | integer | no | | | `data[].vm_name` | string | no | | | `data[].reserve_id` | integer | no | | | `data[].appliance_type` | string | no | | | `data[].reserved_type` | one of `FloatingIP`, `PublicIP`, `AddonIP` | no | | | `data[].project_name` | string | no | | | `data[].floating_ip_attached_nodes` | array of object | no | | | `data[].floating_ip_attached_nodes[].id` | integer | no | | | `data[].floating_ip_attached_nodes[].vm_id` | integer | no | | | `data[].floating_ip_attached_nodes[].name` | string | no | | | `data[].floating_ip_attached_nodes[].ip_address_private` | string | no | | | `data[].floating_ip_attached_nodes[].status_name` | string | no | | | `data[].floating_ip_attached_nodes[].ip_address_public` | string | no | | | `data[].floating_ip_attached_nodes[].security_group_status` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `is_limit_available` | boolean | no | | | `reserved_ip_details` | object | no | | | `reserved_ip_details.customer_max_limit` | integer | no | | | `reserved_ip_details.reserved_ips_count` | integer | no | | | `reserve_ip_price` | string | no | | | `currency` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "ip_address": "164.52.220.153", "status": "Attached", "bought_at": "05-07-2025 11:35", "vm_id": null, "vm_name": "--", "reserve_id": 15787, "appliance_type": "--", "reserved_type": "FloatingIP", "project_name": "Default...", "floating_ip_attached_nodes": [ { "id": 244981, "vm_id": 259551, "name": "C3-8GB-415", "ip_address_private": "10.16.234.6", "status_name": "Running", "ip_address_public": "164.52.220.154", "security_group_status": "Updated" } ] } ], "errors": {}, "message": "Success", "is_limit_available": true, "reserved_ip_details": { "customer_max_limit": 10, "reserved_ips_count": 5 }, "reserve_ip_price": "INR 199.0 (excluding GST)", "currency": "INR" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resource Details" method: GET path: "/api/v1/resource-quota-details/" url: "/api/myaccount/operations/get-resource-quota-details/" --- # Resource Details `GET https://api.e2enetworks.com/myaccount/api/v1/resource-quota-details/` Retrieves the current status of resource quotas. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response with resource quota information | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.resource_quota_enabled` | boolean | no | | | `data.gpu_and_higher_plans_enabled` | boolean | no | | | `data.resource_quota_used` | boolean | no | | | `data.capped_resources_quota` | integer | no | | | `data.consumed_resources_quota` | integer | no | | | `data.consumed_quota_details` | object | no | | | `data.consumed_quota_details.node` | integer | no | | | `data.consumed_quota_details.dbaas` | integer | no | | | `data.consumed_quota_details.load_balancer` | integer | no | | | `data.consumed_quota_details.vpc` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "resource_quota_enabled": true, "gpu_and_higher_plans_enabled": true, "resource_quota_used": false, "capped_resources_quota": 30, "consumed_resources_quota": 2, "consumed_quota_details": { "node": 0, "dbaas": 0, "load_balancer": 1, "vpc": 1 } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/resource-quota-details/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups" method: GET path: "/api/v1/security_group/" url: "/api/myaccount/operations/get-security-group/" --- # List Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/security_group/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response containing security group details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | | | `data[].rules[].protocol_name` | string | no | | | `data[].rules[].port_range` | string | no | | | `data[].rules[].network` | string | no | | | `data[].rules[].network_cidr` | string | no | | | `data[].rules[].network_size` | integer | no | | | `data[].rules[].vpc_id` | integer | no | | | `data[].is_default` | boolean | no | | | `data[].is_all_traffic_rule` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 57358, "name": "test", "description": "", "rules": [ { "id": 285096, "rule_type": "Inbound", "protocol_name": "All", "port_range": "All", "network": "any", "network_cidr": "--", "network_size": 1, "vpc_id": null } ], "is_default": false, "is_all_traffic_rule": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Snapshot" method: GET path: "/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}" url: "/api/myaccount/operations/get-snapshots/" --- # Get Snapshot `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}` Returns the details of one snapshot on a node, identified by its snapshot uuid. The path holds one snapshot's uuid, not the whole snapshots collection; to list every snapshot on a node, use `list-snapshots` instead. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `snapshot_uuid` | string | yes | Path parameter `snapshot_uuid`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the E2E Myaccount region for which snapshots are retrieved. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the Get Snapshots request | | `data` | array of object | no | | | `data[].name` | string | no | Snapshot name identifier | | `data[].date` | string (date-time) | no | Timestamp of the snapshot in ISO 8601 UTC format | | `data[].size` | string | no | Size of the snapshot in bytes as a string | | `data[].snapshot_uuid` | string (uuid) | no | Unique identifier of the snapshot | | `data[].snapshot_id` | string | no | Identifier of the snapshot | | `data[].status` | string | no | Snapshot processing status | | `data[].method` | string | no | Indicates how the snapshot was created | | `data[].is_locked` | boolean | no | Indicates if the snapshot is locked | | `data[].bs_size` | string | no | Size of the snapshot as a string | | `data[].snapshot_size` | string | no | Human-readable size of the snapshot | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": [ { "name": "api-automation-snapshot-5854", "date": "2025-07-18T05:39:47Z", "size": "95367", "snapshot_uuid": "d82e11ae-a56c-6767-b2d5-46b3105gf8a5", "snapshot_id": "0", "status": "Complete", "method": "Manual", "is_locked": false, "bs_size": "0.0931318359375", "snapshot_size": "4.4 GB" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "SSH Keys" method: GET path: "/api/v1/ssh_keys/" url: "/api/myaccount/operations/get-ssh-keys/" --- # SSH Keys `GET https://api.e2enetworks.com/myaccount/api/v1/ssh_keys/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 SSH keys fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].pk` | integer | no | | | `data[].label` | string | no | | | `data[].ssh_key` | string | no | | | `data[].timestamp` | string (date) | no | | | `data[].project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "pk": 15398, "label": "admin@Admins.local", "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBQgAdy+5XSgNeBG6p0fMGH2nm/aaG4UkPNMhr5ixDhg admin@Admins.local", "timestamp": "19-Feb-2025", "project_name": "default-project-35027" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/ssh_keys/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Verify SSO URL and Redirect URL for a Client" method: GET path: "/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/{client_id}/verify/" url: "/api/myaccount/operations/get-sso-organizations-organization-id-realms-realm-id-clients-client-id-verify/" --- # Verify SSO URL and Redirect URL for a Client `GET https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/{client_id}/verify/` This API verifies whether the SSO URL and Redirect URL configured for a specific Client inside an Organization and Realm are valid. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `client_id` | string | yes | Path parameter `client_id`. | | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | | `realm_id` | string | yes | Unique identifier of the Realm | | `realm_id` | string | yes | Unique identifier of the Realm | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 SSO URL verification result | Field | Type | Required | Description | |---|---|---|---| | `success` | boolean | no | | | `data` | object | no | | | `data.is_sso_url_valid` | boolean | no | | | `data.is_redirect_url_valid` | boolean | no | | | `message` | string | no | | Example 200 response: ```json { "success": true, "data": { "is_sso_url_valid": true, "is_redirect_url_valid": true }, "message": "SSO URL verification successful" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//realms//clients//verify/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Retrieve SSO clients for a specific realm" method: GET path: "/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/" url: "/api/myaccount/operations/get-sso-organizations-organization-id-realms-realm-id-clients/" --- # Retrieve SSO clients for a specific realm `GET https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/` Returns a list of SSO clients associated with the specified realm. Each client entry includes details such as ID, name, status, and timestamps for creation and updates. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | | `realm_id` | string | yes | Unique identifier of the Realm | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 SSO URL verification successful | Field | Type | Required | Description | |---|---|---|---| | `success` | boolean | no | | | `data` | object | no | | | `data.is_sso_url_valid` | boolean | no | Indicates whether the SSO URL is valid | | `data.is_redirect_url_valid` | boolean | no | Indicates whether the redirect URL is valid | | `message` | string | no | | Example 200 response: ```json { "success": true, "data": { "is_sso_url_valid": true, "is_redirect_url_valid": true }, "message": "SSO URL verification successful" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//realms//clients/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Relam details for a specific IdP" method: GET path: "/api/v1/sso/organizations/{organization_id}/realms/" url: "/api/myaccount/operations/get-sso-organizations-organization-id-realms/" --- # Get Relam details for a specific IdP `GET https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/realms/` Returns a list of SSO realms associated with the specified organization. Each realm entry includes details such as ID, name, status, and timestamps for creation and updates. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved the list of SSO realms. Type: array of object Example 200 response: ```json [ { "ern": "ern:e2e:sso::019a7752-8aaa-7042-9c3e-bcbbe47f5234:realm/019a7752-8b35-71fc-97a3-047de7132f66", "organization_detail": { "id": "019a7752-8aaa-7042-9c3e-bcbbe47f5e423", "ern": "ern:e2e:organizations::master-account:organization/019a7752-8aaa-7042-9c3e-bcbbe47f5e423", "org_ref": "612214921343", "name": "idp-778344", "email": null, "domain": null, "customer_id": "1790", "status": "ACTIVE", "sso_enabled": true, "created_at": "2025-11-12T09:08:09.517189Z", "updated_at": "2025-11-12T09:09:41.344411Z" }, "name": "idp-778344", "realm_type": "ENTERPRISE", "entity_id": "https://myaccount.e2enetworks.net/auth/realms/019a7752-8b35-71fc-97a3-047de7132f66", "acs_url": "https://myaccount.e2enetworks.net/auth/realms/019a7752-8b35-71fc-97a3-047de7132f66/broker/saml/endpoint", "realm_id": "019a7752-8b35-71fc-97a3-047de7132f66", "status": "ACTIVE", "created_at": "2025-11-12T09:08:09.654675Z", "updated_at": "2025-11-12T09:08:32.396138Z" } ] ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//realms/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get a List of IdP" method: GET path: "/api/v1/sso/organizations/" url: "/api/myaccount/operations/get-sso-organizations/" --- # Get a List of IdP `GET https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/` Returns a list of organizations configured for Single Sign-On (SSO) in E2E Cloud. Each organization entry includes details such as ID, ERN, organization reference, status, SSO enablement, and timestamps for creation and updates. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved the list of SSO organizations. Type: array of object Example 200 response: ```json [ { "id": "019a7752-8aaa-7042-9c3e-bcbbe47f5f64", "ern": "ern:e2e:organizations::master-account:organization/019a7752-8aaa-7042-9c3e-bcbbe47f5e74", "org_ref": "612214921334", "name": "idp-77823", "email": null, "domain": null, "customer_id": "1790", "status": "ACTIVE", "sso_enabled": true, "created_at": "2025-11-12T09:08:09.517189Z", "updated_at": "2025-11-12T09:09:41.344411Z" } ] ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Lifecycle Rules" method: GET path: "/api/v1/storage/bucket_lifecycle/{bucket_name}/" url: "/api/myaccount/operations/get-storage-bucket-lifecycle-bucket-name/" --- # List Lifecycle Rules `GET https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle/{bucket_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully fetched lifecycle rules for the bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].rule_id` | string | no | | | `data[].enabled` | boolean | no | | | `data[].prefix` | string | no | | | `data[].expiry_date_or_days` | string | no | | | `data[].noncurrent_version_expiration_date_or_days` | string | no | | | `data[].transition` | string | no | | | `data[].storage_class` | string | no | | | `data[].tags` | string | no | | | `data[].location` | string | no | | | `data[].bucket` | integer | no | | | `data[].user` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1310, "deleted": false, "created_at": "2025-05-27T06:39:02.713206Z", "updated_at": "2025-05-27T06:39:02.713304Z", "rule_id": "4aeca5795d1d4d41b2f7e0129a93bc3c", "enabled": true, "prefix": "", "expiry_date_or_days": "1", "noncurrent_version_expiration_date_or_days": "1", "transition": "", "storage_class": "", "tags": "", "location": "Delhi", "bucket": 12345, "user": 24778 } ], "errors": {}, "message": "Success" } ``` ### 412 Precondition Failed – Bucket does not exist in the project | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "No Bucket with this name exist in this project.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Bucket Permission List" method: GET path: "/api/v1/storage/bucket_perms/" url: "/api/myaccount/operations/get-storage-bucket-perms/" --- # Bucket Permission List `GET https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perms/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 A list of users associated with a bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].user` | object | no | | | `data[].user.id` | integer | no | | | `data[].user.my_account_id` | integer | no | | | `data[].user.user_name` | string | no | | | `data[].user.email` | string | no | | | `data[].user.access_key` | string | no | | | `data[].user.secret_key` | string | no | | | `data[].user.is_default` | boolean | no | | | `data[].user.disabled` | boolean | no | | | `data[].user.tag` | string | no | | | `data[].role` | object | no | | | `data[].role.id` | integer | no | | | `data[].role.name` | string | no | | | `data[].role.display_name` | string | no | | | `data[].role.active` | boolean | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].processed` | boolean | no | | | `data[].processed_on` | string (date-time) | no | | | `data[].disabled` | boolean | no | | | `data[].date_disabled` | string (date-time) | no | | | `data[].location` | string | no | | | `data[].bucket` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "user": { "id": 12345, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "", "access_key": "QWEPGEYAMP123JRLMJNL", "secret_key": null, "is_default": false, "disabled": false, "tag": "test" }, "role": { "id": 1, "name": "Bucket Admin", "display_name": "Bucket Admin", "active": true }, "deleted": false, "created_at": "2025-05-27T06:08:42.020565Z", "updated_at": "2025-05-27T06:08:42.020618Z", "processed": true, "processed_on": null, "disabled": false, "date_disabled": null, "location": "Delhi", "bucket": 12345 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perms/?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Bucket Replications" method: GET path: "/api/v1/storage/bucket-replication/" url: "/api/myaccount/operations/get-storage-bucket-replication/" --- # Get Bucket Replications `GET https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved replication rules. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].user` | integer | no | | | `data[].source_bucket` | string | no | | | `data[].destination_bucket` | string | no | | | `data[].source_bucket_location` | string | no | | | `data[].destination_bucket_location` | string | no | | | `data[].enabled` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 123, "user": 12345, "source_bucket": "first-bucket", "destination_bucket": "second-bucket", "source_bucket_location": "Delhi", "destination_bucket_location": "Chennai", "enabled": false, "created_at": "2025-05-28T05:07:40.359314Z" } ], "errors": {}, "message": "Success" } ``` ### 412 Precondition failed due to missing or invalid bucket. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "No Bucket with this name exist in this project.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Legal Hold Status (Object)" method: GET path: "/api/v1/storage/buckets/{bucket_name}/legalhold/object/" url: "/api/myaccount/operations/get-storage-buckets-bucket-name-legalhold-object/" --- # Get Legal Hold Status (Object) `GET https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/legalhold/object/` This API allows users to check the legal hold status of an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Responses ### 200 Response showing the current legal hold status of a bucket or object | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.legal_hold_status` | boolean | yes | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "legal_hold_status": false }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//legalhold/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Governance Lock Status (Object)" method: GET path: "/api/v1/storage/buckets/{bucket_name}/lock/object/" url: "/api/myaccount/operations/get-storage-buckets-bucket-name-lock-object/" --- # Get Governance Lock Status (Object) `GET https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/object/` This API allows users to check the governance lock status of an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Responses ### 200 Response showing the object lock status and retention details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket_name` | string | no | | | `data.object_name` | string | no | | | `data.version_id` | string | no | | | `data.lock_mode` | one of `GOVERNANCE` | no | | | `data.retained_until` | string (date-time) | no | | | `data.retention_days_remaining` | number (float) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "bucket_name": "example-bucket", "object_name": "example-object.png", "version_id": "123e4567-e89b-12d3-a456-426614174000", "lock_mode": "GOVERNANCE", "retained_until": "2025-05-30T10:35:38.167000+00:00", "retention_days_remaining": 2.95 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Governance Lock Status (Bucket)" method: GET path: "/api/v1/storage/buckets/{bucket_name}/lock/" url: "/api/myaccount/operations/get-storage-buckets-bucket-name-lock/" --- # Get Governance Lock Status (Bucket) `GET https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/` This API allows users to check the governance lock status of a bucket. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Returns the retention policy applied on a specific bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket` | integer | yes | | | `data.mode` | string | no | | | `data.retention_period` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | Example 200 response: ```json { "code": 200, "data": { "bucket": 12346, "mode": "GOVERNANCE", "retention_period": 3, "created_at": "2025-05-27T06:22:24.481381Z", "updated_at": "2025-05-27T06:22:24.481442Z" } } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Buckets" method: GET path: "/api/v1/storage/buckets/" url: "/api/myaccount/operations/get-storage-buckets/" --- # List Buckets `GET https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].created_by` | integer | no | | | `data[].status` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].bucket_size` | string | no | | | `data[].versioning_status` | one of `Off`, `Enabled`, `Suspended` | no | | | `data[].lifecycle_configuration_status` | string | no | | | `data[].is_public_access_enabled` | boolean | no | | | `data[].is_cdn_attached` | boolean | no | | | `data[].is_lock_enabled` | boolean | no | | | `data[].is_encryption_enabled` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | | `total_count` | integer | no | | | `total_page_number` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1234, "name": "testbucket", "created_by": 1234, "status": "NEW", "created_at": "2024-01-17T13:43:47.494582Z", "updated_at": "2024-01-17T13:43:47.494691Z", "bucket_size": "0 bytes", "versioning_status": "Enabled", "lifecycle_configuration_status": "Configured", "is_public_access_enabled": false, "is_cdn_attached": false, "is_lock_enabled": false, "is_encryption_enabled": false } ], "errors": {}, "message": "Success", "total_count": 3, "total_page_number": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Access Key List" method: GET path: "/api/v1/storage/core/list/users/" url: "/api/myaccount/operations/get-storage-core-list-users/" --- # Access Key List `GET https://api.e2enetworks.com/myaccount/api/v1/storage/core/list/users/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 List of access keys | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].my_account_id` | integer | no | | | `data[].user_name` | string | no | | | `data[].email` | string | no | | | `data[].access_key` | string | no | | | `data[].secret_key` | string | no | | | `data[].is_default` | boolean | no | | | `data[].disabled` | boolean | no | | | `data[].tag` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1234, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "", "access_key": "Q34D0BUS6OVZTF3IIR7M", "secret_key": null, "is_default": false, "disabled": false, "tag": "hello" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/core/list/users/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Usage (My Account)" method: GET path: "/api/v1/storage/core/my_usage/" url: "/api/myaccount/operations/get-storage-core-my-usage/" --- # Get Usage (My Account) `GET https://api.e2enetworks.com/myaccount/api/v1/storage/core/my_usage/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully retrieved peak usage of the bucket. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.peak_usage` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "peak_usage": "215.44 GB" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/core/my_usage/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Destination Buckets" method: GET path: "/api/v1/storage/destination-bucket-list/" url: "/api/myaccount/operations/get-storage-destination-bucket-list/" --- # List Destination Buckets `GET https://api.e2enetworks.com/myaccount/api/v1/storage/destination-bucket-list/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `destination_region` | one of `Delhi`, `Chennai` | yes | Destination region for the migration | ## Responses ### 200 Successfully retrieved the list of buckets. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].versioning_status` | one of `Enabled`, `Suspended`, `Off` | no | | | `data[].location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "another-bucket", "versioning_status": "Enabled", "location": "Chennai" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/destination-bucket-list/?apikey=&project_id=&location=&destination_region=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Objects in an EOS Bucket" method: GET path: "/api/v1/storage/list/objects" url: "/api/myaccount/operations/get-storage-list-objects/" --- # List Objects in an EOS Bucket `GET https://api.e2enetworks.com/myaccount/api/v1/storage/list/objects` Set `include_versions=true` to view version IDs. Use `object_name` to get versions of a specific object. Leave both empty to retrieve only the list of objects. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `include_versions` | boolean | no | Include versions in the response. Only `true` is accepted. | | `object_name` | string | no | Object name for which versions are to be fetched. | ## Responses ### 200 List of objects inside the specified bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].bucket_name` | string | no | | | `data[].contentType` | string | no | | | `data[].is_delete_marker` | boolean | no | | | `data[].is_dir` | boolean | no | | | `data[].is_latest` | boolean | no | | | `data[].lastModified` | string (date-time) | no | | | `data[].name` | string | no | | | `data[].owner_id` | integer | no | | | `data[].owner_name` | string | no | | | `data[].size` | integer | no | | | `data[].storage_class` | string | no | | | `data[].version_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "bucket_name": "example-bucket", "contentType": null, "is_delete_marker": false, "is_dir": false, "is_latest": null, "lastModified": "2025-01-01T10:00:00Z", "name": "script.py", "owner_id": null, "owner_name": null, "size": 1234, "storage_class": "STANDARD", "version_id": null } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/list/objects?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Upload Object to Existing Bucket" method: GET path: "/api/v1/storage/urls/object/" url: "/api/myaccount/operations/get-storage-urls-object/" --- # Upload Object to Existing Bucket `GET https://api.e2enetworks.com/myaccount/api/v1/storage/urls/object/` This API enables clients to initiate a two-step process to upload files to an existing bucket. #### Step 1: Generate Upload URL Call this API `https://api.e2enetworks.com/myaccount/api/v1/storage/urls/object/` to generate a pre-signed URL for uploading a file (valid for 300 seconds). **Response Fields:** - `data` – The pre-signed URL to be used in the subsequent HTTP PUT step. --- #### Step 2: Upload the File (Binary Format) Once the pre-signed URL is received, you can upload your file in binary format using any HTTP client such as curl, Postman, or programmatically in your preferred language.
Note: The file name should be same as the `object_name` provided in `https://api.e2enetworks.com/myaccount/api/v1/storage/urls/object/`. The following code snippets are provided for illustration: ##### Python (using `requests`) ```python import requests upload_url = "" file_path = "path/to/your/file.txt" with open(file_path, "rb") as f: response = requests.put(upload_url, data=f) print("Status Code:", response.status_code) ``` ##### JavaScript (using `fetch`) ```javascript const fs = require("fs"); const axios = require("axios"); const uploadUrl = ""; const filePath = "path/to/your/file.txt"; const uploadFile = async () => { try { const fileStream = fs.createReadStream(filePath); const response = await axios.put(uploadUrl, fileStream, { headers: { "Content-Type": "application/octet-stream" }, maxBodyLength: Infinity }); console.log("Upload status code:", response.status); console.log("Upload successful!"); } catch (error) { console.error("Upload failed:", error.response?.status, error.message); } }; uploadFile(); ``` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `object_name` | string | yes | Object Name with Directory. | | `method` | one of `PUT` | yes | Method | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successfully generated a pre-signed URL for object upload | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string (uri) | no | | | `errors` | object | no | Any error details encountered during URL generation | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "https://objectstore.e2enetworks.net/sdaf/config%20%286%29.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/urls/object/?apikey=&bucket_name=&object_name=&method=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Recent Transactions" method: GET path: "/api/v1/transaction-history/" url: "/api/myaccount/operations/get-transaction-history/" --- # Recent Transactions `GET https://api.e2enetworks.com/myaccount/api/v1/transaction-history/` Fetches detailed transaction history including billing events, with options to paginate, filter events, and perform advanced searches. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `advance_search` | boolean | no | Enable advanced search options | | `selectedEvents` | one of `Unassigned`, `Initiated`, `Authorized`, `Successful`, `Failed`, `Refunded` | no | Filter by specific event types (Initiated, Authorized, Successful, Failed, Refunded, or Unassigned) | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful transaction history response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `data[].order_id` | string | no | | | `data[].payment_id` | string | no | | | `data[].amount` | integer | no | | | `data[].status_code` | string | no | | | `data[].status_message` | string | no | | | `data[].message` | string | no | | | `data[].origin` | string | no | | | `data[].error_code` | string | no | | | `data[].error_description` | string | no | | | `data[].error_reason` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_items` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "created_at": "Mar 07, 2025 04:54:22 PM", "updated_at": "Mar 07, 2025 04:54:22 PM", "order_id": null, "payment_id": "pi_3Qzz0sSCRdcgx9sG1DZer4bE", "amount": 10000, "status_code": "INITIATED", "status_message": "False", "message": null, "origin": "one-auth-stripe", "error_code": "", "error_description": "", "error_reason": "" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_items": 4 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/transaction-history/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Secret Listing" method: GET path: "/api/v1/vault/" url: "/api/myaccount/operations/get-vault/" --- # Secret Listing `GET https://api.e2enetworks.com/myaccount/api/v1/vault/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `page` | integer | no | Page No. | | `page_size` | integer | no | Page size | ## Responses ### 200 Successful response containing secrets list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].vault_id` | integer | no | | | `data[].name` | string | no | | | `data[].plan_id` | integer | no | | | `data[].created_at` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "vault_id": 220, "name": "db-password", "plan_id": 5, "created_at": "2024-12-20T10:15:30Z" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vault/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "VPC List" method: GET path: "/api/v1/vpc/list/" url: "/api/myaccount/operations/get-vpc-list/" --- # VPC List `GET https://api.e2enetworks.com/myaccount/api/v1/vpc/list/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].network_id` | integer | no | | | `data[].is_active` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].network_mask` | string | no | | | `data[].ipv4_cidr` | string | no | | | `data[].vm_count` | integer | no | | | `data[].dns` | string | no | | | `data[].gateway_ip` | string | no | | | `data[].pool_size` | integer | no | | | `data[].gateway_node` | object | no | | | `data[].gateway_node.node_name` | string | no | | | `data[].gateway_node.node_id` | integer | no | | | `data[].gateway_node.ip_address_public` | string | no | | | `data[].gateway_node.ip_address_private` | string | no | | | `data[].gateway_node.state` | string | no | | | `data[].state` | string | no | | | `data[].project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "VPC-270", "network_id": 16791, "is_active": true, "created_at": "2023-10-11T09:21:14.219406Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.15.86.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.15.86.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-270-gateway", "node_id": 147276, "ip_address_public": "164.52.208.104", "ip_address_private": "10.15.86.1", "state": "Done" }, "state": "Active", "project_name": "default-project-17976" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/list/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Tunnel List" method: GET path: "/api/v1/vpc/tunnels/{VPC_NETWORK_ID}/" url: "/api/myaccount/operations/get-vpc-tunnels-vpc-network-id/" --- # Get Tunnel List `GET https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/{VPC_NETWORK_ID}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_NETWORK_ID` | integer | yes | VPC Network ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Tunnels fetched successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Tunnels fetched successfully." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Historical Monitoring Data" method: GET path: "/api/v1/appliances/load-balancers/{lb_id}/historical_data/" url: "/api/myaccount/operations/historical-data/" --- # Historical Monitoring Data `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/{lb_id}/historical_data/` Returns historical (time-series) HAProxy metrics for a load balancer, sourced from Prometheus. The metric is selected by the `metric_name` query parameter and the look-back window by `interval` (in seconds). Frontend metrics return data for the load balancer's frontend; backend metrics return data for the backend named by the `server` parameter. The HTTP response-code metrics (`haproxy_backend_http_responses_total`, `haproxy_frontend_http_responses_total`) return the current value bucketed by response class - `labels` is `["2xx","3xx","4xx","5xx"]` and `results` holds the matching counts. All other metrics return a range series over `interval`. See `metric_name` for the full list of metrics the console requests. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `metric_name` | string | no | Name of the HAProxy/Prometheus metric to fetch. The backend does not restrict this to a fixed enum (any metric the HAProxy exporter publishes will work), but the console requests the specific frontend and backend metrics listed below. Defaults to `haproxy_backend_http_responses_total`. | | `interval` | integer | no | Look-back window in seconds for the time-series query. Defaults to 3600 (1 hour). | | `server` | string | no | Name of the backend to scope backend metrics to. Defaults to the load balancer's first backend. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.labels` | array of string | no | Series labels (response classes for response-code metrics, timestamps for range metrics). | | `data.results` | array of string | no | Series values aligned with `labels`. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "labels": [ "2xx", "3xx", "4xx", "5xx" ], "results": [ "0", "0", "0", "2" ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers//historical_data/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Increase Root Storage" method: PUT path: "/api/v1/nodes/{node_id}/root-storage-upgrade/" url: "/api/myaccount/operations/increase-root-storage/" --- # Increase Root Storage `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/root-storage-upgrade/` Grows the node's root disk to the requested size. The node must be `Running` or `Powered off` and not in recovery mode; the new size must be larger than the current size, within the plan's allowed range, and a multiple the plan requires for its size band. The node moves to `Upgrading` while the resize runs. This view reads the request body directly rather than through a schema class, so the required fields here are written from the service code, not from an automated schema check. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the node whose root storage is being increased. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `disk_size` | integer | yes | New root disk size in gigabytes. Must be strictly greater than the current root disk size. Root disk shrinking is not supported. | Example request: ```json { "disk_size": 125 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the increase-root-storage operation. | | `data` | object | no | | | `data.node_id` | integer | no | Identifier of the node whose root disk was resized. | | `data.customer_id` | integer | no | Identifier of the customer that owns the node. | | `data.new_disk_size_in_GB` | integer | no | New root disk size in gigabytes after the resize. | | `errors` | object | no | | | `message` | string | no | Status message for the root storage increase. | Example 200 response: ```json { "code": 200, "data": { "node_id": 12345, "customer_id": 12345, "new_disk_size_in_GB": 125 }, "errors": {}, "message": "Root disk size upgrade in progress." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//root-storage-upgrade/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"disk_size":125}' ``` --- --- title: "Add Node Pool View" method: GET path: "/api/v1/kubernetes/add-node-pools/{service_id}" url: "/api/myaccount/operations/k8s-add-node-pool/" --- # Add Node Pool View `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/add-node-pools/{service_id}` Returns the data needed to add a worker node pool to an existing cluster - the cluster's current worker pools and their configuration. Use the cluster `service_id` returned by List. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].service_id` | integer | no | | | `data[].service_name` | string | no | | | `data[].state` | string | no | | | `data[].plan_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "service_id": 12346, "service_name": "pool-worker-1", "state": "Running", "plan_name": "C3.8GB" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/add-node-pools/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach Allow-All-Traffic Security Group" method: POST path: "/api/v1/kubernetes/allow-all-traffic-node/{service_id}/" url: "/api/myaccount/operations/k8s-allow-all-traffic/" --- # Attach Allow-All-Traffic Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/allow-all-traffic-node/{service_id}/` Attaches an "allow all traffic" security group to the cluster's nodes, opening all inbound and outbound traffic. The request body is empty. Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Attached Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/allow-all-traffic-node//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Attach Security Groups to a Cluster" method: POST path: "/api/v1/kubernetes/attach-security-group/{service_id}/" url: "/api/myaccount/operations/k8s-attach-sg/" --- # Attach Security Groups to a Cluster `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/attach-security-group/{service_id}/` Attaches one or more security groups to the cluster's nodes. Send `security_group_ids` - a non-empty list of security group IDs (from Available Security Groups). Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_group_ids` | array of integer | yes | IDs of the security groups to attach (from Available Security Groups). | Example request: ```json { "security_group_ids": [ 12345 ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Attached Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/attach-security-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_group_ids":[12345]}' ``` --- --- title: "List Security Groups Attached to a Node" method: GET path: "/api/v1/security_group/{node_id}/attach/" url: "/api/myaccount/operations/k8s-attached-sg/" --- # List Security Groups Attached to a Node `GET https://api.e2enetworks.com/myaccount/api/v1/security_group/{node_id}/attach/` Returns the security groups currently attached to a cluster node - each group's `id`, `name`, description, and its inbound/outbound `rules`. The path takes a node `id` (from the cluster's `node_id_list`, e.g. the master node). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | integer | yes | The `id` of a cluster node (from `node_id_list` in List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Security groups attached to the node. | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | | | `data[].rules[].protocol_name` | string | no | | | `data[].rules[].port_range` | string | no | | | `data[].rules[].network` | string | no | | | `data[].rules[].network_cidr` | string | no | | | `data[].is_default` | boolean | no | | | `data[].is_all_traffic_rule` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].inbound_rules_count` | integer | no | | | `data[].outbound_rules_count` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "allow_all_traffic_delhi", "description": "allow all traffic security group delhi", "rules": [ { "id": 1000001, "rule_type": "Inbound", "protocol_name": "ALL", "port_range": "", "network": "any", "network_cidr": "--" } ], "is_default": false, "is_all_traffic_rule": true, "is_active": true, "inbound_rules_count": 1, "outbound_rules_count": 1 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//attach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups Available to Attach" method: GET path: "/api/v1/security_group/{node_id}/detach/" url: "/api/myaccount/operations/k8s-available-sg/" --- # List Security Groups Available to Attach `GET https://api.e2enetworks.com/myaccount/api/v1/security_group/{node_id}/detach/` Returns the security groups in the project that are **not** yet attached to the node and can therefore be attached to it - each group's `id`, `name`, description, and `rules`. The path takes a node `id` (from the cluster's `node_id_list`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | integer | yes | The `id` of a cluster node (from `node_id_list` in List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Security groups available to attach to the node. | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | | | `data[].rules[].protocol_name` | string | no | | | `data[].rules[].port_range` | string | no | | | `data[].rules[].network` | string | no | | | `data[].is_default` | boolean | no | | | `data[].is_active` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12346, "name": "default_sg_delhi", "description": "default security group delhi", "rules": [ { "id": 1000002, "rule_type": "Inbound", "protocol_name": "Custom_TCP", "port_range": "22,443,80", "network": "any" } ], "is_default": true, "is_active": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Change Committed Node Settings" method: PUT path: "/api/v1/kubernetes/change-committed-settings/{node_pool_id}/" url: "/api/myaccount/operations/k8s-change-committed/" --- # Change Committed Node Settings `PUT https://api.e2enetworks.com/myaccount/api/v1/kubernetes/change-committed-settings/{node_pool_id}/` Updates the committed (reserved) billing settings of a node pool's nodes. Set `node_status` to `auto_renew` to auto-renew the commitment on expiry, or to `hourly_billing` to fall back to hourly billing when the term ends. `committed_plan` is the committed-plan option (`sku_day_id`) to switch to. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List Node Pools). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `node_status` | string | yes | Committed billing behaviour on term expiry. | | `committed_plan` | integer | no | Committed-plan option (`sku_day_id`) to switch to. Use 0 to leave the plan unchanged. | Example request: ```json { "node_status": "hourly_billing", "committed_plan": 0 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ "" ], "errors": {}, "message": "Kubernetes Committed Nodes Plans are updated" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/change-committed-settings//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"node_status":"hourly_billing","committed_plan":0}' ``` --- --- title: "Get Dashboard Proxy Token" method: GET path: "/api/v1/kubernetes/proxy-ui-token/{service_id}/" url: "/api/myaccount/operations/k8s-config-token/" --- # Get Dashboard Proxy Token `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/proxy-ui-token/{service_id}/` Returns a service-account bearer `token` used to authenticate to the cluster's Kubernetes Dashboard (proxy UI). Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.token` | string | no | Service-account bearer token for the Kubernetes Dashboard. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "token": "" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/proxy-ui-token//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Convert Node Pool to Committed Nodes" method: POST path: "/api/v1/kubernetes/convert-to-committed/{node_pool_id}/" url: "/api/myaccount/operations/k8s-convert-to-committed/" --- # Convert Node Pool to Committed Nodes `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/convert-to-committed/{node_pool_id}/` Converts a node pool's hourly-billed worker nodes into committed (reserved) nodes for a fixed term, at a lower effective rate. Send `sku_day_id` - the committed-plan option to apply (a `committed_sku_id` from the plan's `committed_sku` list). Use the node pool's `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List Node Pools). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `sku_day_id` | integer | yes | The committed-plan option to apply (a `committed_sku_id` from the plan's `committed_sku` list). | Example request: ```json { "sku_day_id": 9195 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ "" ], "errors": {}, "message": "Kubernetes node pool vms are converted into Committed Nodes" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/convert-to-committed//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"sku_day_id":9195}' ``` --- --- title: "Create Kubernetes Cluster" method: POST path: "/api/v1/kubernetes/" url: "/api/myaccount/operations/k8s-create/" --- # Create Kubernetes Cluster `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/` Provisions a managed Kubernetes cluster. The cluster is created with a single master node (sized by `sku_id` from Master Plan) and one or more worker **node pools** (`node_pools`, 1-10 pools). Each node pool runs identical worker nodes from the selected worker plan and can define elastic (metric based) and/or scheduled (cron based) autoscaling via `elasticity_dict` and `scheduled_dict`. The cluster must be attached to a VPC (`vpc_id`, which must be in the `Running` state), and can optionally attach a security group and enable disk encryption. On success the cluster is returned in a `Creating` state - poll List or Detail until it reaches `Running`. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the create request. | | `location` | string | yes | Region in which the cluster will be provisioned. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Display name of the cluster. | | `version` | string | yes | Kubernetes version for the cluster. Must be a version supported by the selected master image (`slug_name`). | | `slug_name` | string | yes | Master plan slug (the `plan` string from Master Plan). The region must support managed Kubernetes. | | `vpc_id` | integer | yes | ID of the VPC network to attach the cluster to. | | `subnet_id` | integer | no | ID of the subnet within the VPC to place the cluster in. | | `sku_id` | integer | yes | SKU ID of the master node plan (a `specs.id` from Master Plan). | | `security_group_id` | integer | no | ID of a security group to attach to the cluster nodes at create time. | | `isEncryptionEnabled` | boolean | no | Whether to enable disk encryption on the cluster nodes. | | `encryption_passphrase` | string | no | Passphrase used to encrypt the disks. Required when `isEncryptionEnabled` is true. | | `node_pools` | array of object | yes | Worker node pools to create with the cluster. | | `node_pools[].name` | string | yes | Display name of the node pool. | | `node_pools[].slug_name` | string | yes | Worker plan slug (the `plan` string from Worker Plan). | | `node_pools[].sku_id` | integer | yes | SKU ID of the worker plan (a `specs.id` from Worker Plan). | | `node_pools[].specs_name` | string | no | Human-readable plan/spec name for the worker nodes. | | `node_pools[].policy_type` | string | no | Scaling policy mode for the pool. Required when `elasticity_dict` or `scheduled_dict` is supplied. | | `node_pools[].elasticity_dict` | object | no | Elastic (metric-based) autoscaling configuration, keyed by role (`worker`). | | `node_pools[].elasticity_dict.worker` | object | no | | | `node_pools[].elasticity_dict.worker.min_vms` | integer | no | Minimum number of worker nodes. | | `node_pools[].elasticity_dict.worker.cardinality` | integer | no | Initial (desired) number of worker nodes. | | `node_pools[].elasticity_dict.worker.max_vms` | integer | no | Maximum number of worker nodes the pool may scale to. | | `node_pools[].elasticity_dict.worker.elasticity_policies` | array of object | no | Elastic scaling rules, sent as two objects - a scale-up rule (`adjust: 1`) and a scale-down rule (`adjust: -1`). | | `node_pools[].elasticity_dict.worker.elasticity_policies[].type` | string | no | Policy type; use "CHANGE" for a relative adjustment. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].adjust` | integer | no | Number of nodes to add (positive) or remove (negative) when the rule fires. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].parameter` | string | no | Metric the rule watches. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].operator` | string | no | Comparison operator applied to the metric. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].value` | integer | no | Threshold percentage the metric is compared against. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].period_number` | integer | no | Number of consecutive evaluation periods the condition must hold before the rule fires. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].period` | integer | no | Duration of one evaluation period, in seconds. | | `node_pools[].elasticity_dict.worker.elasticity_policies[].cooldown` | integer | no | Cooldown after scaling, in seconds, before the rule can fire again. | | `node_pools[].scheduled_dict` | object | no | Scheduled (cron-based) autoscaling configuration, keyed by role (`worker`). | | `node_pools[].scheduled_dict.worker` | object | no | | | `node_pools[].scheduled_dict.worker.min_vms` | integer | no | | | `node_pools[].scheduled_dict.worker.cardinality` | integer | no | | | `node_pools[].scheduled_dict.worker.max_vms` | integer | no | | | `node_pools[].scheduled_dict.worker.scheduled_policies` | array of object | no | Scheduled scaling rules that set the node count on a cron schedule. | | `node_pools[].scheduled_dict.worker.scheduled_policies[].type` | string | no | Use "CARDINALITY" to set an absolute target node count. | | `node_pools[].scheduled_dict.worker.scheduled_policies[].adjust` | integer | no | Target number of worker nodes when the schedule fires. | | `node_pools[].scheduled_dict.worker.scheduled_policies[].recurrence` | string | no | Cron expression for when the rule fires. Must be a valid cron. | Example request: ```json { "name": "my-k8s-cluster", "version": "1.32", "slug_name": "C3-4vCPU-8RAM-100DISK-3rdGen-K8s1_32-master-metal-lb-Delhi", "vpc_id": 12345, "subnet_id": null, "sku_id": 1178, "security_group_id": 12345, "isEncryptionEnabled": true, "encryption_passphrase": "", "node_pools": [ { "name": "pool-worker-1", "slug_name": "C3-4vCPU-8RAM-100DISK-C3.96GB - CentOS-Stream-Delhi", "sku_id": 1088, "specs_name": "C3.8GB", "policy_type": "Default-Scheduled", "elasticity_dict": { "worker": { "min_vms": 3, "cardinality": 3, "max_vms": 5, "elasticity_policies": [ { "type": "CHANGE", "adjust": 1, "parameter": "CPU", "operator": ">", "value": 60, "period_number": 3, "period": 10, "cooldown": 150 }, { "type": "CHANGE", "adjust": -1, "parameter": "CPU", "operator": "<", "value": 30, "period_number": 3, "period": 10, "cooldown": 150 } ] } }, "scheduled_dict": { "worker": { "min_vms": 3, "cardinality": 3, "max_vms": 5, "scheduled_policies": [ { "type": "CARDINALITY", "adjust": 3, "recurrence": "0 12 * * *" }, { "type": "CARDINALITY", "adjust": 3, "recurrence": "0 2 * * *" } ] } } } ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.DOCUMENT` | object | no | | | `data.DOCUMENT.ID` | string | no | | | `data.DOCUMENT.NAME` | string | no | | | `data.DOCUMENT.TEMPLATE` | object | no | | | `data.DOCUMENT.TEMPLATE.BODY` | object | no | | | `data.DOCUMENT.TEMPLATE.BODY.name` | string | no | | | `data.DOCUMENT.TEMPLATE.BODY.deployment` | string | no | | | `data.DOCUMENT.TEMPLATE.BODY.roles` | array of object | no | | | `data.DOCUMENT.TEMPLATE.BODY.roles[].name` | string | no | | | `data.DOCUMENT.TEMPLATE.BODY.roles[].cardinality` | integer | no | | | `data.DOCUMENT.TEMPLATE.BODY.roles[].state` | integer | no | | | `data.DOCUMENT.TEMPLATE.BODY.state` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 201, "data": { "DOCUMENT": { "ID": "12345", "NAME": "my-k8s-cluster", "TEMPLATE": { "BODY": { "name": "my-k8s-cluster", "deployment": "straight", "roles": [ { "name": "master", "cardinality": 1, "state": 0 } ], "state": 0 } } } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"my-k8s-cluster","version":"1.32","slug_name":"C3-4vCPU-8RAM-100DISK-3rdGen-K8s1_32-master-metal-lb-Delhi","vpc_id":12345,"subnet_id":null,"sku_id":1178,"security_group_id":12345,"isEncryptionEnabled":true,"encryption_passphrase":"","node_pools":[{"name":"pool-worker-1","slug_name":"C3-4vCPU-8RAM-100DISK-C3.96GB - CentOS-Stream-Delhi","sku_id":1088,"specs_name":"C3.8GB","policy_type":"Default-Scheduled","elasticity_dict":{"worker":{"min_vms":3,"cardinality":3,"max_vms":5,"elasticity_policies":[{"type":"CHANGE","adjust":1,"parameter":"CPU","operator":">","value":60,"period_number":3,"period":10,"cooldown":150},{"type":"CHANGE","adjust":-1,"parameter":"CPU","operator":"<","value":30,"period_number":3,"period":10,"cooldown":150}]}},"scheduled_dict":{"worker":{"min_vms":3,"cardinality":3,"max_vms":5,"scheduled_policies":[{"type":"CARDINALITY","adjust":3,"recurrence":"0 12 * * *"},{"type":"CARDINALITY","adjust":3,"recurrence":"0 2 * * *"}]}}}]}' ``` --- --- title: "Delete a Cluster Alert" method: DELETE path: "/api/v1/nodes/{master_node_id}/monitoring/triggers/" url: "/api/myaccount/operations/k8s-delete-alert/" --- # Delete a Cluster Alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/nodes/{master_node_id}/monitoring/triggers/` Deletes an alert trigger from a cluster node. Identify the trigger with the `id` and `zabbix_id` query parameters (from the node's alert list), set `type=trigger`, and pass the node's id in `service_ids`. The path takes the node id (e.g. `master_node_id`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `master_node_id` | integer | yes | The node id the alert is attached to (e.g. `master_node_id`). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `id` | integer | yes | The alert trigger `id` to delete. | | `type` | string | yes | The kind of monitoring object to delete. | | `zabbix_id` | integer | yes | The underlying monitoring (Zabbix) trigger ID. | | `service_ids` | integer | yes | The node id the trigger belongs to. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": "", "message": "Trigger was deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/triggers/?apikey=&id=&type=&zabbix_id=&service_ids=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a Node Pool" method: DELETE path: "/api/v1/kubernetes/delete-node-pool-service/{node_pool_id}" url: "/api/myaccount/operations/k8s-delete-node-pool/" --- # Delete a Node Pool `DELETE https://api.e2enetworks.com/myaccount/api/v1/kubernetes/delete-node-pool-service/{node_pool_id}` Permanently deletes a worker node pool from the cluster. All of the pool's worker nodes are terminated. Use the node pool's `service_id` (from List). On success the API returns `code: 204` with an empty body. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` to delete (from List). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 204, "data": {}, "errors": {}, "message": "Node pool deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/delete-node-pool-service/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete a Single Worker Node" method: DELETE path: "/api/v1/kubernetes/delete-worker-node/{node_pool_id}/{node_id}/" url: "/api/myaccount/operations/k8s-delete-worker-node/" --- # Delete a Single Worker Node `DELETE https://api.e2enetworks.com/myaccount/api/v1/kubernetes/delete-worker-node/{node_pool_id}/{node_id}/` Terminates a single worker node from a node pool (scaling that pool down by one). Use the node pool's `service_id` and the node's `id` (from Node Pool Details). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List Node Pools). | | `node_id` | integer | yes | The `id` of the worker node to delete (from Node Pool Details). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Worker node deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/delete-worker-node///?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Kubernetes Cluster" method: DELETE path: "/api/v1/kubernetes/service/{service_id}" url: "/api/myaccount/operations/k8s-delete/" --- # Delete Kubernetes Cluster `DELETE https://api.e2enetworks.com/myaccount/api/v1/kubernetes/service/{service_id}` Permanently deletes a cluster. The master node and all worker node pools are terminated and the cluster is removed - the action cannot be undone. Set `is_delete_backups=true` to also delete the cluster's backups; leave it `false` to retain them. Use the cluster `service_id` returned by List. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The `service_id` of the cluster to delete, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `is_delete_backups` | boolean | no | When true, the cluster's backups are also deleted along with the cluster. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the cluster being deleted. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Kubernetes cluster deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/service/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Security Groups from a Cluster" method: POST path: "/api/v1/kubernetes/detach-security-group/{service_id}/" url: "/api/myaccount/operations/k8s-detach-sg/" --- # Detach Security Groups from a Cluster `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/detach-security-group/{service_id}/` Detaches one or more security groups from the cluster's nodes. Send `security_group_ids` - a non-empty list of security group IDs (from Attached Security Groups). Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_group_ids` | array of integer | yes | IDs of the security groups to detach (from Attached Security Groups). | Example request: ```json { "security_group_ids": [ 12345 ] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Security Group Detached Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/detach-security-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_group_ids":[12345]}' ``` --- --- title: "Get Kubernetes Cluster Details" method: GET path: "/api/v1/kubernetes/{service_id}" url: "/api/myaccount/operations/k8s-detail/" --- # Get Kubernetes Cluster Details `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/{service_id}` Returns the full configuration of a single cluster, including its master role and node id list, `state`, Kubernetes `version`, encryption flag, the committed-pricing options, and every worker `node_pools` entry with its elasticity/scheduled policy detail, plan, and member node names. Use the cluster `service_id` returned by List. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The `service_id` of the cluster, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | A single-element list holding the cluster detail. | | `data[].service_id` | integer | no | | | `data[].service_name` | string | no | | | `data[].roles` | array of object | no | | | `data[].roles[].role_name` | string | no | | | `data[].roles[].cardinality` | integer | no | | | `data[].roles[].state` | string | no | | | `data[].roles[].node_id_list` | array of integer | no | | | `data[].state` | string | no | | | `data[].version` | string | no | | | `data[].master_node_id` | integer | no | | | `data[].cluster_id` | integer | no | | | `data[].isEncryptionEnabled` | boolean | no | | | `data[].node_pools` | array of object | no | Worker node pools of the cluster. | | `data[].node_pools[].name` | string | no | | | `data[].node_pools[].slug_name` | string | no | | | `data[].node_pools[].sku_id` | integer | no | | | `data[].node_pools[].policy_type` | string | no | | | `data[].node_pools[].vcpu` | integer | no | | | `data[].node_pools[].ram` | integer | no | | | `data[].node_pools[].worker_node_count` | integer | no | | | `data[].node_pools[].node_names` | array of string | no | | | `data[].no_of_nodes` | integer | no | | | `data[].master_pool` | object | no | | | `data[].master_pool.name` | string | no | | | `data[].master_pool.plan_name` | string | no | | | `data[].master_pool.vcpu` | integer | no | | | `data[].master_pool.ram` | integer | no | | | `data[].master_pool.state` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "service_id": 12345, "service_name": "my-k8s-cluster", "roles": [ { "role_name": "master", "cardinality": 1, "state": "Running", "node_id_list": [ 320001 ] } ], "state": "Running", "version": "1.32", "master_node_id": 320000, "cluster_id": 10001, "isEncryptionEnabled": true, "node_pools": [ { "name": "pool-worker-1", "slug_name": "C3-4vCPU-8RAM-100DISK-C3.96GB - CentOS-Stream-Delhi", "sku_id": 1088, "policy_type": "Default-Scheduled", "vcpu": 4, "ram": 8, "worker_node_count": 3, "node_names": [ "worker_0_service_12346", "worker_1_service_12346", "worker_2_service_12346" ] } ], "no_of_nodes": 7, "master_pool": { "name": "master-pool", "plan_name": "E2E-K8s-Cluster", "vcpu": 4, "ram": 8, "state": "Running" } } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Install a Marketplace Tool" method: POST path: "/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/" url: "/api/myaccount/operations/k8s-install-tool/" --- # Install a Marketplace Tool `POST https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-tool-action/{service_id}/tool/{tool_id}/` Installs a marketplace tool on the cluster. The path takes the cluster `service_id` and the `tool_id` (a tool `id` from Marketplace). The request body is empty. Installation runs asynchronously - poll Marketplace for the tool's `status`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | | `tool_id` | integer | yes | The `id` of the tool to install (from Marketplace). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Please Wait, Monitoring Stack is Installing!" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-tool-action//tool//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Download Cluster kubeconfig" method: GET path: "/api/v1/kubernetes/cluster-config-download/{service_id}/" url: "/api/myaccount/operations/k8s-kube-config/" --- # Download Cluster kubeconfig `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-config-download/{service_id}/` Returns the cluster's `kubeconfig` file - the credentials and endpoint used by `kubectl` and other clients to connect to the cluster's API server. Save the response as your `~/.kube/config` (or merge it in). Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | The kubeconfig file contents. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "apiVersion: v1\nclusters:\n- cluster:\n server: https://203.0.113.10:6443\n name: my-k8s-cluster\ncontexts:\n- context:\n cluster: my-k8s-cluster\n user: admin-user\n name: my-k8s-cluster\ncurrent-context: my-k8s-cluster\nkind: Config\nusers:\n- name: admin-user\n user:\n token: \n", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-config-download//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach or Detach a LoadBalancer IP" method: POST path: "/api/v1/reserve_ips/k8s_public_ip/{ip_address}/actions/" url: "/api/myaccount/operations/k8s-lb-ip-attach/" --- # Attach or Detach a LoadBalancer IP `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_public_ip/{ip_address}/actions/` Attaches a reserved LoadBalancer IP to a cluster node, or detaches it. Send `vm_id` (the target node's VM ID) and `type` - `attach` or `detach`. The path takes the reserved `ip_address` (from List LB IPs). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `ip_address` | string | yes | The reserved IP address to act on (from List LB IPs). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | VM ID of the target cluster node. | | `type` | string | yes | The action to perform. | Example request: ```json { "vm_id": 323906, "type": "attach" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.IP` | string | no | | | `data.status` | string | no | | | `data.vm_name` | string | no | | | `data.vm_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "IP": "203.0.113.20", "status": "Attached", "vm_name": "my-k8s-cluster", "vm_id": 323906 }, "errors": {}, "message": "IP assigned Successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_public_ip//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vm_id":323906,"type":"attach"}' ``` --- --- title: "List Reserved LoadBalancer IPs" method: GET path: "/api/v1/reserve_ips/k8s_ip/{service_id}/" url: "/api/myaccount/operations/k8s-lb-ip-list/" --- # List Reserved LoadBalancer IPs `GET https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_ip/{service_id}/` Returns the reserved LoadBalancer IPs in the cluster's IP pool - each IP's `ip_address`, `status` (Available / Attached), `reserve_id`, the node it is attached to (if any), and reservation details. Also reports the customer's IP reservation limit and current count. Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Reserved LoadBalancer IPs. | | `data[].ip_address` | string | no | | | `data[].status` | string | no | | | `data[].bought_at` | string | no | | | `data[].vm_id` | integer | no | | | `data[].vm_name` | string | no | | | `data[].reserve_id` | integer | no | | | `data[].reserved_type` | string | no | | | `data[].floating_ip_attached_nodes` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | | `is_limit_available` | boolean | no | | | `reserved_ip_details` | object | no | | | `reserved_ip_details.customer_max_limit` | integer | no | | | `reserved_ip_details.reserved_ips_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "ip_address": "203.0.113.20", "status": "Available", "bought_at": "30-06-2026 13:11", "vm_id": null, "vm_name": "--", "reserve_id": 22279, "reserved_type": "KubernetesIP", "floating_ip_attached_nodes": [] } ], "errors": {}, "message": "Success", "is_limit_available": true, "reserved_ip_details": { "customer_max_limit": 10, "reserved_ips_count": 2 } } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_ip//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Reserve a LoadBalancer IP" method: POST path: "/api/v1/reserve_ips/k8s_ip/{service_id}/" url: "/api/myaccount/operations/k8s-lb-ip-reserve/" --- # Reserve a LoadBalancer IP `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_ip/{service_id}/` Reserves a new public IP for the cluster's LoadBalancer IP pool. The reserved IP can then be attached to a cluster node (see Attach LB IP). The request body is empty. The number of IPs a customer may reserve is capped (`customer_max_limit`). Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.ip_address` | string | no | | | `data.status` | string | no | | | `data.bought_at` | string | no | | | `data.reserve_id` | integer | no | | | `data.reserved_type` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `is_limit_available` | boolean | no | | | `reserved_ip_details` | object | no | | | `reserved_ip_details.customer_max_limit` | integer | no | | | `reserved_ip_details.reserved_ips_count` | integer | no | | | `reserve_ip_price` | string | no | | | `currency` | string | no | | Example 200 response: ```json { "code": 200, "data": { "ip_address": "203.0.113.20", "status": "Available", "bought_at": "30-06-2026 13:11", "reserve_id": 22279, "reserved_type": "KubernetesIP" }, "errors": {}, "message": "IP Reserved Successfully.", "is_limit_available": true, "reserved_ip_details": { "customer_max_limit": 10, "reserved_ips_count": 2 }, "reserve_ip_price": "INR 199.0 (excluding GST)", "currency": "INR" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/k8s_ip//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "List Node Pools of a Cluster" method: GET path: "/api/v1/kubernetes/node-pool-services/{service_id}" url: "/api/myaccount/operations/k8s-list-node-pools/" --- # List Node Pools of a Cluster `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/node-pool-services/{service_id}` Returns the worker node pools attached to a cluster. Each pool reports its own `service_id`, worker role (cardinality, min/max VMs, elasticity and scheduled policies, `policy_type`, backing `plan_id`), state, node id list, and committed-pricing options. Use the cluster `service_id` returned by List. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Worker node pools of the cluster. | | `data[].service_id` | integer | no | | | `data[].service_name` | string | no | | | `data[].roles` | array of object | no | | | `data[].roles[].role_name` | string | no | | | `data[].roles[].cardinality` | integer | no | | | `data[].roles[].min_vms` | integer | no | | | `data[].roles[].max_vms` | integer | no | | | `data[].roles[].state` | string | no | | | `data[].roles[].elasticity_policies` | array of object | no | | | `data[].roles[].elasticity_policies[].elasticity_type` | string | no | | | `data[].roles[].elasticity_policies[].adjust` | integer | no | | | `data[].roles[].elasticity_policies[].parameter` | string | no | | | `data[].roles[].elasticity_policies[].operator` | string | no | | | `data[].roles[].elasticity_policies[].value` | integer | no | | | `data[].roles[].elasticity_policies[].period_number` | integer | no | | | `data[].roles[].elasticity_policies[].period` | integer | no | | | `data[].roles[].elasticity_policies[].cooldown` | integer | no | | | `data[].roles[].scheduled_policies` | array of object | no | | | `data[].roles[].scheduled_policies[].type` | string | no | | | `data[].roles[].scheduled_policies[].adjust` | integer | no | | | `data[].roles[].scheduled_policies[].recurrence` | string | no | | | `data[].roles[].node_id_list` | array of integer | no | | | `data[].roles[].policy_type` | string | no | | | `data[].roles[].plan_id` | integer | no | | | `data[].state` | string | no | | | `data[].auto_scale_enabled` | boolean | no | | | `data[].plan_name` | string | no | | | `data[].master_node_id` | integer | no | | | `data[].cluster_id` | integer | no | | | `data[].price` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "service_id": 12346, "service_name": "pool-worker-1", "roles": [ { "role_name": "worker", "cardinality": 3, "min_vms": 3, "max_vms": 5, "state": "Running", "elasticity_policies": [ { "elasticity_type": "CHANGE", "adjust": 1, "parameter": "CPU", "operator": ">", "value": 60, "period_number": 3, "period": 10, "cooldown": 150 } ], "scheduled_policies": [ { "type": "CARDINALITY", "adjust": 3, "recurrence": "0 12 * * *" } ], "node_id_list": [ 320001, 320002, 320003 ], "policy_type": "Default-Scheduled", "plan_id": 1088 } ], "state": "Running", "auto_scale_enabled": true, "plan_name": "C3.8GB", "master_node_id": 320000, "cluster_id": 10002, "price": "Rs. 3.1/Hour or Rs. 2263.0 Monthly" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/node-pool-services/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Kubernetes Clusters" method: GET path: "/api/v1/kubernetes/" url: "/api/myaccount/operations/k8s-list/" --- # List Kubernetes Clusters `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/` Returns a paginated list of the Kubernetes clusters in the project. Each entry summarises the cluster's master role, `state`, Kubernetes `version`, master plan and pricing, encryption/backup flags, and the committed-pricing options. Use `page_no` and `per_page` to page through results. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of clusters to return per page. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region to filter clusters by. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Clusters in the project. | | `data[].service_id` | integer | no | | | `data[].service_name` | string | no | | | `data[].roles` | array of object | no | | | `data[].roles[].role_name` | string | no | | | `data[].roles[].cardinality` | integer | no | | | `data[].roles[].state` | string | no | | | `data[].roles[].node_id_list` | array of integer | no | | | `data[].state` | string | no | Cluster lifecycle state (Creating, Running, ...). | | `data[].auto_scale_enabled` | boolean | no | | | `data[].plan_name` | string | no | | | `data[].version` | string | no | | | `data[].master_node_id` | integer | no | | | `data[].created_at` | string | no | | | `data[].cluster_id` | integer | no | | | `data[].backup_enabled` | boolean | no | | | `data[].price` | string | no | | | `data[].isEncryptionEnabled` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "service_id": 12345, "service_name": "my-k8s-cluster", "roles": [ { "role_name": "master", "cardinality": 1, "state": "Running", "node_id_list": [ 320001 ] } ], "state": "Running", "auto_scale_enabled": false, "plan_name": "E2E-K8s-Cluster", "version": "1.32", "master_node_id": 320000, "created_at": "Jun 30, 2026 03:34:34 PM", "cluster_id": 10001, "backup_enabled": false, "price": "Rs. 3.1/Hour or Rs. 2263.0 Monthly", "isEncryptionEnabled": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Marketplace Tools" method: GET path: "/api/v1/kubernetes/available-tools/{service_id}/" url: "/api/myaccount/operations/k8s-marketplace-tools/" --- # List Marketplace Tools `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/available-tools/{service_id}/` Returns the marketplace tools that can be installed on the cluster (for example Monitoring Stack, Cert-Manager, NGINX Ingress Controller) - each tool's `id`, `name`, `description`, `type`, and current install `status`. Use a tool's `id` as `tool_id` when installing it. Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Marketplace tools available for the cluster. | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].type` | string | no | | | `data[].status` | string | no | Install status (e.g., not-installed, installing, installed). | | `data[].error_message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1, "name": "Monitoring Stack", "description": "Prometheus is an open-source monitoring and alerting tool for collecting, storing, querying and visualizing metrics.", "type": "Monitoring Tools", "status": "not-installed", "error_message": null } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/available-tools//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Master Node Plans & Pricing" method: GET path: "/api/v1/kubernetes/plans" url: "/api/myaccount/operations/k8s-master-plan/" --- # List Master Node Plans & Pricing `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/plans` Returns the compute plans (SKUs) available for the cluster's master node in the region, with each plan's specs (vCPU, RAM, disk), hourly/monthly pricing, supported Kubernetes version, and the committed-pricing (reserved) options. Use a plan's `specs.id` as `sku_id` and its `plan` string as `slug_name` when creating a cluster. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region whose plans and pricing should be returned. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.data` | array of object | no | Available master node plans. | | `data.data[].name` | string | no | | | `data.data[].plan` | string | no | | | `data.data[].location` | string | no | | | `data.data[].specs` | object | no | | | `data.data[].specs.id` | string | no | SKU ID - use as `sku_id` on create. | | `data.data[].specs.sku_name` | string | no | | | `data.data[].specs.ram` | string | no | | | `data.data[].specs.cpu` | integer | no | | | `data.data[].specs.disk_space` | integer | no | | | `data.data[].specs.price_per_month` | number | no | | | `data.data[].specs.price_per_hour` | number | no | | | `data.data[].specs.series` | string | no | | | `data.data[].specs.committed_sku` | array of object | no | Committed (reserved) pricing options for this plan. | | `data.data[].specs.committed_sku[].committed_sku_id` | integer | no | | | `data.data[].specs.committed_sku[].committed_sku_name` | string | no | | | `data.data[].specs.committed_sku[].committed_sku_price` | number | no | | | `data.data[].specs.committed_sku[].committed_days` | integer | no | | | `data.data[].specs.family` | string | no | | | `data.data[].currency` | string | no | | | `data.data[].k8s_version` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "data": [ { "name": "E2E-K8s-Cluster", "plan": "C3-4vCPU-8RAM-100DISK-3rdGen-K8s1_32-master-metal-lb-Delhi", "location": "Delhi", "specs": { "id": "1178", "sku_name": "E2E-K8s-Cluster", "ram": "8.00", "cpu": 4, "disk_space": 100, "price_per_month": 2263, "price_per_hour": 3.1, "series": "C3", "committed_sku": [ { "committed_sku_id": 9197, "committed_sku_name": "365 Days Committed , Rs. 21725.0", "committed_sku_price": 21725, "committed_days": 365 } ], "family": "CPU Intensive 3rd Generation" }, "currency": "INR", "k8s_version": "1.32" } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/plans?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Upgrade Master Node Plan" method: PUT path: "/api/v1/kubernetes/master-upgrade/{service_id}/" url: "/api/myaccount/operations/k8s-master-upgrade/" --- # Upgrade Master Node Plan `PUT https://api.e2enetworks.com/myaccount/api/v1/kubernetes/master-upgrade/{service_id}/` Upgrades the cluster's master node to a larger plan. Send the target `sku_id` (a master `specs.id` from Master Plan). The target plan must have **more** vCPU and RAM than the current master plan - downgrades are rejected. Use the cluster `service_id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `sku_id` | integer | yes | SKU ID of the target master plan (a `specs.id` from Master Plan). Must have more vCPU and RAM than the current plan. | | `plan` | string | no | Human-readable name of the target plan (optional; for display). | Example request: ```json { "sku_id": 1694, "plan": "E2E-K8s-Cluster-Large" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.service_id` | integer | no | | | `data.new_sku_id` | integer | no | | | `data.old_sku_id` | integer | no | | | `data.vcpu` | integer | no | | | `data.ram` | integer | no | | | `data.location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "service_id": 12345, "new_sku_id": 1694, "old_sku_id": 1178, "vcpu": 8, "ram": 16000, "location": "Delhi" }, "errors": {}, "message": "Master node upgrade initiated" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/master-upgrade//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"sku_id":1694,"plan":"E2E-K8s-Cluster-Large"}' ``` --- --- title: "List Monitored Cluster Nodes" method: GET path: "/api/v1/kubernetes/k8s-monitoring-nodes/{service_id}/" url: "/api/myaccount/operations/k8s-monitoring-nodes/" --- # List Monitored Cluster Nodes `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/k8s-monitoring-nodes/{service_id}/` Returns the cluster's nodes as seen by monitoring - each node's `id`, `name`, `vm_id`, public/private IP, `status`, `vm_type` (master/worker), monitor status, and whether the monitoring and alert tabs are enabled for it. Use the cluster `service_id`. The node `id`/`vm_id` from here feeds Server Health and the alert operations. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Cluster nodes as seen by monitoring. | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].vm_id` | integer | no | | | `data[].created_at` | string | no | | | `data[].public_ip_address` | string | no | | | `data[].private_ip_address` | string | no | | | `data[].status` | string | no | | | `data[].vm_type` | string | no | | | `data[].is_monitored` | boolean | no | | | `data[].monitor_status` | object | no | | | `data[].monitor_status.status` | string | no | | | `data[].monitor_status.reason` | string | no | | | `data[].monitoring_tab_enabled` | boolean | no | | | `data[].alert_tab_enabled` | boolean | no | | | `data[].location` | string | no | | | `data[].worker_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 320000, "name": "master_0_service_12345", "vm_id": 323992, "created_at": "2026-07-01T06:21:49.151569Z", "public_ip_address": "203.0.113.10", "private_ip_address": "10.20.30.10", "status": "Running", "vm_type": "master", "is_monitored": true, "monitor_status": { "status": "activated", "reason": "" }, "monitoring_tab_enabled": true, "alert_tab_enabled": true, "location": "Delhi", "worker_name": "onekube-ip-10-20-30-10" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/k8s-monitoring-nodes//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Worker Node Power/Reboot/Rename Action" method: PUT path: "/api/v1/kubernetes/node-pool/{node_pool_id}/update-worker-node/{node_id}/" url: "/api/myaccount/operations/k8s-node-lifecycle/" --- # Worker Node Power/Reboot/Rename Action `PUT https://api.e2enetworks.com/myaccount/api/v1/kubernetes/node-pool/{node_pool_id}/update-worker-node/{node_id}/` Performs a lifecycle action on a single worker node. The action is chosen with the required `action` query parameter: `power_on`, `power_off`, `reboot`, or `rename`. The path takes the node pool `service_id` and the node's `id`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List Node Pools). | | `node_id` | integer | yes | The `id` of the worker node (from Node Pool Details). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `action` | string | yes | The lifecycle action to perform on the node. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Action performed successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/node-pool//update-worker-node//?apikey=&action=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "List Nodes in a Node Pool" method: GET path: "/api/v1/kubernetes/cluster-nodes/{node_pool_id}" url: "/api/myaccount/operations/k8s-node-pool-nodes/" --- # List Nodes in a Node Pool `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-nodes/{node_pool_id}` Returns the worker nodes belonging to a node pool - each node's `id`, `name`, `status`, public and private IP address, `vm_type`, and timestamps. Use the node pool's `service_id` (from List). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Worker nodes in the node pool. | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].status` | string | no | | | `data[].ip_address_public` | string | no | | | `data[].ip_address_private` | string | no | | | `data[].vm_type` | string | no | | | `data[].created_at` | string | no | | | `data[].worker_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 320001, "name": "worker_0_service_12346", "status": "Running", "ip_address_public": "203.0.113.10", "ip_address_private": "10.20.30.10", "vm_type": "worker", "created_at": "2026-06-30T10:19:41.892656Z", "worker_name": "e2e-137-54" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create a Persistent Volume" method: POST path: "/api/v1/persistent_volume/{cluster_id}/" url: "/api/myaccount/operations/k8s-pv-create/" --- # Create a Persistent Volume `POST https://api.e2enetworks.com/myaccount/api/v1/persistent_volume/{cluster_id}/` Creates a persistent volume (PV) on the cluster. Send a `name` and `pv_size` (in GB, matching one of the PV Plans sizes). The path takes the `cluster_id` (from List / Detail, not the `service_id`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `cluster_id` | integer | yes | The `cluster_id` of the cluster (from List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Display name of the persistent volume. | | `pv_size` | integer | yes | Size of the volume in GB. Must match one of the sizes returned by PV Plans. | Example request: ```json { "name": "my-pv-10gb", "pv_size": 10 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pv_id` | integer | no | | | `data.pv_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pv_id": 15996, "pv_name": "my-pv-10gb" }, "errors": {}, "message": "persistent volume created successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/persistent_volume//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"my-pv-10gb","pv_size":10}' ``` --- --- title: "Delete a Persistent Volume" method: DELETE path: "/api/v1/persistent_volume/{cluster_id}/{pv_id}/" url: "/api/myaccount/operations/k8s-pv-delete/" --- # Delete a Persistent Volume `DELETE https://api.e2enetworks.com/myaccount/api/v1/persistent_volume/{cluster_id}/{pv_id}/` Deletes a persistent volume from the cluster. The path takes the `cluster_id` and the `pv_id` (from List PVs). The action cannot be undone. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `cluster_id` | integer | yes | The `cluster_id` of the cluster (from List / Detail). | | `pv_id` | integer | yes | The `pv_id` of the persistent volume to delete (from List PVs). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the delete request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pv_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pv_id": 15996 }, "errors": {}, "message": "persistent volume deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/persistent_volume///?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Persistent Volumes" method: GET path: "/api/v1/persistent_volume/{cluster_id}/" url: "/api/myaccount/operations/k8s-pv-list/" --- # List Persistent Volumes `GET https://api.e2enetworks.com/myaccount/api/v1/persistent_volume/{cluster_id}/` Returns the persistent volumes on the cluster - each PV's `pv_id`, `pv_name`, `pv_size` (in MB), `status` (e.g. BOUND), and creation time. The path takes the `cluster_id` (from List / Detail). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `cluster_id` | integer | yes | The `cluster_id` of the cluster (from List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pv_list` | array of object | no | | | `data.pv_list[].pv_id` | integer | no | | | `data.pv_list[].pv_name` | string | no | | | `data.pv_list[].created_at` | string | no | | | `data.pv_list[].pv_size` | integer | no | Size in MB. | | `data.pv_list[].status` | string | no | | | `data.pv_list[].cluster_name` | string | no | | | `data.pv_list[].service_id` | integer | no | | | `data.pv_list[].cluster_id` | integer | no | | | `data.pv_list[].is_dynamic` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pv_list": [ { "pv_id": 15996, "pv_name": "my-pv-10gb", "created_at": "2026-07-01T06:47:29.767868Z", "pv_size": 10000, "status": "BOUND", "cluster_name": "my-k8s-cluster", "service_id": 12345, "cluster_id": 10001, "is_dynamic": false } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/persistent_volume//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Persistent Volume Plans & Pricing" method: GET path: "/api/v1/persistent_volume/plans/" url: "/api/myaccount/operations/k8s-pv-plans/" --- # List Persistent Volume Plans & Pricing `GET https://api.e2enetworks.com/myaccount/api/v1/persistent_volume/plans/` Returns the persistent volume sizes available in the region, with each plan's display `name`, `size` (in TB - e.g. `0.01` = 10 GB), and monthly `price`. Use a plan's size (in GB) as `pv_size` when creating a persistent volume. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region whose plans should be returned. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Available persistent volume plans. | | `data[].name` | string | no | | | `data[].size` | number | no | Size in TB (0.01 = 10 GB). | | `data[].location` | string | no | | | `data[].price` | number | no | Monthly price. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "10 GB", "size": 0.01, "location": "Delhi", "price": 50 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/persistent_volume/plans/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resize a Node Pool (Cardinality)" method: PUT path: "/api/v1/kubernetes/cluster-update/{node_pool_id}" url: "/api/myaccount/operations/k8s-resize-node-pool/" --- # Resize a Node Pool (Cardinality) `PUT https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-update/{node_pool_id}` Manually sets the number of worker nodes (`cardinality`) in a node pool. `cardinality` must be between 2 and 25. Set `update_min_nodes: true` to also raise the pool's minimum so autoscaling does not immediately scale it back down. The request is rejected with `412 Precondition Failed` if the pool is already committed or otherwise not in a resizable state. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `cardinality` | integer | yes | Target number of worker nodes. | | `update_min_nodes` | boolean | no | When true, also raise the pool's minimum to the new cardinality so autoscaling does not scale it back down. | Example request: ```json { "cardinality": 3, "update_min_nodes": false } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Node pool resize initiated" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/cluster-update/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"cardinality":3,"update_min_nodes":false}' ``` --- --- title: "Get Node Server Health Metrics" method: GET path: "/api/v1/nodes/{master_node_id}/monitor/server-health/" url: "/api/myaccount/operations/k8s-server-health/" --- # Get Node Server Health Metrics `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{master_node_id}/monitor/server-health/` Returns time-series health metrics for a single cluster node - memory, disk and CPU utilisation, disk IOPS, and per-NIC network in/out throughput. Each metric is a `{ labels, results }` pair (labels are timestamps, results are values). The path takes a node id (e.g. the `master_node_id` from List / Detail, or a node `id` from Monitoring Nodes). Use `interval` to set the look-back window in seconds. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `master_node_id` | integer | yes | The node id whose metrics to fetch (e.g. `master_node_id` from List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `interval` | integer | no | Look-back window for the metrics, in seconds. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the node. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.memory` | object | no | | | `data.memory.labels` | array of string | no | | | `data.memory.results` | array of number | no | | | `data.cpu` | object | no | CPU utilisation series ({ labels, results }). | | `data.disk` | object | no | Disk utilisation series ({ labels, results }). | | `data.disk_iops` | object | no | Disk IOPS series ({ labels, results }). | | `data.network` | object | no | Per-NIC network in/out throughput series. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "memory": { "labels": [ "01:27PM", "01:37PM" ], "results": [ 42.5, 43.1 ] }, "cpu": {}, "disk": {}, "disk_iops": {}, "network": {} }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitor/server-health/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Cluster Activity Timeline" method: GET path: "/api/v1/kubernetes/timeline/{service_id}/" url: "/api/myaccount/operations/k8s-timeline/" --- # Get Cluster Activity Timeline `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/timeline/{service_id}/` Returns the audited activity timeline for the cluster for a given month - each management event (cluster created, security group attached/detached, PV created/removed, tool installed, and so on), its `timestamp`, `details`, who performed it, the client IP, and whether it succeeded. Filter with the required `year` and `month` query parameters. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `service_id` | integer | yes | The cluster `service_id`, as returned by List. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `year` | integer | yes | Four-digit year to filter the timeline by. | | `month` | integer | yes | Month (1-12) to filter the timeline by. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Audited cluster management events. | | `data[].timestamp` | string | no | | | `data[].event` | string | no | | | `data[].client_ip` | string | no | | | `data[].details` | string | no | | | `data[].operation_performed_by` | string | no | | | `data[].performer_type` | string | no | | | `data[].performer_name` | string | no | | | `data[].status` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "timestamp": "Jul 01, 2026 08:48:54 AM", "event": "K8S_CLUSTER_CREATED", "client_ip": "203.0.113.5", "details": "Cluster name: my-k8s-cluster, Message: Cluster creation completed successfully", "operation_performed_by": "user@example.com", "performer_type": "primary_user", "performer_name": "Example User", "status": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/timeline//?apikey=&year=&month=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Edit a Node Pool (Autoscaling)" method: PUT path: "/api/v1/kubernetes/update-node-pool/{node_pool_id}/" url: "/api/myaccount/operations/k8s-update-node-pool/" --- # Edit a Node Pool (Autoscaling) `PUT https://api.e2enetworks.com/myaccount/api/v1/kubernetes/update-node-pool/{node_pool_id}/` Updates a node pool's scaling configuration: its `min_vms` / `cardinality` / `max_vms`, `policy_type`, backing `plan_id`, and the elastic (`elasticity_policies`) and scheduled (`scheduled_policies`) rules. The requested `cardinality` must lie within `[min_vms, max_vms]`. Use the node pool's `service_id` (from List Node Pools). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_pool_id` | integer | yes | The node pool `service_id` (from List Node Pools). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the update request. | | `location` | string | yes | Region of the cluster. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `min_vms` | integer | yes | Minimum number of worker nodes. | | `cardinality` | integer | yes | Desired (current) number of worker nodes. | | `max_vms` | integer | yes | Maximum number of worker nodes. | | `policy_type` | string | yes | Scaling policy mode. | | `plan_id` | integer | yes | SKU ID of the worker plan backing the pool. | | `elasticity_policies` | array of object | no | Elastic scaling rules (scale-up adjust 1 and scale-down adjust -1). | | `elasticity_policies[].type` | string | no | | | `elasticity_policies[].adjust` | integer | no | | | `elasticity_policies[].parameter` | string | no | | | `elasticity_policies[].operator` | string | no | | | `elasticity_policies[].value` | integer | no | | | `elasticity_policies[].period_number` | integer | no | | | `elasticity_policies[].period` | integer | no | | | `elasticity_policies[].cooldown` | integer | no | | | `scheduled_policies` | array of object | no | Scheduled scaling rules. Empty when the pool uses only elastic scaling. | | `scheduled_policies[].type` | string | no | | | `scheduled_policies[].adjust` | integer | no | | | `scheduled_policies[].recurrence` | string | no | | Example request: ```json { "min_vms": 3, "cardinality": 3, "max_vms": 5, "policy_type": "Default", "plan_id": 1088, "elasticity_policies": [ { "type": "CHANGE", "adjust": 1, "parameter": "CPU", "operator": ">", "value": 60, "period_number": 3, "period": 10, "cooldown": 150 }, { "type": "CHANGE", "adjust": -1, "parameter": "CPU", "operator": "<", "value": 30, "period_number": 3, "period": 10, "cooldown": 150 } ], "scheduled_policies": [] } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Node Pool pool-worker-1 Updated Successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/update-node-pool//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"min_vms":3,"cardinality":3,"max_vms":5,"policy_type":"Default","plan_id":1088,"elasticity_policies":[{"type":"CHANGE","adjust":1,"parameter":"CPU","operator":">","value":60,"period_number":3,"period":10,"cooldown":150},{"type":"CHANGE","adjust":-1,"parameter":"CPU","operator":"<","value":30,"period_number":3,"period":10,"cooldown":150}],"scheduled_policies":[]}' ``` --- --- title: "Get Cluster VPC Details" method: GET path: "/api/v1/vpc/node/{master_node_id}/" url: "/api/myaccount/operations/k8s-vpc-detail/" --- # Get Cluster VPC Details `GET https://api.e2enetworks.com/myaccount/api/v1/vpc/node/{master_node_id}/` Returns the VPC network the cluster's master node is attached to - its `name`, `network_id`, `ipv4_cidr`, DNS servers, and subnet. The path takes the cluster's `master_node_id` (from List / Detail). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `master_node_id` | integer | yes | The `master_node_id` of the cluster (from List / Detail). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region of the cluster. | ## Responses ### 200 Successful response Type: array of object Example 200 response: ```json [ { "dns": "8.8.8.8 8.8.4.4", "ipv4_cidr": "10.20.0.0/23", "name": "my-vpc", "network_id": 60001, "project_id": "{{project_id}}", "subnet_id": "", "is_e2e_vpc": true } ] ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/node//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Worker Node Plans & Pricing" method: GET path: "/api/v1/kubernetes/worker-plans/" url: "/api/myaccount/operations/k8s-worker-plan/" --- # List Worker Node Plans & Pricing `GET https://api.e2enetworks.com/myaccount/api/v1/kubernetes/worker-plans/` Returns the compute plans (SKUs) available for worker nodes in the region, with each plan's OS image, specs (vCPU, RAM, disk), pricing, and committed-pricing options. Use a plan's `specs.id` as `sku_id` and its `plan` string as `slug_name` when defining a node pool. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Region whose plans and pricing should be returned. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Available worker node plans. | | `data[].name` | string | no | | | `data[].plan` | string | no | | | `data[].image` | string | no | | | `data[].os` | object | no | | | `data[].os.name` | string | no | | | `data[].os.version` | string | no | | | `data[].os.category` | string | no | | | `data[].location` | string | no | | | `data[].specs` | object | no | | | `data[].specs.id` | string | no | SKU ID - use as `sku_id` in a node pool. | | `data[].specs.sku_name` | string | no | | | `data[].specs.ram` | string | no | | | `data[].specs.cpu` | integer | no | | | `data[].specs.disk_space` | integer | no | | | `data[].specs.price_per_month` | number | no | | | `data[].specs.price_per_hour` | number | no | | | `data[].currency` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "C3.96GB", "plan": "C3-24vCPU-96RAM-600DISK-C3.96GB - CentOS-Stream-Delhi", "image": "CentOS-Stream-Distro", "os": { "name": "CentOS", "version": "Stream", "category": "CentOS" }, "location": "Delhi", "specs": { "id": "1088", "sku_name": "C3.96GB", "ram": "96.00", "cpu": 24, "disk_space": 600, "price_per_month": 27156, "price_per_hour": 37.2 }, "currency": "INR" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/worker-plans/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Perform Load Balancer Action" method: PUT path: "/api/v1/appliances/load-balancers/{lb_id}/actions/" url: "/api/myaccount/operations/lb-action/" --- # Perform Load Balancer Action `PUT https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/{lb_id}/actions/` Performs a lifecycle or management action on a single load balancer. The action is selected by the `type` field in the request body. Two actions require an extra field: `upgrade_plan` requires `plan_name`, and `rename` requires `name`. All other actions need only `type`. Supported actions: `power_on`, `power_off`, `upgrade_plan`, `rename`. Any other value is rejected with `Invalid Action!`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the target load balancer. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `type` | one of `power_on`, `power_off`, `upgrade_plan`, `rename` | yes | Action to perform. `upgrade_plan` additionally requires `plan_name`; `rename` additionally requires `name`. `power_on` and `power_off` need only `type`. | | `plan_name` | string | no | Target plan SKU. **Required when `type` is `upgrade_plan`.** Must be a larger plan than the current one. | | `name` | string | no | New display name. **Required when `type` is `rename`.** | Example request: ```json { "type": "power_off", "plan_name": "E2E-LB-3", "name": "new-name" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | Human-readable result of the action. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Appliance Powering Off", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"type":"power_off","plan_name":"E2E-LB-3","name":"new-name"}' ``` --- --- title: "Billing Logs" method: GET path: "/api/v1/appliances/load-balancer-billinglog/{lb_id}/" url: "/api/myaccount/operations/lb-billing-logs/" --- # Billing Logs `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-billinglog/{lb_id}/` Returns a paginated billing history for the load balancer appliance. Each entry describes a billing event for the underlying compute. Use `page_no` and `per_page` to page through results. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of records to return per page. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Billing history entries for the load balancer appliance. | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ null ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancer-billinglog//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Pause or Resume Alert" method: PUT path: "/api/v1/monitoring/single-service/stop_resume_alert/{alert_trigger_id}/" url: "/api/myaccount/operations/lb-pause-resume-alert/" --- # Pause or Resume Alert `PUT https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert/{alert_trigger_id}/` Pauses or resumes an existing alert trigger without deleting it. The `action_type` field in the body selects the operation (`pause_alert` or `resume_alert`). The alert trigger ID is the `id` returned by Create Alert. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `alert_trigger_id` | integer | yes | The `alert_trigger_id` from an entry in the `trigger` array returned by the List Alert Triggers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region scope for the alert. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `action_type` | one of `pause_alert`, `resume_alert` | yes | Whether to pause or resume the alert trigger. | Example request: ```json { "action_type": "pause_alert" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Alert paused successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"action_type":"pause_alert"}' ``` --- --- title: "List Load Balancer Plans" method: GET path: "/api/v1/appliance-type/" url: "/api/myaccount/operations/lb-plans/" --- # List Load Balancer Plans `GET https://api.e2enetworks.com/myaccount/api/v1/appliance-type/` Lists the load balancer plans (SKUs) available to the account in the requested region. Each plan describes the compute backing the load balancer appliance - vCPU, RAM, disk, hourly/monthly price, maximum concurrent connections, and any committed (reserved) pricing options. Use the `name` of a plan (for example `E2E-LB-2`) as the `plan_name` field when creating or upgrading a load balancer. Plans whose `available_inventory_status` is `false` cannot currently be provisioned in the region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region whose load balancer plans should be returned. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].appliance_config` | array of object | no | Available load balancer plans for the region. | | `data[].appliance_config[].name` | string | no | Plan SKU name. Use this as `plan_name` when creating/upgrading. | | `data[].appliance_config[].ram` | integer | no | RAM in GB. | | `data[].appliance_config[].vcpu` | integer | no | Number of vCPUs. | | `data[].appliance_config[].disk` | integer | no | Disk size in GB. | | `data[].appliance_config[].price` | integer | no | Monthly price (INR). | | `data[].appliance_config[].hourly` | integer | no | Hourly price (INR). | | `data[].appliance_config[].location` | string | no | | | `data[].appliance_config[].template_id` | string | no | | | `data[].appliance_config[].description` | string | no | | | `data[].appliance_config[].max_concurrent_connections` | integer | no | Maximum concurrent connections supported by the plan. | | `data[].appliance_config[].available_inventory_status` | boolean | no | Whether the plan can currently be provisioned in the region. | | `data[].appliance_config[].can_support_bitninja` | object | no | | | `data[].appliance_config[].can_support_bitninja.show_bitninja` | boolean | no | | | `data[].appliance_config[].can_support_bitninja.bitninja_cost` | integer | no | | | `data[].appliance_config[].iops` | object | no | | | `data[].appliance_config[].iops.READ_IOPS_SEC` | string | no | | | `data[].appliance_config[].iops.WRITE_IOPS_SEC` | string | no | | | `data[].appliance_config[].iops.TOTAL_IOPS_SEC` | string | no | | | `data[].appliance_config[].committed_sku` | array of object | no | Committed (reserved) pricing options for the plan. | | `data[].appliance_config[].committed_sku[].committed_sku_id` | integer | no | | | `data[].appliance_config[].committed_sku[].committed_sku_name` | string | no | | | `data[].appliance_config[].committed_sku[].committed_sku_price` | integer | no | | | `data[].appliance_config[].committed_sku[].committed_days` | integer | no | | | `data[].appliance_config[].committed_sku[].committed_upto_date` | string | no | | | `data[].is_private_cluster_user` | boolean | no | | | `data[].storage_price` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "appliance_config": [ { "name": "E2E-LB-2", "ram": 6, "vcpu": 4, "disk": 10, "price": 1460, "hourly": 2, "location": "Delhi", "template_id": "2252", "description": "", "max_concurrent_connections": 50000, "available_inventory_status": true, "can_support_bitninja": { "show_bitninja": true, "bitninja_cost": 760 }, "iops": { "READ_IOPS_SEC": "3000", "WRITE_IOPS_SEC": "2000", "TOTAL_IOPS_SEC": "2000" }, "committed_sku": [ { "committed_sku_id": 9143, "committed_sku_name": "365 Days Committed , Rs. 15768.0", "committed_sku_price": 15768, "committed_days": 365, "committed_upto_date": "08-June-2027 09:13" } ] } ], "is_private_cluster_user": false, "storage_price": 5 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliance-type/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Load Balancer Stats" method: GET path: "/api/v1/appliances/load-balancers/{lb_id}/" url: "/api/myaccount/operations/lb-stats/" --- # Load Balancer Stats `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/{lb_id}/` Returns live HAProxy runtime statistics for a single load balancer, grouped into `frontends`, `backends`, and `servers`. The fields mirror the HAProxy stats CSV (sessions, bytes in/out, queue depth, response code counts, health-check status, and so on) and are useful for building custom dashboards. For historical time-series data use Historical Data instead. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the load balancer. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.frontends` | array of object | no | | | `data.frontends[].pxname` | string | no | Proxy (frontend) name. | | `data.frontends[].svname` | string | no | | | `data.frontends[].scur` | integer | no | Current sessions. | | `data.frontends[].smax` | integer | no | Max sessions seen. | | `data.frontends[].stot` | integer | no | Total sessions. | | `data.frontends[].bin` | integer | no | Bytes in. | | `data.frontends[].bout` | integer | no | Bytes out. | | `data.frontends[].status` | string | no | | | `data.frontends[].hrsp_2xx` | integer | no | | | `data.frontends[].hrsp_4xx` | integer | no | | | `data.frontends[].hrsp_5xx` | integer | no | | | `data.backends` | array of object | no | Backend-level stats (same column set as frontends). | | `data.backends[].pxname` | string | no | | | `data.backends[].svname` | string | no | | | `data.backends[].status` | string | no | | | `data.servers` | array of object | no | Per-server stats within each backend. | | `data.servers[].pxname` | string | no | | | `data.servers[].svname` | string | no | | | `data.servers[].status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "frontends": [ { "pxname": "http-in", "svname": "FRONTEND", "scur": 1, "smax": 2, "stot": 2, "bin": 186, "bout": 217, "status": "OPEN", "hrsp_2xx": 0, "hrsp_4xx": 0, "hrsp_5xx": 1 } ], "backends": [ { "pxname": "backend-group-1", "svname": "BACKEND", "status": "UP" } ], "servers": [ { "pxname": "backend-group-1", "svname": "C3-8GB-853", "status": "UP" } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Load Balancer Status" method: GET path: "/api/v1/appliances/status/" url: "/api/myaccount/operations/lb-status/" --- # Load Balancer Status `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/status/` Lightweight status endpoint used to poll the lifecycle state of a load balancer (for example after create, upgrade, or power actions). Returns the `id`, `name`, and `status` (such as `Creating`, `Running`, `Powered off`) plus a `data_monitor` object. Pass the `id` query parameter to scope the response to a single load balancer. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `id` | string | no | Load balancer (appliance) ID to fetch status for. Omit to list status for all load balancers in the project. | | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of records to return per page. | | `advance_search_string` | boolean | no | Reserved search flag used by the console. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region to filter by. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].status` | string | no | | | `data[].data_monitor` | object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 7975, "name": "LB-NLB-26321-4626", "status": "Creating", "data_monitor": {} } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/status/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List API tokens" method: GET path: "/api/v1/apis/tokenList/" url: "/api/myaccount/operations/list-api-tokens/" --- # List API tokens `GET https://api.e2enetworks.com/myaccount/api/v1/apis/tokenList/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Filters the listed API tokens by their associated location. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | array of object | no | | | `data[].token_name` | string | no | Name of the API token | | `data[].access_name` | array of one of `READ`, `WRITE` | no | | | `data[].api_key` | string (uuid) | no | API token identifier | | `data[].auth_token` | string | no | JWT authentication token associated with the API token | | `data[].created_at` | string | no | Human-readable relative timestamp indicating when the token was created | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": [ { "token_name": "postman", "access_name": [ "READ", "WRITE" ], "api_key": "uuid-string", "auth_token": "example-jwt-string", "created_at": "21 Days ago" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/apis/tokenList/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancers" method: GET path: "/api/v1/appliances/" url: "/api/myaccount/operations/list-load-balancers/" --- # List Load Balancers `GET https://api.e2enetworks.com/myaccount/api/v1/appliances/` Returns a paginated list of the load balancer appliances in the project. Each entry contains the underlying node detail (public/private IP, plan, price), the full HAProxy configuration `context` (the same object you send to Update Load Balancer), the current `status`, and committed-pricing details. Use `page_no` and `per_page` to page through results; `total_count` and `total_page_number` are returned at the top level. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | 1-based page number to retrieve. | | `per_page` | integer | no | Number of load balancers to return per page. | | `advance_search_string` | boolean | no | Reserved search flag used by the console. Send `false` for the standard listing. | | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region to filter load balancers by. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | Load balancer (appliance) ID. | | `data[].name` | string | no | | | `data[].customer` | integer | no | | | `data[].status` | string | no | Lifecycle state (e.g. Creating, Running, Powered off). | | `data[].node_detail` | object | no | The underlying VM backing the appliance. | | `data[].node_detail.node_id` | integer | no | | | `data[].node_detail.vm_id` | integer | no | VM ID - used as the `vm_id` path parameter for BitNinja actions. | | `data[].node_detail.private_ip` | string | no | | | `data[].node_detail.public_ip` | string | no | | | `data[].node_detail.ram` | string | no | | | `data[].node_detail.disk` | string | no | | | `data[].node_detail.vcpu` | integer | no | | | `data[].node_detail.billing_type` | string | no | | | `data[].node_detail.price` | string | no | | | `data[].node_detail.plan_name` | string | no | | | `data[].appliance_instance` | array of object | no | The HAProxy instance(s). `context` is the full configuration object - the same shape you PUT to Update Load Balancer. | | `data[].appliance_instance[].id` | string | no | | | `data[].appliance_instance[].run` | string | no | | | `data[].appliance_instance[].context` | object | no | Full load balancer configuration. See the Update Load Balancer request body for the field reference. | | `data[].appliance_instance[].context.lb_name` | string | no | | | `data[].appliance_instance[].context.lb_type` | string | no | | | `data[].appliance_instance[].context.lb_mode` | string | no | | | `data[].appliance_instance[].context.lb_port` | string | no | | | `data[].appliance_instance[].context.plan_name` | string | no | | | `data[].appliance_instance[].context.node_list_type` | string | no | | | `data[].appliance_instance[].context.backends` | array of object | no | | | `data[].appliance_instance[].context.tcp_backend` | array of object | no | | | `data[].appliance_instance[].context.acl_list` | array of object | no | | | `data[].appliance_instance[].context.acl_map` | array of object | no | | | `data[].appliance_instance[].context.enable_bitninja` | boolean | no | | | `data[].appliance_instance[].context.security_group_id` | integer | no | | | `data[].appliance_instance[].context.host_target` | string | no | | | `data[].appliance_instance[].context.management_ip` | string | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `data[].eos_enabled_status` | boolean | no | Whether access-log shipping (EOS) is enabled. | | `data[].project_name` | string | no | | | `data[].isEncryptionEnabled` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 7975, "name": "LB-NLB-26321-4626", "customer": 33935, "status": "Creating", "node_detail": { "node_id": 316770, "vm_id": 320926, "private_ip": "10.8.46.6", "public_ip": "164.52.192.224", "ram": "6 GB", "disk": "10 GB", "vcpu": 4, "billing_type": "hourly", "price": "Rs. 2.0/Hour or Rs. 1460.0 Monthly", "plan_name": "E2E-LB-2" }, "appliance_instance": [ { "id": "23422", "run": null, "context": { "lb_name": "LB-NLB-26321-4626", "lb_type": "external", "lb_mode": "TCP", "lb_port": "12345", "plan_name": "E2E-LB-2", "node_list_type": "D", "backends": [ null ], "tcp_backend": [ null ], "acl_list": [ null ], "acl_map": [ null ], "enable_bitninja": false, "security_group_id": 81526, "host_target": "164.52.192.224", "management_ip": "192.168.0.204" } } ], "created_at": "2026-06-09 06:09:17 AM UTC", "updated_at": "2026-06-09 06:09:17 AM UTC", "eos_enabled_status": false, "project_name": "default-project-33935", "isEncryptionEnabled": true } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Nodes" method: GET path: "/api/v1/nodes/" url: "/api/myaccount/operations/list-nodes/" --- # List Nodes `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the location filter for the node list request. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | array of object | no | | | `data[].id` | integer | no | Node identifier | | `data[].name` | string | no | Node identifier | | `data[].status` | string | no | Current state of the node | | `data[].public_ip_address` | string | no | Public IP address of the node | | `data[].private_ip_address` | string | no | The private IPv4 address of the node. | | `data[].rescue_mode_status` | string | no | Indicates whether rescue mode is enabled for the node | | `data[].is_locked` | boolean | no | Indicates whether the node is locked | | `data[].plan` | string | no | Identifier of the node's hardware or service plan | | `data[].is_accidental_protection` | boolean | no | Indicates if the node is protected against accidental deletion | | `data[].isEncryptionEnabled` | boolean | no | Indicates whether encryption is enabled for the node | | `errors` | object | no | | | `message` | string | no | Status message describing the outcome of the list nodes request. | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "name": "C3-8GB-501", "status": "Running", "public_ip_address": "[]", "private_ip_address": "10.2.3.4", "rescue_mode_status": "Disabled", "is_locked": false, "plan": "C3.8GB", "is_accidental_protection": false, "isEncryptionEnabled": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Scheduled Action" method: GET path: "/api/v1/nodes/{node_id}/scheduled_actions/" url: "/api/myaccount/operations/list-scheduled-action/" --- # List Scheduled Action `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/scheduled_actions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Filters scheduled actions by the specified location. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the scheduled action | | `data[].action_tag` | string | no | Identifier tag for the scheduled action | | `data[].scheduled_type` | string | no | type of the scheduled action | | `data[].action_type` | string | no | type of scheduled action | | `data[].end_type` | string | no | type of ending condition for the scheduled action | | `data[].end_value` | string | no | The scheduled action's end date and time. | | `data[].start_time` | string (date-time) | no | The scheduled start time of the action in UTC. | | `data[].repeat_type` | string | no | type of recurrence for the scheduled action | | `data[].repeat_period` | string | no | Period between repeated executions, expressed as a numeric string | | `data[].status` | string | no | Current status of the scheduled action | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": [ { "id": 384, "action_tag": "periodic-daily-on", "scheduled_type": "periodic", "action_type": "reboot", "end_type": "on", "end_value": "August 19, 2025, 12:00 PM", "start_time": "2025-08-18T18:59:00Z", "repeat_type": "daily", "repeat_period": "24", "status": "pending" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//scheduled_actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Snapshots" method: GET path: "/api/v1/nodes/{node_id}/snapshots/" url: "/api/myaccount/operations/list-snapshots/" --- # List Snapshots `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshots/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the location/region for which snapshots are listed | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the list snapshots response | | `data` | array of object | no | | | `data[].name` | string | no | Name of the snapshot | | `data[].date` | string (date-time) | no | Timestamp of the snapshot in UTC | | `data[].size` | string | no | Size of the snapshot in bytes | | `data[].snapshot_uuid` | string (uuid) | no | Unique identifier of the snapshot | | `data[].snapshot_id` | string | no | Identifier of the snapshot | | `data[].status` | string | no | Current state of the snapshot | | `data[].method` | string | no | The method used to create the snapshot | | `data[].is_locked` | boolean | no | Indicates whether the snapshot is locked. | | `data[].bs_size` | string | no | Size of the snapshot as a stringified decimal number | | `data[].snapshot_size` | string | no | Human-readable size of the snapshot | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the list snapshots operation | Example 200 response: ```json { "code": 200, "data": [ { "name": "etsghrh", "date": "2025-07-18T09:32:32Z", "size": "95367", "snapshot_uuid": "f5bb7e1d-413e-4f24-5501-927bb2xxxxd1", "snapshot_id": "0", "status": "Complete", "method": "Manual", "is_locked": false, "bs_size": "0.0931318359375", "snapshot_size": "4.4 GB" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Lock/Unlock Snapshot" method: PUT path: "/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}" url: "/api/myaccount/operations/lock-unlock-snapshot/" --- # Lock/Unlock Snapshot `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `snapshot_uuid` | string | yes | Path parameter `snapshot_uuid`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the lock/unlock snapshot request | | `location` | string | yes | Specifies the target location for the lock or unlock operation | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `locked_status` | boolean | no | Indicates if the snapshot should be locked (true) or unlocked (false). | | `resource_type` | string | no | Specifies the type of resource to lock or unlock | Example request: ```json { "locked_status": false, "resource_type": "node" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the lock/unlock operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the lock or unlock snapshot operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"locked_status":false,"resource_type":"node"}' ``` --- --- title: "Monitoring Status" method: GET path: "/api/v1/nodes/{node_id}/monitoring/monitoring_status/" url: "/api/myaccount/operations/monitoring-status/" --- # Monitoring Status `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitoring/monitoring_status/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location identifier used to filter monitoring status | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the monitoring result | | `data` | object | no | | | `data.is_zabbix_active` | boolean | no | Indicates if Zabbix monitoring is currently active | | `data.message` | string | no | Human-readable status message describing the monitoring connection | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the monitoring operation | Example 200 response: ```json { "code": 200, "data": { "is_zabbix_active": true, "message": "Connection with agent is successfull" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/monitoring_status/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Network Details" method: GET path: "/api/v1/nodes/{node_id}/networkdetail/" url: "/api/myaccount/operations/network-details/" --- # Network Details `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/networkdetail/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Location filter for network details | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the network details response | | `data` | object | no | | | `data.additional_ip` | array of object | no | | | `data.additional_ip[].ip_address` | string | no | IPv4 address of an additional network interface | | `data.reserve_ip_details` | object | no | | | `data.reserve_ip_details.is_limit_available` | boolean | no | Indicates whether a limit is available for the reserved IP. | | `data.reserve_ip_details.is_already_reserved` | boolean | no | True if the IP address is already reserved, otherwise false. | | `data.reserve_ip_details.can_we_reserved` | boolean | no | Indicates whether the IP address can be reserved | | `data.reserve_ip_details.reserve_ip_price` | string | no | Price of the reserved IP, including currency and optional tax note | | `data.reserve_ip_details.can_we_attach_detach_public_ip` | boolean | no | Indicates if a public IP can be attached or detached | | `data.reserve_ip_details.currency` | string | no | Three-letter ISO 4217 currency code for the reserved IP | | `data.ipv6_addresses` | array of string | no | | | `data.ipv6_allowed` | boolean | no | Indicates whether IPv6 traffic is permitted for the network. | | `data.public_ip_address` | string | no | The public IPv4 address assigned to the network. | | `data.private_ip_address` | string | no | The private IPv4 address assigned to the network interface. | | `data.additional_ip_with_pool` | array of string | no | | | `data.floating_ip_list` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": { "additional_ip": [ { "ip_address": "1.2.3.4" } ], "reserve_ip_details": { "is_limit_available": true, "is_already_reserved": true, "can_we_reserved": false, "reserve_ip_price": "INR 199.0 (excluding GST)", "can_we_attach_detach_public_ip": true, "currency": "INR" }, "ipv6_addresses": [ "3456:96c0:0100::99" ], "ipv6_allowed": true, "public_ip_address": "1.2.3.4", "private_ip_address": "10.2.3.4", "additional_ip_with_pool": [ "1.2.3.4" ], "floating_ip_list": [ "1.2.3.4" ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//networkdetail/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Perform Node Action" method: PUT path: "/api/v1/nodes/{node_id}/actions/" url: "/api/myaccount/operations/node-action/" --- # Perform Node Action `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/actions/` Performs a lifecycle, security, or rename action on a single node. The action is selected by the `type` field in the request body. Some actions require additional fields (see the `type` description below for the per-action contract). All actions return the same response envelope - `data.action_type` echoes the action that was performed. Long-running actions (`reinstall`, `save_images`) return `status: "done"` immediately to indicate the request was accepted; the node will transition through the actual workflow asynchronously. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region identifier for the target node | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `type` | one of `power_off`, `power_on`, `reboot`, `reinstall`, `save_images`, `rename`, `enable_recovery_mode`, `disable_recovery_mode`, `lock_vm`, `unlock_vm`, `enable_accidental_protection`, `disable_accidental_protection`, `enable_node_compliance`, `disable_node_compliance` | yes | Discriminator that selects which action to perform. Most actions require no additional fields; the two exceptions are `save_images` and `rename`, both of which require the `name` field below. Supported values and their semantics: - `power_off` - gracefully shut down the node. - `power_on` - boot a powered-off node. - `reboot` - reboot the node (soft reboot via the guest OS where possible). - `reinstall` - wipe the node and reinstall the same OS image. Destructive: all data on the root disk is lost. - `save_images` - capture the current root disk as a saved image template. Requires `name`. - `rename` - change the node's display name. Requires `name`. - `enable_recovery_mode` / `disable_recovery_mode` - toggle recovery-mode boot (mounts the root disk on a rescue image). - `lock_vm` / `unlock_vm` - administrative lock that blocks further actions until unlocked. - `enable_accidental_protection` / `disable_accidental_protection` - require an extra confirmation step before destructive actions. - `enable_node_compliance` / `disable_node_compliance` - toggle security-compliance mode (hardens the node per the platform's compliance baseline). | | `name` | string | no | Required when `type` is `save_images` (sets the name of the saved image template) or `rename` (sets the new node display name). Ignored for all other action types. | Example request: ```json { "type": "power_off", "name": "my-saved-image" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code. 200 indicates the action was accepted. | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the action record. | | `data.created_at` | string (date-time) | no | ISO 8601 timestamp when the action was created. | | `data.status` | one of `done`, `pending`, `failed` | no | Action completion status. `done` indicates the request was accepted and synchronous work has finished. Long-running actions may also return `pending`. | | `data.action_type` | string | no | Echo of the action that was performed. Usually matches the request's `type`, but compound actions may report a related internal step - for example `reinstall` returns `action_type: undeploy` while the reinstall workflow runs. | | `data.resource_id` | string | no | Numeric identifier of the affected node (as a string). | | `data.resource_name` | string | no | Display name of the affected node. | | `data.image_id` | string | no | Identifier of the saved image template. Only populated when `action_type` is `save_images`; empty string otherwise. | | `errors` | object | no | | | `message` | string | no | Human-readable status message. | Example 200 response: ```json { "code": 200, "data": { "id": 123456, "created_at": "2025-07-11T12:45:40.599874Z", "status": "done", "action_type": "power_off", "resource_id": "12345", "resource_name": "C3-8GB-784", "image_id": "" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"type":"power_off","name":"my-saved-image"}' ``` --- --- title: "OS Category" method: GET path: "/api/v1/images/os-category/" url: "/api/myaccount/operations/os-category/" --- # OS Category `GET https://api.e2enetworks.com/myaccount/api/v1/images/os-category/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location filter for OS Category queries | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the response | | `data` | object | no | | | `data.category_list` | array of object | no | | | `data.category_list[].OS` | string | no | Operating system name for the category | | `data.category_list[].version` | array of object | no | | | `data.category_list[].version[].number_of_domains` | string | no | Number of domains associated with the version. | | `data.category_list[].version[].os` | string | no | Operating system name for the version entry | | `data.category_list[].version[].version` | string | no | Version identifier of the OS category | | `data.category_list[].version[].sub_category` | string | no | Operating system sub-category name | | `data.category_list[].version[].software_version` | string | no | Version identifier of the software | | `data.category_list[].category` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message of the response | Example 200 response: ```json { "code": 200, "data": { "category_list": [ { "OS": "Ubuntu", "version": [ { "number_of_domains": "string", "os": "Ubuntu", "version": "24.04", "sub_category": "Ubuntu", "software_version": "" } ], "category": [ "Linux Virtual Node" ] } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/os-category/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "OS Plans" method: GET path: "/api/v1/images/" url: "/api/myaccount/operations/os-plans/" --- # OS Plans `GET https://api.e2enetworks.com/myaccount/api/v1/images/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `category` | string | no | Filters OS plans by operating system category | | `osversion` | string | no | Operating system version filter for OS plans | | `os` | string | no | Operating system name used to filter plans | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | E2E Myaccount region identifier for the OS plan query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the OS Plans response | | `data` | array of object | no | | | `data[].name` | string | no | Name of the OS plan | | `data[].plan` | string | no | Identifier for the OS plan | | `data[].image` | string | no | Name of the operating system distribution for the plan | | `data[].os` | object | no | | | `data[].os.name` | string | no | Operating system name for the plan | | `data[].os.version` | string | no | Operating system version string | | `data[].os.image` | string | no | Name of the operating system image | | `data[].os.category` | string | no | Operating system category name | | `data[].location` | string | no | Name of the city where the OS plan is offered | | `data[].specs` | object | no | | | `data[].specs.id` | string | no | Unique identifier for the OS plan | | `data[].specs.sku_name` | string | no | Name of the SKU for the OS plan | | `data[].specs.ram` | string | no | Amount of RAM in gigabytes | | `data[].specs.cpu` | integer | no | Number of CPU cores allocated to the OS plan | | `data[].specs.disk_space` | integer | no | Disk space allocated for the OS plan, measured in gigabytes. | | `data[].specs.price_per_month` | integer | no | Monthly price of the OS plan in cents | | `data[].specs.price_per_hour` | number | no | Hourly price of the OS plan | | `data[].specs.series` | string | no | Identifier for the OS plan series | | `data[].specs.minimum_billing_amount` | integer | no | Minimum billing amount for the OS plan | | `data[].specs.committed_sku` | array of object | no | | | `data[].specs.committed_sku[].committed_sku_id` | integer | no | Identifier of the committed SKU | | `data[].specs.committed_sku[].committed_sku_name` | string | no | Name of the committed SKU, including duration and price | | `data[].specs.committed_sku[].committed_node_message` | string | no | Message describing the reserved committed node, its reservation period, and cost. | | `data[].specs.committed_sku[].committed_sku_price` | number | no | Price of the committed SKU | | `data[].specs.committed_sku[].committed_upto_date` | string | no | Date up to which the SKU is committed | | `data[].specs.committed_sku[].committed_days` | integer | no | Number of days the SKU is committed for | | `data[].specs.family` | string | no | Name of the OS plan family | | `data[].cpu_type` | string | no | type of CPU offered in the OS plan | | `data[].gpu_card_details` | object | no | | | `data[].node_description` | string | no | HTML-formatted description of the OS plan | | `data[].installed_application_version` | object | no | | | `data[].can_support_bitninja` | object | no | | | `data[].can_support_bitninja.show_bitninja` | boolean | no | Indicates whether the BitNinja support option is shown | | `data[].can_support_bitninja.bitninja_cost` | integer | no | Cost associated with BitNinja support for the plan | | `data[].bitninja_discount_percentage` | integer | no | Discount percentage applied to the BitNinja plan | | `data[].available_inventory_status` | boolean | no | Indicates whether inventory is available for the OS plan | | `data[].currency` | string | no | Three-letter ISO 4217 currency code for the plan | | `data[].is_blockstorage_attachable` | boolean | no | Indicates if block storage can be attached to the OS plan. | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the response | Example 200 response: ```json { "code": 200, "data": [ { "name": "C3.8GB", "plan": "C3-4vCPU-8RAM-100DISK-C3-Onetemplate-Ubuntu24.04-Delhi", "image": "Ubuntu-24.04-Distro", "os": { "name": "Ubuntu", "version": "24.04", "image": "Ubuntu-24.04-Distro", "category": "Ubuntu" }, "location": "Delhi", "specs": { "id": "1088", "sku_name": "C3.8GB", "ram": "8.00", "cpu": 4, "disk_space": 100, "price_per_month": 2263, "price_per_hour": 3.1, "series": "C3", "minimum_billing_amount": 0, "committed_sku": [ { "committed_sku_id": 1234, "committed_sku_name": "1095 Days Committed , Rs. 48880.8", "committed_node_message": "This committed node will be reserved for next 1095 days ( till 08-June-2028 08:56). The cost Rs. 48880.8 of this node will be added in next invoice.", "committed_sku_price": 1234.5, "committed_upto_date": "08-June-2028 08:56", "committed_days": 1095 } ], "family": "CPU Intensive 3rd Generation" }, "cpu_type": "vCPU", "gpu_card_details": {}, "node_description": "
\r\n

\r\n This image is built with minimal packages to ensure \r\n optimal performance, security, and reliability. It comes preinstalled with \r\n monitoring and backup agents and supports SSH access for seamless user login and management.\r\n

\r\n\r\n

Last updated: 01/04/2025

\r\n\r\nFeatures:\r\n
    \r\n
  • Kernel Version: Linux 6.8.0-56-generic
  • \r\n
  • SELinux: Disabled
  • \r\n
  • OS Version: Ubuntu 24.04.2 LTS
  • \r\n
  • SSH: OpenSSH_9.6
  • \r\n
\r\n\r\nPreinstalled Packages:\r\n
    \r\n
  • Contextualization scripts: one-context (6.6.1-1)
  • \r\n
  • Monitoring: Zabbix-agent (7.0.11)
  • \r\n
  • SBM Backups: cdp-agent (R1soft 6.0.0)
  • \r\n
\r\n\r\n

\r\n Community-driven open-source software ensures a consistent and manageable platform, \r\n making it suitable for a wide variety of deployments.\r\n


", "installed_application_version": {}, "can_support_bitninja": { "show_bitninja": true, "bitninja_cost": 760 }, "bitninja_discount_percentage": 0, "available_inventory_status": true, "currency": "INR", "is_blockstorage_attachable": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Pause/Resume Alert" method: PUT path: "/api/v1/monitoring/single-service/stop_resume_alert/{trigger_id}/" url: "/api/myaccount/operations/pause-resume-alert/" --- # Pause/Resume Alert `PUT https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert/{trigger_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `trigger_id` | string | yes | Path parameter `trigger_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key for authenticating the request | | `location` | string | yes | Specifies the E2E Myaccount location for the pause or resume operation | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"action_type\": \"pause_alert\"\n // \"action_type\": \"resume_alert\"\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the pause or resume alert request | | `data` | string | no | String value returned in the response for a pause or resume alert operation | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the pause or resume operation | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Alert paused successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"action_type\": \"pause_alert\"\n // \"action_type\": \"resume_alert\"\n}"' ``` --- --- title: "Create Snapshot" method: POST path: "/api/v1/block_storage/{block_id}/snapshot/" url: "/api/myaccount/operations/post-block-storage-block-id-snapshot/" --- # Create Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/snapshot/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | Example request: ```json { "name": "snapshot-884" } ``` ## Responses ### 200 Successful response indicating that the snapshot is in process. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.image_id` | integer | no | | | `data.snapshot_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "image_id": 25549, "snapshot_id": 1 }, "errors": {}, "message": "Snapshot in process." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"snapshot-884"}' ``` --- --- title: "Import Volume" method: POST path: "/api/v1/block_storage/import/" url: "/api/myaccount/operations/post-block-storage-import/" --- # Import Volume `POST https://api.e2enetworks.com/myaccount/api/v1/block_storage/import/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the volume image. | | `size` | integer | yes | Size of the volume image in GB. | | `iops` | integer | yes | Input/output operations per second for the volume image. | | `path_url` | string (uri) | yes | URL of the Volume image. Currently, only raw format is allowed. | Example request: ```json { "name": "test-volume", "size": 250, "iops": 5000, "path_url": "https://objectstore.e2enetworks.net/test-volume/vol-11.raw" } ``` ## Responses ### 200 Volume imported successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.image_name` | string | no | | | `data.resource_type` | string | no | | | `data.label_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 31937, "image_name": "meghna", "resource_type": "string", "label_id": 0 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage/import/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"test-volume","size":250,"iops":5000,"path_url":"https://objectstore.e2enetworks.net/test-volume/vol-11.raw"}' ``` --- --- title: "Create Volume" method: POST path: "/api/v1/block_storage/" url: "/api/myaccount/operations/post-block-storage/" --- # Create Volume `POST https://api.e2enetworks.com/myaccount/api/v1/block_storage/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | | `size` | integer | yes | | | `iops` | integer | yes | | Example request: ```json { "name": "V_250GB_452", "size": 250, "iops": 5000 } ``` ## Responses ### 200 A successful response containing image details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code | | `data` | object | no | | | `data.id` | integer | no | Unique identifier for the image | | `data.image_name` | string | no | Name of the image | | `data.resource_type` | string | no | Type of the resource associated with the image | | `data.label_id` | integer | no | Identifier for the label associated with the image | | `errors` | object | no | Any errors that occurred during the operation (if applicable) | | `message` | string | no | Response message indicating success | Example 200 response: ```json { "code": 200, "data": { "id": 25550, "image_name": "V_250GB_45211qqq11", "resource_type": null, "label_id": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"V_250GB_452","size":250,"iops":5000}' ``` --- --- title: "Create CDN distribution" method: POST path: "/api/v1/cdn/distributions/" url: "/api/myaccount/operations/post-cdn-distributions/" --- # Create CDN distribution `POST https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `source` | string | no | | | `domain_name` | string | no | | | `origin_details` | object | no | | | `origin_details.origin_path` | string | no | | | `origin_details.origin_id` | string | no | | | `origin_details.ssl_protocol` | string | no | | | `origin_details.protocol_policy` | string | no | | | `origin_details.response_timeout` | integer | no | | | `origin_details.keepalive_timeout` | integer | no | | | `cache_details` | object | no | | | `cache_details.viewer_protocol_policy` | string | no | | | `cache_details.allowed_http_methods` | string | no | | | `cache_details.min_ttl` | integer | no | | | `cache_details.max_ttl` | integer | no | | | `cache_details.default_ttl` | integer | no | | | `domain_details` | object | no | | | `domain_details.http_versions` | string | no | | | `domain_details.root_object` | string | no | | | `domain_details.is_ipv6_supported` | boolean | no | | Example request: ```json { "source": "cdn", "domain_name": "e2enetworks.com", "origin_details": { "origin_path": "/static", "origin_id": "e2enetworks.com", "ssl_protocol": "TLSv1.2", "protocol_policy": "https-only", "response_timeout": 30, "keepalive_timeout": 5 }, "cache_details": { "viewer_protocol_policy": "https-only", "allowed_http_methods": "GET|HEAD", "min_ttl": 0, "max_ttl": 3153000, "default_ttl": 86400 }, "domain_details": { "http_versions": "http2", "root_object": "", "is_ipv6_supported": false } } ``` ## Responses ### 200 Distribution creation successful. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.message` | string | no | | | `data.domain_id` | string | no | | | `data.response_domain` | string | no | | | `data.resource_type` | string | no | | | `data.label_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "message": "Your Distribution has been created successfully. It will take upto 30 minutes to deploy. Please wait.", "domain_id": "ENZYVCZPO9X4L", "response_domain": "docs1g047zlrhx.cdn.e2enetworks.net", "resource_type": null, "label_id": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"source":"cdn","domain_name":"e2enetworks.com","origin_details":{"origin_path":"/static","origin_id":"e2enetworks.com","ssl_protocol":"TLSv1.2","protocol_policy":"https-only","response_timeout":30,"keepalive_timeout":5},"cache_details":{"viewer_protocol_policy":"https-only","allowed_http_methods":"GET|HEAD","min_ttl":0,"max_ttl":3153000,"default_ttl":86400},"domain_details":{"http_versions":"http2","root_object":"","is_ipv6_supported":false}}' ``` --- --- title: "CDN Bandwidth usage" method: POST path: "/api/v1/cdn/domain-usage/" url: "/api/myaccount/operations/post-cdn-domain-usage/" --- # CDN Bandwidth usage `POST https://api.e2enetworks.com/myaccount/api/v1/cdn/domain-usage/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `domain` | string | yes | | | `end_date` | string (date) | yes | | | `granularity` | string | yes | | | `start_date` | string (date) | yes | | Example request: ```json { "domain": "all", "end_date": "2022-05-19", "granularity": "daily", "start_date": "2022-05-04" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/domain-usage/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"domain":"all","end_date":"2022-05-19","granularity":"daily","start_date":"2022-05-04"}' ``` --- --- title: "Request for CDN" method: POST path: "/api/v1/cdn/request-for-cdn-service/" url: "/api/myaccount/operations/post-cdn-request-for-cdn-service/" --- # Request for CDN `POST https://api.e2enetworks.com/myaccount/api/v1/cdn/request-for-cdn-service/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `reason` | string | no | | Example request: ```json { "reason": "testing" } ``` ## Responses ### 202 Request for CDN service created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 202 response: ```json { "code": 202, "data": {}, "errors": {}, "message": "Request for CDN service created successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/request-for-cdn-service/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"reason":"testing"}' ``` --- --- title: "Scan Tag" method: POST path: "/api/v1/container_registry/artifacts-scan/" url: "/api/myaccount/operations/post-container-registry-artifacts-scan/" --- # Scan Tag `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/artifacts-scan/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `project_name` | string | no | | | `repository_name` | string | no | | | `reference` | string | no | | | `action` | string | no | | Example request: ```json { "project_name": "cr-39269", "repository_name": "testing", "reference": "sha256:68a82b4778f7222526659d7d426958966fc31a09daacac166c5be924c44d6b50", "action": "start" } ``` ## Responses ### 200 Vulnerability scan initiated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "SCANNING STARTED SUCCESSFULLY", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/artifacts-scan/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"project_name":"cr-39269","repository_name":"testing","reference":"sha256:68a82b4778f7222526659d7d426958966fc31a09daacac166c5be924c44d6b50","action":"start"}' ``` --- --- title: "Scan Container Registry" method: POST path: "/api/v1/container_registry/projects-scanner/" url: "/api/myaccount/operations/post-container-registry-projects-scanner/" --- # Scan Container Registry `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-scanner/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `project_name` | string | no | | Example request: ```json { "project_name": "cr-39269" } ``` ## Responses ### 200 Container Registry tags retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ [ null ] ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/projects-scanner/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"project_name":"cr-39269"}' ``` --- --- title: "Test Connection" method: POST path: "/api/v1/container_registry/registries/ping/" url: "/api/myaccount/operations/post-container-registry-registries-ping/" --- # Test Connection `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/ping/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `registry_type` | string | no | | | `registry_name` | string | no | | | `registry_description` | string | no | | | `registry_url` | string | no | | | `registry_insecure` | boolean | no | | | `access_key` | string | no | | | `access_secret` | string | no | | Example request: ```json { "registry_type": "docker-hub", "registry_name": "source-registry", "registry_description": "docker hub source registry", "registry_url": "https://hub.docker.com", "registry_insecure": true, "access_key": "", "access_secret": "" } ``` ## Responses ### 200 Connection test completed successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Connection Testing Successfull" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/ping/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"registry_type":"docker-hub","registry_name":"source-registry","registry_description":"docker hub source registry","registry_url":"https://hub.docker.com","registry_insecure":true,"access_key":"","access_secret":""}' ``` --- --- title: "Add Source Registry" method: POST path: "/api/v1/container_registry/registries/" url: "/api/myaccount/operations/post-container-registry-registries/" --- # Add Source Registry `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `registry_type` | string | no | | | `registry_name` | string | no | | | `registry_description` | string | no | | | `registry_url` | string | no | | | `registry_insecure` | boolean | no | | | `access_key` | string | no | | | `access_secret` | string | no | | Example request: ```json { "registry_type": "docker-hub", "registry_name": "source-registry", "registry_description": "docker hub source registry", "registry_url": "https://hub.docker.com", "registry_insecure": true, "access_key": "", "access_secret": "" } ``` ## Responses ### 200 Registry created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.registry_details` | object | no | | | `data.registry_details.creation_time` | string (date-time) | no | | | `data.registry_details.credential` | object | no | | | `data.registry_details.credential.access_key` | string | no | | | `data.registry_details.credential.access_secret` | string | no | | | `data.registry_details.credential.type` | string | no | | | `data.registry_details.description` | string | no | | | `data.registry_details.id` | integer | no | | | `data.registry_details.insecure` | boolean | no | | | `data.registry_details.name` | string | no | | | `data.registry_details.status` | string | no | | | `data.registry_details.type` | string | no | | | `data.registry_details.update_time` | string (date-time) | no | | | `data.registry_details.url` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "registry_details": { "creation_time": "2025-04-29T09:54:19.843Z", "credential": { "access_key": "", "access_secret": "*****", "type": "basic" }, "description": "docker hub source registry", "id": 50, "insecure": true, "name": "source-registry", "status": "healthy", "type": "docker-hub", "update_time": "2025-04-29T09:54:19.843Z", "url": "https://hub.docker.com" } }, "errors": {}, "message": "Registry Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"registry_type":"docker-hub","registry_name":"source-registry","registry_description":"docker hub source registry","registry_url":"https://hub.docker.com","registry_insecure":true,"access_key":"","access_secret":""}' ``` --- --- title: "Execute Replication Rule" method: POST path: "/api/v1/container_registry/replication/executions/" url: "/api/myaccount/operations/post-container-registry-replication-executions/" --- # Execute Replication Rule `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `policy_id` | integer | no | | Example request: ```json { "policy_id": 11 } ``` ## Responses ### 200 Replication policy execution created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.end_time` | string (date-time) | no | | | `data.failed` | integer | no | | | `data.id` | integer | no | | | `data.in_progress` | integer | no | | | `data.policy_id` | integer | no | | | `data.start_time` | string (date-time) | no | | | `data.status` | string | no | | | `data.status_text` | string | no | | | `data.stopped` | integer | no | | | `data.succeed` | integer | no | | | `data.total` | integer | no | | | `data.trigger` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "end_time": "0001-01-01T00:00:00.000Z", "failed": 0, "id": 12345, "in_progress": 0, "policy_id": 35, "start_time": "2025-04-29T10:59:47.422Z", "status": "InProgress", "status_text": "", "stopped": 0, "succeed": 0, "total": 0, "trigger": "manual" }, "errors": {}, "message": "Policy Execution Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"policy_id":11}' ``` --- --- title: "Create Replication Rules" method: POST path: "/api/v1/container_registry/replication/policies/" url: "/api/myaccount/operations/post-container-registry-replication-policies/" --- # Create Replication Rules `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `policy_name` | string | no | | | `policy_description` | string | no | | | `registry_id` | integer | no | | | `flattening_level` | integer | no | | | `trigger_type` | string | no | | | `trigger_value` | string | no | | | `replicate_deletion` | boolean | no | | | `override` | boolean | no | | | `filters` | array of object | no | | | `enabled` | boolean | no | | Example request: ```json { "policy_name": "replication-ruled", "policy_description": null, "registry_id": 40, "flattening_level": -1, "trigger_type": "manual", "trigger_value": null, "replicate_deletion": false, "override": true, "filters": [], "enabled": true } ``` ## Responses ### 200 Replication policy created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.replication_details` | object | no | | | `data.replication_details.copy_by_chunk` | boolean | no | | | `data.replication_details.creation_time` | string (date-time) | no | | | `data.replication_details.dest_namespace` | string | no | | | `data.replication_details.dest_namespace_replace_count` | integer | no | | | `data.replication_details.dest_registry` | object | no | | | `data.replication_details.dest_registry.creation_time` | string (date-time) | no | | | `data.replication_details.dest_registry.credential` | object | no | | | `data.replication_details.dest_registry.credential.access_secret` | string | no | | | `data.replication_details.dest_registry.credential.type` | string | no | | | `data.replication_details.dest_registry.id` | integer | no | | | `data.replication_details.dest_registry.insecure` | boolean | no | | | `data.replication_details.dest_registry.name` | string | no | | | `data.replication_details.dest_registry.status` | string | no | | | `data.replication_details.dest_registry.type` | string | no | | | `data.replication_details.dest_registry.update_time` | string (date-time) | no | | | `data.replication_details.dest_registry.url` | string | no | | | `data.replication_details.enabled` | boolean | no | | | `data.replication_details.filters` | object | no | | | `data.replication_details.id` | integer | no | | | `data.replication_details.name` | string | no | | | `data.replication_details.override` | boolean | no | | | `data.replication_details.speed` | integer | no | | | `data.replication_details.src_registry` | object | no | | | `data.replication_details.src_registry.creation_time` | string (date-time) | no | | | `data.replication_details.src_registry.credential` | object | no | | | `data.replication_details.src_registry.credential.access_key` | string | no | | | `data.replication_details.src_registry.credential.access_secret` | string | no | | | `data.replication_details.src_registry.credential.type` | string | no | | | `data.replication_details.src_registry.description` | string | no | | | `data.replication_details.src_registry.id` | integer | no | | | `data.replication_details.src_registry.insecure` | boolean | no | | | `data.replication_details.src_registry.name` | string | no | | | `data.replication_details.src_registry.status` | string | no | | | `data.replication_details.src_registry.type` | string | no | | | `data.replication_details.src_registry.update_time` | string (date-time) | no | | | `data.replication_details.src_registry.url` | string | no | | | `data.replication_details.trigger` | object | no | | | `data.replication_details.trigger.trigger_settings` | object | no | | | `data.replication_details.trigger.type` | string | no | | | `data.replication_details.update_time` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "replication_details": { "copy_by_chunk": false, "creation_time": "2025-04-29T10:55:31.466Z", "dest_namespace": "cr-12345", "dest_namespace_replace_count": -1, "dest_registry": { "creation_time": "0001-01-01T00:00:00.000Z", "credential": { "access_secret": "*****", "type": "secret" }, "id": 0, "insecure": true, "name": "Local", "status": "healthy", "type": "harbor", "update_time": "0001-01-01T00:00:00.000Z", "url": "http://core:8080" }, "enabled": true, "filters": null, "id": 35, "name": "replication-ruled", "override": true, "speed": 0, "src_registry": { "creation_time": "2025-04-29T09:54:19.843Z", "credential": { "access_key": "", "access_secret": "*****", "type": "basic" }, "description": "docker hub source registry", "id": 50, "insecure": true, "name": "docker-source", "status": "healthy", "type": "docker-hub", "update_time": "2025-04-29T10:03:49.718Z", "url": "https://hub.docker.com" }, "trigger": { "trigger_settings": {}, "type": "manual" }, "update_time": "2025-04-29T10:55:31.466Z" } }, "errors": {}, "message": "Replication Policy Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"policy_name":"replication-ruled","policy_description":null,"registry_id":40,"flattening_level":-1,"trigger_type":"manual","trigger_value":null,"replicate_deletion":false,"override":true,"filters":[],"enabled":true}' ``` --- --- title: "Scan Repository" method: POST path: "/api/v1/container_registry/repository-scan/" url: "/api/myaccount/operations/post-container-registry-repository-scan/" --- # Scan Repository `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/repository-scan/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `project_name` | string | no | | | `repository_name` | string | no | | Example request: ```json { "project_name": "cr-39269", "repository_name": "cr-39269/nginx" } ``` ## Responses ### 200 Vulnerability scan status response. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ [ null ] ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/repository-scan/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"project_name":"cr-39269","repository_name":"cr-39269/nginx"}' ``` --- --- title: "Create Container Registry" method: POST path: "/api/v1/container_registry/setup-container-registry/" url: "/api/myaccount/operations/post-container-registry-setup-container-registry/" --- # Create Container Registry `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `project_name` | string | no | | | `prevent_vul` | one of `true`, `false` | no | | | `severity` | one of `low`, `medium`, `high`, `critical`, `none` | no | | Example request: ```json { "project_name": "cr-12345", "prevent_vul": "true", "severity": "none" } ``` ## Responses ### 200 Container Registry setup status retrieved successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.setup_status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "setup_status": "Container Registry Setup In Progress" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/?apikey=&location=&project_id=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"project_name":"cr-12345","prevent_vul":"true","severity":"none"}' ``` --- --- title: "Add Access Token" method: POST path: "/api/v1/container_registry/token/" url: "/api/myaccount/operations/post-container-registry-token/" --- # Add Access Token `POST https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `token_name` | string | no | | | `duration` | number | no | Duration in days or a special value like `-1` for non-expiry. | | `description` | string | no | | | `permissions` | array of array of string | no | | Example request: ```json { "token_name": "admin", "duration": -1, "description": "This token will never expire.", "permissions": [ "pull", "push" ] } ``` ## Responses ### 201 Credential secret created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.creation_time` | string (date-time) | no | | | `data.expires_at` | integer | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.secret` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "creation_time": "2025-04-29T12:16:28.842Z", "expires_at": -1, "id": 12345, "name": "", "secret": "" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/?apikey=&project_name=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"token_name":"admin","duration":-1,"description":"This token will never expire.","permissions":["pull","push"]}' ``` --- --- title: "Create DNS" method: POST path: "/api/v1/e2e_dns/forward/" url: "/api/myaccount/operations/post-e2e-dns-forward/" --- # Create DNS `POST https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `domain_name` | string | yes | | | `ip_addr` | string (ipv4) | yes | | Example request: ```json { "domain_name": "bunty.com", "ip_addr": "1.1.1.1" } ``` ## Responses ### 200 Successful response indicating domain creation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `data.id` | integer | no | | | `data.label_id` | integer | no | | | `data.resource_type` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "The domain was created successfully!", "id": 10279, "label_id": null, "resource_type": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/e2e_dns/forward/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"domain_name":"bunty.com","ip_addr":"1.1.1.1"}' ``` --- --- title: "Create SFS" method: POST path: "/api/v1/efs/create/" url: "/api/myaccount/operations/post-efs-create/" --- # Create SFS `POST https://api.e2enetworks.com/myaccount/api/v1/efs/create/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `efs_name` | string | yes | | | `efs_disk_size` | integer | yes | | | `efs_disk_iops` | integer | yes | | | `vpc_id` | integer | yes | | | `subnet_id` | string | no | | | `efs_plan_name` | string | yes | | | `encryption_passphrase` | string | no | | | `isEncryptionEnabled` | boolean | yes | | Example request: ```json { "efs_name": "sfs-993", "efs_disk_size": 250, "efs_disk_iops": 3750, "vpc_id": 43429, "subnet_id": "346", "efs_plan_name": "250 GB", "encryption_passphrase": "", "isEncryptionEnabled": true } ``` ## Responses ### 200 EFS volume created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.efs_id` | integer | no | | | `data.name` | string | no | | | `data.private_ip` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "efs_id": 1148, "name": "sfs-993", "private_ip": "10.9.218.8" }, "errors": {}, "message": "Setting Up your SFS will take 2-3 minutes." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs/create/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"efs_name":"sfs-993","efs_disk_size":250,"efs_disk_iops":3750,"vpc_id":43429,"subnet_id":"346","efs_plan_name":"250 GB","encryption_passphrase":"","isEncryptionEnabled":true}' ``` --- --- title: "EPFS Creation" method: POST path: "/api/v1/epfs/" url: "/api/myaccount/operations/post-epfs/" --- # EPFS Creation `POST https://api.e2enetworks.com/myaccount/api/v1/epfs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | | `size_in_gb` | integer | yes | | | `network_id` | integer | yes | | Example request: ```json { "name": "epfs-127", "size_in_gb": 1000, "network_id": 34872 } ``` ## Responses ### 201 Cluster created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.cluster_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "cluster_id": 145 }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/epfs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"epfs-127","size_in_gb":1000,"network_id":34872}' ``` --- --- title: "Create a Function" method: POST path: "/api/v1/faas/functions/" url: "/api/myaccount/operations/post-faas-functions/" --- # Create a Function `POST https://api.e2enetworks.com/myaccount/api/v1/faas/functions/` Creates a new function with provided configurations and uploads the code file. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `multipart/form-data` | Field | Type | Required | Description | |---|---|---|---| | `function_name` | string | yes | Unique name for the function | | `runtime` | one of `python-3.11-fastapi`, `python-3.11-flask`, `node-20-express`, `node-18-express`, `python-3.11-http`, `node-20-http`, `dotnet-7.0-http`, `php-8.2-http`, `go-1.21-http`, `python-3.9-http`, `gpu-pytorch-fastapi`, `gpu-pytorch-flask`, `gpu-tensorflow-fastapi`, `gpu-tensorflow-flask`, `custom-container-cpu` | yes | Runtime environment | | `memory` | one of `128`, `256`, `512`, `1024` | yes | Memory allocated to the function (in MB) | | `timeout` | string | yes | Timeout for the function (in seconds) | | `environment_variables` | string | yes | JSON string of environment variables | | `code_file` | string (binary) | yes | Zipped function source code (`.zip` file) | Example request: ```json { "function_name": "e2e-function-55619", "runtime": "python-3.11-fastapi", "memory": "128", "timeout": "15", "environment_variables": { "env_name": "env_value" }, "code_file": "string" } ``` ## Responses ### 200 Function created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.files` | array of object | no | | | `data.files[].file_path` | string | no | | | `data.files[].content` | string | no | | | `data.id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "files": [ { "file_path": "e2e-function-91786/func.py", "content": "from fastapi import FastAPI, Request\nfrom fastapi.middleware.cors import CORSMiddleware\nfrom pydantic import BaseModel\n\napp = FastAPI()\napp.add_middleware(CORSMiddleware, allow_origins=[\"*\"], allow_methods=[\"*\"], allow_headers=[\"*\"])\n\nclass Payload(BaseModel):\n name: str = \"World\"\n\n@app.get(\"/\")\nasync def get_handler():\n return {\"message\": \"Hello from FastAPI GET\"}\n\n@app.post(\"/\")\nasync def post_handler(payload: Payload):\n return {\"message\": f\"Hello, {payload.name}!\"}\n" } ], "id": 185 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/functions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: multipart/form-data' \ --data '{"function_name":"e2e-function-55619","runtime":"python-3.11-fastapi","memory":"128","timeout":"15","environment_variables":{"env_name":"env_value"},"code_file":"string"}' ``` --- --- title: "Activate Functions (FaaS)" method: POST path: "/api/v1/faas/namespace/" url: "/api/myaccount/operations/post-faas-namespace/" --- # Activate Functions (FaaS) `POST https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/` Activate Function (FaaS) on your E2E Myaccount . ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### content ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/namespace/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create Firewall" method: POST path: "/api/v1/fortigate/create" url: "/api/myaccount/operations/post-fortigate-create/" --- # Create Firewall `POST https://api.e2enetworks.com/myaccount/api/v1/fortigate/create` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `label` | string | yes | | | `name` | string | yes | | | `region` | string | yes | | | `plan` | string | yes | | | `image` | string | yes | | | `ssh_keys` | array of string | no | | | `start_scripts` | array of string | no | | | `backups` | boolean | no | | | `enable_bitninja` | boolean | no | | | `disable_password` | boolean | no | | | `is_saved_image` | boolean | no | | | `saved_image_template_id` | string | no | | | `reserve_ip` | string (ipv4) | no | | | `is_ipv6_availed` | boolean | no | | | `vpc_id` | integer | yes | | | `default_public_ip` | boolean | no | | | `ngc_container_id` | string | no | | | `cn_id` | integer | yes | | Example request: ```json { "label": "Default", "name": "Fortinet-7-01-Fortinet-835", "region": "ncr", "plan": "FTN-1vCPU-9RAM-20DISK-FTN.200V-Delhi", "image": "Fortinet-7.01-Fortinet", "ssh_keys": [], "start_scripts": [], "backups": false, "enable_bitninja": false, "disable_password": false, "is_saved_image": false, "saved_image_template_id": null, "reserve_ip": "164.52.192.48", "is_ipv6_availed": false, "vpc_id": 16791, "default_public_ip": false, "ngc_container_id": null, "cn_id": 3033 } ``` ## Responses ### 200 Successful response with VM details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.vm_id` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.public_ip_address` | string | no | | | `data.private_ip_address` | string | no | | | `data.backup` | boolean | no | | | `data.disk` | string | no | | | `data.status` | string | no | | | `data.vcpus` | string | no | | | `data.memory` | string | no | | | `data.plan` | string | no | | | `data.region` | string | no | | | `data.is_locked` | boolean | no | | | `data.zabbix_host_id` | integer | no | | | `data.zabbix_host_id_v2` | integer | no | | | `data.gpu` | string | no | | | `data.price` | string | no | | | `data.additional_ip` | array of string | no | | | `data.label` | string | no | | | `data.ssh_keys` | array of string | no | | | `data.is_active` | boolean | no | | | `data.scaler_id` | integer | no | | | `data.os_info` | object | no | | | `data.os_info.name` | string | no | | | `data.os_info.version` | string | no | | | `data.os_info.category` | string | no | | | `data.os_info.full_name` | string | no | | | `data.is_monitored` | boolean | no | | | `data.backup_status` | object | no | | | `data.backup_status.status` | string | no | | | `data.backup_status.detail` | string | no | | | `data.backup_status.node_id` | integer | no | | | `data.backup_status.is_encryption_enabled` | boolean | no | | | `data.location` | string | no | | | `data.monitor_status` | object | no | | | `data.monitor_status.status` | string | no | | | `data.monitor_status.reason` | string | no | | | `data.enable_bitninja_details` | object | no | | | `data.enable_bitninja_details.show_bitninja` | boolean | no | | | `data.enable_bitninja_details.bitninja_cost` | number | no | | | `data.is_bitninja_license_active` | boolean | no | | | `data.any_license_attached` | object | no | | | `data.any_license_attached.is_license_attached` | boolean | no | | | `data.any_license_attached.license_deletion_message` | string | no | | | `data.any_license_attached.mssql_license_attached` | boolean | no | | | `data.is_committed` | boolean | no | | | `data.audit_log_message` | string | no | | | `data.monitoring_tab_enabled` | boolean | no | | | `data.cdp_tab_enabled` | boolean | no | | | `data.alert_tab_enabled` | boolean | no | | | `data.bitninja_discount_percentage` | number (float) | no | | | `data.is_image_deleted` | boolean | no | | | `data.vpc_enabled` | boolean | no | | | `data.is_snapshot_allowed` | boolean | no | | | `data.is_fortigate_vm` | boolean | no | | | `data.rescue_mode_status` | string | no | | | `data.is_upgradable` | boolean | no | | | `data.abuse_flag` | boolean | no | | | `data.currency` | string | no | | | `data.vm_type` | string | no | | | `data.is_accidental_protection` | boolean | no | | | `data.project_name` | string | no | | | `data.resource_type` | string | no | | | `data.label_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 201190, "name": "Fortinet-7-01-Fortinet-835", "vm_id": 215851, "created_at": "2024-11-04T07:08:54.119879Z", "public_ip_address": "164.52.195.12", "private_ip_address": "10.15.86.8", "backup": false, "disk": "20 GB", "status": "Creating", "vcpus": "1", "memory": "9 GB", "plan": "FTN.100V", "region": null, "is_locked": false, "zabbix_host_id": null, "zabbix_host_id_v2": null, "gpu": "", "price": "Rs. 13.0/Hour or Rs. 9490.0 Monthly", "additional_ip": [], "label": "Default", "ssh_keys": [], "is_active": true, "scaler_id": null, "os_info": { "name": "Fortinet", "version": "7.01", "category": "", "full_name": "Fortinet 7.01 x86_64" }, "is_monitored": false, "backup_status": { "status": "backup_unsupported", "detail": "Backup Unsupported", "node_id": 201190, "is_encryption_enabled": false }, "location": "Delhi", "monitor_status": { "status": "not_activated", "reason": "" }, "enable_bitninja_details": { "show_bitninja": false, "bitninja_cost": 0 }, "is_bitninja_license_active": false, "any_license_attached": { "is_license_attached": false, "license_deletion_message": "", "mssql_license_attached": false }, "is_committed": true, "audit_log_message": null, "monitoring_tab_enabled": true, "cdp_tab_enabled": true, "alert_tab_enabled": true, "bitninja_discount_percentage": 0, "is_image_deleted": false, "vpc_enabled": true, "is_snapshot_allowed": false, "is_fortigate_vm": true, "rescue_mode_status": "Disabled", "is_upgradable": false, "abuse_flag": false, "currency": "INR", "vm_type": "committed_vm", "is_accidental_protection": false, "project_name": "default-project-17976", "resource_type": null, "label_id": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/fortigate/create?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"label":"Default","name":"Fortinet-7-01-Fortinet-835","region":"ncr","plan":"FTN-1vCPU-9RAM-20DISK-FTN.200V-Delhi","image":"Fortinet-7.01-Fortinet","ssh_keys":[],"start_scripts":[],"backups":false,"enable_bitninja":false,"disable_password":false,"is_saved_image":false,"saved_image_template_id":null,"reserve_ip":"164.52.192.48","is_ipv6_availed":false,"vpc_id":16791,"default_public_ip":false,"ngc_container_id":null,"cn_id":3033}' ``` --- --- title: "Create User Group" method: POST path: "/api/v1/iam/groups/" url: "/api/myaccount/operations/post-iam-groups/" --- # Create User Group `POST https://api.e2enetworks.com/myaccount/api/v1/iam/groups/` Creates a new User group with specified name, creator, and members. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the IAM group | | `created_by` | integer | yes | User ID of the creator | | `group_members` | array of integer | yes | List of user IDs to be added as group members | Example request: ```json { "name": "string", "created_by": 0, "group_members": [ 0 ] } ``` ## Responses ### 201 Group created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.zabbix_user_group_id` | integer | no | | | `data.member` | array of object | no | | | `data.member[].id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 6915, "name": "new", "zabbix_user_group_id": 33794, "member": [ { "id": 0 } ] }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/iam/groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","created_by":0,"group_members":[0]}' ``` --- --- title: "Export Custom Volume" method: POST path: "/api/v1/images/export-image/" url: "/api/myaccount/operations/post-images-export-image/" --- # Export Custom Volume `POST https://api.e2enetworks.com/myaccount/api/v1/images/export-image/` This API allows users to export a custom Volume from a public object storage URL. The image will be available under the user's account for use with compute resources. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `image_id` | integer | yes | Unique identifier of the image to be exported. | | `access_key` | string | yes | Access key for the destination bucket. | | `secret_key` | string | yes | Secret key corresponding to the access key. | | `bucket` | string | yes | Name of the target storage bucket. | | `region` | string | yes | Region where the image will be exported. | Example request: ```json { "image_id": 36759, "access_key": "IOVK20QGW17HLF77G8ZB", "secret_key": "0R86B58OGN6V9N9MAJJ89MAK2PCIA5FPETAAMKRR", "bucket": "vishnukant", "region": "Delhi" } ``` ## Responses ### 200 Volume is successfully Exported | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | yes | HTTP status code of the response | | `data` | object | yes | Response data (empty object if no data) | | `errors` | object | yes | Errors encountered (empty if none) | | `message` | string | yes | Response message | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/export-image/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"image_id":36759,"access_key":"IOVK20QGW17HLF77G8ZB","secret_key":"0R86B58OGN6V9N9MAJJ89MAK2PCIA5FPETAAMKRR","bucket":"vishnukant","region":"Delhi"}' ``` --- --- title: "Import Custom Image" method: POST path: "/api/v1/images/import-image/" url: "/api/myaccount/operations/post-images-import-image/" --- # Import Custom Image `POST https://api.e2enetworks.com/myaccount/api/v1/images/import-image/` This API allows users to import a custom VM image from a public object storage URL. The image will be available under the user's account for use with compute resources. **For genreating public url of image:** Make sure to check the [prerequisites for importing an image to E2E Cloud platform](https://docs.e2enetworks.com/docs/myaccount/node/troubleshoot/image-import-export/#custom-image-import). ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `image_name` | string | yes | Name to assign to the imported image | | `public_url` | string (uri) | yes | Publicly accessible URL of the image file | | `location` | string | yes | Region in which to import the image | | `os` | one of `Windows_bios`, `Windows_uefi`, `CentOS` | yes | Operating system type of the custom image | Example request: ```json { "image_name": "Window_Image_BIOS", "public_url": "https://bucket_name.objectstore.e2enetworks.net/test.img", "location": "Delhi", "os": "CentOS" } ``` ## Responses ### content ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images/import-image/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"image_name":"Window_Image_BIOS","public_url":"https://bucket_name.objectstore.e2enetworks.net/test.img","location":"Delhi","os":"CentOS"}' ``` --- --- title: "Create a new Tag" method: POST path: "/api/v1/label/" url: "/api/myaccount/operations/post-label/" --- # Create a new Tag `POST https://api.e2enetworks.com/myaccount/api/v1/label/` This endpoint allows you to create a new Tag in a specific project and location. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `label_name` | string | yes | | | `metadata` | string | yes | | Example request: ```json { "label_name": "new", "metadata": "test" } ``` ## Responses ### content ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"label_name":"new","metadata":"test"}' ``` --- --- title: "Create Read Replica" method: POST path: "/api/v1/rds/cluster/{Cluster_id}/add-slave" url: "/api/myaccount/operations/post-rds-cluster-cluster-id-add-slave/" --- # Create Read Replica `POST https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/add-slave` Creates a replica for an existing DBaaS cluster. **Request Flow:** 1. When `dest_location` is not provided, the API creates a read replica in the same region. 2. When `dest_location` is provided, the API creates a read replica in the destination region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `dest_location` | one of `Delhi`, `Chennai` | no | **Constraint:** - If `location` is **Delhi/Chennai**, select dest_location as **Delhi** or **Chennai**. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Success response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//add-slave?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data 'null' ``` --- --- title: "Promote Read Replica" method: POST path: "/api/v1/rds/cluster/{Cluster_id}/instance/{instance_id}/failover/" url: "/api/myaccount/operations/post-rds-cluster-cluster-id-instance-instance-id-failover/" --- # Promote Read Replica `POST https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/instance/{instance_id}/failover/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | | `instance_id` | integer | yes | Unique identifier of the DBaaS instance | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the DBaaS instance to be promoted during failover | | `group` | string | yes | Instance group name | | `public_ip_required` | boolean | yes | Whether a public IP should be assigned after failover | | `template_id` | integer | yes | Template ID to be used during failover | Example request: ```json { "name": "string", "group": "string", "public_ip_required": false, "template_id": 0 } ``` ## Responses ### 200 Failover operation initiated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | yes | | | `data` | object | yes | | | `data.message` | string | yes | | | `data.cluster_id` | integer | yes | | | `data.instance_id` | integer | yes | | | `errors` | object | yes | | | `message` | string | yes | | Example 200 response: ```json { "code": 200, "data": { "message": "Failover initiated successfully", "cluster_id": 8475, "instance_id": 17916 }, "errors": {}, "message": "Failover initiated successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//instance//failover/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","group":"string","public_ip_required":false,"template_id":0}' ``` --- --- title: "Restore Snapshot" method: POST path: "/api/v1/rds/cluster/{Cluster_id}/restore" url: "/api/myaccount/operations/post-rds-cluster-cluster-id-restore/" --- # Restore Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/restore` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | The n`ame of the DBaaS instance. | | `template_id` | string | yes | The template ID used for the DBaaS instance. | | `snapshot_id` | integer | yes | The snapshot ID associated with the DBaaS instance. Defaults to 0 if no snapshot is used. | Example request: ```json { "name": "vishnu", "template_id": "21", "snapshot_id": 0 } ``` ## Responses ### 200 DBaaS instance created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.status_title` | string | no | | | `data.status_actions` | array of string | no | | | `data.num_instances` | integer | no | | | `data.software` | object | no | | | `data.software.name` | string | no | | | `data.software.version` | string | no | | | `data.software.engine` | string | no | | | `data.master_node` | object | no | | | `data.master_node.node_name` | string | no | | | `data.master_node.instance_id` | integer | no | | | `data.master_node.cluster_id` | integer | no | | | `data.master_node.node_id` | integer | no | | | `data.master_node.vm_id` | integer | no | | | `data.master_node.port` | string | no | | | `data.master_node.public_ip_address` | string | no | | | `data.master_node.private_ip_address` | string | no | | | `data.master_node.allowed_ip_address` | object | no | | | `data.master_node.allowed_ip_address.whitelisted_ips` | array of string | no | | | `data.master_node.allowed_ip_address.temp_ips` | array of string | no | | | `data.master_node.allowed_ip_address.whitelisted_ips_tags` | array of string | no | | | `data.master_node.allowed_ip_address.temp_ips_tags` | array of string | no | | | `data.master_node.allowed_ip_address.whitelisting_in_progress` | boolean | no | | | `data.master_node.database` | object | no | | | `data.master_node.database.id` | integer | no | | | `data.master_node.database.username` | string | no | | | `data.master_node.database.database` | string | no | | | `data.master_node.database.pg_detail` | object | no | | | `data.master_node.ram` | string | no | | | `data.master_node.cpu` | string | no | | | `data.master_node.disk` | string | no | | | `data.master_node.status` | string | no | | | `data.master_node.db_status` | string | no | | | `data.master_node.created_at` | string | no | | | `data.master_node.plan` | object | no | | | `data.master_node.plan.name` | string | no | | | `data.master_node.plan.price` | string | no | | | `data.master_node.plan.template_id` | integer | no | | | `data.master_node.plan.ram` | string | no | | | `data.master_node.plan.cpu` | string | no | | | `data.master_node.plan.disk` | string | no | | | `data.master_node.plan.currency` | string | no | | | `data.master_node.plan.software` | object | no | | | `data.master_node.plan.software.name` | string | no | | | `data.master_node.plan.software.version` | string | no | | | `data.master_node.plan.software.engine` | string | no | | | `data.master_node.plan.available_inventory_status` | boolean | no | | | `data.master_node.plan.price_per_hour` | number | no | | | `data.master_node.plan.price_per_month` | number | no | | | `data.master_node.ssl` | boolean | no | | | `data.master_node.domain` | string | no | | | `data.master_node.public_port` | string | no | | | `data.connectivity_detail` | string | no | | | `data.vector_database_status` | string | no | | | `data.project_name` | string | no | | | `data.snapshot_exist` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 5278, "name": "vishnu", "status": "CREATING", "status_title": "Creating", "status_actions": [ [] ], "num_instances": 1, "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "master_node": { "node_name": "vishnu-Node-1", "instance_id": 10660, "cluster_id": 5278, "node_id": 214205, "vm_id": 229019, "port": "3306", "public_ip_address": "164.52.212.232", "private_ip_address": "10.17.10.9", "allowed_ip_address": { "whitelisted_ips": [ "string" ], "temp_ips": [ "string" ], "whitelisted_ips_tags": [ "string" ], "temp_ips_tags": [ "string" ], "whitelisting_in_progress": false }, "database": { "id": 5278, "username": "admin", "database": "DB-26322-2920", "pg_detail": {} }, "ram": "16 GB", "cpu": "4", "disk": "200 GB", "status": "Creating", "db_status": "Creating", "created_at": "06/Feb/2025 06:45 PM", "plan": { "name": "DBS.16GB", "price": "Rs. 9.0/Hour or Rs. 6570.0 Monthly", "template_id": 427, "ram": "16", "cpu": "4", "disk": "200", "currency": "INR", "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "available_inventory_status": true, "price_per_hour": 9, "price_per_month": 6570 }, "ssl": true, "domain": null, "public_port": null }, "connectivity_detail": "{'read_end_point': [], 'read_and_write_end_point': [], 'status': 'updating', 'type': 1}", "vector_database_status": "Disabled", "project_name": "default-project-33931", "snapshot_exist": false }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//restore?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"vishnu","template_id":"21","snapshot_id":0}' ``` --- --- title: "Create Snapshot" method: POST path: "/api/v1/rds/cluster/{Cluster_id}/snapshot" url: "/api/myaccount/operations/post-rds-cluster-cluster-id-snapshot/" --- # Create Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/snapshot` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | Example request: ```json { "name": "e12" } ``` ## Responses ### 200 Snapshot information successfully retrieved | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.snapshot_id` | integer | no | | | `data.snapshot_details` | object | no | | | `data.snapshot_details.name` | string | no | | | `data.snapshot_details.date` | string (date-time) | no | | | `data.snapshot_details.size` | string | no | | | `data.snapshot_details.snapshot_id` | integer | no | | | `data.cluster_id` | integer | no | | | `data.name` | string | no | | | `data.snapshot_uuid` | string (uuid) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "snapshot_id": 0, "snapshot_details": { "name": "vishnu_1738755602.780148", "date": "2025-02-05T11:40:03Z", "size": "190734", "snapshot_id": 0 }, "cluster_id": 5275, "name": "E2E-DBaaS-26322-6488", "snapshot_uuid": "22567090-1864-41b5-afd9-8b1b49c60724" }, "errors": {}, "message": "Manual Snapshot in Process." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//snapshot?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"e12"}' ``` --- --- title: "Create DBaaS" method: POST path: "/api/v1/rds/cluster/" url: "/api/myaccount/operations/post-rds-cluster/" --- # Create DBaaS `POST https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/` ## All DBaaS Plans Pick the software ID of the engine and version from this table, then get a template ID for it from [Get DBaaS Plans](/api/myaccount/operations/get-rds-plans/): the template ID picks the plan. | DBaaS Name | Software ID | | --- | --- | | MySQL 8.0 | 4 | | MariaDB 10.6 | 11 | | MariaDB 10.11 | 12 | | PostgreSQL 15.0 | 10 | | PostgreSQL 16.0 | 19 | | PostgreSQL 17.0 | 20 | | PostgreSQL 18.0 | 21 | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `software_id` | integer | yes | The engine and version, from the table above, such as `4` for MySQL 8.0 | | `template_id` | integer | yes | For checking machine specification | | `name` | string | yes | | | `group` | string | yes | it is a default group | | `public_ip_required` | boolean | yes | Optional If you want to select public IP | | `database` | object | yes | | | `database.user` | string | no | | | `database.password` | string | no | | | `database.dbaas_number` | integer | no | | | `database.name` | string | no | | | `vpcs` | array of object | no | | Example request: ```json { "software_id": 4, "template_id": 21, "name": "E2E-DBaaS-26322-7033", "group": "Default", "public_ip_required": true, "database": { "user": "admin", "password": "Vk@123456789123456789", "dbaas_number": 1, "name": "DB-26322-7033" }, "vpcs": [ { "target": "vpcs", "vpc_name": "VPC-528", "network_id": 31066, "ipv4_cidr": "10.7.214.0/23", "subnet_id": 347 } ] } ``` ## Responses ### 200 DB instance created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.status_title` | string | no | | | `data.status_actions` | array of object | no | | | `data.num_instances` | integer | no | | | `data.software` | object | no | | | `data.software.name` | string | no | | | `data.software.version` | string | no | | | `data.software.engine` | string | no | | | `data.master_node` | object | no | | | `data.master_node.node_name` | string | no | | | `data.master_node.instance_id` | integer | no | | | `data.master_node.cluster_id` | integer | no | | | `data.master_node.node_id` | integer | no | | | `data.master_node.vm_id` | integer | no | | | `data.master_node.port` | string | no | | | `data.master_node.public_ip_address` | string | no | | | `data.master_node.private_ip_address` | string | no | | | `data.master_node.allowed_ip_address` | object | no | | | `data.master_node.allowed_ip_address.whitelisted_ips` | array of object | no | | | `data.master_node.allowed_ip_address.temp_ips` | array of object | no | | | `data.master_node.allowed_ip_address.whitelisted_ips_tags` | array of object | no | | | `data.master_node.allowed_ip_address.temp_ips_tags` | array of object | no | | | `data.master_node.allowed_ip_address.whitelisting_in_progress` | boolean | no | | | `data.master_node.database` | object | no | | | `data.master_node.database.id` | integer | no | | | `data.master_node.database.username` | string | no | | | `data.master_node.database.database` | string | no | | | `data.master_node.database.pg_detail` | object | no | | | `data.master_node.ram` | string | no | | | `data.master_node.cpu` | integer | no | | | `data.master_node.disk` | string | no | | | `data.master_node.status` | string | no | | | `data.master_node.db_status` | string | no | | | `data.master_node.created_at` | string | no | | | `data.master_node.plan` | object | no | Plan details (can be an object or empty {}) | | `data.master_node.ssl` | boolean | no | | | `data.master_node.domain` | string | no | | | `data.master_node.public_port` | string | no | | | `data.master_node.committed_info` | string | no | | | `data.master_node.cluster_name` | string | no | | | `data.master_node.plan_name` | string | no | | | `data.connectivity_detail` | string | no | | | `data.vector_database_status` | string | no | | | `data.project_name` | string | no | | | `data.snapshot_exist` | boolean | no | | | `data.zookeeper_instances` | integer | no | | | `data.slave_instances` | integer | no | | | `data.isEncryptionEnabled` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 7809, "name": "E2E-DBaaS-28401-5664", "status": "CREATING", "status_title": "Creating", "status_actions": [], "num_instances": 1, "software": { "name": "MySQL", "version": "8.0", "engine": "Innodb" }, "master_node": { "node_name": "E2E-DBaaS-28401-5664-Node-1", "instance_id": 16334, "cluster_id": 7809, "node_id": 266882, "vm_id": 278862, "port": "3306", "public_ip_address": "164.52.212.190", "private_ip_address": "10.0.0.18", "allowed_ip_address": { "whitelisted_ips": [], "temp_ips": [], "whitelisted_ips_tags": [], "temp_ips_tags": [], "whitelisting_in_progress": false }, "database": { "id": 7802, "username": "admin", "database": "DB-28401-5664", "pg_detail": {} }, "ram": "16 GB", "cpu": 4, "disk": "200 GB", "status": "Creating", "db_status": "Creating", "created_at": "24/Sep/2025 12:09 PM", "plan": {}, "ssl": true, "domain": null, "public_port": null, "committed_info": null, "cluster_name": "", "plan_name": "e2e_public_cloud" }, "connectivity_detail": "{'read_end_point': [], 'read_and_write_end_point': [], 'status': 'updating', 'type': 1}", "vector_database_status": "Disabled", "project_name": "default-project-38742", "snapshot_exist": false, "zookeeper_instances": 0, "slave_instances": 0, "isEncryptionEnabled": false }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"software_id":4,"template_id":21,"name":"E2E-DBaaS-26322-7033","group":"Default","public_ip_required":true,"database":{"user":"admin","password":"Vk@123456789123456789","dbaas_number":1,"name":"DB-26322-7033"},"vpcs":[{"target":"vpcs","vpc_name":"VPC-528","network_id":31066,"ipv4_cidr":"10.7.214.0/23","subnet_id":347}]}' ``` --- --- title: "Sync Parameter Group" method: POST path: "/api/v1/rds/parameter-group/{pg_id}/sync" url: "/api/myaccount/operations/post-rds-parameter-group-pg-id-sync/" --- # Sync Parameter Group `POST https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/{pg_id}/sync` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response after syncing a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group//sync?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Create Parameter Group" method: POST path: "/api/v1/rds/parameter-group/" url: "/api/myaccount/operations/post-rds-parameter-group/" --- # Create Parameter Group `POST https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `template_id` | string | yes | | | `name` | string | yes | | | `description` | string | no | | Example request: ```json { "template_id": "1", "name": "meghna", "description": "" } ``` ## Responses ### 200 Successful response after creating a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"template_id":"1","name":"meghna","description":""}' ``` --- --- title: "Buy New License" method: POST path: "/api/v1/request-license/" url: "/api/myaccount/operations/post-request-license/" --- # Buy New License `POST https://api.e2enetworks.com/myaccount/api/v1/request-license/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `sku_id` | string | yes | | | `license_count` | integer | yes | | | `vcpus` | string | no | | | `public_ip` | string (ipv4) | yes | | | `private_ip` | string (ipv4) | yes | | | `node_os` | string | yes | | | `node_id` | integer | yes | | | `contact_type` | string | no | | | `license_name` | string | yes | | Example request: ```json { "sku_id": "977", "license_count": 1, "vcpus": "", "public_ip": "172.16.231.6", "private_ip": "172.16.231.6", "node_os": "CentOS", "node_id": 1, "contact_type": "", "license_name": "REMOTE DESKTOP LICENSE" } ``` ## Responses ### 200 Successful response with validation status | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.public_ip` | boolean | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "public_ip": false, "message": "Entered Public IP is not valid." }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/request-license/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"sku_id":"977","license_count":1,"vcpus":"","public_ip":"172.16.231.6","private_ip":"172.16.231.6","node_os":"CentOS","node_id":1,"contact_type":"","license_name":"REMOTE DESKTOP LICENSE"}' ``` --- --- title: "Convert Reserved IP to Floating IP" method: POST path: "/api/v1/reserve_ips/floating-ip/" url: "/api/myaccount/operations/post-reserve-ips-floating-ip/" --- # Convert Reserved IP to Floating IP `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `ip_address` | string | yes | | | `node_ids` | array of integer | yes | | Example request: ```json { "ip_address": "164.52.220.9", "node_ids": [ 244981 ] } ``` ## Responses ### 200 Reserved IP successfully converted to Floating IP | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.floating_ip_address` | string (ipv4) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "floating_ip_address": "163.52.193.52" }, "errors": {}, "message": "Floating IP conversion completed successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/floating-ip/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"ip_address":"164.52.220.9","node_ids":[244981]}' ``` --- --- title: "Attach / Detach / Live Reserve IP to a Node and Load Balancer" method: POST path: "/api/v1/reserve_ips/{ip_address}/actions/" url: "/api/myaccount/operations/post-reserve-ips-ip-address-actions/" --- # Attach / Detach / Live Reserve IP to a Node and Load Balancer `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/{ip_address}/actions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `ip_address` | string | yes | IP address | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | | | `type` | one of `attach`, `detach`, `live-reserve` | yes | | Example request: ```json { "vm_id": 259555, "type": "live-reserve" } ``` ## Responses ### 200 IP assigned/detached or live-reserved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips//actions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vm_id":259555,"type":"live-reserve"}' ``` --- --- title: "Reserve a New IP" method: POST path: "/api/v1/reserve_ips/" url: "/api/myaccount/operations/post-reserve-ips/" --- # Reserve a New IP `POST https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` Type: object ## Responses ### 200 Successful response containing the reserved IP details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.ip_address` | string | no | | | `data.status` | string | no | | | `data.bought_at` | string | no | | | `data.vm_id` | string | no | | | `data.vm_name` | string | no | | | `data.reserve_id` | integer | no | | | `data.appliance_type` | string | no | | | `data.reserved_type` | string | no | | | `data.project_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `is_limit_available` | boolean | no | | | `reserved_ip_details` | object | no | | | `reserved_ip_details.customer_max_limit` | integer | no | | | `reserved_ip_details.reserved_ips_count` | integer | no | | | `reserve_ip_price` | string | no | | | `currency` | string | no | | Example 200 response: ```json { "code": 200, "data": { "ip_address": "164.52.198.54", "status": "Available", "bought_at": "04-11-2024 10:37", "vm_id": null, "vm_name": "--", "reserve_id": 12662, "appliance_type": "--", "reserved_type": "AddonIP", "project_name": "default-project-17976" }, "errors": {}, "message": "Success", "is_limit_available": true, "reserved_ip_details": { "customer_max_limit": 10, "reserved_ips_count": 6 }, "reserve_ip_price": "INR 199.0 (excluding GST)", "currency": "INR" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/reserve_ips/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{}' ``` --- --- title: "Make Security Group default" method: POST path: "/api/v1/security_group/{security_grp_id}/mark-default/" url: "/api/myaccount/operations/post-security-group-security-grp-id-mark-default/" --- # Make Security Group default `POST https://api.e2enetworks.com/myaccount/api/v1/security_group/{security_grp_id}/mark-default/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `security_grp_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response when a security group is marked as default. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Security Group mark default successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//mark-default/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create New Security Group" method: POST path: "/api/v1/security_group/" url: "/api/myaccount/operations/post-security-group/" --- # Create New Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/security_group/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | | | `description` | string | no | | | `rules` | array of object | no | | | `rules[].network` | string | no | | | `rules[].rule_type` | one of `Inbound`, `Outbound` | no | | | `rules[].protocol_name` | string | no | | | `rules[].port_range` | string | no | | | `rules[].network_cidr` | string | no | | | `rules[].network_size` | integer | no | | | `rules[].vpc_id` | integer | no | | | `default` | boolean | no | | Example request: ```json { "name": "security_group_rule", "description": "", "rules": [ { "network": "any", "rule_type": "Inbound", "protocol_name": "Custom_TCP", "port_range": "21,22", "network_cidr": "--", "network_size": 1, "vpc_id": null } ], "default": false } ``` ## Responses ### 200 Successful response when a security group is created. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.resource_type` | string | no | | | `data.label_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "resource_type": null, "label_id": null }, "errors": {}, "message": "Security Group created successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"security_group_rule","description":"","rules":[{"network":"any","rule_type":"Inbound","protocol_name":"Custom_TCP","port_range":"21,22","network_cidr":"--","network_size":1,"vpc_id":null}],"default":false}' ``` --- --- title: "Add SSH Keys" method: POST path: "/api/v1/ssh_keys/" url: "/api/myaccount/operations/post-ssh-keys/" --- # Add SSH Keys `POST https://api.e2enetworks.com/myaccount/api/v1/ssh_keys/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `label` | string | yes | Label for the SSH key | | `ssh_key` | string | yes | Public SSH key | Example request: ```json { "label": "string", "ssh_key": "string" } ``` ## Responses ### 200 Successful response with SSH key details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.label` | string | no | | | `data.ssh_key` | string | no | | | `data.pk` | integer | no | | | `data.timestamp` | string | no | | | `data.project_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "label": "admin@Admins-MacBook-Pro.local", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/U9tLQjq6bc7M8N99rN0SY53Bp0ZGWr27/+sBLicZ2cGWMp58VtR9xkBYNkMrhy05Sao5g5OqfLOjYIgWXLMehZLvdUxx7ATDyKypg0I6GKtlAtB4V+b1b/IFJ8wNoIPEP4gJakb8y9yfAzBvtjx90k0m6HflwS15brsgGPOF82OuHVioWiusrdWhr5qIKrpz/yw69Srsa9nDx4YIZ8oe6pM5XW7mV+YxKdzWE9cYbw6yYKm7YxRCI8x87dyO3GeEZMZfGdeFNrHL8dc/wP+dyakeAwDq173lVNsqsO2eTEyf1tGO/BJaMH/m8JaXBbJbIjnEGx3/q39MBxCGddTDFMgrEIg4ZeMbAqScJHIxMf1mVs3hLYW6WCzJ0Tllk7KAyWXSlxzdSqcOhaRPwzb9djXzYtyikFEsKhEpOTStr2fT6KcfZyZeORbfOHqeRRIKywLa39QVyzIp1GI3aXy85vwTwfDVqBB87xe6ocNXszARkRqamsCQflLmBpvVjME= admin@Admins-MacBook-Pro.local", "pk": 14398, "timestamp": "18/12/2024", "project_id": "35961" }, "errors": {}, "message": "Success" } ``` ### 400 Bad request due to duplicate key addition | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 400 response: ```json { "code": 400, "data": {}, "errors": "You cannot add the same key again", "message": "Bad Request" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/ssh_keys/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"label":"string","ssh_key":"string"}' ``` --- --- title: "Create a new SSO client" method: POST path: "/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/" url: "/api/myaccount/operations/post-sso-organizations-organization-id-realms-realm-id-clients/" --- # Create a new SSO client `POST https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/clients/` Creates a new SSO Client inside the specified Realm for an Organization. The client represents a service that will communicate with the SSO Realm. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | | `realm_id` | string | yes | Unique identifier of the Realm | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the SSO Client | Example request: ```json { "name": "idp-482005" } ``` ## Responses ### 201 SSO Client created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.client_id` | string | no | | | `data.id` | string | no | | | `data.name` | string | no | | | `data.root_url` | string | no | | | `data.redirect_uris` | array of string | no | | | `data.capabilities` | object | no | | | `data.client_settings` | object | no | | | `data.signature_settings` | object | no | | | `data.status` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "client_id": "https://myaccount.e2enetworks.net/api/v1/sso/organizations/019a7847-1ff1-7627-858c-c9de3fa3ff2c/realms/019a7847-2073-73a5-8144-d29e318ae4a2/sp_metadata", "id": "019a784f-6541-7eb7-bdf7-807c72d59f78", "name": "idp-482005", "root_url": "https://myaccount.e2enetworks.net/publicapi/v1/sso/organizations/019a7847-1ff1-7627-858c-c9de3fa3ff2c/acs/", "redirect_uris": [ "https://myaccountt.e2enetworks.net/publicapi/v1/sso/organizations/019a7847-1ff1-7627-858c-c9de3fa3ff2c/acs/" ], "capabilities": {}, "client_settings": {}, "signature_settings": {}, "status": "ACTIVE", "created_at": "2025-11-12T13:44:20.546060Z", "updated_at": "2025-11-12T13:44:22.089926Z" }, "errors": {}, "message": "Client created successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//realms//clients/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"idp-482005"}' ``` --- --- title: "Create a new Realm for an IdP organization" method: POST path: "/api/v1/sso/organizations/{organization_id}/realms/" url: "/api/myaccount/operations/post-sso-organizations-organization-id-realms/" --- # Create a new Realm for an IdP organization `POST https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/realms/` Creates a new Realm under a given organization to manage SSO configurations. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 201 Realm created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.realm` | object | no | | | `data.realm.ern` | string | no | | | `data.realm.organization_detail` | object | no | | | `data.realm.organization_detail.id` | string | no | | | `data.realm.organization_detail.ern` | string | no | | | `data.realm.organization_detail.org_ref` | string | no | | | `data.realm.organization_detail.name` | string | no | | | `data.realm.organization_detail.email` | string | no | | | `data.realm.organization_detail.domain` | string | no | | | `data.realm.organization_detail.customer_id` | string | no | | | `data.realm.organization_detail.status` | string | no | | | `data.realm.organization_detail.sso_enabled` | boolean | no | | | `data.realm.organization_detail.created_at` | string (date-time) | no | | | `data.realm.organization_detail.updated_at` | string (date-time) | no | | | `data.realm.name` | string | no | | | `data.realm.realm_type` | string | no | | | `data.realm.entity_id` | string | no | | | `data.realm.status` | string | no | | | `data.realm.acs_url` | string | no | | | `data.realm.created_at` | string (date-time) | no | | | `data.realm.updated_at` | string (date-time) | no | | | `data.realm.realm_id` | string | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "realm": { "ern": "ern:e2e:sso::019a7847-1ff1-7627-858c-c9de3fa3ff2c:realm/019a7847-2073-73a5-8144-d29e318ae4a2", "organization_detail": { "id": "019a7847-1ff1-7627-858c-c9de3fa3ff2c", "ern": "ern:e2e:organizations::master-account:organization/019a7847-1ff1-7627-858c-c9de3fa3ff2c", "org_ref": 112203638208, "name": "idp-482005", "email": null, "domain": null, "customer_id": "1790", "status": "ACTIVE", "sso_enabled": false, "created_at": "2025-11-12T13:35:18.515495Z", "updated_at": "2025-11-12T13:35:18.515536Z" }, "name": "idp-482005", "realm_type": "ENTERPRISE", "entity_id": "https://myaccount.e2enetworks.net/auth/realms/019a7847-2073-73a5-8144-d29e318ae4a2", "status": "ACTIVE", "acs_url": "https://myaccount.e2enetworks.net/auth/realms/019a7847-2073-73a5-8144-d29e318ae4a2/broker/saml/endpoint", "created_at": "2025-11-12T13:35:18.643540Z", "updated_at": "2025-11-12T13:35:34.046203Z", "realm_id": "019a7847-2073-73a5-8144-d29e318ae4a2" }, "message": "Realm \"idp-482005\" created successfully" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//realms/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create a new organization for an IdP" method: POST path: "/api/v1/sso/organizations/" url: "/api/myaccount/operations/post-sso-organizations/" --- # Create a new organization for an IdP `POST https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/` For creating a new IdP organization in E2E Cloud, you must follow the sequence of steps below after calling this API: 1. Create an Organization for the IdP. 2. Create a Realm for the newly created Organization. 3. Upload the Federation (IdP) Metadata XML file to the created Realm using the API: `POST /myaccount/api/v1/sso/organizations/{organization_id}/realms/{realm_id}/identity-sources/saml/idp-metadata/` 4. Create SSO Clients for the created Realm and organization. 5. Verify the client configurations and SSO setup. 6. Enable SSO for the Organization once all configurations are verified using Update IdP API. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the SSO organization | | `sso_enabled` | boolean | no | Whether SSO is enabled for the organization | Example request: ```json { "name": "idp-624178", "sso_enabled": false } ``` ## Responses ### 201 Organization created successfully | Field | Type | Required | Description | |---|---|---|---| | `id` | string | no | | | `ern` | string | no | | | `org_ref` | string | no | | | `name` | string | no | | | `email` | string | no | | | `domain` | string | no | | | `customer_id` | string | no | | | `status` | string | no | | | `sso_enabled` | boolean | no | | | `created_at` | string (date-time) | no | | | `updated_at` | string (date-time) | no | | Example 201 response: ```json { "id": "019a783b-8688-7578-a47a-25536922f02e", "ern": "ern:e2e:organizations::master-account:organization/019a783b-8688-7578-a47a-25536922f02e", "org_ref": 64058431970, "name": "idp-624178", "email": null, "domain": null, "customer_id": "1790", "status": "ACTIVE", "sso_enabled": false, "created_at": "2025-11-12T13:22:38.346570Z", "updated_at": "2025-11-12T13:22:38.346613Z" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"idp-624178","sso_enabled":false}' ``` --- --- title: "Create Bucket Replication" method: POST path: "/api/v1/storage/bucket-replication/" url: "/api/myaccount/operations/post-storage-bucket-replication/" --- # Create Bucket Replication `POST https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/` Replication rule can be added only if versioning in both buckets are enabled and they do not belong to the same region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `source_bucket` | string | no | | | `source_region` | string | no | | | `destination_bucket` | string | no | | | `destination_region` | string | no | | | `priority` | one of `1` | no | | Example request: ```json { "source_bucket": "first-bucket", "source_region": "Delhi", "destination_bucket": "second-bucket", "destination_region": "Chennai", "priority": "1" } ``` ## Responses ### 200 Replication rule created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.user` | integer | no | | | `data.source_bucket` | string | no | | | `data.destination_bucket` | string | no | | | `data.source_bucket_location` | string | no | | | `data.destination_bucket_location` | string | no | | | `data.enabled` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 123, "user": 12345, "source_bucket": "first-bucket", "destination_bucket": "second-bucket", "source_bucket_location": "Delhi", "destination_bucket_location": "Chennai", "enabled": true, "created_at": "2025-05-28T05:18:20.386151Z" }, "errors": {}, "message": "Success" } ``` ### 412 Precondition failed due to replication rule conflict. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "add-this-bucket to this-is-another-bucket replication rule already exists.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"source_bucket":"first-bucket","source_region":"Delhi","destination_bucket":"second-bucket","destination_region":"Chennai","priority":"1"}' ``` --- --- title: "Apply Legal hold (Object)" method: POST path: "/api/v1/storage/buckets/{bucket_name}/legalhold/object/" url: "/api/myaccount/operations/post-storage-buckets-bucket-name-legalhold-object/" --- # Apply Legal hold (Object) `POST https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/legalhold/object/` This API allows users to apply legal hold to an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `object_name` | string | no | | | `version_id` | string | no | | Example request: ```json { "object_name": "object_name", "version_id": "25273eed-1234-4bd2-96a1-a43a3aa44e43" } ``` ## Responses ### 200 Response indicating the legal hold status of the object or bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.legal_hold_status` | one of `true` | yes | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "legal_hold_status": true }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//legalhold/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"object_name":"object_name","version_id":"25273eed-1234-4bd2-96a1-a43a3aa44e43"}' ``` --- --- title: "Apply Governance Lock (Object)" method: POST path: "/api/v1/storage/buckets/{bucket_name}/lock/object/" url: "/api/myaccount/operations/post-storage-buckets-bucket-name-lock-object/" --- # Apply Governance Lock (Object) `POST https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/object/` This API allows users to apply governance lock to an object. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `object_name` | string | yes | Object Name with Directory. | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | | `version_id` | string | yes | Version ID | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `lock_mode` | one of `GOVERNANCE` | no | | | `retention_period` | integer | no | | Example request: ```json { "lock_mode": "GOVERNANCE", "retention_period": 3 } ``` ## Responses ### 200 Response indicating that object retention has been set | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket_name` | string | no | | | `data.object_name` | string | no | | | `data.version_id` | string | no | | | `data.lock_mode` | one of `GOVERNANCE` | no | | | `data.retained_until` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "bucket_name": "example-bucket", "object_name": "example-object.png", "version_id": "abc123-version-id", "lock_mode": "GOVERNANCE", "retained_until": "2025-05-30T12:24:35.844118" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/object/?apikey=&object_name=&project_id=&location=&version_id=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"lock_mode":"GOVERNANCE","retention_period":3}' ``` --- --- title: "Apply Governance Lock (Bucket)" method: POST path: "/api/v1/storage/buckets/{bucket_name}/lock/" url: "/api/myaccount/operations/post-storage-buckets-bucket-name-lock/" --- # Apply Governance Lock (Bucket) `POST https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/lock/` This API allows users to apply governance lock to a bucket. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `lock_mode` | one of `GOVERNANCE` | no | | | `retention_period` | integer | no | | Example request: ```json { "lock_mode": "GOVERNANCE", "retention_period": 3 } ``` ## Responses ### 200 Successful retrieval of the bucket retention policy. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket` | integer | no | | | `data.mode` | one of `GOVERNANCE` | no | | | `data.retention_period` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "bucket": 12345, "mode": "GOVERNANCE", "retention_period": 5, "created_at": "2025-05-27T13:50:12.651315Z", "updated_at": "2025-05-27T13:50:12.651385Z" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//lock/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"lock_mode":"GOVERNANCE","retention_period":3}' ``` --- --- title: "Create Object storage" method: POST path: "/api/v1/storage/buckets/{bucket_name}/" url: "/api/myaccount/operations/post-storage-buckets-bucket-name/" --- # Create Object storage `POST https://api.e2enetworks.com/myaccount/api/v1/storage/buckets/{bucket_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `is_lock_enabled` | boolean | no | Set to `true` to enable object lock, or `false` to disable it. | | `is_versioning_enabled` | boolean | no | Set to `true` to enable bucket versioning, or `false` to disable it. | | `is_encryption_enabled` | boolean | no | Set to `true` to enable bucket encryption, or `false` to disable it. | Example request: ```json { "is_lock_enabled": false, "is_versioning_enabled": true, "is_encryption_enabled": false } ``` ## Responses ### 200 Successfully created a bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.created_by` | integer | no | | | `data.status` | string | no | | | `data.used_MB` | number | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.versioning_status` | string | no | | | `data.lifecycle_configuration_status` | string | no | | | `data.is_lock_enabled` | boolean | no | | | `data.is_encryption_enabled` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 12352, "name": "test-bucket-112345", "created_by": 24778, "status": "NEW", "used_MB": null, "created_at": "2025-05-27T05:53:19.879549Z", "updated_at": "2025-05-27T05:53:19.879596Z", "versioning_status": "Enabled", "lifecycle_configuration_status": "Not-Configured", "is_lock_enabled": true, "is_encryption_enabled": true }, "errors": {}, "message": "Success" } ``` ### 412 Bucket creation failed due to precondition error | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "Bucket name is not available.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/buckets//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"is_lock_enabled":false,"is_versioning_enabled":true,"is_encryption_enabled":false}' ``` --- --- title: "Create Access Key" method: POST path: "/api/v1/storage/core/users/" url: "/api/myaccount/operations/post-storage-core-users/" --- # Create Access Key `POST https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `tag` | string | yes | | Example request: ```json { "tag": "hello" } ``` ## Responses ### 200 Create access key | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.my_account_id` | integer | no | | | `data.user_name` | string | no | | | `data.email` | string | no | | | `data.access_key` | string | no | | | `data.secret_key` | string | no | | | `data.is_default` | boolean | no | | | `data.disabled` | boolean | no | | | `data.tag` | string | no | | | `data.minio_host_url` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 1234, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "", "access_key": "A10TYXIKJXI2S9Q8NO5J", "secret_key": "NOOKEAF1CUMXLVKDU8OD3N0XXN7CNZNENI4LF1KL", "is_default": false, "disabled": false, "tag": "hello", "minio_host_url": "objectstore.e2enetworks.net" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"tag":"hello"}' ``` --- --- title: "Generate Pre-Signed URL" method: POST path: "/api/v1/storage/create-pre-signed-url/" url: "/api/myaccount/operations/post-storage-create-pre-signed-url/" --- # Generate Pre-Signed URL `POST https://api.e2enetworks.com/myaccount/api/v1/storage/create-pre-signed-url/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `object_name` | string | no | | | `url_type` | one of `POST` | no | | | `bucket_name` | string | no | | | `expiry_time` | integer | no | Expiration time of the URL in seconds. | | `object_version` | string | no | | Example request: ```json { "object_name": "{{object_name}}", "url_type": "POST", "bucket_name": "{{bucket_name}}", "expiry_time": 600, "object_version": "{{version_id}}" } ``` ## Responses ### 200 Signed URL for accessing an object in the bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.signed_url` | string (uri) | yes | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "signed_url": "https://objectstore.example.net/example-bucket/example.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE&X-Amz-Date=20250527T000000Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=abcdef1234567890" }, "errors": {}, "message": "Success" } ``` ### 412 Precondition Failed error response when bucket does not exist | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | string | no | | | `message` | string | no | | Example 412 response: ```json { "code": 412, "data": {}, "errors": "No Bucket with this name exist in this project.", "message": "Precondition Failed" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/create-pre-signed-url/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"object_name":"{{object_name}}","url_type":"POST","bucket_name":"{{bucket_name}}","expiry_time":600,"object_version":"{{version_id}}"}' ``` --- --- title: "Upgrade Secret" method: POST path: "/api/v1/vault/upgrade/{vault_id}" url: "/api/myaccount/operations/post-vault-upgrade-vault-id/" --- # Upgrade Secret `POST https://api.e2enetworks.com/myaccount/api/v1/vault/upgrade/{vault_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vault_id` | integer | yes | Secret (Vault) ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `plan_id` | integer | no | Plan ID for upgrading the secret | Example request: ```json { "plan_id": 0 } ``` ## Responses ### 200 Successful response when a secret is updated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Secret has been upgraded." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vault/upgrade/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"plan_id":0}' ``` --- --- title: "Create Secret" method: POST path: "/api/v1/vault/" url: "/api/myaccount/operations/post-vault/" --- # Create Secret `POST https://api.e2enetworks.com/myaccount/api/v1/vault/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the secret | | `plan_id` | integer | yes | Plan ID for the secret | Example request: ```json { "name": "string", "plan_id": 0 } ``` ## Responses ### 200 Successful response when a secret is created | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.vault_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "vault_id": 221 }, "errors": {}, "message": "Secret created successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vault/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","plan_id":0}' ``` --- --- title: "Create Tunnel" method: POST path: "/api/v1/vpc/tunnels/" url: "/api/myaccount/operations/post-vpc-tunnels/" --- # Create Tunnel `POST https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `is_peer_vpc_external` | boolean | no | Indicates whether the peer VPC is external or within the same network | | `name` | string | no | Unique name for the VPC peering connection | | `vpc_local_network_id` | integer | no | Identifier of the local VPC network | | `vpc_peer_network_id` | integer | no | Identifier of the peer VPC network | Example request: ```json { "is_peer_vpc_external": false, "name": "vpc-peer-VPC-573-01", "vpc_local_network_id": 1155, "vpc_peer_network_id": 1189 } ``` ## Responses ### 200 VPC Peering Creation Process Initiated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.local_vpc` | object | no | | | `data.local_vpc.id` | integer | no | | | `data.local_vpc.name` | string | no | | | `data.local_vpc.network_id` | integer | no | | | `data.local_vpc.is_active` | boolean | no | | | `data.local_vpc.created_at` | string (date-time) | no | | | `data.local_vpc.network_mask` | string | no | | | `data.local_vpc.ipv4_cidr` | string | no | | | `data.local_vpc.vm_count` | integer | no | | | `data.local_vpc.dns` | string | no | | | `data.local_vpc.gateway_ip` | string | no | | | `data.local_vpc.pool_size` | integer | no | | | `data.local_vpc.gateway_node` | object | no | | | `data.local_vpc.gateway_node.node_name` | string | no | | | `data.local_vpc.gateway_node.node_id` | integer | no | | | `data.local_vpc.gateway_node.ip_address_public` | string | no | | | `data.local_vpc.gateway_node.ip_address_private` | string | no | | | `data.local_vpc.gateway_node.state` | string | no | | | `data.local_vpc.state` | string | no | | | `data.local_vpc.project_name` | string | no | | | `data.local_vpc.location` | string | no | | | `data.peer_vpc` | object | no | | | `data.peer_vpc.id` | integer | no | | | `data.peer_vpc.name` | string | no | | | `data.peer_vpc.network_id` | integer | no | | | `data.peer_vpc.is_active` | boolean | no | | | `data.peer_vpc.created_at` | string (date-time) | no | | | `data.peer_vpc.network_mask` | string | no | | | `data.peer_vpc.ipv4_cidr` | string | no | | | `data.peer_vpc.vm_count` | integer | no | | | `data.peer_vpc.dns` | string | no | | | `data.peer_vpc.gateway_ip` | string | no | | | `data.peer_vpc.pool_size` | integer | no | | | `data.peer_vpc.gateway_node` | object | no | | | `data.peer_vpc.gateway_node.node_name` | string | no | | | `data.peer_vpc.gateway_node.node_id` | integer | no | | | `data.peer_vpc.gateway_node.ip_address_public` | string | no | | | `data.peer_vpc.gateway_node.ip_address_private` | string | no | | | `data.peer_vpc.gateway_node.state` | string | no | | | `data.peer_vpc.state` | string | no | | | `data.peer_vpc.project_name` | string | no | | | `data.peer_vpc.location` | string | no | | | `data.is_peer_vpc_external` | boolean | no | | | `data.local_ts` | string | no | | | `data.remote_ts` | string | no | | | `data.local_id` | string | no | | | `data.remote_id` | string | no | | | `data.customer` | integer | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 99, "name": "vpc-peer-VPC-573-01", "status": "CREATING", "local_vpc": { "id": 6834, "name": "VPC-573", "network_id": 1155, "is_active": true, "created_at": "2025-09-19T05:59:25.772020Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.100.246.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.100.246.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-573-gateway", "node_id": 265723, "ip_address_public": "151.185.32.178", "ip_address_private": "10.100.246.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "peer_vpc": { "id": 6908, "name": "VPC-385", "network_id": 1189, "is_active": true, "created_at": "2025-09-25T04:55:24.692984Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.101.6.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.101.6.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-385-gateway", "node_id": 267152, "ip_address_public": "151.185.32.197", "ip_address_private": "10.101.6.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "is_peer_vpc_external": false, "local_ts": "10.100.246.0/23", "remote_ts": "10.101.6.0/23", "local_id": "10.100.246.1", "remote_id": "10.101.6.1", "customer": 36787, "created_at": "2025-09-25T05:15:16.010562Z" }, "errors": {}, "message": "VPC Peering Creation Process Initiated!" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"is_peer_vpc_external":false,"name":"vpc-peer-VPC-573-01","vpc_local_network_id":1155,"vpc_peer_network_id":1189}' ``` --- --- title: "Create Subnet" method: POST path: "/api/v1/vpc/{VPC_NETWORK_ID}/subnet/" url: "/api/myaccount/operations/post-vpc-vpc-network-id-subnet/" --- # Create Subnet `POST https://api.e2enetworks.com/myaccount/api/v1/vpc/{VPC_NETWORK_ID}/subnet/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_NETWORK_ID` | integer | yes | VPC Network ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `ipv4` | string | no | Provide IPv4 Subnet CIDR Block | | `name` | string | no | | Example request: ```json { "ipv4": "10.10.0.16/28", "name": "Subnet-597" } ``` ## Responses ### 201 Created Successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.network_id` | integer | no | | | `data.is_credit_sufficient` | boolean | no | | | `data.project_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 30, "name": "Subnet-597", "network_id": 38187, "is_credit_sufficient": true, "project_id": "41534" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc//subnet/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"ipv4":"10.10.0.16/28","name":"Subnet-597"}' ``` --- --- title: "Create VPC" method: POST path: "/api/v1/vpc/" url: "/api/myaccount/operations/post-vpc/" --- # Create VPC `POST https://api.e2enetworks.com/myaccount/api/v1/vpc/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `ipv4` | string | no | Required if `is_e2e_vpc` is false. Do not provide this field if `is_e2e_vpc` is true, because the CIDR will be assigned automatically by E2E. | | `is_e2e_vpc` | boolean | no | | | `vpc_name` | string | no | | Example request: ```json { "ipv4": "10.10.0.0/23", "is_e2e_vpc": false, "vpc_name": "VPC-241" } ``` ## Responses ### 201 Created Successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.vpc_id` | integer | no | | | `data.vpc_name` | string | no | | | `data.network_id` | integer | no | | | `data.is_credit_sufficient` | boolean | no | | | `data.resource_type` | string | no | | | `data.label_id` | string | no | | | `data.project_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "vpc_id": 3956, "vpc_name": "VPC-765", "network_id": 27835, "is_credit_sufficient": true, "resource_type": null, "label_id": null, "project_id": "17925" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"ipv4":"10.10.0.0/23","is_e2e_vpc":false,"vpc_name":"VPC-241"}' ``` --- --- title: "Create Volume using snapshot" method: PUT path: "/api/v1/block_storage/{block_id}/restore/" url: "/api/myaccount/operations/put-block-storage-block-id-restore/" --- # Create Volume using snapshot `PUT https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/restore/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `iops` | integer | yes | Input/output operations per second for the block storage. | | `name` | string | yes | Name of the block storage. | | `snapshot_id` | integer | yes | ID of the snapshot used for the block storage. 0 indicates no snapshot. | | `vm_id` | integer | yes | ID of the virtual machine to which the block storage is attached. | Example request: ```json { "iops": 3750, "name": "Block_Storage_191", "snapshot_id": 0, "vm_id": 100157 } ``` ## Responses ### 200 Successful response indicating that the block storage snapshot restore is in process. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Block Storage Snapshot Restore in Process." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//restore/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"iops":3750,"name":"Block_Storage_191","snapshot_id":0,"vm_id":100157}' ``` --- --- title: "Detach Volume to Node" method: PUT path: "/api/v1/block_storage/{block_id}/vm/detach/" url: "/api/myaccount/operations/put-block-storage-block-id-vm-detach/" --- # Detach Volume to Node `PUT https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/vm/detach/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | | Example request: ```json { "vm_id": 100157 } ``` ## Responses ### 200 A successful response indicating the detach process has started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code | | `data` | object | no | | | `data.image_id` | integer | no | Identifier of the block storage image | | `data.vm_id` | integer | no | Identifier of the virtual machine from which the block storage is being detached | | `errors` | object | no | Any errors that occurred during the operation (if applicable) | | `message` | string | no | Response message indicating the operation result | Example 200 response: ```json { "code": 200, "data": { "image_id": 25549, "vm_id": 215996 }, "errors": {}, "message": "Block Storage Detach Process is Started." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//vm/detach/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vm_id":100157}' ``` --- --- title: "Upgrade Volume" method: PUT path: "/api/v1/block_storage/{block_id}/vm/upgrade/" url: "/api/myaccount/operations/put-block-storage-block-id-vm-upgrade/" --- # Upgrade Volume `PUT https://api.e2enetworks.com/myaccount/api/v1/block_storage/{block_id}/vm/upgrade/` **Notes:** - The volume must be attached to a node before it can be upgraded. - Volume cannot be upgraded when there exists a snapshot. Either delete the snapshot and then upgrade, or use the snapshot to create a new volume. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `block_id` | string | yes | Block ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | ID of the virtual machine the volume is attached to. | | `block_storage_size` | integer | yes | New size of the block storage in GB. | | `name` | string | yes | Updated name for the block storage. | Example request: ```json { "vm_id": 11584, "block_storage_size": 300, "name": "V_100GB_200" } ``` ## Responses ### 200 A successful response indicating block storage has been upgraded | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | Response status code | | `data` | object | no | | | `data.image_id` | integer | no | Identifier of the block storage image | | `data.vm_id` | integer | no | Identifier of the virtual machine the block storage is attached to | | `errors` | object | no | Any errors that occurred during the operation (if applicable) | | `message` | string | no | Response message indicating the operation result | Example 200 response: ```json { "code": 200, "data": { "image_id": 2020, "vm_id": 11584 }, "errors": {}, "message": "Block Storage is upgraded." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/block_storage//vm/upgrade/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vm_id":11584,"block_storage_size":300,"name":"V_100GB_200"}' ``` --- --- title: "Enable/Disable CDN distribuition" method: PUT path: "/api/v1/cdn/distributions/" url: "/api/myaccount/operations/put-cdn-distributions/" --- # Enable/Disable CDN distribuition `PUT https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `domain_id` | string | no | | | `is_enabled` | one of `false`, `true` | no | Enable CDN set is_enabled True else , To Disable set is_enabled False | Example request: ```json { "domain_id": "ENZYVCZPO9X4L", "is_enabled": false } ``` ## Responses ### 200 Successful response indicating the distribution update status | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "message": "Your Distribution has been updated successfully. It will take up to 30 minutes to deploy the new changes. Please wait." }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdn/distributions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"domain_id":"ENZYVCZPO9X4L","is_enabled":false}' ``` --- --- title: "Deactivate CDP Backup" method: PUT path: "/api/v1/cdpbackup/deactivate/{node_id}/" url: "/api/myaccount/operations/put-cdpbackup-deactivate-node-id/" --- # Deactivate CDP Backup `PUT https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/deactivate/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | integer | yes | Node ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### properties ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/deactivate//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Edit Source Registry" method: PUT path: "/api/v1/container_registry/registries/{source_registry_id}/" url: "/api/myaccount/operations/put-container-registry-registries-source-registry-id/" --- # Edit Source Registry `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries/{source_registry_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `source_registry_id` | integer | yes | Source Registry ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `registry_type` | string | no | | | `registry_name` | string | no | | | `registry_description` | string | no | | | `registry_url` | string | no | | | `registry_insecure` | boolean | no | | | `access_key` | string | no | | | `access_secret` | string | no | | Example request: ```json { "registry_type": "docker-hub", "registry_name": "source-registry", "registry_description": "docker hub source registry", "registry_url": "https://hub.docker.com", "registry_insecure": true, "access_key": "", "access_secret": "" } ``` ## Responses ### 200 Registry updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.registry_name` | string | no | | | `data.registry_type` | string | no | | | `data.registry_id` | integer | no | | | `data.registry_url` | string (uri) | no | | | `data.registry_insecure` | boolean | no | | | `data.customer` | integer | no | | | `data.project` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.deleted_at` | string (date-time) | no | | | `data.registry_description` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "registry_name": "docker-source", "registry_type": "docker-hub", "registry_id": 50, "registry_url": "https://hub.docker.com", "registry_insecure": true, "customer": 12345, "project": 123, "created_at": "2025-04-29T09:54:19.956502Z", "updated_at": "2025-04-29T10:03:49.754054Z", "deleted_at": null, "registry_description": "docker hub source registry" }, "errors": {}, "message": "Registry Updated Successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/registries//?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"registry_type":"docker-hub","registry_name":"source-registry","registry_description":"docker hub source registry","registry_url":"https://hub.docker.com","registry_insecure":true,"access_key":"","access_secret":""}' ``` --- --- title: "Stop Replication Execution" method: PUT path: "/api/v1/container_registry/replication/executions/{execution_id}/" url: "/api/myaccount/operations/put-container-registry-replication-executions-execution-id/" --- # Stop Replication Execution `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions/{execution_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `execution_id` | integer | yes | Execution ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Policy execution stopped successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Policy Execution Stopped" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/executions//?apikey=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Edit Replication Rule" method: PUT path: "/api/v1/container_registry/replication/policies/{policy_id}/" url: "/api/myaccount/operations/put-container-registry-replication-policies-policy-id/" --- # Edit Replication Rule `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies/{policy_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `policy_id` | string | yes | Path parameter `policy_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `policy_id` | integer | yes | Policy ID | | `cr_project_id` | integer | yes | | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `policy_name` | string | no | | | `registry_id` | integer | no | | | `flattening_level` | integer | no | | | `trigger_type` | string | no | | | `replicate_deletion` | boolean | no | | | `override` | boolean | no | | | `filters` | array of object | no | | | `filters[].type` | string | no | | | `filters[].value` | string | no | | | `filters[].decoration` | string | no | | | `enabled` | boolean | no | | Example request: ```json { "policy_name": "asdd", "registry_id": 49, "flattening_level": -1, "trigger_type": "manual", "replicate_deletion": false, "override": true, "filters": [ { "type": "name", "value": "" }, { "type": "tag", "decoration": "matches", "value": "" } ], "enabled": true } ``` ## Responses ### 200 Replication policy updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.policy_name` | string | no | | | `data.policy_id` | integer | no | | | `data.source_registry_id` | integer | no | | | `data.source_registry_name` | string | no | | | `data.destination_namespace` | string | no | | | `data.destination_namespace_replace_count` | integer | no | | | `data.policy_description` | string | no | | | `data.trigger_type` | string | no | | | `data.trigger_value` | string | no | | | `data.replicate_deletion` | boolean | no | | | `data.override` | boolean | no | | | `data.enabled` | boolean | no | | | `data.customer` | integer | no | | | `data.project` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.deleted_at` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "policy_name": "asdd", "policy_id": 35, "source_registry_id": 50, "source_registry_name": "docker-source", "destination_namespace": "cr-12345", "destination_namespace_replace_count": -1, "policy_description": null, "trigger_type": "manual", "trigger_value": "", "replicate_deletion": false, "override": true, "enabled": true, "customer": 12345, "project": 123, "created_at": "2025-04-29T10:55:31.586787Z", "updated_at": "2025-04-29T11:27:14.077633Z", "deleted_at": null }, "errors": {}, "message": "Replication Policy Updated Successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/replication/policies//?apikey=&policy_id=&cr_project_id=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"policy_name":"asdd","registry_id":49,"flattening_level":-1,"trigger_type":"manual","replicate_deletion":false,"override":true,"filters":[{"type":"name","value":""},{"type":"tag","decoration":"matches","value":""}],"enabled":true}' ``` --- --- title: "Deployment Security Configuration" method: PUT path: "/api/v1/container_registry/setup-container-registry/" url: "/api/myaccount/operations/put-container-registry-setup-container-registry/" --- # Deployment Security Configuration `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `project_name` | string | no | | | `prevent_vul` | one of `true`, `false` | no | | | `severity` | one of `low`, `medium`, `high`, `critical`, `none` | no | | Example request: ```json { "project_name": "cr-12345", "prevent_vul": "true", "severity": "none" } ``` ## Responses ### 200 Update operation completed successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Successfully Updated", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/setup-container-registry/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"project_name":"cr-12345","prevent_vul":"true","severity":"none"}' ``` --- --- title: "Reset Access Token" method: PUT path: "/api/v1/container_registry/token-refresh/{token_name}/" url: "/api/myaccount/operations/put-container-registry-token-refresh-token-name/" --- # Reset Access Token `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/token-refresh/{token_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | Token Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Token secret fetched successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.secret` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "secret": "" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/token-refresh//?apikey=&project_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Edit Access Token" method: PUT path: "/api/v1/container_registry/token/{token_name}/" url: "/api/myaccount/operations/put-container-registry-token-token-name/" --- # Edit Access Token `PUT https://api.e2enetworks.com/myaccount/api/v1/container_registry/token/{token_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | Token Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_name` | integer | yes | Container Registry name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `duration` | number | no | Duration in days or a special value like `-1` for non-expiry. | | `description` | string | no | | | `permissions` | array of array of string | no | | | `disable` | boolean | no | Whether the token should be disabled or not. | Example request: ```json { "duration": 2, "description": "This token will expire in 2 days.", "permissions": [ "pull", "push" ], "disable": false } ``` ## Responses ### 200 Token updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/container_registry/token//?apikey=&project_name=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"duration":2,"description":"This token will expire in 2 days.","permissions":["pull","push"],"disable":false}' ``` --- --- title: "Grant SFS Access" method: PUT path: "/api/v1/efs/allow-vpc-cidr/" url: "/api/myaccount/operations/put-efs-allow-vpc-cidr/" --- # Grant SFS Access `PUT https://api.e2enetworks.com/myaccount/api/v1/efs/allow-vpc-cidr/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `efs_id` | integer | yes | | | `vpc_id` | integer | yes | | | `permissions` | string | yes | | Example request: ```json { "efs_id": 467, "vpc_id": 3170, "permissions": "rw" } ``` ## Responses ### 200 Successful response indicating network configuration initiation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.efs_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "efs_id": 636 }, "errors": {}, "message": "Network Configuration Initiated. Expected completion within 2-3 minutes." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs/allow-vpc-cidr/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"efs_id":467,"vpc_id":3170,"permissions":"rw"}' ``` --- --- title: "Activate SFS backup" method: PUT path: "/api/v1/efs/{sfs_id}/backup/activate/" url: "/api/myaccount/operations/put-efs-sfs-id-backup-activate/" --- # Activate SFS backup `PUT https://api.e2enetworks.com/myaccount/api/v1/efs/{sfs_id}/backup/activate/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `sfs_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `backup_now` | boolean | yes | | | `startingMinute` | integer | yes | | Example request: ```json { "backup_now": true, "startingMinute": 9 } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs//backup/activate/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"backup_now":true,"startingMinute":9}' ``` --- --- title: "Deactivate SFS backup" method: PUT path: "/api/v1/efs/{sfs_id}/backup/deactivate/" url: "/api/myaccount/operations/put-efs-sfs-id-backup-deactivate/" --- # Deactivate SFS backup `PUT https://api.e2enetworks.com/myaccount/api/v1/efs/{sfs_id}/backup/deactivate/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `sfs_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 Successful response indicating SFS backup has been disabled | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.sfs_id` | integer | no | | | `data.sfs_name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "sfs_id": 467, "sfs_name": "sfs-828" }, "errors": {}, "message": "Your SFS backup was disabled successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/efs//backup/deactivate/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Upgrade EPFS" method: PUT path: "/api/v1/epfs/{epfs_id}/" url: "/api/myaccount/operations/put-epfs-epfs-id/" --- # Upgrade EPFS `PUT https://api.e2enetworks.com/myaccount/api/v1/epfs/{epfs_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `epfs_id` | integer | yes | EPFS Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | | `size_in_gb` | integer | yes | | | `network_id` | integer | yes | | Example request: ```json { "name": "epfs-127", "size_in_gb": 2000, "network_id": 34872 } ``` ## Responses ### 200 Successful response indicating upgrade status | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Upgrading in process", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/epfs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"epfs-127","size_in_gb":2000,"network_id":34872}' ``` --- --- title: "Update Function" method: PUT path: "/api/v1/faas/function/{function_id}/" url: "/api/myaccount/operations/put-faas-function-function-id/" --- # Update Function `PUT https://api.e2enetworks.com/myaccount/api/v1/faas/function/{function_id}/` Updates the specified serverless function with new memory, timeout, environment variables, and code file. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `function_id` | integer | yes | Function ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `multipart/form-data` | Field | Type | Required | Description | |---|---|---|---| | `memory` | one of `128`, `256`, `512`, `1024` | yes | Memory allocated to the function (in MB) | | `timeout` | string | yes | Timeout for the function (in seconds) | | `environment_variables` | string | yes | JSON string of environment variables | | `code_file` | string (binary) | no | Zipped function source code (`.zip` file) | Example request: ```json { "memory": "128", "timeout": "15", "environment_variables": { "env_name": "env_value" }, "code_file": "string" } ``` ## Responses ### 200 Function update initiated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Function sent to build", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/faas/function//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: multipart/form-data' \ --data '{"memory":"128","timeout":"15","environment_variables":{"env_name":"env_value"},"code_file":"string"}' ``` --- --- title: "Update User group" method: PUT path: "/api/v1/iam/groups/{group_id}/" url: "/api/myaccount/operations/put-iam-groups-group-id/" --- # Update User group `PUT https://api.e2enetworks.com/myaccount/api/v1/iam/groups/{group_id}/` Updates the User group details including its name and members. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | ID of the User group to update | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Updated name of the IAM group | | `created_by` | integer | yes | ID of the user performing the update | | `group_members` | array of integer | yes | List of member IDs to add | | `remove_members` | array of integer | yes | List of member IDs to remove | Example request: ```json { "name": "string", "created_by": 0, "group_members": [ 0 ], "remove_members": [ 0 ] } ``` ## Responses ### 200 Group updated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "User group updated successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/iam/groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","created_by":0,"group_members":[0],"remove_members":[0]}' ``` --- --- title: "Rename Image" method: PUT path: "/api/v1/images/{image_id}/" url: "/api/myaccount/operations/put-images-image-id/" --- # Rename Image `PUT https://api.e2enetworks.com/myaccount/api/v1/images/{image_id}/` Rename image by specifying a new name. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `image_id` | integer | yes | Image ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `action_type` | string | yes | Action type to perform on the image | | `name` | string | yes | New name to assign to the image | Example request: ```json { "action_type": "rename", "name": "test" } ``` ## Responses ### 200 Successful response for renaming a image | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.status` | boolean | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "status": true, "message": "Image name changed successfully" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/images//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"action_type":"rename","name":"test"}' ``` --- --- title: "Map lable to Parameter Group" method: PUT path: "/api/v1/label/mapping/parameter_group/{pg_id}/" url: "/api/myaccount/operations/put-label-mapping-parameter-group-pg-id/" --- # Map lable to Parameter Group `PUT https://api.e2enetworks.com/myaccount/api/v1/label/mapping/parameter_group/{pg_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `new_label_ids_list` | array of integer | no | | Example request: ```json { "new_label_ids_list": [ 2688 ] } ``` ## Responses ### 200 Successful response after attaching labels to a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.details` | object | no | | | `data.details.parent_resource_id` | integer | no | | | `data.details.parent_resource_type` | string | no | | | `data.details.label_id` | integer | no | | | `data.details.label_mapping_ids_to_create` | array of integer | no | | | `data.details.label_ids_to_delete` | array of integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "details": { "parent_resource_id": 909, "parent_resource_type": "parameter_group", "label_id": null, "label_mapping_ids_to_create": [ 2688 ], "label_ids_to_delete": [] } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/mapping/parameter_group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"new_label_ids_list":[2688]}' ``` --- --- title: "Attach/Detach Tags" method: PUT path: "/api/v1/label/mapping/{resource_type}/{resource_id}/" url: "/api/myaccount/operations/put-label-mapping-resource-type-resource-id/" --- # Attach/Detach Tags `PUT https://api.e2enetworks.com/myaccount/api/v1/label/mapping/{resource_type}/{resource_id}/` This endpoint allows attaching and detaching tags to/from resources (e.g., nodes) in a specific project and location. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `resource_type` | one of `load_balancer`, `volumes`, `nodes`, `eos`, `sfs`, `kubernetes`, `dbass`, `images`, `cdp_backup`, `cdn`, `auto_scaling`, `reserve_ip`, `vpc`, `eqs`, `security_groups`, `parameter_group`, `firewall` | yes | Type of the resource to attach/detach tag. | | `resource_id` | integer | yes | ID of the parent resource. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `attach` | array of integer | yes | List of label IDs to attach. | | `detach` | array of integer | no | List of label IDs to detach. | Example request: ```json { "attach": [ 2790 ], "detach": [] } ``` ## Responses ### 200 Successful attachment and/or detachment of labels. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.details` | object | no | | | `data.details.action` | string | no | | | `data.details.parent_resource_id` | integer | no | | | `data.details.parent_resource_type` | string | no | | | `data.details.label_mapping_ids_to_create` | array of integer | no | | | `data.details.label_ids_to_delete` | array of integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "details": { "action": "attach_and_detach", "parent_resource_id": 235813, "parent_resource_type": "nodes", "label_mapping_ids_to_create": [ 2790 ], "label_ids_to_delete": [] } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label/mapping///?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"attach":[2790],"detach":[]}' ``` --- --- title: "Update a Tag" method: PUT path: "/api/v1/label/{tag_id}/" url: "/api/myaccount/operations/put-label-tag-id/" --- # Update a Tag `PUT https://api.e2enetworks.com/myaccount/api/v1/label/{tag_id}/` Update the name of a Tag using its ID. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tag_id` | integer | yes | The ID of the label to delete. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `label_name` | string | yes | | Example request: ```json { "label_name": "new tag" } ``` ## Responses ### 200 Label updated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/label//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"label_name":"new tag"}' ``` --- --- title: "Update alert" method: PUT path: "/api/v1/monitoring/single-service/alerts/{alert_id}/" url: "/api/myaccount/operations/put-monitoring-single-service-alerts-alert-id/" --- # Update alert `PUT https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts/{alert_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `alert_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `trigger_data` | object | yes | | | `trigger_data.trigger_type` | string | yes | Type of trigger (e.g., load, cpu, memory). | | `trigger_data.trigger_operator` | string | yes | Comparison operator for the trigger (e.g., >, <, >=). | | `trigger_data.trigger_threshold` | number | yes | Threshold value to evaluate the trigger. | | `trigger_data.owner` | integer | yes | ID of the owner who set the trigger. | | `trigger_data.trigger_severity` | integer | yes | Severity level of the trigger. | Example request: ```json { "trigger_data": { "trigger_type": "load", "trigger_operator": ">", "trigger_threshold": 10, "owner": 45961, "trigger_severity": 3 } } ``` ## Responses ### 200 Alert updated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code | | `data` | string | no | Message or result data | | `errors` | object | no | Any error details (empty if none) | | `message` | string | no | General response message | Example 200 response: ```json { "code": 200, "data": "Alert updated successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"trigger_data":{"trigger_type":"load","trigger_operator":">","trigger_threshold":10,"owner":45961,"trigger_severity":3}}' ``` --- --- title: "Stop/Resume Alert" method: PUT path: "/api/v1/monitoring/single-service/stop_resume_alert/{alert_id}/" url: "/api/myaccount/operations/put-monitoring-single-service-stop-resume-alert-alert-id/" --- # Stop/Resume Alert `PUT https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert/{alert_id}/` Pauses or resumes an alert based on the specified action type. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `alert_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `action_type` | one of `pause_alert`, `resume_alert` | yes | Action to perform on the alert (pause or resume) | Example request: ```json { "action_type": "string" } ``` ## Responses ### 200 Alert resumed successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Alert resumed successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/monitoring/single-service/stop_resume_alert//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"action_type":"string"}' ``` --- --- title: "Update Profile Settings" method: PUT path: "/api/v1/profile-settings/{profile_id}/" url: "/api/myaccount/operations/put-profile-settings-profile-id/" --- # Update Profile Settings `PUT https://api.e2enetworks.com/myaccount/api/v1/profile-settings/{profile_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `profile_id` | integer | yes | Profile ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `bitninja_active` | boolean | no | | | `default_ssh_keys_enabled` | array of integer | no | A list of SSH key IDs to be enabled by default for server access. To disable all default SSH keys, send an empty list: `[]`. | | `password_authentication` | boolean | no | | | `cdp_backup_active` | boolean | no | | | `whatsapp_notifications` | boolean | no | | Example request: ```json { "bitninja_active": false, "default_ssh_keys_enabled": [ 12345 ], "password_authentication": true, "cdp_backup_active": false, "whatsapp_notifications": false } ``` ## Responses ### 200 Settings have been updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Settings have been updated successfully.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/profile-settings//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"bitninja_active":false,"default_ssh_keys_enabled":[12345],"password_authentication":true,"cdp_backup_active":false,"whatsapp_notifications":false}' ``` --- --- title: "DBaaS Upgrade" method: PUT path: "/api/v1/rds/cluster/{Cluster_id}/rds-upgrade/" url: "/api/myaccount/operations/put-rds-cluster-cluster-id-rds-upgrade/" --- # DBaaS Upgrade `PUT https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/rds-upgrade/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `template_id` | integer | yes | | Example request: ```json { "template_id": 0 } ``` ## Responses ### 200 DBaaS node upgrade response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | yes | | | `data` | object | yes | | | `data.message` | string | yes | | | `data.cluster_id` | integer | yes | | | `data.name` | string | yes | | | `errors` | object | yes | | | `message` | string | yes | | Example 200 response: ```json { "code": 0, "data": { "message": "string", "cluster_id": 0, "name": "string" }, "errors": {}, "message": "string" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//rds-upgrade/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"template_id":0}' ``` --- --- title: "Start/Stop/Restart DBaaS" method: PUT path: "/api/v1/rds/cluster/{Cluster_id}/{start_stop_restart}" url: "/api/myaccount/operations/put-rds-cluster-cluster-id-start-stop-restart/" --- # Start/Stop/Restart DBaaS `PUT https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/{start_stop_restart}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | | `start_stop_restart` | one of `resume`, `shutdown`, `restart` | yes | Start/Stop/Restart DBaaS | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 The DBaaS is Successfully Updated. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.message` | string | no | The message of the cluster is successfully updating. | | `data.cluster_id` | integer | no | The ID of the cluster is updating. | | `data.name` | string | no | The name of the DBaaS cluster is updating. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "message": "DBaaS process started.", "cluster_id": 5276, "name": "E2E-DBaaS-26322-2920" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach/Detach Whitelisted IP" method: PUT path: "/api/v1/rds/cluster/{Cluster_id}/update-allowed-hosts" url: "/api/myaccount/operations/put-rds-cluster-cluster-id-update-allowed-hosts/" --- # Attach/Detach Whitelisted IP `PUT https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/{Cluster_id}/update-allowed-hosts` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_id` | integer | yes | Cluster Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `action` | one of `attach`, `detach` | yes | Actions to manage whitelisted IPs | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `allowed_hosts` | array of object | no | | | `allowed_hosts[].ip` | string | no | | | `allowed_hosts[].tag` | array of integer | no | | Example request: ```json { "allowed_hosts": [ { "ip": "192.168.1.9", "tag": [ 2349 ] } ] } ``` ## Responses ### 200 Whitelisted IPs Updated Successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Whitelisted IPs Updated Successfully" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster//update-allowed-hosts?apikey=&action=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"allowed_hosts":[{"ip":"192.168.1.9","tag":[2349]}]}' ``` --- --- title: "Attach/Detach Read Replica" method: PUT path: "/api/v1/rds/cluster/slave/{Instance_id}/public-ip-{AttachDetach_Read_Replica}/" url: "/api/myaccount/operations/put-rds-cluster-slave-instance-id-public-ip-attachdetach-read-replica/" --- # Attach/Detach Read Replica `PUT https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/slave/{Instance_id}/public-ip-{AttachDetach_Read_Replica}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance_id | | `AttachDetach_Read_Replica` | one of `attach`, `detach` | yes | Actions to manage Read Replica | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `public_ip_required` | one of `True`, `False` | yes | | Example request: ```json { "public_ip_required": "True" } ``` ## Responses ### 200 Public IP updated successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "updated public ip successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/cluster/slave//public-ip-/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"public_ip_required":"True"}' ``` --- --- title: "Edit Parameter Group" method: PUT path: "/api/v1/rds/parameter-group/{pg_id}/" url: "/api/myaccount/operations/put-rds-parameter-group-pg-id/" --- # Edit Parameter Group `PUT https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group/{pg_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `alter_algorithm` | string | yes | | Example request: ```json { "alter_algorithm": "COPY" } ``` ## Responses ### 200 Successful response after editing a parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.name` | string | no | | | `data.family` | string | no | | | `data.parameters` | object | no | | | `data.pg_id` | integer | no | | | `data.is_attached` | boolean | no | | | `data.template_parameters` | array of object | no | | | `data.template_parameters[].parameterName` | string | no | | | `data.template_parameters[].description` | string | no | | | `data.template_parameters[].source` | string | no | | | `data.template_parameters[].applyType` | string | no | | | `data.template_parameters[].dataType` | string | no | | | `data.template_parameters[].allowedValues` | string | no | | | `data.template_parameters[].isModifiable` | boolean | no | | | `data.template_parameters[].applyMethod` | string | no | | | `data.template_parameters[].parameterValue` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "name": "hey", "family": "MariaDB-10.4", "parameters": { "alter_algorithm": "COPY" }, "pg_id": 906, "is_attached": false, "template_parameters": [ { "parameterName": "alter_algorithm", "description": "Specify the alter table algorithm.", "source": "engine-default", "applyType": "dynamic", "dataType": "string", "allowedValues": "DEFAULT,COPY,INPLACE,NOCOPY,INSTANT", "isModifiable": true, "applyMethod": "pending-reboot", "parameterValue": "COPY" } ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/parameter-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"alter_algorithm":"COPY"}' ``` --- --- title: "Update security Grp" method: PUT path: "/api/v1/security_group/{security_grp_id}/" url: "/api/myaccount/operations/put-security-group-security-grp-id/" --- # Update security Grp `PUT https://api.e2enetworks.com/myaccount/api/v1/security_group/{security_grp_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `security_grp_id` | string | yes | Security Grp Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | | | `description` | string | no | | | `rules` | array of object | no | | | `rules[].id` | integer | no | | | `rules[].rule_type` | string | no | | | `rules[].protocol_name` | string | no | | | `rules[].port_range` | string | no | | | `rules[].network` | string | no | | | `rules[].network_cidr` | string | no | | | `rules[].network_size` | integer | no | | | `rules[].vpc_id` | string | no | | Example request: ```json { "name": "testing", "description": "", "rules": [ { "id": 351529, "rule_type": "Outbound", "protocol_name": "All", "port_range": "All", "network": "any", "network_cidr": "--", "network_size": 1, "vpc_id": null } ] } ``` ## Responses ### 200 Successful response indicating the security group was updated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Security Group updated successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/security_group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"testing","description":"","rules":[{"id":351529,"rule_type":"Outbound","protocol_name":"All","port_range":"All","network":"any","network_cidr":"--","network_size":1,"vpc_id":null}]}' ``` --- --- title: "Update an IdP" method: PUT path: "/api/v1/sso/organizations/{organization_id}/" url: "/api/myaccount/operations/put-sso-organizations-organization-id/" --- # Update an IdP `PUT https://api.e2enetworks.com/myaccount/api/v1/sso/organizations/{organization_id}/` - Enables or disables IdP for a specific organization using its unique identifier (Use ToggleSSO Body Example). - Change the name of the IdP using its unique identifier (Use RenameIDp Body Example). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `organization_id` | string (uuid) | yes | Unique identifier of the organization. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | New name for the Identity Provider (optional) | | `sso_enabled` | boolean | no | Enable or disable SSO for the organization (optional) | Example request: ```json { "name": "idp-new", "sso_enabled": true } ``` ## Responses ### 200 Organization updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.organization` | object | no | | | `data.organization.id` | string (uuid) | no | | | `data.organization.ern` | string | no | | | `data.organization.org_ref` | string | no | | | `data.organization.name` | string | no | Updated name of the organization. | | `data.organization.email` | string | no | | | `data.organization.domain` | string | no | | | `data.organization.customer_id` | string | no | | | `data.organization.status` | one of `ACTIVE`, `INACTIVE` | no | | | `data.organization.sso_enabled` | boolean | no | | | `data.organization.created_at` | string (date-time) | no | | | `data.organization.updated_at` | string (date-time) | no | | | `data.message` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "organization": { "id": "019a7752-8aaa-7042-9c3e-bcbbe47f5e68", "ern": "ern:e2e:organizations::master-account:organization/019a7752-8aaa-7042-9c3e-bcbbe47f5e68", "org_ref": "612214921370", "name": "idp-new", "email": null, "domain": null, "customer_id": "1790", "status": "ACTIVE", "sso_enabled": true, "created_at": "2025-11-12T09:08:09.517189Z", "updated_at": "2025-11-12T10:13:18.385387Z" }, "message": "Organization \"idp-new\" updated successfully" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/sso/organizations//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"idp-new","sso_enabled":true}' ``` --- --- title: "Add Lifecycle Rule" method: PUT path: "/api/v1/storage/bucket_lifecycle/{bucket_name}/" url: "/api/myaccount/operations/put-storage-bucket-lifecycle-bucket-name/" --- # Add Lifecycle Rule `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle/{bucket_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | | | `lifecycle_rules` | array of object | yes | | | `lifecycle_rules[].expiration_days` | integer | yes | | | `lifecycle_rules[].new_status` | one of `Enabled`, `Disabled` | yes | | | `lifecycle_rules[].noncurrent_version_expiration_date_or_days` | integer | yes | | | `lifecycle_rules[].prefix` | string | no | | | `lifecycle_rules[].rule_id` | integer | yes | | Example request: ```json { "bucket_name": "bucketname", "lifecycle_rules": [ { "expiration_days": 1, "new_status": "Enabled", "noncurrent_version_expiration_date_or_days": 1, "prefix": "", "rule_id": 0 } ] } ``` ## Responses ### 200 A successful response with lifecycle rule information | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].rule_id` | string | no | | | `data[].enabled` | boolean | no | | | `data[].prefix` | string | no | | | `data[].expiry_date_or_days` | string | no | | | `data[].noncurrent_version_expiration_date_or_days` | string | no | | | `data[].transition` | string | no | | | `data[].storage_class` | string | no | | | `data[].tags` | string | no | | | `data[].location` | string | no | | | `data[].bucket` | integer | no | | | `data[].user` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 948, "deleted": false, "created_at": "2024-11-05T09:05:25.569506Z", "updated_at": "2024-11-05T09:05:25.569606Z", "rule_id": "1aaed24b83a14ee4af38dc53d46a069b", "enabled": true, "prefix": "", "expiry_date_or_days": "1", "noncurrent_version_expiration_date_or_days": "1", "transition": "", "storage_class": "", "tags": "", "location": "Delhi", "bucket": 9053, "user": 5146 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_lifecycle//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"bucket_name":"bucketname","lifecycle_rules":[{"expiration_days":1,"new_status":"Enabled","noncurrent_version_expiration_date_or_days":1,"prefix":"","rule_id":0}]}' ``` --- --- title: "Attach Access key in bucket" method: PUT path: "/api/v1/storage/bucket_perms/" url: "/api/myaccount/operations/put-storage-bucket-perms/" --- # Attach Access key in bucket `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perms/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `users` | array of object | no | | | `users[].id` | integer | no | | | `users[].my_account_id` | integer | no | | | `users[].user_name` | string | no | | | `users[].email` | string | no | | | `users[].access_key` | string | no | | | `users[].secret_key` | string | no | | | `users[].is_default` | boolean | no | | | `users[].disabled` | boolean | no | | | `users[].tag` | string | no | | | `role_name` | one of `Bucket Admin`, `Bucket Writer`, `Bucket Reader` | no | | Example request: ```json { "users": [ { "id": 12345, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "", "access_key": "YGLPHAYAMPO69JRLMJNL", "secret_key": null, "is_default": false, "disabled": false, "tag": "test" } ], "role_name": "Bucket Admin" } ``` ## Responses ### 200 List of users assigned to a bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].user` | object | no | | | `data[].user.id` | integer | no | | | `data[].user.my_account_id` | integer | no | | | `data[].user.user_name` | string | no | | | `data[].user.email` | string | no | | | `data[].user.access_key` | string | no | | | `data[].user.secret_key` | string | no | | | `data[].user.is_default` | boolean | no | | | `data[].user.disabled` | boolean | no | | | `data[].user.tag` | string | no | | | `data[].role` | object | no | | | `data[].role.id` | integer | no | | | `data[].role.name` | string | no | | | `data[].role.display_name` | string | no | | | `data[].role.active` | boolean | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].processed` | boolean | no | | | `data[].processed_on` | string | no | | | `data[].disabled` | boolean | no | | | `data[].date_disabled` | string | no | | | `data[].location` | string | no | | | `data[].bucket` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12345, "user": { "id": 123, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "admin@e2enetworks.com", "access_key": "ABC123XYZ456LMNOP789", "secret_key": null, "is_default": false, "disabled": false, "tag": "internal" }, "role": { "id": 1, "name": "Bucket Admin", "display_name": "Bucket Admin", "active": true }, "deleted": false, "created_at": "2025-01-01T10:00:00Z", "updated_at": "2025-01-01T10:05:00Z", "processed": true, "processed_on": null, "disabled": false, "date_disabled": null, "location": "New York", "bucket": 54321 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_perms/?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"users":[{"id":12345,"my_account_id":null,"user_name":"admin@e2enetworks.com","email":"","access_key":"YGLPHAYAMPO69JRLMJNL","secret_key":null,"is_default":false,"disabled":false,"tag":"test"}],"role_name":"Bucket Admin"}' ``` --- --- title: "Update Bucket Replication" method: PUT path: "/api/v1/storage/bucket-replication/" url: "/api/myaccount/operations/put-storage-bucket-replication/" --- # Update Bucket Replication `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `status` | boolean | no | Set to `true` to enable the replication rule, or `false` to disable it. | | `rule_id` | integer | no | | Example request: ```json { "status": true, "rule_id": 12345 } ``` ## Responses ### 200 Replication rule updated successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.user` | integer | no | | | `data.source_bucket` | string | no | | | `data.destination_bucket` | string | no | | | `data.source_bucket_location` | string | no | | | `data.destination_bucket_location` | string | no | | | `data.enabled` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 123, "user": 12345, "source_bucket": "first-bucket", "destination_bucket": "second-bucket", "source_bucket_location": "Delhi", "destination_bucket_location": "Chennai", "enabled": true, "created_at": "2025-05-28T05:07:40.359314Z" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket-replication/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"status":true,"rule_id":12345}' ``` --- --- title: "Enable/Disable Bucket Versioning" method: PUT path: "/api/v1/storage/bucket_versioning/{bucket_name}/" url: "/api/myaccount/operations/put-storage-bucket-versioning-bucket-name/" --- # Enable/Disable Bucket Versioning `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_versioning/{bucket_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | | | `new_versioning_state` | one of `Enabled`, `Disabled` | yes | | Example request: ```json { "bucket_name": "bucket_name", "new_versioning_state": "Disabled" } ``` ## Responses ### 200 A successful response with bucket details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.bucket_name` | string | no | | | `data.bucket_versioning_status` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "bucket_name": "testing", "bucket_versioning_status": "Enabled" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/bucket_versioning//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"bucket_name":"bucket_name","new_versioning_state":"Disabled"}' ``` --- --- title: "Lock/Unlock Access key" method: PUT path: "/api/v1/storage/core/users/" url: "/api/myaccount/operations/put-storage-core-users/" --- # Lock/Unlock Access key `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `disabled` | one of `true`, `false` | yes | | | `id` | integer | yes | | Example request: ```json { "disabled": false, "id": 6069 } ``` ## Responses ### 200 Response example for successful lock/unlock operation | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.my_account_id` | integer | no | | | `data.user_name` | string | no | | | `data.email` | string | no | | | `data.access_key` | string | no | | | `data.secret_key` | string | no | | | `data.is_default` | boolean | no | | | `data.disabled` | boolean | no | | | `data.tag` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 9999, "my_account_id": null, "user_name": "admin@e2enetworks.com", "email": "", "access_key": "A1B2C3D4E5F6G7H8I9J0", "secret_key": null, "is_default": false, "disabled": false, "tag": "test-user" }, "errors": null, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/core/users/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"disabled":false,"id":6069}' ``` --- --- title: "Attach Public Permission" method: PUT path: "/api/v1/storage/public_perms/" url: "/api/myaccount/operations/put-storage-public-perms/" --- # Attach Public Permission `PUT https://api.e2enetworks.com/myaccount/api/v1/storage/public_perms/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | yes | Bucket Name | | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `bucket_name` | string | no | | | `role_name` | one of `Download`, `Upload`, `Public`, `None` | no | | Example request: ```json { "bucket_name": "open-1", "role_name": "Download" } ``` ## Responses ### 200 Details of a single user assigned to a bucket | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.user` | object | no | | | `data.user.id` | integer | no | | | `data.user.my_account_id` | integer | no | | | `data.user.user_name` | string | no | | | `data.user.email` | string | no | | | `data.user.access_key` | string | no | | | `data.user.secret_key` | string | no | | | `data.user.is_default` | boolean | no | | | `data.user.disabled` | boolean | no | | | `data.user.tag` | string | no | | | `data.role` | object | no | | | `data.role.id` | integer | no | | | `data.role.name` | string | no | | | `data.role.display_name` | string | no | | | `data.role.active` | boolean | no | | | `data.deleted` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.processed` | boolean | no | | | `data.processed_on` | string | no | | | `data.disabled` | boolean | no | | | `data.date_disabled` | string | no | | | `data.location` | string | no | | | `data.bucket` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 10010, "user": { "id": 20, "my_account_id": null, "user_name": "guest", "email": "guest@example.com", "access_key": "Public", "secret_key": null, "is_default": true, "disabled": false, "tag": null }, "role": { "id": 2, "name": "Download", "display_name": "Download", "active": true }, "deleted": false, "created_at": "2025-01-01T10:00:00Z", "updated_at": "2025-01-01T10:05:00Z", "processed": true, "processed_on": null, "disabled": false, "date_disabled": null, "location": "New York", "bucket": 98765 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/storage/public_perms/?apikey=&bucket_name=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"bucket_name":"open-1","role_name":"Download"}' ``` --- --- title: "Pause Tunnel" method: PUT path: "/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/pause/" url: "/api/myaccount/operations/put-vpc-tunnels-vpc-tunnel-id-pause/" --- # Pause Tunnel `PUT https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/pause/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_TUNNEL_ID` | integer | yes | VPC_TUNNEL_ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 VPC Peering Pause Process Initiated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.local_vpc` | object | no | | | `data.local_vpc.id` | integer | no | | | `data.local_vpc.name` | string | no | | | `data.local_vpc.network_id` | integer | no | | | `data.local_vpc.is_active` | boolean | no | | | `data.local_vpc.created_at` | string (date-time) | no | | | `data.local_vpc.network_mask` | string | no | | | `data.local_vpc.ipv4_cidr` | string | no | | | `data.local_vpc.vm_count` | integer | no | | | `data.local_vpc.dns` | string | no | | | `data.local_vpc.gateway_ip` | string | no | | | `data.local_vpc.pool_size` | integer | no | | | `data.local_vpc.gateway_node` | object | no | | | `data.local_vpc.gateway_node.node_name` | string | no | | | `data.local_vpc.gateway_node.node_id` | integer | no | | | `data.local_vpc.gateway_node.ip_address_public` | string | no | | | `data.local_vpc.gateway_node.ip_address_private` | string | no | | | `data.local_vpc.gateway_node.state` | string | no | | | `data.local_vpc.state` | string | no | | | `data.local_vpc.project_name` | string | no | | | `data.local_vpc.location` | string | no | | | `data.peer_vpc` | object | no | | | `data.peer_vpc.id` | integer | no | | | `data.peer_vpc.name` | string | no | | | `data.peer_vpc.network_id` | integer | no | | | `data.peer_vpc.is_active` | boolean | no | | | `data.peer_vpc.created_at` | string (date-time) | no | | | `data.peer_vpc.network_mask` | string | no | | | `data.peer_vpc.ipv4_cidr` | string | no | | | `data.peer_vpc.vm_count` | integer | no | | | `data.peer_vpc.dns` | string | no | | | `data.peer_vpc.gateway_ip` | string | no | | | `data.peer_vpc.pool_size` | integer | no | | | `data.peer_vpc.gateway_node` | object | no | | | `data.peer_vpc.gateway_node.node_name` | string | no | | | `data.peer_vpc.gateway_node.node_id` | integer | no | | | `data.peer_vpc.gateway_node.ip_address_public` | string | no | | | `data.peer_vpc.gateway_node.ip_address_private` | string | no | | | `data.peer_vpc.gateway_node.state` | string | no | | | `data.peer_vpc.state` | string | no | | | `data.peer_vpc.project_name` | string | no | | | `data.peer_vpc.location` | string | no | | | `data.is_peer_vpc_external` | boolean | no | | | `data.local_ts` | string | no | | | `data.remote_ts` | string | no | | | `data.local_id` | string | no | | | `data.remote_id` | string | no | | | `data.customer` | integer | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 99, "name": "vpc-peer-VPC-573-01", "status": "ACTIVE", "local_vpc": { "id": 6834, "name": "VPC-573", "network_id": 1155, "is_active": true, "created_at": "2025-09-19T05:59:25.772020Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.100.246.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.100.246.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-573-gateway", "node_id": 265723, "ip_address_public": "151.185.32.178", "ip_address_private": "10.100.246.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "peer_vpc": { "id": 6908, "name": "VPC-385", "network_id": 1189, "is_active": true, "created_at": "2025-09-25T04:55:24.692984Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.101.6.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.101.6.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-385-gateway", "node_id": 267152, "ip_address_public": "151.185.32.197", "ip_address_private": "10.101.6.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "is_peer_vpc_external": false, "local_ts": "10.100.246.0/23", "remote_ts": "10.101.6.0/23", "local_id": "10.100.246.1", "remote_id": "10.101.6.1", "customer": 36787, "created_at": "2025-09-25T05:15:16.010562Z" }, "errors": {}, "message": "VPC Peering Pause Process Initiated!" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels//pause/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Restart Tunnel" method: PUT path: "/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/restart/" url: "/api/myaccount/operations/put-vpc-tunnels-vpc-tunnel-id-restart/" --- # Restart Tunnel `PUT https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels/{VPC_TUNNEL_ID}/restart/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VPC_TUNNEL_ID` | integer | yes | VPC_TUNNEL_ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID [Find your project id here ](https://myaccount.e2enetworks.com/iam-admin/iam?tab=1) | | `location` | one of `Delhi`, `Chennai` | yes | Deployment region for the resource. Accepted values: `Delhi`, `Chennai`. **Mumbai region has been discontinued.** Delhi and Chennai are the only supported regions. | ## Responses ### 200 VPC Peering Restart Process Initiated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | string | no | | | `data.local_vpc` | object | no | | | `data.local_vpc.id` | integer | no | | | `data.local_vpc.name` | string | no | | | `data.local_vpc.network_id` | integer | no | | | `data.local_vpc.is_active` | boolean | no | | | `data.local_vpc.created_at` | string (date-time) | no | | | `data.local_vpc.network_mask` | string | no | | | `data.local_vpc.ipv4_cidr` | string | no | | | `data.local_vpc.vm_count` | integer | no | | | `data.local_vpc.dns` | string | no | | | `data.local_vpc.gateway_ip` | string | no | | | `data.local_vpc.pool_size` | integer | no | | | `data.local_vpc.gateway_node` | object | no | | | `data.local_vpc.gateway_node.node_name` | string | no | | | `data.local_vpc.gateway_node.node_id` | integer | no | | | `data.local_vpc.gateway_node.ip_address_public` | string | no | | | `data.local_vpc.gateway_node.ip_address_private` | string | no | | | `data.local_vpc.gateway_node.state` | string | no | | | `data.local_vpc.state` | string | no | | | `data.local_vpc.project_name` | string | no | | | `data.local_vpc.location` | string | no | | | `data.peer_vpc` | object | no | | | `data.peer_vpc.id` | integer | no | | | `data.peer_vpc.name` | string | no | | | `data.peer_vpc.network_id` | integer | no | | | `data.peer_vpc.is_active` | boolean | no | | | `data.peer_vpc.created_at` | string (date-time) | no | | | `data.peer_vpc.network_mask` | string | no | | | `data.peer_vpc.ipv4_cidr` | string | no | | | `data.peer_vpc.vm_count` | integer | no | | | `data.peer_vpc.dns` | string | no | | | `data.peer_vpc.gateway_ip` | string | no | | | `data.peer_vpc.pool_size` | integer | no | | | `data.peer_vpc.gateway_node` | object | no | | | `data.peer_vpc.gateway_node.node_name` | string | no | | | `data.peer_vpc.gateway_node.node_id` | integer | no | | | `data.peer_vpc.gateway_node.ip_address_public` | string | no | | | `data.peer_vpc.gateway_node.ip_address_private` | string | no | | | `data.peer_vpc.gateway_node.state` | string | no | | | `data.peer_vpc.state` | string | no | | | `data.peer_vpc.project_name` | string | no | | | `data.peer_vpc.location` | string | no | | | `data.is_peer_vpc_external` | boolean | no | | | `data.local_ts` | string | no | | | `data.remote_ts` | string | no | | | `data.local_id` | string | no | | | `data.remote_id` | string | no | | | `data.customer` | integer | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 99, "name": "vpc-peer-VPC-573-01", "status": "IN-ACTIVE", "local_vpc": { "id": 6834, "name": "VPC-573", "network_id": 1155, "is_active": true, "created_at": "2025-09-19T05:59:25.772020Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.100.246.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.100.246.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-573-gateway", "node_id": 265723, "ip_address_public": "151.185.32.178", "ip_address_private": "10.100.246.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "peer_vpc": { "id": 6908, "name": "VPC-385", "network_id": 1189, "is_active": true, "created_at": "2025-09-25T04:55:24.692984Z", "network_mask": "255.255.254.0", "ipv4_cidr": "10.101.6.0/23", "vm_count": 0, "dns": "8.8.8.8 8.8.4.4", "gateway_ip": "10.101.6.1", "pool_size": 512, "gateway_node": { "node_name": "VPC-385-gateway", "node_id": 267152, "ip_address_public": "151.185.32.197", "ip_address_private": "10.101.6.1", "state": "Running" }, "state": "Active", "project_name": "default-project-36787", "location": "Chennai" }, "is_peer_vpc_external": false, "local_ts": "10.100.246.0/23", "remote_ts": "10.101.6.0/23", "local_id": "10.100.246.1", "remote_id": "10.101.6.1", "customer": 36787, "created_at": "2025-09-25T05:15:16.010562Z" }, "errors": {}, "message": "VPC Peering Restart Process Initiated!" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/tunnels//restart/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Save Image from Snapshot" method: POST path: "/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}" url: "/api/myaccount/operations/save-image-from-snapshot/" --- # Save Image from Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `snapshot_uuid` | string | yes | Path parameter `snapshot_uuid`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Specifies where the saved image should be stored. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Identifier for the saved image derived from a snapshot. | Example request: ```json { "name": "image-from-snapshot-1234" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the Save Image from Snapshot operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the save operation | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"image-from-snapshot-1234"}' ``` --- --- title: "Schedule Snapshots" method: POST path: "/api/v1/schedule-snapshot/" url: "/api/myaccount/operations/schedule-snapshots/" --- # Schedule Snapshots `POST https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | Location identifier for the snapshot schedule | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"resource_id\": {{node_id}},\n \"resource_type\": \"node\",\n \"time_line\": 1,\n \"create_after\": \"1\",\n \"delete_after\": \"3\"\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the schedule snapshots response | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the schedule snapshots operation. | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Schedule settings has been saved successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"resource_id\": {{node_id}},\n \"resource_type\": \"node\",\n \"time_line\": 1,\n \"create_after\": \"1\",\n \"delete_after\": \"3\"\n}"' ``` --- --- title: "Scheduled Snapshots" method: GET path: "/api/v1/schedule-snapshot/" url: "/api/myaccount/operations/scheduled-snapshots/" --- # Scheduled Snapshots `GET https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `resource_id` | string | no | Identifier of the node for which to retrieve scheduled snapshots | | `resource_type` | string | no | Filter snapshots by the type of resource they belong to | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the E2E Myaccount region for the scheduled snapshot. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the scheduled snapshot response | | `data` | object | no | | | `data.id` | string (uuid) | no | Unique identifier of the scheduled snapshot | | `data.time_line` | string | no | Identifier for the scheduled snapshot timeline | | `data.resource_id` | integer | no | Unique identifier of the snapshot resource | | `data.resource_type` | string | no | Type of the resource for which the snapshot is scheduled | | `data.create_after` | integer | no | Delay before the snapshot is created | | `data.delete_after` | integer | no | Number of days after which the scheduled snapshot will be deleted | | `data.deleted_at` | string | no | Timestamp when the snapshot was deleted, or null if not deleted | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the snapshot operation. | Example 200 response: ```json { "code": 200, "data": { "id": "9591023453-528f-65a2-4fb7-3ae4b23b8bb8", "time_line": "1", "resource_id": 12345, "resource_type": "node", "create_after": 1, "delete_after": 7, "deleted_at": "string" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Server Health Info" method: GET path: "/api/v1/nodes/{node_id}/monitor/server-health-info/" url: "/api/myaccount/operations/server-health-info/" --- # Server Health Info `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitor/server-health-info/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the target location for which health information is requested. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the health check result | | `data` | object | no | | | `data.host_uptime` | string | no | Human-readable server uptime duration | | `data.memory` | object | no | | | `data.memory.labels` | array of string | no | | | `data.memory.results` | array of string | no | | | `data.disk` | object | no | | | `data.disk.labels` | array of string | no | | | `data.disk.results` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the health check | Example 200 response: ```json { "code": 200, "data": { "host_uptime": "49 Minutes ", "memory": { "labels": [ "Free Memory (GB)" ], "results": [ "4.80" ] }, "disk": { "labels": [ "Free Disk Space (GB)" ], "results": [ "87.94" ] } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitor/server-health-info/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Server Health" method: GET path: "/api/v1/nodes/{node_id}/monitor/server-health/" url: "/api/myaccount/operations/server-health/" --- # Server Health `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitor/server-health/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `interval` | string | no | Time interval in seconds for health checks | | `apikey` | string | yes | API key for authenticating the Server Health request | | `location` | string | yes | Specifies the target location for the server health request | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the server health | | `data` | object | no | | | `data.memory` | object | no | | | `data.memory.labels` | array of string | no | | | `data.memory.results` | array of string | no | | | `data.disk` | object | no | | | `data.disk.labels` | array of string | no | | | `data.disk.results` | array of string | no | | | `data.cpu` | object | no | | | `data.cpu.cpu_load` | object | no | | | `data.cpu.cpu_load.labels` | array of string | no | | | `data.cpu.cpu_load.results` | array of string | no | | | `data.cpu.cpu_utilization` | object | no | | | `data.cpu.cpu_utilization.labels` | array of string | no | | | `data.cpu.cpu_utilization.results` | array of string | no | | | `data.iops` | object | no | | | `data.iops.disk_iops_read` | object | no | | | `data.iops.disk_iops_read.labels` | array of string | no | | | `data.iops.disk_iops_read.results` | array of string | no | | | `data.iops.disk_iops_write` | object | no | | | `data.iops.disk_iops_write.labels` | array of string | no | | | `data.iops.disk_iops_write.results` | array of string | no | | | `data.network` | object | no | | | `data.network.ens3]` | object | no | | | `data.network.ens3].in` | object | no | | | `data.network.ens3].in.item_id` | string | no | Unique identifier for the item | | `data.network.ens3].in.labels` | array of string | no | | | `data.network.ens3].in.results` | array of string | no | | | `data.network.ens3].out` | object | no | | | `data.network.ens3].out.item_id` | string | no | Identifier of the item in the server health response | | `data.network.ens3].out.labels` | array of string | no | | | `data.network.ens3].out.results` | array of string | no | | | `data.network.ens3].total` | object | no | | | `data.network.ens3].total.item_id` | string | no | Unique identifier for the item | | `data.network.ens3].total.labels` | array of string | no | | | `data.network.ens3].total.results` | array of string | no | | | `data.network.ens4]` | object | no | | | `data.network.ens4].in` | object | no | | | `data.network.ens4].in.item_id` | string | no | Unique identifier for the item | | `data.network.ens4].in.labels` | array of string | no | | | `data.network.ens4].in.results` | array of string | no | | | `data.network.ens4].out` | object | no | | | `data.network.ens4].out.item_id` | string | no | Identifier of the item in the server health response | | `data.network.ens4].out.labels` | array of string | no | | | `data.network.ens4].out.results` | array of string | no | | | `data.network.ens4].total` | object | no | | | `data.network.ens4].total.item_id` | string | no | Unique identifier for the item | | `data.network.ens4].total.labels` | array of string | no | | | `data.network.ens4].total.results` | array of string | no | | | `data.network.eth0]` | object | no | | | `data.network.eth0].in` | object | no | | | `data.network.eth0].in.item_id` | string | no | Identifier of the network item | | `data.network.eth0].in.labels` | array of string | no | | | `data.network.eth0].in.results` | array of string | no | | | `data.network.eth0].out` | object | no | | | `data.network.eth0].out.item_id` | string | no | Unique identifier for the item | | `data.network.eth0].out.labels` | array of string | no | | | `data.network.eth0].out.results` | array of string | no | | | `data.network.eth0].total` | object | no | | | `data.network.eth0].total.item_id` | string | no | Unique identifier for the item | | `data.network.eth0].total.labels` | array of string | no | | | `data.network.eth0].total.results` | array of string | no | | | `data.network.eth1]` | object | no | | | `data.network.eth1].in` | object | no | | | `data.network.eth1].in.item_id` | string | no | Identifier of the item in the response | | `data.network.eth1].in.labels` | array of string | no | | | `data.network.eth1].in.results` | array of string | no | | | `data.network.eth1].out` | object | no | | | `data.network.eth1].out.item_id` | string | no | Unique identifier for the item | | `data.network.eth1].out.labels` | array of string | no | | | `data.network.eth1].out.results` | array of string | no | | | `data.network.eth1].total` | object | no | | | `data.network.eth1].total.item_id` | string | no | Identifier for the item in the network health response | | `data.network.eth1].total.labels` | array of string | no | | | `data.network.eth1].total.results` | array of string | no | | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the health check | Example 200 response: ```json { "code": 200, "data": { "memory": { "labels": [ "10:43AM" ], "results": [ "9.8" ] }, "disk": { "labels": [ "10:37AM" ], "results": [ "5.2" ] }, "cpu": { "cpu_load": { "labels": [ "10:42AM" ], "results": [ "0.0" ] }, "cpu_utilization": { "labels": [ "10:38AM" ], "results": [ "0.18" ] } }, "iops": { "disk_iops_read": { "labels": [ "10:37AM" ], "results": [ "21029.0" ] }, "disk_iops_write": { "labels": [ "10:37AM" ], "results": [ "4278.0" ] } }, "network": { "ens3]": { "in": { "item_id": "123456", "labels": [ "10:52AM" ], "results": [ "6930.2" ] }, "out": { "item_id": "123456", "labels": [ "10:52AM" ], "results": [ "2.59" ] }, "total": { "item_id": "112345", "labels": [ "10:41AM" ], "results": [ "7125.72" ] } }, "ens4]": { "in": { "item_id": "123456", "labels": [ "10:52AM" ], "results": [ "2.57" ] }, "out": { "item_id": "123456", "labels": [ "10:52AM" ], "results": [ "3.5" ] }, "total": { "item_id": "123456", "labels": [ "10:41AM" ], "results": [ "5.88" ] } }, "eth0]": { "in": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] }, "out": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] }, "total": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] } }, "eth1]": { "in": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] }, "out": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] }, "total": { "item_id": "123456", "labels": [ "string" ], "results": [ "string" ] } } } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitor/server-health/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Start Script" method: GET path: "/api/v1/start-script/" url: "/api/myaccount/operations/start-script/" --- # Start Script `GET https://api.e2enetworks.com/myaccount/api/v1/start-script/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authentication | | `location` | string | yes | Specifies the starting location for the script. | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the script execution | | `data[].label` | string | no | Identifier for the script | | `data[].script_content` | string | no | Shell script content to be executed | Example 200 response: ```json { "data": [ { "id": 123, "label": "nginx", "script_content": "sudo apt-get update\nsudo apt-get install nginx -y" } ] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/start-script/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Transfer Node to Project" method: POST path: "/api/v1/resource-transfer/" url: "/api/myaccount/operations/transfer-node-to-project/" --- # Transfer Node to Project `POST https://api.e2enetworks.com/myaccount/api/v1/resource-transfer/` Transfers a node, and the reserved IPs, volumes, and saved images attached to it, from one project to another project owned by the same customer. This is a shared endpoint: `resource_type` also accepts `image`, `reserveip`, `blockstorage`, `dbaas`, and `parameter_group`, each transferring a different resource kind. The node is refused only in these states: `Terminating`, `Creating`, `Failed`, `Suspended`, `Powering off`, `Powering on`, `Saving`, `Reinstalling`, or `Undeploying`; every other state, including `Powered off` and `Running`, is allowed. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used for authenticating the request | | `location` | string | yes | The region of the node being transferred. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `current_project_id` | integer | yes | ID of the project the node currently belongs to. | | `target_project_id` | integer | yes | ID of the destination project. Must belong to the same customer as the source project. | | `resource_type` | one of `node` | yes | Resource type identifier. Always `node` for this endpoint. | | `resource_id` | integer | yes | ID of the node being transferred. | Example request: ```json { "current_project_id": 12345, "target_project_id": 12345, "resource_type": "node", "resource_id": 12345 } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the transfer operation. | | `data` | string | no | Identifier of the transferred resource. May be an empty string when the platform does not return an ID for transfer operations. | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the transfer. | Example 200 response: ```json { "code": 200, "data": "", "errors": {}, "message": "Resource is transferred successfully." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/resource-transfer/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"current_project_id":12345,"target_project_id":12345,"resource_type":"node","resource_id":12345}' ``` --- --- title: "Triggers" method: GET path: "/api/v1/nodes/{node_id}/monitoring/triggers/" url: "/api/myaccount/operations/triggers/" --- # Triggers `GET https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/monitoring/triggers/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location filter for the trigger query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the trigger response | | `data` | object | no | | | `data.alert_default_state` | boolean | no | Indicates whether alerts are enabled by default for the trigger. | | `data.trigger` | array of object | no | | | `data.trigger[].id` | integer | no | Unique identifier of the trigger | | `data.trigger[].trigger_id` | integer | no | Unique identifier for the trigger | | `data.trigger[].trigger_id_v2` | integer | no | Unique identifier for the trigger (v2) | | `data.trigger[].trigger_type` | string | no | Type of trigger that caused the response | | `data.trigger[].trigger_operator` | string | no | Operator used to evaluate the trigger condition | | `data.trigger[].trigger_threshold` | integer | no | Numeric threshold that activates the trigger | | `data.trigger[].timestamp` | string | no | Timestamp of the trigger event as a formatted date-time string. | | `data.trigger[].volume_id` | string | no | Identifier of the volume associated with the trigger | | `data.trigger[].alert_trigger_id` | integer | no | Identifier of the alert trigger | | `data.trigger[].is_alert_enabled` | boolean | no | Indicates whether the trigger's alert is enabled | | `data.webcheck` | array of object | no | | | `data.webcheck[].webcheck_id` | integer | no | Unique identifier for a webcheck | | `data.webcheck[].trigger_id` | integer | no | Identifier of the trigger associated with the webcheck. | | `data.webcheck[].enabled` | boolean | no | Indicates whether the webcheck is active. | | `data.webcheck[].name` | string | no | Name of the webcheck | | `data.webcheck[].url` | string (uri) | no | The web address to be checked. | | `data.webcheck[].required_string` | string | no | A required non-empty string value in each webcheck object. | | `data.webcheck[].timestamp` | string | no | Timestamp of the webcheck event as a formatted string | | `data.webcheck[].webcheck_zabbix_id` | string | no | Zabbix identifier associated with the webcheck | | `data.webcheck[].webcheck_zabbix_id_v2` | integer | no | Zabbix identifier for the web check | | `errors` | string | no | Human-readable error message for the trigger response | | `message` | string | no | A short status message describing the result of the trigger operation | Example 200 response: ```json { "code": 200, "data": { "alert_default_state": false, "trigger": [ { "id": 123456, "trigger_id": 123456, "trigger_id_v2": 123456, "trigger_type": "load", "trigger_operator": ">", "trigger_threshold": 10, "timestamp": "2025-08-19 06:53 AM", "volume_id": "string", "alert_trigger_id": 123456, "is_alert_enabled": true } ], "webcheck": [ { "webcheck_id": 123, "trigger_id": 123456, "enabled": true, "name": "Webcheck1", "url": "https://myaccount.e2enetworks.com/", "required_string": "E2E Networks", "timestamp": "2025-08-19 06:54 AM", "webcheck_zabbix_id": "string", "webcheck_zabbix_id_v2": 73 } ] }, "errors": "", "message": "Monitoring Data retrieved successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//monitoring/triggers/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Update Committed Settings" method: POST path: "/api/v1/update_committed_node_status/" url: "/api/myaccount/operations/update-committed-settings/" --- # Update Committed Settings `POST https://api.e2enetworks.com/myaccount/api/v1/update_committed_node_status/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request. | | `location` | string | yes | Location identifier for the settings update | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"vcn_id\": {{node_id}},\n // \"node_status\": \"auto_renew\",\n \"node_status\": \"hourly_billing\",\n // \"node_status\": \"auto_terminate\",\n \"committed_plan\": 318\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `status` | integer | no | HTTP status code of the update operation | | `message` | string | no | Status message indicating the result of the update operation | Example 200 response: ```json { "status": 200, "message": "Updated Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/update_committed_node_status/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"vcn_id\": {{node_id}},\n // \"node_status\": \"auto_renew\",\n \"node_status\": \"hourly_billing\",\n // \"node_status\": \"auto_terminate\",\n \"committed_plan\": 318\n}"' ``` --- --- title: "Update Load Balancer" method: PUT path: "/api/v1/appliances/load-balancers/{lb_id}/" url: "/api/myaccount/operations/update-load-balancer/" --- # Update Load Balancer `PUT https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/{lb_id}/` Updates the configuration of an existing load balancer. This is the endpoint used to add or change backends, backend servers, ACL routing rules (`acl_list` / `acl_map`), the TCP backend (`tcp_backend`), timeouts, SSL settings, and the plan. **The full configuration context must be re-sent on every update** - the console reads the current `context` object (from List Load Balancers), mutates the arrays it needs to change, and PUTs the entire object back. Any field omitted is treated as cleared. Key rules enforced by the backend: - `backends` and `tcp_backend` are mutually exclusive; `tcp_backend` may contain at most one entry. - `acl_list` / `acl_map` may only be used on an ALB (they cannot coexist with `tcp_backend`). - `default_backend` may only be set when `backends` is non-empty. - For an internal load balancer (`lb_type: internal`) `vpc_list` is required and `lb_reserve_ip` must be empty. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `lb_id` | integer | yes | The `id` of the load balancer, as returned by the List Load Balancers endpoint. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the update request | | `location` | string | yes | Region of the load balancer being updated. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `lb_name` | string | yes | Display name (changing it here renames the load balancer). | | `lb_type` | one of `external`, `internal` | yes | Network scheme. `internal` requires a non-empty `vpc_list` and forbids `lb_reserve_ip`. | | `lb_mode` | string | yes | Frontend protocol (`HTTP`/`HTTPS`/`BOTH` for an ALB, `TCP` for an NLB). | | `lb_port` | string | yes | Listening port (string). | | `plan_name` | string | yes | Plan SKU. Changing it here is **not** how you upgrade - use Perform Load Balancer Action with `type: upgrade_plan` instead. | | `node_list_type` | one of `D` | yes | | | `backends` | array of object | no | ALB backend groups (same item shape as create). Add, edit, or remove backends here. Empty for an NLB. Deleting a backend also prunes any `acl_map` entries that targeted it. | | `backends[].name` | string | no | | | `backends[].balance` | one of `source`, `roundrobin`, `leastconn` | no | | | `backends[].backend_mode` | string | no | | | `backends[].backend_ssl` | boolean | no | | | `backends[].http_check` | boolean | no | | | `backends[].check_url` | string | no | | | `backends[].domain_name` | string | no | | | `backends[].websocket_timeout` | integer | no | WebSocket idle timeout (1-100s); send null (not empty string) to disable. | | `backends[].network_id` | string | no | | | `backends[].scaler_id` | string | no | | | `backends[].scaler_port` | string | no | | | `backends[].servers` | array of object | no | | | `backends[].servers[].backend_name` | string | no | | | `backends[].servers[].backend_ip` | string | no | | | `backends[].servers[].backend_port` | integer | no | | | `tcp_backend` | array of object | no | NLB TCP backend (same item shape as create). At most one entry. Mutually exclusive with `backends`. | | `acl_list` | array of object | no | Layer-7 ACL **rule definitions** (the match conditions). Only valid on an ALB - cannot coexist with `tcp_backend`. Each entry is paired 1:1 with an `acl_map` entry by `acl_name`. | | `acl_list[].acl_name` | string | yes | Unique name for this ACL rule; referenced by the matching `acl_map` entry. | | `acl_list[].acl_condition` | one of `hdr(host) -i`, `hdr_beg(host) -i`, `hdr_end(host) -i`, `hdr_reg(host) -i`, `path`, `path_beg`, `path_end`, `path_reg`, `path -i`, `path_beg -i`, `path_end -i`, `path_reg -i`, `src`, `method`, `urlp`, `urlp_beg`, `urlp_end`, `urlp_reg` | yes | HAProxy match condition. Built in the console from an ACL type (Path / Host / Query Parameter / HTTP Request / Source IP) and a comparison. | | `acl_list[].acl_matching_path` | string | yes | The value to match - a path, host, IP/CIDR, query-parameter value, or (for an HTTP-request ACL) a space-separated list of methods such as `GET POST`. | | `acl_map` | array of object | no | Maps named ACL rules (from `acl_list`) to the backend that should serve matching traffic. Only valid on an ALB. | | `acl_map[].acl_name` | string | yes | Name of the ACL rule (must match an `acl_list[].acl_name`). | | `acl_map[].acl_backend` | string | yes | Name of the backend group that serves traffic matching this ACL. | | `acl_map[].acl_condition_state` | boolean | no | When `true` (default) the rule routes to `acl_backend` on a match; `false` negates the condition. | | `default_backend` | string | no | Backend that serves unmatched traffic. Must be empty if there are no `backends`. | | `ssl_context` | object | no | TLS configuration (ALB only). | | `ssl_context.ssl_certificate_id` | integer | no | | | `ssl_context.redirect_to_https` | boolean | no | | | `connection_timeout` | integer | no | | | `client_timeout` | integer | no | | | `server_timeout` | integer | no | | | `http_keep_alive_timeout` | integer | no | | | `vpc_list` | array of object | no | VPC attachments (required for internal load balancers). | | `vpc_list[].network_id` | string | no | | | `vpc_list[].vpc_name` | string | no | | | `vpc_list[].ipv4_cidr` | string | no | | | `security_group_id` | integer | no | | | `enable_bitninja` | boolean | no | | | `is_ipv6_attached` | boolean | no | | | `lb_reserve_ip` | string | no | | Example request: ```json { "lb_name": "new-name-1", "lb_type": "external", "lb_mode": "HTTP", "lb_port": "80", "plan_name": "E2E-LB-2", "node_list_type": "D", "backends": [ { "name": "backend-group-1", "balance": "source", "backend_mode": "http", "backend_ssl": false, "http_check": true, "check_url": "/", "domain_name": "localhost", "websocket_timeout": 60, "network_id": null, "scaler_id": null, "scaler_port": null, "servers": [ { "backend_name": "C3-8GB-853", "backend_ip": "10.2.3.4", "backend_port": 543 } ] } ], "tcp_backend": [ null ], "acl_list": [ { "acl_name": "acl-1", "acl_condition": "path_beg -i", "acl_matching_path": "/api" } ], "acl_map": [ { "acl_name": "acl-1", "acl_backend": "backend-group-1", "acl_condition_state": true } ], "default_backend": "backend-group-1", "ssl_context": { "ssl_certificate_id": null, "redirect_to_https": false }, "connection_timeout": 61, "client_timeout": 61, "server_timeout": 61, "http_keep_alive_timeout": 61, "vpc_list": [ { "network_id": "12345", "vpc_name": "VPC-261", "ipv4_cidr": "10.1.2.3/23" } ], "security_group_id": 12345, "enable_bitninja": false, "is_ipv6_attached": false, "lb_reserve_ip": "" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.appliance_id` | integer | no | | | `data.is_credit_sufficient` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "appliance_id": 7972, "is_credit_sufficient": true }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"lb_name":"new-name-1","lb_type":"external","lb_mode":"HTTP","lb_port":"80","plan_name":"E2E-LB-2","node_list_type":"D","backends":[{"name":"backend-group-1","balance":"source","backend_mode":"http","backend_ssl":false,"http_check":true,"check_url":"/","domain_name":"localhost","websocket_timeout":60,"network_id":null,"scaler_id":null,"scaler_port":null,"servers":[{"backend_name":"C3-8GB-853","backend_ip":"10.2.3.4","backend_port":543}]}],"tcp_backend":[null],"acl_list":[{"acl_name":"acl-1","acl_condition":"path_beg -i","acl_matching_path":"/api"}],"acl_map":[{"acl_name":"acl-1","acl_backend":"backend-group-1","acl_condition_state":true}],"default_backend":"backend-group-1","ssl_context":{"ssl_certificate_id":null,"redirect_to_https":false},"connection_timeout":61,"client_timeout":61,"server_timeout":61,"http_keep_alive_timeout":61,"vpc_list":[{"network_id":"12345","vpc_name":"VPC-261","ipv4_cidr":"10.1.2.3/23"}],"security_group_id":12345,"enable_bitninja":false,"is_ipv6_attached":false,"lb_reserve_ip":""}' ``` --- --- title: "Update Schedule Action" method: PUT path: "/api/v1/nodes/{node_id}/scheduled_actions/{action_id}/" url: "/api/myaccount/operations/update-schedule-action/" --- # Update Schedule Action `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/scheduled_actions/{action_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | | `action_id` | string | yes | Path parameter `action_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location identifier for the schedule update | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `timezone` | string | no | IANA time zone identifier for the schedule | | `action_tag` | string | no | Identifier of the schedule action to update | | `action` | string | no | Specifies the action to perform when updating the schedule | | `scheduled_type` | string | no | Specifies the type of schedule being updated | | `one_time` | object | no | | | `one_time.end_type` | string | no | Specifies how the one-time schedule ends | | `one_time.start_time` | string | no | The scheduled start time for the one-time action. | | `one_time.end_time` | string | no | The ending date and time for the one-time schedule. | Example request: ```json { "timezone": "Asia/Calcutta", "action_tag": "pow-off", "action": "poweroff", "scheduled_type": "one_time", "one_time": { "end_type": "on", "start_time": "2025-08-13 12:00:00", "end_time": "2025-08-13 12:00:00" } } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the update schedule action | | `data` | integer | no | Integer identifier returned after updating a schedule | | `errors` | object | no | | | `message` | string | no | Message indicating the result of the update schedule action. | Example 200 response: ```json { "code": 200, "data": 12345, "errors": {}, "message": "successfully updated scheduled action" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes//scheduled_actions//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"timezone":"Asia/Calcutta","action_tag":"pow-off","action":"poweroff","scheduled_type":"one_time","one_time":{"end_type":"on","start_time":"2025-08-13 12:00:00","end_time":"2025-08-13 12:00:00"}}' ``` --- --- title: "Update Scheduled Snapshots" method: PUT path: "/api/v1/schedule-snapshot/" url: "/api/myaccount/operations/update-scheduled-snapshots/" --- # Update Scheduled Snapshots `PUT https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Specifies the E2E Myaccount region where the snapshot will be updated. | ## Request body Content type: `application/json` Type: string Example request: ```json "{\n \"resource_id\": {{node_id}},\n \"resource_type\": \"node\",\n \"time_line\": 1,\n \"create_after\": \"7\",\n \"delete_after\": \"3\"\n}" ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the update operation | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | Confirmation message indicating the update result. | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Schedule settings has been updated successfully." } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/schedule-snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '"{\n \"resource_id\": {{node_id}},\n \"resource_type\": \"node\",\n \"time_line\": 1,\n \"create_after\": \"7\",\n \"delete_after\": \"3\"\n}"' ``` --- --- title: "Upgrade Plan" method: PUT path: "/api/v1/nodes/upgrade/{node_id}" url: "/api/myaccount/operations/upgrade-plan/" --- # Upgrade Plan `PUT https://api.e2enetworks.com/myaccount/api/v1/nodes/upgrade/{node_id}` Upgrades the node to a larger plan (more vCPU / RAM / disk). The node must be powered off before issuing this request. The upgrade is destructive to the underlying VM but preserves the persistent root disk; transient state in RAM is lost. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Region of the node being upgraded. | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `plan` | string | yes | Plan SKU to upgrade to. The new plan must be larger than the current plan in at least one dimension (vCPU / RAM / disk). Use the plans API to discover valid SKUs. | | `image` | string | yes | OS image identifier to use after the upgrade. Usually the same as the node's current image - supplied explicitly so the new VM is reprovisioned from a known template. | Example request: ```json { "plan": "C3-2vCPU-2RAM-15DISK-C3.4GB_CHENNAI-Chennai", "image": "CentOS-7.5-Distro" } ``` ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code indicating the result of the upgrade request. | | `data` | object | no | | | `data.vcpu` | integer | no | Number of virtual CPUs in the upgraded plan. | | `data.ram` | integer | no | RAM allocation in megabytes. | | `data.disk-size` | integer | no | Root disk size in megabytes. | | `data.customer_id` | integer | no | Identifier of the customer that owns the node. | | `data.vm_id` | integer | no | Identifier of the virtual machine. | | `data.new_node_image_id` | integer | no | Identifier of the post-upgrade node image. | | `data.old_node_image_id` | integer | no | Identifier of the pre-upgrade node image. | | `data.action` | string | no | Action identifier returned in the upgrade response. | | `data.cluster` | string | no | Identifier of the target cluster. May be null when the node is not pinned to a specific cluster. | | `data.size` | integer | no | Size value returned by the upgrade response. | | `data.location` | string | no | Region/city name where the upgraded node lives. | | `errors` | object | no | | | `message` | string | no | Human-readable status message for the upgrade. | Example 200 response: ```json { "code": 200, "data": { "vcpu": 8, "ram": 16000, "disk-size": 143051, "customer_id": 12345, "vm_id": 12345, "new_node_image_id": 12345, "old_node_image_id": 12345, "action": "Delhi", "cluster": "string", "size": 0, "location": "Delhi" }, "errors": {}, "message": "Node successfully upgraded" } ``` ## Example call ```bash curl --request PUT \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/upgrade/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"plan":"C3-2vCPU-2RAM-15DISK-C3.4GB_CHENNAI-Chennai","image":"CentOS-7.5-Distro"}' ``` --- --- title: "Usage" method: GET path: "/api/v1/cdpbackup/{node_id}/usage/" url: "/api/myaccount/operations/usage/" --- # Usage `GET https://api.e2enetworks.com/myaccount/api/v1/cdpbackup/{node_id}/usage/` Returns a node's CDP Backup storage usage, the figure billed at ₹2.5 or $0.03 per GB of backup storage per month, on top of the flat ₹900/$10 per month license fee. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location filter for the usage query | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code of the usage response | | `data` | object | no | | | `data.status` | string | no | Indicates the result status of the usage request | | `data.error_message` | string | no | Human-readable error message describing a usage request failure | | `data.database_backup_enabled` | boolean | no | Indicates whether database backups are enabled. | | `data.frequency` | object | no | | | `data.frequency.type` | string | no | Frequency type of the usage data | | `data.frequency.value` | object | no | | | `data.frequency.value.hoursOfDay` | array of integer | no | | | `data.frequency.value.startingMinute` | integer | no | The minute of the hour when the frequency period starts. | | `data.frequency.timezone` | string | no | Time zone of the usage frequency | | `data.local_retention_points` | object | no | | | `data.local_retention_points.daily_limit` | integer | no | Maximum number of days data is retained locally | | `data.local_retention_points.hourly_limit` | integer | no | Maximum number of hourly retention points allowed | | `data.local_retention_points.weekly_limit` | integer | no | Maximum number of weeks allowed for local retention points | | `data.local_retention_points.monthly_limit` | integer | no | Maximum number of local retention points allowed per month. | | `data.local_retention_points.yearly_limit` | integer | no | Annual retention points limit. | | `data.next_run_time` | string | no | Timestamp of the next scheduled run | | `data.last_run_time` | string | no | Timestamp of the last run in human-readable format | | `data.size` | string | no | Size of the usage data as a human-readable string | | `data.exclude_file_folder` | string | no | Path of a file or folder to be excluded from usage calculations | | `data.compression_type` | string | no | Specifies the compression algorithm applied to the response data. | | `data.compression_level` | string | no | Indicates the level of compression applied to the usage data. | | `data.is_encryption_applied` | boolean | no | Indicates whether encryption was applied to the usage data | | `data.last_task_status` | object | no | | | `data.last_task_status.task_status` | boolean | no | Indicates whether the last task completed successfully | | `data.last_task_status.message` | string | no | Human-readable status message for the last task | | `data.last_task_status.failed_date` | string | no | Date when the last task failed | | `data.is_window_plan` | boolean | no | Indicates whether the usage plan is a window plan. | | `data.active_plan_details` | object | no | | | `data.active_plan_details.plan_id` | integer | no | Identifier of the active plan | | `data.active_plan_details.plan_name` | string | no | Name of the active usage plan | | `data.active_plan_details.hourly_interval` | integer | no | Number of hours between each usage reporting interval | | `data.is_archived_policy_active` | boolean | no | Indicates whether the archived policy is currently active. | | `errors` | object | no | | | `message` | string | no | Status message indicating the result of the request | Example 200 response: ```json { "code": 200, "data": { "status": "ERROR", "error_message": "", "database_backup_enabled": false, "frequency": { "type": "HOURLY", "value": { "hoursOfDay": [ 0 ], "startingMinute": 38 }, "timezone": "UTC" }, "local_retention_points": { "daily_limit": 14, "hourly_limit": 12, "weekly_limit": 4, "monthly_limit": 2, "yearly_limit": 0 }, "next_run_time": "21 July, 2025 18:38", "last_run_time": "21 July, 2025 14:19", "size": "6525.0 Bytes", "exclude_file_folder": "", "compression_type": "ZLIB", "compression_level": "LOW", "is_encryption_applied": false, "last_task_status": { "task_status": false, "message": "Connecting to agent failed", "failed_date": "" }, "is_window_plan": false, "active_plan_details": { "plan_id": 1, "plan_name": "Regular Plan", "hourly_interval": 6 }, "is_archived_policy_active": false }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/cdpbackup//usage/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "VPC Details" method: GET path: "/api/v1/vpc/node/{node_id}/" url: "/api/myaccount/operations/vpc-details/" --- # VPC Details `GET https://api.e2enetworks.com/myaccount/api/v1/vpc/node/{node_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `node_id` | string | yes | Path parameter `node_id`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Identifier of the project to scope the request to. Required integer project ID. | | `apikey` | string | yes | API key used to authenticate the request | | `location` | string | yes | Location identifier to filter VPC details | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `is_private_cluster_user` | boolean | no | Indicates whether the user is a private cluster user | | `dns` | string | no | Space-separated list of DNS server IP addresses | | `ipv4_cidr` | string | no | IPv4 CIDR block of the VPC | | `name` | string | no | Identifier of the VPC | | `network_id` | integer | no | Unique identifier of the VPC network | | `project_id` | string | no | Identifier of the project associated with the VPC | | `subnet_id` | integer | no | Identifier of the subnet | | `subnet_name` | string | no | Name of the subnet | Example 200 response: ```json { "is_private_cluster_user": false, "dns": "8.8.8.8 8.8.4.4", "ipv4_cidr": "10.2.3.4/23", "name": "VPC-493", "network_id": 12345, "project_id": "12345", "subnet_id": 123, "subnet_name": "api-automation-subnet-2008" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/vpc/node//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Add Node Pool" method: POST path: "/tenant_clusters/{tenant_cluster_id}/node-pools/" url: "/api/tir/operations/add-kubernetes-node-pool/" --- # Add Node Pool `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/node-pools/` Adds a worker node pool to a cluster that is `ready` or `worker_joined`. The pool starts `queued`, and a `ready` cluster moves to `worker_joining` while the new nodes join. The name must be unique among the cluster's pools, ignoring case; a deleted pool's name can be used again. Credit and free stock are checked as they are when you create a cluster, and a committed plan charges its whole term upfront. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Lowercase letters, numbers, and hyphens, starting and ending with a letter or number; unique in the cluster, ignoring case. | | `sku_id` | integer | yes | The computing resource for this pool's nodes. | | `sku_item_price_id` | integer | yes | An hourly or committed plan of that resource, in this region. | | `replicas` | integer | yes | Node count. | | `committed_instance_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | Required when the plan is committed. What happens when the term ends. | | `next_sku_item_price_id` | integer | no | Required with a committed plan: a committed plan of the same resource with `auto_renew`, or an hourly one with `convert_to_hourly_billing`. | | `labels` | array of object | no | Node labels for this pool. Keys must be unique. | | `labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `labels[].value` | string | yes | Required. The same characters as the key. | | `taints` | array of object | no | Node taints for this pool. Each key and effect pair must be unique. | | `taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `taints[].value` | string | no | May be empty. | | `taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | Example request: ```json { "name": "string", "sku_id": 0, "sku_item_price_id": 0, "replicas": 0, "committed_instance_policy": "string", "next_sku_item_price_id": 0, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ] } ``` ## Responses ### 201 The pool is queued for creation. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.tenant_cluster_id` | integer | no | | | `data.name` | string | no | | | `data.role` | one of `control_plane`, `worker` | no | | | `data.status` | one of `queued`, `joining`, `ready`, `resizing`, `scaling`, `failed`, `deleting` | no | `resizing` while the pool moves to a new fixed size, `scaling` while its autoscaler changes the node count. | | `data.replicas` | integer | no | The node count the pool is set to. | | `data.ready_replicas` | integer | no | The pool's nodes that are up and ready. | | `data.labels` | array of object | no | | | `data.labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.labels[].value` | string | yes | Required. The same characters as the key. | | `data.taints` | array of object | no | | | `data.taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.taints[].value` | string | no | May be empty. | | `data.taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | | `data.sku_details` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number | no | | | `data.sku_details.plan.currency` | string | no | | | `data.committed_info` | object | no | Set only for a pool on a committed plan. | | `data.committed_info.updation_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | | | `data.committed_info.next_sku_item_price` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.committed_info.next_sku_item_price.specs` | object | no | | | `data.committed_info.next_sku_item_price.specs.sku_id` | integer | no | | | `data.committed_info.next_sku_item_price.specs.name` | string | no | | | `data.committed_info.next_sku_item_price.specs.series` | string | no | | | `data.committed_info.next_sku_item_price.specs.cpu` | integer | no | | | `data.committed_info.next_sku_item_price.specs.memory` | integer | no | | | `data.committed_info.next_sku_item_price.plan` | object | no | | | `data.committed_info.next_sku_item_price.plan.sku_item_price_id` | integer | no | | | `data.committed_info.next_sku_item_price.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.committed_info.next_sku_item_price.plan.committed_days` | integer | no | | | `data.committed_info.next_sku_item_price.plan.unit_price` | number | no | | | `data.committed_info.next_sku_item_price.plan.currency` | string | no | | | `data.committed_info.end_date` | string (date-time) | no | | | `data.autoscaling` | object | no | The pool's size bounds. A `min_replicas` lower than `max_replicas` means the pool is autoscaled; equal values are a fixed size. | | `data.autoscaling.min_replicas` | integer | no | | | `data.autoscaling.max_replicas` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 22, "tenant_cluster_id": 103, "name": "app-workers", "role": "worker", "status": "ready", "replicas": 2, "ready_replicas": 2, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ], "sku_details": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "committed_info": { "updation_policy": "auto_renew", "next_sku_item_price": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "end_date": "2026-11-20T10:15:00Z" }, "autoscaling": { "min_replicas": 2, "max_replicas": 2 }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" }, "errors": {}, "message": "Node pool creation queued successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//node-pools/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","sku_id":0,"sku_item_price_id":0,"replicas":0,"committed_instance_policy":"string","next_sku_item_price_id":0,"labels":[{"key":"team","value":"ml"}],"taints":[{"key":"dedicated","value":"gpu","effect":"NoSchedule"}]}' ``` --- --- title: "Attach Alert" method: POST path: "/serving/inference/{inference_id}/alerts/" url: "/api/tir/operations/attach-inference-alert/" --- # Attach Alert `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/alerts/` Attach an existing alert to a model endpoint. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `alert_id` | string | yes | The ID of the alert to attach to the model endpoint. | Example request: ```json { "alert_id": "string" } ``` ## Responses ### 200 Alert attached to the model endpoint successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | Attachment record ID. Use this to detach the alert. | | `data.inference` | integer | no | | | `data.inference_name` | string | no | | | `data.alert` | object | no | | | `data.alert.id` | integer | no | | | `data.alert.name` | string | no | | | `data.alert.location` | string | no | | | `data.alert.resource_type` | string | no | | | `data.alert.metric_type` | string | no | | | `data.alert.metric_type_unit` | string | no | | | `data.alert.operator` | string | no | | | `data.alert.threshold_value` | number | no | | | `data.alert.severity` | string | no | | | `data.alert.created_by` | object | no | | | `data.alert.created_by.id` | integer | no | | | `data.alert.created_by.name` | string | no | | | `data.alert.created_by.email` | string | no | | | `data.alert.created_by.username` | string | no | | | `data.alert.created_at` | string (date-time) | no | | | `data.alert.updated_at` | string (date-time) | no | | | `data.alert_name` | string | no | | | `data.grafana_rule_uid` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 0, "inference": 0, "inference_name": "string", "alert": { "id": 0, "name": "string", "location": "string", "resource_type": "string", "metric_type": "string", "metric_type_unit": "string", "operator": "string", "threshold_value": 0, "severity": "string", "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string" }, "alert_name": "string", "grafana_rule_uid": "string", "created_at": "string", "updated_at": "string" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"alert_id":"string"}' ``` --- --- title: "Attach Security Group" method: POST path: "/serving/inference/{inference_id}/security-groups/" url: "/api/tir/operations/attach-inference-security-group/" --- # Attach Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/security-groups/` Attach one or more security groups to the model endpoint. > **Note:** To get a list of available security groups, use the **Security Groups** section of the API (`GET /projects/{Project_Id}/security_groups/`). ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_groups_ids` | array of integer | yes | List of security group IDs to attach to the model endpoint. | Example request: ```json { "security_groups_ids": [ 0 ] } ``` ## Responses ### 200 Security group attach or detach operation result. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "string", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_groups_ids":[0]}' ``` --- --- title: "Attach VPC IP" method: POST path: "/serving/inference/{inference_id}/vpc_ips/{vpc_ip_id}/" url: "/api/tir/operations/attach-inference-vpc-ip/" --- # Attach VPC IP `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/vpc_ips/{vpc_ip_id}/` Attach a reserved VPC IP to the model endpoint. > **Note:** A reserved VPC IP must exist in your TIR account before attaching. Reserve IPs under **Network → Reserve IP** in the TIR. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | | `vpc_ip_id` | integer | yes | ID of the reserved VPC IP to attach. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 VPC IP attach scheduled successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "string", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//vpc_ips//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach Kubernetes LoadBalancer IPs" method: POST path: "/tenant_clusters/{tenant_cluster_id}/lb-ips/" url: "/api/tir/operations/attach-kubernetes-lb-ips/" --- # Attach Kubernetes LoadBalancer IPs `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/` Attaches reserved IPs to the cluster's LoadBalancer IP pool. A Service of type `LoadBalancer` then takes one of them as its address; with none free, its `EXTERNAL-IP` stays ``. The cluster must be `worker_joining`, `worker_joined`, or `ready`. The addresses must be public reserved IPs in this project and region that are not in use: a VPC IP, or an IP attached to another cluster, is refused. > **Note:** Get reserved IP IDs from the **Reserve IP** section of the API. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `reserved_ip_ids` | array of integer | yes | IDs of available public reserved IPs in this project and region. | Example request: ```json { "reserved_ip_ids": [ 0 ] } ``` ## Responses ### 201 The IPs are attached. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.lb_ips` | array of object | no | | | `data.lb_ips[].id` | integer | no | | | `data.lb_ips[].ip_address` | string | no | | | `data.lb_ips[].status` | string | no | `Unavailable` once the address is attached to the cluster. | | `data.lb_ips[].location` | string | no | | | `data.lb_ips[].created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "lb_ips": [ { "id": 358, "ip_address": "203.0.113.10", "status": "Unavailable", "location": "Delhi", "created_at": "2026-10-20T10:15:00Z" } ] }, "errors": {}, "message": "2 reserved IP(s) attached to the cluster LoadBalancer pool." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//lb-ips/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"reserved_ip_ids":[0]}' ``` --- --- title: "Create Kubernetes Cluster" method: POST path: "/tenant_clusters/" url: "/api/tir/operations/create-kubernetes-cluster/" --- # Create Kubernetes Cluster `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/` Creates a Kubernetes cluster whose nodes run as virtual machines in your VPC. The call returns at once with `status` `queued`; the cluster then moves through `cluster_provisioning`, `worker_joining`, and `worker_joined` to `ready`, or ends at `failed`. Call **Get Kubernetes Cluster** to follow it. The control plane runs on a CPU plan. The cluster needs at least one worker pool, and pool names must be unique in the cluster, ignoring case. A cluster name must be unique in the project, ignoring case. Pods use `172.30.0.0/16` and Services `172.31.0.0/16` on every cluster; neither can be set. Before anything is created, the server checks credit and free stock for every pool. A committed plan charges its whole term upfront. > **Note:** Get version IDs from **List Kubernetes Versions**. The VPC must be Active and in the same project and region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Cluster name, unique in the project. | | `description` | string | no | Optional free text. | | `tenant_k8s_version_id` | integer | yes | The `id` of a version from **List Kubernetes Versions**. It cannot be changed later. | | `control_plane_replicas` | one of `1`, `3` | no | Control plane node count. Use 3 for a cluster you depend on; 1 suits a cluster you are trying out, such as for development. It cannot be changed later. | | `control_plane_sku_id` | integer | yes | A CPU computing resource for the control plane. | | `control_plane_sku_item_price_id` | integer | yes | An hourly or committed plan of that resource, in this region. | | `control_plane_committed_instance_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | Required when the control plane plan is committed. What happens when the term ends. | | `control_plane_next_sku_item_price_id` | integer | no | Required with a committed plan: the plan of the same resource to continue on, a committed plan with `auto_renew` or an hourly plan with `convert_to_hourly_billing`. | | `vpc_id` | integer | yes | An Active VPC in this project and region. It cannot be changed later. | | `subnet_id` | integer | yes | A subnet of that VPC. The nodes take their addresses from it. | | `worker_pools` | array of object | yes | One entry for each worker node pool. | | `worker_pools[].name` | string | yes | Lowercase letters, numbers, and hyphens, starting and ending with a letter or number; unique in the cluster, ignoring case. | | `worker_pools[].sku_id` | integer | yes | The computing resource for this pool's nodes. | | `worker_pools[].sku_item_price_id` | integer | yes | An hourly or committed plan of that resource, in this region. | | `worker_pools[].replicas` | integer | yes | Node count. | | `worker_pools[].committed_instance_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | Required when the pool's plan is committed. | | `worker_pools[].next_sku_item_price_id` | integer | no | Required with a committed plan: a committed plan of the same resource with `auto_renew`, or an hourly one with `convert_to_hourly_billing`. | | `worker_pools[].labels` | array of object | no | Node labels for this pool. Keys must be unique. | | `worker_pools[].labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `worker_pools[].labels[].value` | string | yes | Required. The same characters as the key. | | `worker_pools[].taints` | array of object | no | Node taints for this pool. Each key and effect pair must be unique. | | `worker_pools[].taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `worker_pools[].taints[].value` | string | no | May be empty. | | `worker_pools[].taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | Example request: ```json { "name": "string", "description": "string", "tenant_k8s_version_id": 0, "control_plane_replicas": 3, "control_plane_sku_id": 0, "control_plane_sku_item_price_id": 0, "control_plane_committed_instance_policy": "string", "control_plane_next_sku_item_price_id": 0, "vpc_id": 0, "subnet_id": 0, "worker_pools": [ { "name": "string", "sku_id": 0, "sku_item_price_id": 0, "replicas": 0, "committed_instance_policy": "string", "next_sku_item_price_id": 0, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ] } ] } ``` ## Responses ### 201 The cluster is queued for creation. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.project_id` | integer | no | | | `data.region` | string | no | | | `data.status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `data.tenant_k8s_version_id` | integer | no | | | `data.tenant_k8s_version` | string | no | | | `data.node_pools` | array of object | no | | | `data.node_pools[].id` | integer | no | | | `data.node_pools[].tenant_cluster_id` | integer | no | | | `data.node_pools[].name` | string | no | | | `data.node_pools[].role` | one of `control_plane`, `worker` | no | | | `data.node_pools[].status` | one of `queued`, `joining`, `ready`, `resizing`, `scaling`, `failed`, `deleting` | no | `resizing` while the pool moves to a new fixed size, `scaling` while its autoscaler changes the node count. | | `data.node_pools[].replicas` | integer | no | The node count the pool is set to. | | `data.node_pools[].ready_replicas` | integer | no | The pool's nodes that are up and ready. | | `data.node_pools[].labels` | array of object | no | | | `data.node_pools[].labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.node_pools[].labels[].value` | string | yes | Required. The same characters as the key. | | `data.node_pools[].taints` | array of object | no | | | `data.node_pools[].taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.node_pools[].taints[].value` | string | no | May be empty. | | `data.node_pools[].taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | | `data.node_pools[].sku_details` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.node_pools[].sku_details.specs` | object | no | | | `data.node_pools[].sku_details.specs.sku_id` | integer | no | | | `data.node_pools[].sku_details.specs.name` | string | no | | | `data.node_pools[].sku_details.specs.series` | string | no | | | `data.node_pools[].sku_details.specs.cpu` | integer | no | | | `data.node_pools[].sku_details.specs.memory` | integer | no | | | `data.node_pools[].sku_details.plan` | object | no | | | `data.node_pools[].sku_details.plan.sku_item_price_id` | integer | no | | | `data.node_pools[].sku_details.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.node_pools[].sku_details.plan.committed_days` | integer | no | | | `data.node_pools[].sku_details.plan.unit_price` | number | no | | | `data.node_pools[].sku_details.plan.currency` | string | no | | | `data.node_pools[].committed_info` | object | no | Set only for a pool on a committed plan. | | `data.node_pools[].committed_info.updation_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | | | `data.node_pools[].committed_info.next_sku_item_price` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.node_pools[].committed_info.next_sku_item_price.specs` | object | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.sku_id` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.name` | string | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.series` | string | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.cpu` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.memory` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan` | object | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.sku_item_price_id` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.node_pools[].committed_info.next_sku_item_price.plan.committed_days` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.unit_price` | number | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.currency` | string | no | | | `data.node_pools[].committed_info.end_date` | string (date-time) | no | | | `data.node_pools[].autoscaling` | object | no | The pool's size bounds. A `min_replicas` lower than `max_replicas` means the pool is autoscaled; equal values are a fixed size. | | `data.node_pools[].autoscaling.min_replicas` | integer | no | | | `data.node_pools[].autoscaling.max_replicas` | integer | no | | | `data.node_pools[].created_at` | string (date-time) | no | | | `data.node_pools[].updated_at` | string (date-time) | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 103, "name": "tir-k8s-prod", "project_id": 18773, "region": "Delhi", "status": "ready", "tenant_k8s_version_id": 1, "tenant_k8s_version": "v1.31.4", "node_pools": [ { "id": 22, "tenant_cluster_id": 103, "name": "app-workers", "role": "worker", "status": "ready", "replicas": 2, "ready_replicas": 2, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ], "sku_details": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "committed_info": { "updation_policy": "auto_renew", "next_sku_item_price": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "end_date": "2026-11-20T10:15:00Z" }, "autoscaling": { "min_replicas": 2, "max_replicas": 2 }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" } ], "created_at": "2026-10-20T10:15:00Z" }, "errors": {}, "message": "Tenant cluster creation queued successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","description":"string","tenant_k8s_version_id":0,"control_plane_replicas":3,"control_plane_sku_id":0,"control_plane_sku_item_price_id":0,"control_plane_committed_instance_policy":"string","control_plane_next_sku_item_price_id":0,"vpc_id":0,"subnet_id":0,"worker_pools":[{"name":"string","sku_id":0,"sku_item_price_id":0,"replicas":0,"committed_instance_policy":"string","next_sku_item_price_id":0,"labels":[{"key":"team","value":"ml"}],"taints":[{"key":"dedicated","value":"gpu","effect":"NoSchedule"}]}]}' ``` --- --- title: "Delete Shared Dataset" method: DELETE path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/{Storage_Id}/" url: "/api/tir/operations/delete-ai-labs-organization-organization-id-course-course-id-shared-storage-storage-id/" --- # Delete Shared Dataset `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/{Storage_Id}/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | | `Storage_Id` | integer | yes | Unique identifier for the shared storage | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully deleted shared storage | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Dataset deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//shared-storage//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Group" method: DELETE path: "/ai_labs/organization/{Organization_Id}/group/{Group_Id}/" url: "/api/tir/operations/delete-ai-labs-organization-organization-id-group-group-id/" --- # Delete Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/group/{Group_Id}/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Group_Id` | integer | yes | Unique identifier for the group | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully deleted the group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Group deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//group//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete organization by Id" method: DELETE path: "/ai_labs/organization/{Organization_Id}/" url: "/api/tir/operations/delete-ai-labs-organization-organization-id/" --- # Delete organization by Id `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully deleted the organization | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Organization deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Alert" method: DELETE path: "/alerts/{alert_id}/" url: "/api/tir/operations/delete-alerts-alert-id/" --- # Delete Alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/{alert_id}/` Delete an existing alert from the project. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `alert_id` | integer | yes | Alert ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Alert deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Alert deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Monitoring Group" method: DELETE path: "/alerts/monitoring-groups/{Monitoring_Group_Id}/" url: "/api/tir/operations/delete-alerts-monitoring-groups-monitoring-group-id/" --- # Delete Monitoring Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups/{Monitoring_Group_Id}/` Delete an existing monitoring group from the project. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Monitoring_Group_Id` | integer | yes | Monitoring Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Monitoring group deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Monitoring group deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete API Token" method: DELETE path: "/auth-token/{token_id}/" url: "/api/tir/operations/delete-auth-token-token-id/" --- # Delete API Token `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token/{token_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `token_id` | integer | yes | API Token ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 API token deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "tir-token-260320153924 - Deleted Successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Container Registry" method: DELETE path: "/container_registry/{Container_reg_id}/" url: "/api/tir/operations/delete-container-registry-container-reg-id/" --- # Delete Container Registry `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/{Container_reg_id}/` **Note:** Container Registry is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Container_reg_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Container registry deletion started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Container Registry Deletion Started", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Connection" method: DELETE path: "/data_syncer/connection/{Connection_Id}/" url: "/api/tir/operations/delete-data-syncer-connection-connection-id/" --- # Delete Connection `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/{Connection_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Connection_Id` | integer | yes | Connection Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "connection deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Destination" method: DELETE path: "/data_syncer/destination/{Destination_Id}/" url: "/api/tir/operations/delete-data-syncer-destination-destination-id/" --- # Delete Destination `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination/{Destination_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Destination_Id` | integer | yes | Destination Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### content ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Source" method: DELETE path: "/data_syncer/source/{Source_Id}/" url: "/api/tir/operations/delete-data-syncer-source-source-id/" --- # Delete Source `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source/{Source_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Source_Id` | integer | yes | Source Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Source deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Source deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Lifecycle Rule" method: DELETE path: "/datasets/{Dataset_Id}/lifecycle-rule/{rule_id}/" url: "/api/tir/operations/delete-datasets-dataset-id-lifecycle-rule-rule-id/" --- # Delete Lifecycle Rule `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/{Dataset_Id}/lifecycle-rule/{rule_id}/` Delete a lifecycle rule from the dataset's EOS bucket. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Dataset_Id` | integer | yes | | | `rule_id` | string | yes | ID of the lifecycle rule to delete | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success response for lifecycle rule deletion. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Lifecycle rule deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets//lifecycle-rule//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Dataset" method: DELETE path: "/datasets/{Dataset_Id}/" url: "/api/tir/operations/delete-datasets-dataset-id/" --- # Delete Dataset `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/{Dataset_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Dataset_Id` | integer | no | dataset id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Dataset deletion confirmation. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | object | no | Placeholder object as no data is returned. | | `errors` | object | no | Contains any errors that occurred. | | `message` | string | no | Result message confirming the deletion. | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Dataset deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Turn Off Snapshot Schedule" method: DELETE path: "/dbaas/{managed_db_id}/snapshots/schedule/" url: "/api/tir/operations/delete-dbaas-managed-db-id-snapshots-schedule/" --- # Turn Off Snapshot Schedule `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/schedule/` Stops automatic snapshots. Every snapshot already taken is kept, and the saved settings stay for the next **Set Snapshot Schedule**. Works in every database status. Needs the Update permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The schedule is off | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.enabled` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "enabled": false }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The schedule could not be turned off; nothing is changed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Could not update the snapshot schedule right now; nothing was changed. Please try again." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots/schedule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Database Snapshot" method: DELETE path: "/dbaas/{managed_db_id}/snapshots/{snapshot_id}/" url: "/api/tir/operations/delete-dbaas-managed-db-id-snapshots-snapshot-id/" --- # Delete Database Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/{snapshot_id}/` Permanently deletes one snapshot. Works in any snapshot status and any database status. Needs the Delete permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | | `snapshot_id` | integer | yes | Snapshot ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The snapshot is deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Snapshot deleted successfully", "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region ("Invalid request! Database Not Found"), or no snapshot with that ID on the database. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Snapshot not found." } ``` ### 412 The snapshot could not be deleted. Try again. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Snapshot deletion failed" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Database" method: DELETE path: "/dbaas/{managed_db_id}/" url: "/api/tir/operations/delete-dbaas-managed-db-id/" --- # Delete Database `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/` Deletes the database and starts tearing it down; `status` becomes `Terminating`. Its snapshot schedule is removed. Works in any state except while the database is already `Terminating`. Needs the Delete permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Deletion started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Managed Database deleted successfully", "errors": {} } ``` ### 400 The database is already being deleted ("Database is already being deleted."), or was created with deletion protection ("Deletion protection is enabled. Turn it off before deleting this database."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | Keyed by field. | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "status": "Database is already being deleted." } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The teardown could not start. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Managed Database deletion failed" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Parameter Group" method: DELETE path: "/dbaas/parameter-group/{pg_id}/" url: "/api/tir/operations/delete-dbaas-parameter-group-pg-id/" --- # Delete Parameter Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/{pg_id}/` Permanently deletes a parameter group. Works only on a group you created in the project; any other ID returns 404. Only a group that no database uses can be deleted; detach it from every database first. Needs the Delete permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The parameter group is deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.message` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "message": "Parameter group deleted." }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No parameter group with that ID among yours in the project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Parameter group not found." } ``` ### 412 A database still uses the group. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Parameter group is attached to a database. Detach it first." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete SFS" method: DELETE path: "/distributed_jobs/sfs/{SFS_Id}/" url: "/api/tir/operations/delete-distributed-jobs-sfs-sfs-id/" --- # Delete SFS `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/{SFS_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `SFS_Id` | integer | yes | SFS ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "SFS deleted successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Training Cluster" method: DELETE path: "/distributed_jobs_v2/cluster/{Cluster_Id}/" url: "/api/tir/operations/delete-distributed-jobs-v2-cluster-cluster-id/" --- # Delete Training Cluster `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/{Cluster_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_Id` | integer | yes | Cluster ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response when the cluster is deleted. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Cluster deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Fine Tune" method: DELETE path: "/finetuning/{FineTuneID}/" url: "/api/tir/operations/delete-finetuning-finetuneid/" --- # Delete Fine Tune `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/{FineTuneID}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `FineTuneID` | integer | no | FineTune id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with finetuning job details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code. | | `data` | object | no | | | `data.id` | integer | no | Job ID. | | `data.name` | string | no | Name of the finetuning job. | | `data.model_name` | string | no | Name of the model being fine-tuned. | | `data.training_inputs` | object | no | Configuration details of the training job. | | `data.training_inputs.dataset` | string | no | The dataset used for finetuning. | | `data.training_inputs.epochs` | integer | no | Number of training epochs. | | `data.training_inputs.learning_rate` | number (float) | no | The learning rate for training. | | `data.training_inputs.validation_prompt` | string | no | A prompt used for validation. | | `data.training_inputs.num_validation_images` | integer | no | Number of images used for validation. | | `data.training_inputs.mixed_precision` | string | no | The precision level used during training. | | `data.run` | object | no | Details of the run state. | | `data.run.id` | integer | no | Run ID. | | `data.run.state` | string | no | Current state of the job. | | `data.run.progress` | string | no | Progress of the run. | | `data.status` | string | no | Overall status of the job. | | `data.created_by` | object | no | Creator information. | | `data.created_by.name` | string | no | Name of the creator. | | `data.created_by.email` | string | no | Email of the creator. | | `data.sku_item_price` | object | no | Pricing information for the job. | | `data.sku_item_price.unit_price` | number (float) | no | Price per unit time (e.g., hourly). | | `data.sku_item_price.currency` | string | no | Currency code. | | `errors` | object | no | Errors encountered, if any. | | `message` | string | no | A message indicating the status of the operation. | Example 200 response: ```json { "code": 200, "data": { "id": 810, "name": "tir-finetuning-111511093030", "model_name": "stabilityai/stable-diffusion-2-1", "training_inputs": { "dataset": "lambdalabs/naruto-blip-captions", "epochs": 3, "learning_rate": 0.0000141, "validation_prompt": "A photo of a man with green eyes", "num_validation_images": 2, "mixed_precision": "no" }, "run": { "id": 2444, "state": "Terminating", "progress": "0/1" }, "status": "Deleting", "created_by": { "name": "Nipun", "email": "nipun.arora@e2enetworks.com" }, "sku_item_price": { "unit_price": 470.4, "currency": "INR" } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Load Balancer Certificate" method: DELETE path: "/gateway/certificates/{certificate_id}/" url: "/api/tir/operations/delete-gateway-certificates-certificate-id/" --- # Delete Load Balancer Certificate `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/{certificate_id}/` Deletes a Certificate. A Certificate that a Load Balancer still uses cannot be deleted; detach it first. A Certificate cannot be edited; to renew one, upload the new one and switch the Load Balancer to it. Needs the Delete permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `certificate_id` | integer | yes | Certificate ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Certificate was deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true }, "errors": {} } ``` ### 400 A Load Balancer still uses the Certificate. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "This certificate is still attached to a load balancer. Detach it first." } ``` ### 404 No Certificate with that ID in the project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Certificate not found in this project." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Alert from Load Balancer" method: DELETE path: "/gateway/{gateway_id}/alerts/{attachment_id}/" url: "/api/tir/operations/delete-gateway-gateway-id-alerts-attachment-id/" --- # Detach Alert from Load Balancer `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/alerts/{attachment_id}/` Detaches an alert from the Load Balancer, so the Load Balancer is no longer watched against it. The alert itself stays and can be attached again. Needs the Delete permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `attachment_id` | integer | yes | Alert attachment ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The alert was detached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | The detach success text. | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "string", "data": {}, "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 412 No attachment with that ID on this Load Balancer, or the alert rule could not be removed. `errors` is the reason. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "string" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Remove Load Balancer Custom Domain" method: DELETE path: "/gateway/{gateway_id}/custom-domain/" url: "/api/tir/operations/delete-gateway-gateway-id-custom-domain/" --- # Remove Load Balancer Custom Domain `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/custom-domain/` Removes the custom domain. The Load Balancer stops serving it and keeps answering on its E2E address. A free certificate made for the domain is deleted; an uploaded certificate stays in the project. The Load Balancer needs the Delete permission. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The custom domain was removed | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.domain` | string | no | | | `data.status` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "domain": null, "status": null }, "errors": {} } ``` ### 400 The Load Balancer has no custom domain. A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "No custom domain is configured on this load balancer." } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//custom-domain/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Load Balancer Rule" method: DELETE path: "/gateway/{gateway_id}/rules/{rule_id}/" url: "/api/tir/operations/delete-gateway-gateway-id-rules-rule-id/" --- # Delete Load Balancer Rule `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/rules/{rule_id}/` Deletes a Rule and takes it off the Load Balancer, so requests that only that Rule matched are no longer sent to its groups. Needs the Delete permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `rule_id` | integer | yes | Rule ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Rule was deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true }, "errors": {} } ``` ### 400 The change could not be applied, so the Rule is kept. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Failed to delete routing rule. Please try again later." } ``` ### 404 No Load Balancer, or no Rule on it, with those IDs in the project and region. `errors` says which was not found. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Rule not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//rules//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Security Group from Load Balancer" method: DELETE path: "/gateway/{gateway_id}/security-groups/{security_groups_id}/" url: "/api/tir/operations/delete-gateway-gateway-id-security-groups-security-groups-id/" --- # Detach Security Group from Load Balancer `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/security-groups/{security_groups_id}/` Detaches one security group from the Load Balancer, so its rules stop applying to the Load Balancer's traffic. Needs the Delete permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `security_groups_id` | integer | yes | Security group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The security group was detached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group removal successful", "errors": {} } ``` ### 400 The group is not attached to this Load Balancer ("Security Group not found"), or could not be detached ("Security group removal failed"). The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Security Group not found" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Load Balancer Backend Group" method: DELETE path: "/gateway/{gateway_id}/target-groups/{group_id}/" url: "/api/tir/operations/delete-gateway-gateway-id-target-groups-group-id/" --- # Delete Load Balancer Backend Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/{group_id}/` Deletes a backend group and its backends. A group that an Active Rule still sends traffic to cannot be deleted; remove it from the Rule first. Needs the Delete permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `group_id` | integer | yes | Backend group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The backend group was deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true }, "errors": {} } ``` ### 400 The group could not be deleted; `errors` is the error text. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ### 412 No backend group with that ID on this Load Balancer (`errors` is "Target group not found."), or an Active Rule still sends traffic to it. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "This target group is still referenced by a routing rule. Remove it from the rule first." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//target-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Load Balancer" method: DELETE path: "/gateway/{gateway_id}/" url: "/api/tir/operations/delete-gateway-gateway-id/" --- # Delete Load Balancer `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/` Deletes the Load Balancer and starts tearing it down. Its security groups are detached and its billing stops. A committed term is billed in full with no refund. The Load Balancer needs the Delete permission. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Deletion started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true }, "errors": {} } ``` ### 400 Deletion could not start ("Failed to delete load balancer. Please try again later."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Failed to delete load balancer. Please try again later." } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Integration" method: DELETE path: "/integrations/{Integration_id}/" url: "/api/tir/operations/delete-integrations-integration-id/" --- # Delete Integration `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/{Integration_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Integration_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Integration deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.type` | object | no | | | `data.additionalProperties` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Integration deleted successfully", "data": { "type": null, "additionalProperties": null }, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Kubernetes Cluster" method: DELETE path: "/tenant_clusters/{tenant_cluster_id}/" url: "/api/tir/operations/delete-kubernetes-cluster/" --- # Delete Kubernetes Cluster `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/` Deletes the cluster: its control plane, every node pool and node, its storage and the volumes on it, and its kubeconfig. The call returns once the deletion has started, and the cluster shows `deleting`. A cluster can be deleted in any status except `deleting`, including `failed`, which is how a cluster that never came up is cleared. Reserved IPs attached to the cluster go back to the project's reserved IPs and stay reserved, and charged, until you release them. A committed pool's term keeps running and nothing is refunded. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The deletion has started. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.project_id` | integer | no | | | `data.region` | string | no | | | `data.status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 103, "name": "tir-k8s-prod", "project_id": 18773, "region": "Delhi", "status": "ready" }, "errors": {}, "message": "Tenant cluster deletion started successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Node Pool" method: DELETE path: "/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/" url: "/api/tir/operations/delete-kubernetes-node-pool/" --- # Delete Node Pool `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/` Deletes a worker node pool and every node in it. The cluster must be `ready` or `worker_joined`, and the last worker pool of a cluster cannot be deleted. The pool shows `deleting` and its hourly billing stops at once; a committed pool's term keeps running and nothing is refunded. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | | `node_pool_id` | integer | yes | Worker node pool ID, from the cluster's `node_pools` list. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The pool is queued for deletion. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.node_pool_id` | integer | no | | | `data.name` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "node_pool_id": 22, "name": "app-workers-2" }, "errors": {}, "message": "Node pool deletion queued successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//node-pools//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Model Evaluation Job" method: DELETE path: "/model_evaluation/{evaluation_id}/" url: "/api/tir/operations/delete-model-evaluation-evaluation-id/" --- # Delete Model Evaluation Job `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/{evaluation_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `evaluation_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.project_id` | integer | no | | | `data.input_dataset` | string | no | | | `data.input_dataset_config` | object | no | | | `data.input_dataset_config.dataset_path` | string | no | | | `data.input_dataset_config.hf_dataset_name` | string | no | | | `data.input_dataset_config.custom_hf_dataset_name` | string | no | | | `data.input_dataset_config.dataset_split` | string | no | | | `data.input_dataset_config.input_column` | string | no | | | `data.input_dataset_config.output_column` | string | no | | | `data.input_dataset_config.num_rows_limit` | integer | no | | | `data.input_dataset_config.dataset_type` | string | no | | | `data.output_dataset` | object | no | | | `data.output_dataset.id` | integer | no | | | `data.output_dataset.name` | string | no | | | `data.output_dataset.storage_type` | string | no | | | `data.output_dataset.bucket` | object | no | | | `data.output_dataset.bucket.id` | integer | no | | | `data.output_dataset.bucket.bucket_name` | string | no | | | `data.output_dataset.bucket.bucket_url` | string | no | | | `data.output_dataset.bucket.endpoint` | string | no | | | `data.framework` | object | no | | | `data.framework.id` | integer | no | | | `data.framework.name` | string | no | | | `data.framework.display_name` | string | no | | | `data.framework.metrics` | array of object | no | | | `data.framework.metrics[].name` | string | no | | | `data.framework.metrics[].display_name` | string | no | | | `data.evaluator_llm_name` | string | no | | | `data.evaluation_config` | object | no | | | `data.evaluation_config.temperature` | number | no | | | `data.evaluation_config.max_tokens` | integer | no | | | `data.evaluation_config.top_p` | number | no | | | `data.status` | string | no | | | `data.run` | object | no | | | `data.run.id` | integer | no | | | `data.run.name` | string | no | | | `data.run.state` | string | no | | | `data.run.progress` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 126, "name": "tir-job-021915025656", "project_id": 4528, "input_dataset": null, "input_dataset_config": { "dataset_path": null, "hf_dataset_name": "GAIR/o1-journey", "custom_hf_dataset_name": "", "dataset_split": "train", "input_column": "question", "output_column": "answer", "num_rows_limit": -1, "dataset_type": "huggingface" }, "output_dataset": { "id": 1617, "name": "async-invocations-02171142022", "storage_type": "managed", "bucket": { "id": 3068, "bucket_name": "d-gpu-6a93eb6a-5a3e-411e-80ec-b91b31e7a93f", "bucket_url": "s3://d-gpu-6a93eb6a-5a3e-411e-80ec-b91b31e7a93f/", "endpoint": "https://objectstore.e2enetworks.net" } }, "framework": { "id": 2, "name": "general_assistant", "display_name": "General Assistant", "metrics": [ { "name": "relevance_metric", "display_name": "Relevance" } ] }, "evaluator_llm_name": "llama3_2_3b_instruct", "evaluation_config": { "temperature": 0, "max_tokens": 1024, "top_p": 1 }, "status": "Deleting", "run": { "id": 2787, "name": "tir-job-021915025656", "state": "Succeeded", "progress": "1/1" }, "created_by": { "id": 4877, "name": "Meghna Meghna", "email": "meghna@e2enetworks.com" } }, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Auto Scaling Group Schedule" method: DELETE path: "/notebooks/autoscale-groups/{group_id}/scheduled-policies/{policy_id}/" url: "/api/tir/operations/delete-notebooks-autoscale-groups-group-id-scheduled-policies-policy-id/" --- # Delete Auto Scaling Group Schedule `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/scheduled-policies/{policy_id}/` Deletes one schedule of an Auto Scaling Group. Needs the permission to delete. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | | `policy_id` | integer | yes | Schedule ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Schedule deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `data.id` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true, "id": 12 }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region, or no schedule with that ID in the group. `errors` is "Autoscale Group not found" or "Scheduled Policy not found". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Scheduled Policy not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//scheduled-policies//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Auto Scaling Group Security Group" method: DELETE path: "/notebooks/autoscale-groups/{group_id}/security-groups/{security_group_id}/" url: "/api/tir/operations/delete-notebooks-autoscale-groups-group-id-security-groups-security-group-id/" --- # Detach Auto Scaling Group Security Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/security-groups/{security_group_id}/` Detaches one Security Group from an Auto Scaling Group; the VMs stop using its rules. The last Security Group cannot be detached while the group has SSH keys. Needs the permission to update. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | | `security_group_id` | integer | yes | Security Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Security Group detached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group removal successful", "errors": {} } ``` ### 400 The Security Group is not attached to the group; it is the last one and the group has SSH keys; or the removal failed. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | One of: "Security Group not found", "At least one security group must be attached to the node when SSH is enabled.", "Security group removal failed". | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Security Group not found" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Auto Scaling Group" method: DELETE path: "/notebooks/autoscale-groups/{group_id}/" url: "/api/tir/operations/delete-notebooks-autoscale-groups-group-id/" --- # Delete Auto Scaling Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/` Deletes the group in any status. Its VMs are removed, the group's firewall policy is removed, and compute billing for the VMs ends. The group shows `Deleting` until it is gone. The source snapshot, the source VM, the SSH keys and the Security Groups are kept. To retry a deletion that did not finish, call it again. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Deletion started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.deleted` | boolean | no | | | `data.id` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "deleted": true, "id": 412 }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The deletion could not be started. The group stays `Deleting`; call again. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.deleted` | boolean | no | | | `errors` | string | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": { "id": 412, "deleted": false }, "errors": "Failed to start autoscale teardown workflow. The group remains in 'Deleting' and can be retried." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Start Script" method: DELETE path: "/notebooks/init-script/{Start_Script_Id}/" url: "/api/tir/operations/delete-notebooks-init-script-start-script-id/" --- # Delete Start Script `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/init-script/{Start_Script_Id}/` Permanently deletes a startup script. A script a VM uses cannot be deleted: "The init script is currently in use by one or more notebooks. Please unlink it from all associated notebooks before attempting to delete it." ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Start_Script_Id` | integer | yes | Start Script Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Start script deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Init Script deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/init-script//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Alert" method: DELETE path: "/notebooks/{Instance_id}/alerts/{alert_id}/" url: "/api/tir/operations/delete-notebooks-instance-id-alerts-alert-id/" --- # Detach Alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/alerts/{alert_id}/` Detach an alert from a notebook instance. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | | `alert_id` | integer | yes | Alert ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Notebook alert detached successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Notebook alert detached successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Security Group" method: DELETE path: "/notebooks/{Instance_id}/security-groups/{security_group_id}/" url: "/api/tir/operations/delete-notebooks-instance-id-security-groups-security-group-id/" --- # Detach Security Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/security-groups/{security_group_id}/` Removes a Security Group from the Instance or Virtual Machine. The last group cannot be removed while SSH keys are attached: "At least one security group must be attached to the node when SSH is enabled." ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | | `security_group_id` | integer | yes | Security Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Security group removed successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Security group removal successful", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete VM Snapshot" method: DELETE path: "/notebooks/{Instance_id}/snapshots/{snapshot_id}/" url: "/api/tir/operations/delete-notebooks-instance-id-snapshots-snapshot-id/" --- # Delete VM Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/snapshots/{snapshot_id}/` Deletes a snapshot for good. It cannot be undone. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | | `snapshot_id` | integer | yes | Snapshot ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Snapshot deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Snapshot deleted", "data": { "id": 212 }, "errors": {} } ``` ### 404 No snapshot with that ID on this VM. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Snapshot not found." } ``` ### 412 The cluster could not delete the snapshot. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "The snapshot could not be deleted." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//snapshots//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Instance / VM" method: DELETE path: "/notebooks/{Instance_id}/" url: "/api/tir/operations/delete-notebooks-instance-id/" --- # Delete Instance / VM `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/` Permanently deletes the Instance or Virtual Machine and its disk. **This action cannot be undone.** Snapshots of a VM are not deleted with it. Billing stops at the moment you delete. Deleting a VM on a committed plan refunds nothing. A VM that is saving an image cannot be deleted ("Save Image operation is currently in progress. Please wait for it to complete."), and a second delete of a VM already being deleted is refused with "This VM is already being deleted. Please wait for the deletion to complete." A VM that is still launching can be deleted. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `reserve_public_ip` | boolean | no | Set to `true` to keep the VM's public IP as a reserved IP when the VM is deleted. | ## Responses ### 200 Notebook deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Notebook deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach VPC IP from Notebook" method: DELETE path: "/notebooks/{notebook_id}/vpc_ips/{reserve_ip_id}/" url: "/api/tir/operations/delete-notebooks-notebook-id-vpc-ips-reserve-ip-id/" --- # Detach VPC IP from Notebook `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{notebook_id}/vpc_ips/{reserve_ip_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `notebook_id` | integer | yes | | | `reserve_ip_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | string | no | Filter by location | | `active_iam` | integer | no | Active IAM ID | ## Responses ### 200 VPC IP detached successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "VPC IP detach action scheduled successfully.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//vpc_ips//?apikey=&project_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Project VM Snapshot" method: DELETE path: "/notebooks/vm/snapshots/{snapshot_id}/" url: "/api/tir/operations/delete-notebooks-vm-snapshots-snapshot-id/" --- # Delete Project VM Snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/vm/snapshots/{snapshot_id}/` Deletes a snapshot by its ID alone, without the VM it was taken from. Use it for the snapshot of a VM that has been deleted, which the VM's own path no longer reaches. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `snapshot_id` | integer | yes | Snapshot ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Snapshot deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Snapshot deleted", "data": { "id": 212 }, "errors": {} } ``` ### 404 No snapshot with that ID in this project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Snapshot not found." } ``` ### 412 The cluster could not delete the snapshot. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "The snapshot could not be deleted." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/vm/snapshots//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete PFS" method: DELETE path: "/pfs/{PFS_Id}/" url: "/api/tir/operations/delete-pfs-pfs-id/" --- # Delete PFS `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs/{PFS_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `PFS_Id` | integer | yes | PFS ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### content ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Experiment" method: DELETE path: "/pipelines/experiments/{experiment_id}/" url: "/api/tir/operations/delete-pipelines-experiments-experiment-id/" --- # Delete Experiment `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments/{experiment_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `experiment_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Experiment successfully deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Deleted Successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Scheduled Run" method: DELETE path: "/pipelines/jobs/{job_id}/" url: "/api/tir/operations/delete-pipelines-jobs-job-id/" --- # Delete Scheduled Run `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/jobs/{job_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `job_id` | string | yes | Scheduled job ID. Get it from the `job_id` field in the **Schedule Run List** API response. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success response with no data. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | object | no | The data object, which is empty in this case. | | `errors` | object | no | Error details, which are empty in this case. | | `message` | string | no | General response message. | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/jobs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Version" method: DELETE path: "/pipelines/{pipeline_id}/versions/{version_id}/" url: "/api/tir/operations/delete-pipelines-pipeline-id-versions-version-id/" --- # Delete Version `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/{pipeline_id}/versions/{version_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pipeline_id` | string | yes | | | `version_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines//versions//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Pipeline" method: DELETE path: "/pipelines/{pipeline_id}/" url: "/api/tir/operations/delete-pipelines-pipeline-id/" --- # Delete Pipeline `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/{pipeline_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pipeline_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Run" method: DELETE path: "/pipelines/runs/{run_id}/" url: "/api/tir/operations/delete-pipelines-runs-run-id/" --- # Delete Run `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs/{run_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `run_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Resource successfully deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | string | no | Confirmation message for successful deletion. | | `errors` | object | no | Error details (empty if none). | | `message` | string | no | General response message. | Example 200 response: ```json { "code": 200, "data": "Deleted Successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Private Cluster" method: DELETE path: "/private-cluster/{Private_Cluster_id}/" url: "/api/tir/operations/delete-private-cluster-private-cluster-id/" --- # Delete Private Cluster `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/{Private_Cluster_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Private_Cluster_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Private cluster deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Private cluster deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete VPC IP" method: DELETE path: "/reserved_ips/private-ip/{reserve_ip_id}/" url: "/api/tir/operations/delete-reserved-ips-private-ip-reserve-ip-id/" --- # Delete VPC IP `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips/private-ip/{reserve_ip_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `reserve_ip_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | string | no | Filter by location | | `active_iam` | integer | no | Active IAM ID | ## Responses ### 200 VPC IP deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.ip_address` | string (ipv4) | no | | | `data.service_name` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.status` | string | no | | | `data.reserved_by` | object | no | | | `data.reserved_by.id` | integer | no | | | `data.reserved_by.name` | string | no | | | `data.reserved_by.email` | string (email) | no | | | `data.reserved_by.username` | string | no | | | `data.service_type` | string | no | | | `data.service_id` | integer | no | | | `data.location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 1403, "ip_address": "10.8.220.9", "service_name": "", "created_at": "2026-03-09T04:54:03.613008Z", "status": "Done", "reserved_by": { "id": 12477, "name": "xyz", "email": "abc@e2enetworks.com", "username": "abc@e2enetworks.com" }, "service_type": "", "service_id": null, "location": "Delhi" }, "errors": {}, "message": "IP 10.8.220.9 deleted successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips/private-ip//?apikey=&project_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Reserve IP" method: DELETE path: "/reserved_ips/{reserve_ip_id}/" url: "/api/tir/operations/delete-reserved-ips-reserve-ip-id/" --- # Delete Reserve IP `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips/{reserve_ip_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `reserve_ip_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 IP deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.ip_address` | string (ipv4) | no | | | `data.service_name` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.status` | string | no | | | `data.reserved_by` | object | no | | | `data.reserved_by.id` | integer | no | | | `data.reserved_by.name` | string | no | | | `data.reserved_by.email` | string (email) | no | | | `data.reserved_by.username` | string | no | | | `data.service_type` | string | no | | | `data.service_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 49, "ip_address": "216.48.188.68", "service_name": "", "created_at": "2025-04-09T11:21:18.124222Z", "status": "Available", "reserved_by": { "id": 4947, "name": "xyz", "email": "abc@e2enetworks.com", "username": "abc@e2enetworks.com" }, "service_type": "", "service_id": null }, "errors": {}, "message": "IP 216.48.188.68 deleted successfully." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Security Group" method: DELETE path: "/security_groups/{security_group_id}/rules/" url: "/api/tir/operations/delete-security-groups-security-group-id-rules/" --- # Delete Security Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/security_groups/{security_group_id}/rules/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `security_group_id` | integer | yes | Security Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Security group deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "Security Group deleted successfully", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/security_groups//rules/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach VPC IP from Inference" method: DELETE path: "/serving/inference/{inference_id}/vpc_ips/{reserve_ip_id}/" url: "/api/tir/operations/delete-serving-inference-inference-id-vpc-ips-reserve-ip-id/" --- # Detach VPC IP from Inference `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/vpc_ips/{reserve_ip_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | | `reserve_ip_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | string | no | Filter by location | | `active_iam` | integer | no | Active IAM ID | ## Responses ### 200 VPC IP detached from inference service successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "VPC IP detach action scheduled successfully.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//vpc_ips//?apikey=&project_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Model Endpoints" method: DELETE path: "/serving/inference/{inference_id}/" url: "/api/tir/operations/delete-serving-inference-inference-id/" --- # Delete Model Endpoints `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Model endpoint details retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.model` | object | no | | | `data.dataset` | object | no | | | `data.model_type` | object | no | | | `data.sku` | integer | no | | | `data.name` | string | no | | | `data.storage_url` | string | no | | | `data.dataset_storage_url` | string | no | | | `data.status` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.detailed_info` | object | no | | | `data.detailed_info.args` | array of string | no | | | `data.detailed_info.commands` | array of string | no | | | `data.detailed_info.info_log` | boolean | no | | | `data.detailed_info.error_log` | boolean | no | | | `data.detailed_info.tokenizer` | string | no | | | `data.detailed_info.world_size` | integer | no | | | `data.detailed_info.warning_log` | boolean | no | | | `data.detailed_info.server_version` | string | no | | | `data.detailed_info.hugging_face_id` | string | no | | | `data.detailed_info.model_serve_type` | string | no | | | `data.detailed_info.log_verbose_level` | integer | no | | | `data.replica` | integer | no | | | `data.framework` | string | no | | | `data.custom_endpoint_details` | object | no | | | `data.custom_endpoint_details.container` | object | no | | | `data.custom_endpoint_details.container.advance_config` | object | no | | | `data.custom_endpoint_details.container.advance_config.liveness_probe` | object | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe` | object | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.path` | string | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.port` | string | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.protocol` | string | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.period_seconds` | integer | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.timeout_seconds` | integer | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.failure_threshold` | integer | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.success_threshold` | integer | no | | | `data.custom_endpoint_details.container.advance_config.readiness_probe.initial_delay_seconds` | integer | no | | | `data.custom_endpoint_details.container.image_pull_policy` | string | no | | | `data.custom_endpoint_details.container.is_liveness_probe_enabled` | boolean | no | | | `data.custom_endpoint_details.container.is_readiness_probe_enabled` | boolean | no | | | `data.custom_endpoint_details.container.container_name` | string | no | | | `data.custom_endpoint_details.container.container_type` | string | no | | | `data.custom_endpoint_details.container.private_image_details` | object | no | | | `data.custom_endpoint_details.public_ip` | string | no | | | `data.custom_endpoint_details.resource_details` | object | no | | | `data.custom_endpoint_details.resource_details.disk_size` | integer | no | | | `data.custom_endpoint_details.resource_details.mount_path` | string | no | | | `data.custom_endpoint_details.resource_details.env_variables` | array of string | no | | | `data.message` | string | no | | | `data.auto_scale_policy` | object | no | | | `data.auto_scale_policy.min_replicas` | integer | no | | | `data.auto_scale_policy.max_replicas` | integer | no | | | `data.auto_scale_policy.rules` | array of object | no | | | `data.auto_scale_policy.rules[].value` | integer | no | | | `data.auto_scale_policy.rules[].metric` | string | no | | | `data.auto_scale_policy.rules[].window` | integer | no | | | `data.auto_scale_policy.rules[].granularity` | integer | no | | | `data.auto_scale_policy.rules[].watch_period` | integer | no | | | `data.auto_scale_policy.rules[].condition_type` | string | no | | | `data.auto_scale_policy.rules[].custom_metric_name` | string | no | | | `data.auto_scale_policy.stability_period` | string | no | | | `data.is_auto_scale_enabled` | boolean | no | | | `data.desired_replica` | integer | no | | | `data.model_load_integration_id` | integer | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.gpu_switch_type` | string | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number (float) | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.committed_info` | object | no | | | `data.committed_replicas` | integer | no | | | `data.private_cloud_id` | object | no | | | `data.custom_sku` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 3035, "model": {}, "dataset": {}, "model_type": {}, "sku": 162, "name": "tir-endpoint-111516583333", "storage_url": "string", "dataset_storage_url": "string", "status": "Done", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-15T11:28:58.532961Z", "updated_at": "2024-11-15T11:51:05.587489Z", "detailed_info": { "args": [ "string" ], "commands": [ "string" ], "info_log": true, "error_log": true, "tokenizer": "", "world_size": 1, "warning_log": true, "server_version": "", "hugging_face_id": "", "model_serve_type": "", "log_verbose_level": 1 }, "replica": 1, "framework": "stable_diffusion_xl", "custom_endpoint_details": { "container": { "advance_config": { "liveness_probe": {}, "readiness_probe": { "path": "/v2/health/ready", "port": "8080", "protocol": "http", "period_seconds": 10, "timeout_seconds": 10, "failure_threshold": 3, "success_threshold": 1, "initial_delay_seconds": 10 } }, "image_pull_policy": "Always", "is_liveness_probe_enabled": false, "is_readiness_probe_enabled": false, "container_name": "registry.e2enetworks.net/aimle2e/stable-diffusion-xl-base-1.0:hf", "container_type": "public", "private_image_details": {} }, "public_ip": "no", "resource_details": { "disk_size": 100, "mount_path": "", "env_variables": [ "string" ] } }, "message": "", "auto_scale_policy": { "min_replicas": 1, "max_replicas": 1, "rules": [ { "value": 100, "metric": "", "window": 1, "granularity": 1, "watch_period": 60, "condition_type": "limit", "custom_metric_name": "" } ], "stability_period": "300" }, "is_auto_scale_enabled": false, "desired_replica": 1, "model_load_integration_id": 428, "sku_details": { "specs": { "sku_id": 162, "name": "GDC.1xH200-30.375GB_SXM", "series": "GPU", "cpu": 30, "gpu": 1, "memory": 375, "is_free": false, "is_active": true, "gpu_switch_type": "string", "local_storage_in_gb": 0 }, "plan": { "sku_item_price_id": 755, "sku_type": "hourly", "committed_days": 0, "unit_price": 470.4, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance: inference_service" } }, "committed_info": {}, "committed_replicas": 0, "private_cloud_id": {}, "custom_sku": {} }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete Model Repository" method: DELETE path: "/serving/model/{Model_repo_id}/" url: "/api/tir/operations/delete-serving-model-model-repo-id/" --- # Delete Model Repository `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model/{Model_repo_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Model_repo_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Model successfully deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Model deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete SSH Key" method: DELETE path: "/ssh_keys/{ssh_key_id}/" url: "/api/tir/operations/delete-ssh-keys-ssh-key-id/" --- # Delete SSH Key `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/ssh_keys/{ssh_key_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `ssh_key_id` | integer | yes | SSH Key ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 SSH key deleted successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "SSH Key has been deleted successfully.", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ssh_keys//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete snapshot" method: DELETE path: "/vector_db/{VectorDB_id}/snapshot/{Snapshot_id}/" url: "/api/tir/operations/delete-vector-db-vectordb-id-snapshot-snapshot-id/" --- # Delete snapshot `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/{VectorDB_id}/snapshot/{Snapshot_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VectorDB_id` | integer | yes | | | `Snapshot_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Snapshot has been successfully deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.snapshot_id` | integer | no | | | `data.snapshot` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Snapshot Deleted Successfully", "data": { "snapshot_id": 69, "snapshot": "2024-11-14T06:05:38.802401Z" }, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db//snapshot//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Delete vector Database" method: DELETE path: "/vector_db/{VectorDB_id}/" url: "/api/tir/operations/delete-vector-db-vectordb-id/" --- # Delete vector Database `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/{VectorDB_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VectorDB_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Vector database has been successfully deleted | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "VectorDB deleted successfully", "data": {}, "errors": {} } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Alert" method: DELETE path: "/serving/inference/{inference_id}/alerts/{alert_attachment_id}/" url: "/api/tir/operations/detach-inference-alert/" --- # Detach Alert `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/alerts/{alert_attachment_id}/` Detach an alert from a model endpoint using the attachment record ID returned by the Attach Alert API. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | | `alert_attachment_id` | integer | yes | The attachment record ID returned when the alert was attached (the `id` field in the Attach Alert response). | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Alert detached from the model endpoint successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": {}, "errors": {}, "message": "Inference alert detached successfully" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Security Group" method: DELETE path: "/serving/inference/{inference_id}/security-groups/{sg_id}/" url: "/api/tir/operations/detach-inference-security-group/" --- # Detach Security Group `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/security-groups/{sg_id}/` Detach a security group from the model endpoint. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | | `sg_id` | integer | yes | ID of the security group to detach. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach VPC IP" method: DELETE path: "/serving/inference/{inference_id}/vpc_ips/{vpc_ip_id}/" url: "/api/tir/operations/detach-inference-vpc-ip/" --- # Detach VPC IP `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/vpc_ips/{vpc_ip_id}/` Detach a VPC IP from the model endpoint. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | | `vpc_ip_id` | integer | yes | ID of the VPC IP to detach. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 VPC IP detach scheduled successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": "string", "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//vpc_ips//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Detach Kubernetes LoadBalancer IP" method: DELETE path: "/tenant_clusters/{tenant_cluster_id}/lb-ips/{reserved_ip_id}/" url: "/api/tir/operations/detach-kubernetes-lb-ip/" --- # Detach Kubernetes LoadBalancer IP `DELETE https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/{reserved_ip_id}/` Detaches one IP from the cluster's LoadBalancer IP pool. The IP stays reserved in the project and becomes available for other services. An IP that a Service in the cluster still uses cannot be detached: delete that Service first. If TIR cannot check whether the IP is in use, the call is refused; try again in a few minutes. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | | `reserved_ip_id` | integer | yes | Reserved IP ID, as returned by **List Kubernetes LoadBalancer IPs**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The IP is detached. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.ip_address` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 358, "ip_address": "203.0.113.10" }, "errors": {}, "message": "203.0.113.10 detached and returned to your reserved IPs." } ``` ## Example call ```bash curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//lb-ips//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Activity Timeline" method: GET path: "/ai_labs/organization/{Organization_Id}/activity-logs/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-activity-logs/" --- # List Activity Timeline `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/activity-logs/` **Note:** AI Labs is currently available only in the **Delhi** region. Get activity logs and timeline for the organization ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `service_name` | one of `AI_LABS_SERVICE`, `all`, `INFERENCE_SERVICE`, `NOTEBOOK_SERVICE`, `DATASET_SERVICE`, `MODEL`, `INTEGRATION_SERVICE`, `API_TOKEN`, `AI_LABS_SHARED_STORAGE_SERVICE`, `AI_LABS_GROUP_SERVICE`, `AI_LABS_COURSE_SERVICE` | yes | Service Name | | `date_filter` | one of `current_month`, `previous_month`, `semi_annual`, `custom` | no | Date filter for activity logs. If custom is selected, use start_date and end_date parameters | | `role` | one of `Professional`, `Student` | no | Filter activity logs by user role | ## Responses ### 200 Response containing activity logs for resources like datasets and notebooks | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].service` | string | no | | | `data[].resource_name` | string | no | | | `data[].resource_id` | string | no | | | `data[].event` | string | no | | | `data[].client_ip` | string | no | | | `data[].status` | string | no | | | `data[].detailed_info` | object | no | | | `data[].detailed_info.response` | object | no | | | `data[].detailed_info.response.code` | integer | no | | | `data[].detailed_info.response.data` | object | no | Full dataset or notebook resource object | | `data[].detailed_info.response.errors` | object | no | | | `data[].detailed_info.response.message` | string | no | | | `data[].detailed_info.project_id` | integer | no | | | `data[].timestamp` | string (date-time) | no | | | `data[].event_type` | string | no | | | `data[].description` | string | no | | | `data[].activity_by` | object | no | | | `data[].activity_by.id` | integer | no | | | `data[].activity_by.name` | string | no | | | `data[].activity_by.email` | string | no | | | `data[].activity_by.username` | string | no | | | `data[].course_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "service": "AI_LABS_DATASET_SERVICE", "resource_name": "tir-dataset-060216425656", "resource_id": "2387", "event": "DATASET_CREATE_WITH_DISK", "client_ip": "14.143.159.8", "status": "Success", "detailed_info": { "response": { "code": 201, "data": {}, "errors": {}, "message": "Created Successfully" }, "project_id": 1223 }, "timestamp": "2025-06-02T11:13:00.446283Z", "event_type": "Create", "description": "Dataset tir-dataset-060216425656 created successfully using a Disk", "activity_by": { "id": 4946, "name": "Demo User", "email": "pqrs@stuv.com", "username": "pqrs@stuv.com" }, "course_id": 45 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//activity-logs/?apikey=&location=&service_name=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Data Objects" method: GET path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/{Storage_Id}/objects/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-course-course-id-shared-storage-storage-id-objects/" --- # List Data Objects `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/{Storage_Id}/objects/` **Note:** AI Labs is currently available only in the **Delhi** region. List all objects/files in a shared storage ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | | `Storage_Id` | integer | yes | Unique identifier for the shared storage | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `prefix` | string | no | Prefix to filter objects in storage | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successfully retrieved storage objects list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].bucket_name` | string | no | | | `data[].contentType` | string | no | | | `data[].is_delete_marker` | boolean | no | | | `data[].is_dir` | boolean | no | | | `data[].is_latest` | boolean | no | | | `data[].lastModified` | string (date-time) | no | | | `data[].name` | string | no | | | `data[].owner_id` | integer | no | | | `data[].owner_name` | string | no | | | `data[].size` | integer | no | | | `data[].storage_class` | string | no | | | `data[].version_id` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "bucket_name": "d-gpu-28911c97-a14c-4bc0-843b-d5c79fb58ee1", "contentType": "string", "is_delete_marker": false, "is_dir": false, "is_latest": false, "lastModified": "2025-10-28T08:49:17.222000Z", "name": "AI Labs.postman_collection.json", "owner_id": 0, "owner_name": "string", "size": 94339, "storage_class": "STANDARD", "version_id": "string" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//shared-storage//objects/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Shared Datasets" method: GET path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-course-course-id-shared-storage/" --- # List Shared Datasets `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successfully retrieved the list of shared storages | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].shared_storage_details` | object | no | | | `data[].shared_storage_details.id` | integer | no | | | `data[].shared_storage_details.name` | string | no | | | `data[].shared_storage_details.project_id` | integer | no | | | `data[].shared_storage_details.description` | string | no | | | `data[].shared_storage_details.storage_type` | string | no | | | `data[].shared_storage_details.pvc` | string | no | | | `data[].shared_storage_details.bucket` | object | no | | | `data[].shared_storage_details.bucket.id` | integer | no | | | `data[].shared_storage_details.bucket.bucket_name` | string | no | | | `data[].shared_storage_details.bucket.bucket_url` | string | no | | | `data[].shared_storage_details.bucket.endpoint` | string | no | | | `data[].shared_storage_details.bucket.is_managed` | boolean | no | | | `data[].shared_storage_details.bucket.eos_bucket_permission_id` | integer | no | | | `data[].shared_storage_details.bucket.location` | string | no | | | `data[].shared_storage_details.bucket.bucket_size` | string | no | | | `data[].shared_storage_details.access_key` | object | no | | | `data[].shared_storage_details.access_key.id` | integer | no | | | `data[].shared_storage_details.access_key.access_key` | string | no | | | `data[].shared_storage_details.access_key.secret_key` | string | no | | | `data[].shared_storage_details.access_key.tag` | string | no | | | `data[].shared_storage_details.access_key.is_managed` | boolean | no | | | `data[].shared_storage_details.access_key.location` | string | no | | | `data[].shared_storage_details.encryption_type` | string | no | | | `data[].shared_storage_details.encryption_enable` | boolean | no | | | `data[].shared_storage_details.status` | string | no | | | `data[].shared_storage_details.created_by` | object | no | | | `data[].shared_storage_details.created_by.id` | integer | no | | | `data[].shared_storage_details.created_by.name` | string | no | | | `data[].shared_storage_details.created_by.email` | string (email) | no | | | `data[].shared_storage_details.created_by.username` | string | no | | | `data[].shared_storage_details.created_at` | string (date-time) | no | | | `data[].shared_storage_details.updated_at` | string (date-time) | no | | | `data[].shared_storage_details.pfs` | string | no | | | `data[].shared_storage_details.is_ai_labs_learning_dataset` | boolean | no | | | `data[].shared_storage_details.is_mounted_on_another_node` | boolean | no | | | `data[].created_by` | integer | no | | | `data[].storage_type` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 12, "name": "ai-labs-251028130016", "shared_storage_details": { "id": 3008, "name": "ai-labs-251028130016", "project_id": 8007, "description": "string", "storage_type": "managed", "pvc": "string", "bucket": { "id": 5039, "bucket_name": "d-gpu-2facdeb3-117-9f58-d9db3892cf0e", "bucket_url": "s3://d-gpu-2facdeb37-4117-9f58-d9db3892cf0e/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 16761, "location": "Delhi", "bucket_size": "0 bytes" }, "access_key": { "id": 5057, "access_key": "Y1OE9IWZ5NCRYT4", "secret_key": "string", "tag": "akgpufa3189947ce8028dd35d94b6134", "is_managed": true, "location": "Delhi" }, "encryption_type": "string", "encryption_enable": false, "status": "OK", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:30:24.179493Z", "updated_at": "2025-10-28T07:30:24.179546Z", "pfs": "string", "is_ai_labs_learning_dataset": false, "is_mounted_on_another_node": false }, "created_by": 7483, "storage_type": "managed" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//shared-storage/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Students" method: GET path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/students/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-course-course-id-students/" --- # List Students `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/students/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully fetched the list of students | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].project_id` | integer | no | | | `data[].role` | string | no | | | `data[].member` | object | no | | | `data[].member.id` | integer | no | | | `data[].member.name` | string | no | | | `data[].member.email` | string (email) | no | | | `data[].member.username` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string (email) | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].group_tags` | array of string | no | | | `data[].services` | array of string | no | | | `data[].resource_count` | integer | no | | | `data[].tir_role` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 10400, "project_id": 8007, "role": "AI_Labs_Admin", "member": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T06:21:08.646183Z", "updated_at": "2025-10-28T06:21:08.646229Z", "group_tags": [ "string" ], "services": [ "string" ], "resource_count": 1, "tir_role": "Owner" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//students/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Course by Id" method: GET path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-course-course-id/" --- # Get Course by Id `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully fetched course details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string (email) | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.courseware_details` | object | no | | | `data.courseware_details.id` | integer | no | | | `data.courseware_details.name` | string | no | | | `data.courseware_details.project_id` | integer | no | | | `data.courseware_details.description` | string | no | | | `data.courseware_details.storage_type` | string | no | | | `data.courseware_details.pvc` | string | no | | | `data.courseware_details.bucket` | object | no | | | `data.courseware_details.bucket.id` | integer | no | | | `data.courseware_details.bucket.bucket_name` | string | no | | | `data.courseware_details.bucket.bucket_url` | string | no | | | `data.courseware_details.bucket.endpoint` | string | no | | | `data.courseware_details.bucket.is_managed` | boolean | no | | | `data.courseware_details.bucket.eos_bucket_permission_id` | integer | no | | | `data.courseware_details.bucket.location` | string | no | | | `data.courseware_details.bucket.bucket_size` | string | no | | | `data.courseware_details.access_key` | object | no | | | `data.courseware_details.access_key.id` | integer | no | | | `data.courseware_details.access_key.access_key` | string | no | | | `data.courseware_details.access_key.secret_key` | string | no | | | `data.courseware_details.access_key.tag` | string | no | | | `data.courseware_details.access_key.is_managed` | boolean | no | | | `data.courseware_details.access_key.location` | string | no | | | `data.courseware_details.encryption_type` | string | no | | | `data.courseware_details.encryption_enable` | boolean | no | | | `data.courseware_details.status` | string | no | | | `data.courseware_details.created_by` | object | no | | | `data.courseware_details.created_by.id` | integer | no | | | `data.courseware_details.created_by.name` | string | no | | | `data.courseware_details.created_by.email` | string (email) | no | | | `data.courseware_details.created_by.username` | string | no | | | `data.courseware_details.created_at` | string (date-time) | no | | | `data.courseware_details.updated_at` | string (date-time) | no | | | `data.courseware_details.pfs` | string | no | | | `data.courseware_details.location` | string | no | | | `data.professor_title` | string | no | | | `data.professor_name` | string | no | | | `data.professor` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 26, "name": "course-251027164554", "description": "This is a course description", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:22:44.701976Z", "updated_at": "2025-10-28T07:22:46.515400Z", "courseware_details": { "id": 3006, "name": "ai-labs-course-1761636164", "project_id": 8007, "description": null, "storage_type": "managed", "pvc": null, "bucket": { "id": 5037, "bucket_name": "d-gpu-86822602-a838-432f-af04-06a2e0ea6fdb", "bucket_url": "s3://d-gpu-86822602-a838-432f-af04-06a2e0ea6fdb/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 16759, "location": "Delhi", "bucket_size": "0 bytes" }, "access_key": { "id": 5055, "access_key": "IMJMASCNSBEICHSPG2BN", "secret_key": null, "tag": "akgpue9b954868841451a9fbec7df7d83f102", "is_managed": true, "location": "Delhi" }, "encryption_type": null, "encryption_enable": false, "status": "Pending", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:22:46.461837Z", "updated_at": "2025-10-28T07:22:46.461890Z", "pfs": null, "location": "Delhi" }, "professor_title": "Prof.", "professor_name": "test", "professor": "Prof. test" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Courses" method: GET path: "/ai_labs/organization/{Organization_Id}/course/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-course/" --- # List Courses `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully fetched the list of courses | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string (email) | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].courseware_details` | object | no | | | `data[].courseware_details.id` | integer | no | | | `data[].courseware_details.name` | string | no | | | `data[].courseware_details.project_id` | integer | no | | | `data[].courseware_details.description` | string | no | | | `data[].courseware_details.storage_type` | string | no | | | `data[].courseware_details.pvc` | string | no | | | `data[].courseware_details.bucket` | object | no | | | `data[].courseware_details.bucket.id` | integer | no | | | `data[].courseware_details.bucket.bucket_name` | string | no | | | `data[].courseware_details.bucket.bucket_url` | string | no | | | `data[].courseware_details.bucket.endpoint` | string | no | | | `data[].courseware_details.bucket.is_managed` | boolean | no | | | `data[].courseware_details.bucket.eos_bucket_permission_id` | integer | no | | | `data[].courseware_details.bucket.location` | string | no | | | `data[].courseware_details.bucket.bucket_size` | string | no | | | `data[].courseware_details.access_key` | object | no | | | `data[].courseware_details.access_key.id` | integer | no | | | `data[].courseware_details.access_key.access_key` | string | no | | | `data[].courseware_details.access_key.secret_key` | string | no | | | `data[].courseware_details.access_key.tag` | string | no | | | `data[].courseware_details.access_key.is_managed` | boolean | no | | | `data[].courseware_details.access_key.location` | string | no | | | `data[].courseware_details.encryption_type` | string | no | | | `data[].courseware_details.encryption_enable` | boolean | no | | | `data[].courseware_details.status` | string | no | | | `data[].courseware_details.created_by` | object | no | | | `data[].courseware_details.created_by.id` | integer | no | | | `data[].courseware_details.created_by.name` | string | no | | | `data[].courseware_details.created_by.email` | string (email) | no | | | `data[].courseware_details.created_by.username` | string | no | | | `data[].courseware_details.created_at` | string (date-time) | no | | | `data[].courseware_details.updated_at` | string (date-time) | no | | | `data[].courseware_details.pfs` | string | no | | | `data[].courseware_details.location` | string | no | | | `data[].professor_title` | string | no | | | `data[].professor_name` | string | no | | | `data[].professor` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 25, "name": "course-251028115114", "description": "This is a course description", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T06:21:15.978247Z", "updated_at": "2025-10-28T06:21:17.977078Z", "courseware_details": { "id": 3005, "name": "ai-labs-course-1761632475", "project_id": 8007, "description": "string", "storage_type": "managed", "pvc": "string", "bucket": { "id": 5035, "bucket_name": "d-gpu-68e7aa62-c3ae-4c42-b09b-dc2186338dfe", "bucket_url": "s3://d-gpu-68e7aa62-c3ae-4c42-b09b-dc2186338dfe/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 16757, "location": "Delhi", "bucket_size": "0 bytes" }, "access_key": { "id": 5053, "access_key": "18NQRRWT4ZGQRNS1VM8I", "secret_key": "string", "tag": "akgpu100eb36863de4d80b08302a9050f21e4", "is_managed": true, "location": "Delhi" }, "encryption_type": "string", "encryption_enable": false, "status": "OK", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T06:21:17.919029Z", "updated_at": "2025-10-28T06:21:17.919086Z", "pfs": "string", "location": "Delhi" }, "professor_title": "Prof.", "professor_name": "test", "professor": "Prof. test" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Groups" method: GET path: "/ai_labs/organization/{Organization_Id}/group/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-group/" --- # List Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/group/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully retrieved group list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].allowed_plans` | array of object | no | | | `data[].allowed_plans[].plan_id` | integer | no | | | `data[].allowed_plans[].plan_name` | string | no | | | `data[].allowed_plans[].max_instances` | integer | no | | | `data[].policies` | array of object | no | | | `data[].policies[].id` | integer | no | | | `data[].policies[].name` | string | no | | | `data[].policies[].description` | string | no | | | `data[].policies[].created_by` | object | no | | | `data[].policies[].created_by.id` | integer | no | | | `data[].policies[].created_by.name` | string | no | | | `data[].policies[].created_by.email` | string | no | | | `data[].policies[].created_by.username` | string | no | | | `data[].policies[].created_at` | string (date-time) | no | | | `data[].policies[].updated_at` | string (date-time) | no | | | `data[].policies[].services` | array of object | no | | | `data[].policies[].services[].permissions` | integer | no | | | `data[].policies[].services[].service` | object | no | | | `data[].policies[].services[].service.service_id` | string | no | | | `data[].policies[].services[].service.alias_name` | string | no | | | `data[].policies[].services[].service.description` | string | no | | | `data[].tag` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 55, "allowed_plans": [ { "plan_id": 1, "plan_name": "GDC.H100.5g.3.9GB_SXM", "max_instances": 1 } ], "policies": [ { "id": 363, "name": "E2E Default AI-Labs Student Policy.", "description": "This policy is created by default to give all the access to the students.", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T06:21:09.594211Z", "updated_at": "2025-10-28T06:21:09.594263Z", "services": [ { "permissions": 15, "service": { "service_id": "notebook", "alias_name": "Node", "description": "notebook" } } ] } ], "tag": "Default", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" } } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//group/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Members" method: GET path: "/ai_labs/organization/{Organization_Id}/members/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-members/" --- # List Members `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/members/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully fetched the list of members | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].project_id` | integer | no | | | `data[].role` | string | no | | | `data[].member` | object | no | | | `data[].member.id` | integer | no | | | `data[].member.name` | string | no | | | `data[].member.email` | string (email) | no | | | `data[].member.username` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string (email) | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].group_tags` | array of string | no | | | `data[].services` | array of object | no | | | `data[].resource_count` | integer | no | | | `data[].tir_role` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 10400, "project_id": 8007, "role": "AI_Labs_Admin", "member": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T06:21:08.646183Z", "updated_at": "2025-10-28T06:21:08.646229Z", "group_tags": [], "services": [], "resource_count": 1, "tir_role": "Owner" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//members/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monitoring Data" method: GET path: "/ai_labs/organization/{Organization_Id}/metrics/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-metrics/" --- # Monitoring Data `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/metrics/` **Note:** AI Labs is currently available only in the **Delhi** region. Get monitoring metrics for organization resources ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `node_name` | string | yes | Name of the node to retrieve metrics for | | `interval` | one of `1m`, `5m`, `15m`, `30m`, `1h` | yes | Time interval for metrics aggregation | ## Responses ### 200 Successfully retrieved node metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.node_memory_MemTotal_bytes` | object | no | | | `data.node_memory_MemTotal_bytes.time_series` | array of string | no | | | `data.node_memory_MemTotal_bytes.value_series` | array of string | no | | | `data.node_cpu_seconds_total` | object | no | | | `data.node_cpu_seconds_total.time_series` | array of string | no | | | `data.node_cpu_seconds_total.value_series` | array of string | no | | | `data.node_disk_read_bytes_total` | object | no | | | `data.node_disk_read_bytes_total.time_series` | array of string | no | | | `data.node_disk_read_bytes_total.value_series` | array of string | no | | | `data.node_disk_written_bytes_total` | object | no | | | `data.node_disk_written_bytes_total.time_series` | array of string | no | | | `data.node_disk_written_bytes_total.value_series` | array of string | no | | | `data.gpu_memory_util` | object | no | | | `data.gpu_power_usage` | object | no | | | `data.gpu_temperature` | object | no | | | `data.gpu_util` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "node_memory_MemTotal_bytes": { "time_series": [ "02:17:18PM" ], "value_series": [ "1.9148718093873627" ] }, "node_cpu_seconds_total": { "time_series": [ "02:17:18PM" ], "value_series": [ "0.286718749999304" ] }, "node_disk_read_bytes_total": { "time_series": [ "02:17:18PM" ], "value_series": [ "10928503296" ] }, "node_disk_written_bytes_total": { "time_series": [ "02:17:18PM" ], "value_series": [ "38315643904" ] }, "gpu_memory_util": {}, "gpu_power_usage": {}, "gpu_temperature": {}, "gpu_util": {} }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//metrics/?apikey=&location=&node_name=&interval=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resource Utilization" method: GET path: "/ai_labs/organization/{Organization_Id}/usage/" url: "/api/tir/operations/get-ai-labs-organization-organization-id-usage/" --- # Resource Utilization `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/usage/` **Note:** AI Labs is currently available only in the **Delhi** region. Get resource utilization and usage statistics for the organization ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully retrieved resource usage | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.resources` | object | no | | | `data.resources.notebooks` | object | no | | | `data.resources.notebooks.running` | integer | no | | | `data.resources.notebooks.inactive` | integer | no | | | `data.resources.notebooks.total` | integer | no | | | `data.resources.notebooks.last_launched` | string (date-time) | no | | | `data.resources.inference_service` | object | no | | | `data.resources.inference_service.running` | integer | no | | | `data.resources.inference_service.inactive` | integer | no | | | `data.resources.inference_service.total` | integer | no | | | `data.resources.inference_service.last_launched` | string | no | | | `data.resources.dataset` | object | no | | | `data.resources.dataset.running` | integer | no | | | `data.resources.dataset.inactive` | integer | no | | | `data.resources.dataset.total` | integer | no | | | `data.resources.dataset.last_launched` | string | no | | | `data.used_gpu_percentage` | number (float) | no | | | `data.resource_per_plan` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "resources": { "notebooks": { "running": 0, "inactive": 1, "total": 1, "last_launched": "2025-10-28T06:23:16.246133Z" }, "inference_service": { "running": 0, "inactive": 0, "total": 0, "last_launched": "" }, "dataset": { "running": 0, "inactive": 0, "total": 0, "last_launched": "" } }, "used_gpu_percentage": 0, "resource_per_plan": {} }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//usage/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Organization by Id" method: GET path: "/ai_labs/organization/{Organization_Id}/" url: "/api/tir/operations/get-ai-labs-organization-organization-id/" --- # Get Organization by Id `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully retrieved organization details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.project` | object | no | | | `data.project.team_id` | integer | no | | | `data.project.project_id` | integer | no | | | `data.project.project_name` | string | no | | | `data.project.team_name` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.ephemeral_storage` | integer | no | | | `data.sku_details.specs.gpu_memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.gpu_switch_type` | string | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.specs.sku_type` | string | no | | | `data.sku_details.specs.gpu_card_type` | string | no | | | `data.sku_details.specs.category` | string | no | | | `data.sku_details.specs.variant` | string | no | | | `data.sku_details.specs.no_of_nodes` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.sku_details.plan.location` | string | no | | | `data.organization_nodes` | array of object | no | | | `data.organization_nodes[].node_name` | string | no | | | `data.organization_nodes[].node_alias_name` | string | no | | | `data.members_count` | integer | no | | | `data.max_students` | integer | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.resource_count` | integer | no | | | `data.iam_info` | object | no | | | `data.iam_info.id` | integer | no | | | `data.iam_info.owner` | object | no | | | `data.iam_info.owner.id` | integer | no | | | `data.iam_info.owner.name` | string | no | | | `data.iam_info.owner.email` | string | no | | | `data.iam_info.owner.username` | string | no | | | `data.iam_info.added_user` | object | no | | | `data.iam_info.added_user.id` | integer | no | | | `data.iam_info.added_user.name` | string | no | | | `data.iam_info.added_user.email` | string | no | | | `data.iam_info.added_user.username` | string | no | | | `data.iam_info.role` | string | no | | | `data.iam_info.iam_type` | string | no | | | `data.iam_info.created_at` | string (date-time) | no | | | `data.iam_info.updated_at` | string (date-time) | no | | | `data.iam_info.is_student` | boolean | no | | | `data.invited_count` | integer | no | | | `data.ai_lab_plan` | object | no | | | `data.ai_lab_plan.id` | integer | no | | | `data.ai_lab_plan.name` | string | no | | | `data.ai_lab_plan.no_of_students` | integer | no | | | `data.ai_lab_plan.is_active` | boolean | no | | | `data.ai_lab_plan.no_of_nodes` | integer | no | | | `data.committed_info` | object | no | | | `data.status` | string | no | | | `data.course_count` | integer | no | | | `data.location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 40, "name": "demo_course", "description": "This is demo organization", "project": { "team_id": 0, "project_id": 0, "project_name": "string", "team_name": "string" }, "sku_details": { "specs": { "sku_id": 0, "name": "string", "series": "string", "cpu": 0, "gpu": 0, "memory": 0, "ephemeral_storage": 0, "gpu_memory": 0, "is_free": false, "is_active": false, "gpu_switch_type": "string", "local_storage_in_gb": 0, "sku_type": "string", "gpu_card_type": "string", "category": "string", "variant": "string", "no_of_nodes": 0 }, "plan": { "sku_item_price_id": 0, "sku_type": "string", "committed_days": 0, "unit_price": 0, "currency": "string", "is_active": false, "description": "string", "location": "string" } }, "organization_nodes": [ { "node_name": "string", "node_alias_name": "string" } ], "members_count": 0, "max_students": 0, "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string", "resource_count": 0, "iam_info": { "id": 0, "owner": { "id": 0, "name": "string", "email": "string", "username": "string" }, "added_user": { "id": 0, "name": "string", "email": "string", "username": "string" }, "role": "string", "iam_type": "string", "created_at": "string", "updated_at": "string", "is_student": false }, "invited_count": 0, "ai_lab_plan": { "id": 0, "name": "string", "no_of_students": 0, "is_active": false, "no_of_nodes": 0 }, "committed_info": {}, "status": "string", "course_count": 0, "location": "string" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Organizations" method: GET path: "/ai_labs/organization/" url: "/api/tir/operations/get-ai-labs-organization/" --- # List Organizations `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 Successfully retrieved organization list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].project` | object | no | | | `data[].project.team_id` | integer | no | | | `data[].project.project_id` | integer | no | | | `data[].project.project_name` | string | no | | | `data[].project.team_name` | string | no | | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | | | `data[].sku_details.specs.name` | string | no | | | `data[].sku_details.specs.series` | string | no | | | `data[].sku_details.specs.cpu` | integer | no | | | `data[].sku_details.specs.gpu` | integer | no | | | `data[].sku_details.specs.memory` | integer | no | | | `data[].sku_details.specs.ephemeral_storage` | integer | no | | | `data[].sku_details.specs.gpu_memory` | integer | no | | | `data[].sku_details.specs.is_free` | boolean | no | | | `data[].sku_details.specs.is_active` | boolean | no | | | `data[].sku_details.specs.gpu_switch_type` | string | no | | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | | | `data[].sku_details.specs.sku_type` | string | no | | | `data[].sku_details.specs.gpu_card_type` | string | no | | | `data[].sku_details.specs.category` | string | no | | | `data[].sku_details.specs.variant` | string | no | | | `data[].sku_details.specs.no_of_nodes` | integer | no | | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].sku_details.plan.sku_type` | string | no | | | `data[].sku_details.plan.committed_days` | integer | no | | | `data[].sku_details.plan.unit_price` | number | no | | | `data[].sku_details.plan.currency` | string | no | | | `data[].sku_details.plan.is_active` | boolean | no | | | `data[].sku_details.plan.description` | string | no | | | `data[].sku_details.plan.location` | string | no | | | `data[].organization_nodes` | array of object | no | | | `data[].organization_nodes[].node_name` | string | no | | | `data[].organization_nodes[].node_alias_name` | string | no | | | `data[].members_count` | integer | no | | | `data[].max_students` | integer | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].resource_count` | integer | no | | | `data[].iam_info` | object | no | | | `data[].iam_info.id` | integer | no | | | `data[].iam_info.owner` | object | no | | | `data[].iam_info.owner.id` | integer | no | | | `data[].iam_info.owner.name` | string | no | | | `data[].iam_info.owner.email` | string | no | | | `data[].iam_info.owner.username` | string | no | | | `data[].iam_info.added_user` | object | no | | | `data[].iam_info.added_user.id` | integer | no | | | `data[].iam_info.added_user.name` | string | no | | | `data[].iam_info.added_user.email` | string | no | | | `data[].iam_info.added_user.username` | string | no | | | `data[].iam_info.role` | string | no | | | `data[].iam_info.iam_type` | string | no | | | `data[].iam_info.created_at` | string (date-time) | no | | | `data[].iam_info.updated_at` | string (date-time) | no | | | `data[].iam_info.is_student` | boolean | no | | | `data[].invited_count` | integer | no | | | `data[].ai_lab_plan` | object | no | | | `data[].ai_lab_plan.id` | integer | no | | | `data[].ai_lab_plan.name` | string | no | | | `data[].ai_lab_plan.no_of_students` | integer | no | | | `data[].ai_lab_plan.is_active` | boolean | no | | | `data[].ai_lab_plan.no_of_nodes` | integer | no | | | `data[].committed_info` | object | no | | | `data[].status` | string | no | | | `data[].course_count` | integer | no | | | `data[].location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 38, "name": "demo_course", "description": "This is demo organization", "project": { "team_id": 0, "project_id": 0, "project_name": "string", "team_name": "string" }, "sku_details": { "specs": { "sku_id": 0, "name": "string", "series": "string", "cpu": 0, "gpu": 0, "memory": 0, "ephemeral_storage": 0, "gpu_memory": 0, "is_free": false, "is_active": false, "gpu_switch_type": "string", "local_storage_in_gb": 0, "sku_type": "string", "gpu_card_type": "string", "category": "string", "variant": "string", "no_of_nodes": 0 }, "plan": { "sku_item_price_id": 0, "sku_type": "string", "committed_days": 0, "unit_price": 0, "currency": "string", "is_active": false, "description": "string", "location": "string" } }, "organization_nodes": [ { "node_name": "string", "node_alias_name": "string" } ], "members_count": 0, "max_students": 0, "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string", "resource_count": 0, "iam_info": { "id": 0, "owner": { "id": 0, "name": "string", "email": "string", "username": "string" }, "added_user": { "id": 0, "name": "string", "email": "string", "username": "string" }, "role": "string", "iam_type": "string", "created_at": "string", "updated_at": "string", "is_student": false }, "invited_count": 0, "ai_lab_plan": { "id": 0, "name": "string", "no_of_students": 0, "is_active": false, "no_of_nodes": 0 }, "committed_info": {}, "status": "string", "course_count": 0, "location": "string" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monitoring Groups List" method: GET path: "/alerts/monitoring-groups/" url: "/api/tir/operations/get-alerts-monitoring-groups/" --- # Monitoring Groups List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups/` Retrieve all monitoring groups associated with alerts for a given project. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful response with monitoring groups list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].project` | integer | no | | | `data[].member_ids` | array of integer | no | | | `data[].alerts` | array of object | no | | | `data[].alerts[].id` | integer | no | | | `data[].alerts[].name` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 3, "data": [ { "id": 26, "name": "Dev-Team", "description": "", "project": 10450, "member_ids": [ 12345 ], "alerts": [ { "id": 55, "name": "alert-260325114033" } ], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-19T11:32:09Z", "updated_at": "2026-03-19T11:32:09Z" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Alerts List" method: GET path: "/alerts/" url: "/api/tir/operations/get-alerts/" --- # Alerts List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/` Retrieve all configured alerts for a given project with pagination support. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `service` | one of ``, `notebook`, `inference_service` | no | | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful response with alerts list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].location` | string | no | | | `data[].location_key` | string | no | | | `data[].resource_type` | string | no | | | `data[].resource_type_key` | string | no | | | `data[].metric_type` | string | no | | | `data[].metric_type_key` | string | no | | | `data[].metric_type_unit` | string | no | | | `data[].operator` | string | no | | | `data[].operator_key` | string | no | | | `data[].threshold_value` | number (float) | no | | | `data[].severity` | string | no | | | `data[].severity_key` | string | no | | | `data[].monitoring_groups` | array of object | no | | | `data[].monitoring_groups[].id` | integer | no | | | `data[].monitoring_groups[].name` | string | no | | | `data[].monitoring_groups[].description` | string | no | | | `data[].monitoring_groups[].project` | integer | no | | | `data[].monitoring_groups[].member_ids` | array of integer | no | | | `data[].monitoring_groups[].alerts` | array of object | no | | | `data[].monitoring_groups[].alerts[].id` | integer | no | | | `data[].monitoring_groups[].alerts[].name` | string | no | | | `data[].monitoring_groups[].created_by` | object | no | | | `data[].monitoring_groups[].created_by.id` | integer | no | | | `data[].monitoring_groups[].created_by.name` | string | no | | | `data[].monitoring_groups[].created_by.email` | string | no | | | `data[].monitoring_groups[].created_by.username` | string | no | | | `data[].monitoring_groups[].created_at` | string (date-time) | no | | | `data[].monitoring_groups[].updated_at` | string (date-time) | no | | | `data[].attached_resources` | array of object | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 3, "data": [ { "id": 42, "name": "alert-260320091734", "location": "Delhi", "location_key": "Delhi", "resource_type": "Instance", "resource_type_key": "notebook", "metric_type": "CPU Utilization", "metric_type_key": "cpu", "metric_type_unit": "%", "operator": "Less Than", "operator_key": "<", "threshold_value": 12, "severity": "Critical", "severity_key": "Critical", "monitoring_groups": [ { "id": 26, "name": "Dev-Team", "description": "", "project": 10450, "member_ids": [ 12345 ], "alerts": [ { "id": 42, "name": "alert-260320091734" } ], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-19T11:32:09Z", "updated_at": "2026-03-19T11:32:09Z" } ], "attached_resources": [], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-20T03:47:48Z", "updated_at": "2026-03-20T03:47:48Z" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Async Invocation Config" method: GET path: "/serving/inference/{inference_id}/async_config/" url: "/api/tir/operations/get-async-invocation-config/" --- # Get Async Invocation Config `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/async_config/` Returns the current async invocation configuration for the model endpoint. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Current async invocation configuration for the endpoint. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.async_concurrent_workers` | integer | no | Number of parallel async workers configured. | | `data.async_enabled` | boolean | no | Whether async invocation is currently enabled. | | `data.async_dataset` | object | no | Dataset object used for async results (null if not set). | | `data.async_dataset_id` | integer | no | ID of the dataset used for async results. | | `data.async_target_routes` | array of object | no | List of route mappings for async inference. | | `data.async_target_routes[].route_name` | string | no | Internal queue name. | | `data.async_target_routes[].route_value` | string | no | Endpoint route to call. | | `data.async_destination_type` | string | no | Destination type for async results (e.g. `"dataset"`). | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "async_concurrent_workers": 0, "async_enabled": false, "async_dataset": null, "async_dataset_id": null, "async_target_routes": [ { "route_name": "QUEUE_1", "route_value": "predict" } ], "async_destination_type": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//async_config/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List API Tokens" method: GET path: "/auth-token/" url: "/api/tir/operations/get-auth-token/" --- # List API Tokens `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 List of API tokens | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].token_name` | string | no | | | `data[].api_key` | string (uuid) | no | | | `data[].auth_token` | string | no | | | `data[].created_at` | string | no | | | `data[].expiry` | string (date) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 2833, "token_name": "new-token22", "api_key": "d2f41f70-917c-4b24-9f3c-de7a4bbec386", "auth_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", "created_at": "1 Months ago", "expiry": "2027-02-11" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Images" method: GET path: "/container_registry/{Container_reg_id}/namespace-repository/" url: "/api/tir/operations/get-container-registry-container-reg-id-namespace-repository/" --- # List Images `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/{Container_reg_id}/namespace-repository/` **Note:** Container Registry is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Container_reg_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved images in the container registry | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].artifact_count` | integer | no | | | `data[].creation_time` | string (date-time) | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].project_id` | integer | no | | | `data[].pull_count` | integer | no | | | `data[].update_time` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "artifact_count": 1, "creation_time": "2026-03-04T02:40:12.186Z", "id": 7749, "name": "mycr03/tir_automation-v2", "project_id": 2246, "pull_count": 3, "update_time": "2026-03-04T02:40:27.623Z" } ], "errors": {}, "message": "Success", "total_count": 3 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry//namespace-repository/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Container Registry" method: GET path: "/container_registry/" url: "/api/tir/operations/get-container-registry/" --- # List Container Registry `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/` **Note:** Container Registry is currently available only in the **Delhi** region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved namespace details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].namespace` | string | no | | | `data[].registry_endpoint` | string | no | | | `data[].namespace_size` | integer | no | | | `data[].username` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 131, "namespace": "testing1234", "registry_endpoint": "registry.e2enetworks.net", "namespace_size": 0, "username": "e2etesting1234+hey" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Connection Sync Jobs" method: GET path: "/data_syncer/connection/{Connection_Id}/jobs/" url: "/api/tir/operations/get-data-syncer-connection-connection-id-jobs/" --- # Get Connection Sync Jobs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/{Connection_Id}/jobs/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Connection_Id` | integer | yes | Connection Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 A list of failed jobs | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].status` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].streamAggregatedStats` | array of object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 2, "data": [ { "id": 193, "status": "failed", "created_at": "2025-02-21T05:24:24Z", "updated_at": "2025-02-21T05:24:47Z", "streamAggregatedStats": [ {} ] } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection//jobs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Connections" method: GET path: "/data_syncer/connection/" url: "/api/tir/operations/get-data-syncer-connection/" --- # Get Connections `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 List of sync connections retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].schedule_type` | string | no | | | `data[].frequency` | string | no | | | `data[].status` | string | no | | | `data[].sync_mode` | string | no | | | `data[].last_sync` | string (date-time) | no | | | `data[].latest_sync_status` | string | no | | | `data[].next_sync` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].source` | object | no | | | `data[].source.id` | integer | no | | | `data[].source.name` | string | no | | | `data[].source.status` | string | no | | | `data[].source.source_type` | string | no | | | `data[].source.created_at` | string (date-time) | no | | | `data[].source.configuration` | object | no | | | `data[].source.configuration.prefix` | string | no | | | `data[].source.configuration.access_key` | string | no | | | `data[].source.configuration.bucket_name` | string | no | | | `data[].source.configuration.endpoint_url` | string | no | | | `data[].destination` | object | no | | | `data[].destination.id` | integer | no | | | `data[].destination.name` | string | no | | | `data[].destination.destination_type` | string | no | | | `data[].destination.status` | string | no | | | `data[].destination.dataset` | object | no | | | `data[].destination.dataset.id` | integer | no | | | `data[].destination.dataset.name` | string | no | | | `data[].destination.dataset.project_id` | integer | no | | | `data[].destination.dataset.storage_type` | string | no | | | `data[].destination.dataset.bucket` | object | no | | | `data[].destination.dataset.bucket.id` | integer | no | | | `data[].destination.dataset.bucket.bucket_name` | string | no | | | `data[].destination.dataset.bucket.bucket_url` | string | no | | | `data[].destination.dataset.bucket.endpoint` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 171, "name": "syncer-connection-022015573333", "schedule_type": "basic", "frequency": "6", "status": "inactive", "sync_mode": "incremental_append", "last_sync": "2025-02-20T11:23:02Z", "latest_sync_status": "succeeded", "next_sync": "", "created_at": "2025-02-20T10:40:01.225117Z", "updated_at": "2025-02-20T11:39:38.140680Z", "source": { "id": 222, "name": "syncer-source-021917393333", "status": "active", "source_type": "minio", "created_at": "2025-02-20T10:26:21.507678Z", "configuration": { "prefix": "/", "access_key": "OYG8DNWGXK6TOQ2GX1PM", "bucket_name": "test-r1", "endpoint_url": "objectstore.e2enetworks.net" } }, "destination": { "id": 147, "name": "syncer-destination-02201439044", "destination_type": "tir_dataset", "status": "active", "dataset": { "id": 1637, "name": "finetuning-dataset-022013562626", "project_id": 4601, "storage_type": "managed", "bucket": { "id": 3162, "bucket_name": "d-gpu-bd21fad1-abcb-45fd-bc11-46142b7c7928", "bucket_url": "s3://d-gpu-bd21fad1-abcb-45fd-bc11-46142b7c7928/", "endpoint": "https://objectstore.e2enetworks.net" } } }, "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" } } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Destinations" method: GET path: "/data_syncer/destination/" url: "/api/tir/operations/get-data-syncer-destination/" --- # List Destinations `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Success response with a list of destinations | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].destination_type` | string | no | | | `data[].status` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].dataset` | object | no | | | `data[].dataset.id` | integer | no | | | `data[].dataset.name` | string | no | | | `data[].dataset.project_id` | integer | no | | | `data[].dataset.storage_type` | string | no | | | `data[].dataset.bucket` | object | no | | | `data[].dataset.bucket.id` | integer | no | | | `data[].dataset.bucket.bucket_name` | string | no | | | `data[].dataset.bucket.bucket_url` | string | no | | | `data[].dataset.bucket.endpoint` | string | no | | | `data[].dataset.bucket.is_managed` | boolean | no | | | `data[].dataset.bucket.eos_bucket_permission_id` | integer | no | | | `data[].dataset.access_key` | object | no | | | `data[].dataset.access_key.id` | integer | no | | | `data[].dataset.access_key.access_key` | string | no | | | `data[].dataset.access_key.tag` | string | no | | | `data[].dataset.access_key.is_managed` | boolean | no | | | `data[].dataset.encryption_enable` | boolean | no | | | `data[].dataset.status` | string | no | | | `data[].path_prefix` | string | no | | | `data[].run` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 146, "name": "syncer-destination-02201439044", "destination_type": "tir_dataset", "status": "active", "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" }, "dataset": { "id": 1637, "name": "finetuning-dataset-022013562626", "project_id": 4601, "storage_type": "managed", "bucket": { "id": 3162, "bucket_name": "d-gpu-bd21fad1-abcb-45fd-bc11-46142b7c7928", "bucket_url": "s3://d-gpu-bd21fad1-abcb-45fd-bc11-46142b7c7928/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 11604 }, "access_key": { "id": 3179, "access_key": "2092TCITD7JA6IICP299", "tag": "akgpuf8fd86dec56147a8aefb896fef535f03", "is_managed": true }, "encryption_enable": false, "status": "OK" }, "path_prefix": "/", "run": true, "created_at": "2025-02-20T10:14:23.278364Z", "updated_at": "2025-02-20T10:14:36.960772Z" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Source Types" method: GET path: "/data_syncer/source-connectors/" url: "/api/tir/operations/get-data-syncer-source-connectors/" --- # List Source Types `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source-connectors/` Please select Service as **data_syncer** ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `service` | one of `notebook`, `vector_db`, `pipeline`, `inference_service`, `private_cloud`, `dbaas` | yes | | ## Responses ### 200 A list of source connectors | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].source_type` | string | no | | | `data[].name` | string | no | | | `data[].icon_url` | string | no | | | `data[].description` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1, "source_type": "minio", "name": "MinIO", "icon_url": "/data-syncer-images/minio.png", "description": "MinIO is an open source object storage system." } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source-connectors/?apikey=&project_id=&location=&service=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Sources" method: GET path: "/data_syncer/source/" url: "/api/tir/operations/get-data-syncer-source/" --- # List Sources `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successfully retrieved syncer sources | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the syncer source. | | `data[].name` | string | no | Name of the syncer source. | | `data[].status` | string | no | Status of the syncer source. | | `data[].start_date` | string (date-time) | no | Start date of the syncer source. | | `data[].file_search_filter` | array of string | no | File search filter settings. | | `data[].file_size_upper_limit` | integer | no | Upper limit of file size. | | `data[].file_size_lower_limit` | integer | no | Lower limit of file size. | | `data[].path_array` | array of string | no | Array of file paths. | | `data[].regex_pattern` | string | no | Regular expression pattern for file filtering. | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | ID of the creator. | | `data[].created_by.name` | string | no | Name of the creator. | | `data[].created_by.email` | string | no | Email of the creator. | | `data[].created_by.username` | string | no | Username of the creator. | | `data[].created_at` | string (date-time) | no | Timestamp of creation. | | `data[].updated_at` | string (date-time) | no | Timestamp of last update. | | `data[].source_type` | string | no | Type of the source. | | `data[].source_connector` | object | no | | | `data[].source_connector.id` | integer | no | ID of the source connector. | | `data[].source_connector.source_type` | string | no | Type of the source connector. | | `data[].source_connector.name` | string | no | Name of the source connector. | | `data[].source_connector.icon_url` | string | no | URL of the icon for the source connector. | | `data[].source_connector.description` | string | no | Description of the source connector. | | `data[].configuration` | object | no | | | `data[].configuration.bucket_name` | string | no | Name of the storage bucket. | | `data[].configuration.endpoint_url` | string | no | Endpoint URL of the object storage. | | `data[].configuration.access_key` | string | no | Access key for authentication. | | `data[].configuration.prefix` | string | no | Prefix path within the bucket. | | `errors` | object | no | Contains error details if any. | | `message` | string | no | Response message. | | `total_page_number` | integer | no | Total number of pages available. | | `total_count` | integer | no | Total number of syncer sources available. | Example 200 response: ```json { "code": 200, "data": [ { "id": 214, "name": "syncer-source-021917393333", "status": "active", "start_date": null, "file_search_filter": [], "file_size_upper_limit": 0, "file_size_lower_limit": 0, "path_array": [], "regex_pattern": null, "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" }, "created_at": "2025-02-19T12:12:47.457714Z", "updated_at": "2025-02-19T12:12:47.549457Z", "source_type": "minio", "source_connector": { "id": 1, "source_type": "minio", "name": "MinIO", "icon_url": "/data-syncer-images/minio.png", "description": "MinIO is an open source object storage system." }, "configuration": { "bucket_name": "test-r1", "endpoint_url": "objectstore.e2enetworks.net", "access_key": "OYG8DNWGXK6TOQ2GX1PM", "prefix": "/" } } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Lifecycle Rules" method: GET path: "/datasets/{Dataset_Id}/lifecycle-rule/" url: "/api/tir/operations/get-datasets-dataset-id-lifecycle-rule/" --- # Get Lifecycle Rules `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/{Dataset_Id}/lifecycle-rule/` Retrieve lifecycle rules configured for the dataset's EOS bucket. Only applicable for datasets with storage_type 'managed' or 'existing_bucket'. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Dataset_Id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success response with lifecycle rule list. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].deleted` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].rule_id` | string | no | | | `data[].enabled` | boolean | no | | | `data[].prefix` | string | no | | | `data[].expiry_date_or_days` | string | no | | | `data[].noncurrent_version_expiration_date_or_days` | string | no | | | `data[].transition` | string | no | | | `data[].storage_class` | string | no | | | `data[].tags` | string | no | | | `data[].location` | string | no | | | `data[].bucket` | integer | no | | | `data[].user` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1711, "deleted": false, "created_at": "2026-02-05T10:43:25.612412Z", "updated_at": "2026-02-05T10:43:25.612430Z", "rule_id": "b0c6b464474f45eebcd626058ac637e7", "enabled": true, "prefix": "", "expiry_date_or_days": "1", "noncurrent_version_expiration_date_or_days": "", "transition": "", "storage_class": "", "tags": "", "location": "Delhi", "bucket": 16731, "user": 32970 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets//lifecycle-rule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get EOS Data Objects" method: GET path: "/datasets/{Dataset_Id}/objects/" url: "/api/tir/operations/get-datasets-dataset-id-objects/" --- # Get EOS Data Objects `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/{Dataset_Id}/objects/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Dataset_Id` | integer | no | dataset id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with no data. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | array of object | no | An empty array indicating no results. | | `errors` | object | no | Any errors encountered during the operation. | | `message` | string | no | Result message of the operation. | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets//objects/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Generate upload URL" method: GET path: "/datasets/genai/objects/urls/" url: "/api/tir/operations/get-datasets-genai-objects-urls/" --- # Generate upload URL `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/genai/objects/urls/` This API allows users to generate an upload URL for dataset objects. User must update the `file_name` of the file he is going to upload. Copy the `upload_url` to use in a the put file request. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `action` | one of `upload` | yes | | | `file_name` | string | yes | | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully generated upload URL | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.upload_url` | string (uri) | no | | | `data.model_input_url` | string | no | | | `data.file_path` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "upload_url": "https://objectstore.e2enetworks.net/d-gpu-0eb7f421-74cf-4fc4-b7ed-ad6131c261b6/4543-1738835747-0.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=K8%2rT%2F20%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=786423&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=t7832r9tugvi7", "model_input_url": "/mnt/data/4543-1738742155-IMG_20240827_233637.jpg", "file_path": "4543-1738742155-IMG_20240827_233637.jpg" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/genai/objects/urls/?apikey=&action=&file_name=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Datasets" method: GET path: "/datasets/" url: "/api/tir/operations/get-datasets/" --- # List Datasets `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/` Retrieve a list of all datasets in the project with filtering and pagination options ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `is_advanced_search` | boolean | no | Specifies if advanced filters should be applied. | | `storage_type` | one of `managed,e2e_s3`, `pvc` | no | Storage Type | | `encrypted` | boolean | no | Encryption | ## Responses ### 200 Success response with dataset information. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the dataset. | | `data[].name` | string | no | Name of the dataset. | | `data[].project_id` | integer | no | ID of the project associated with the dataset. | | `data[].description` | string | no | Description of the dataset, which is null in this case. | | `data[].storage_type` | string | no | Type of storage used for the dataset. | | `data[].pvc` | string | no | Persistent volume claim (PVC) details, which is null in this case. | | `data[].bucket` | object | no | | | `data[].bucket.id` | integer | no | Unique identifier of the bucket. | | `data[].bucket.bucket_name` | string | no | Name of the storage bucket. | | `data[].bucket.bucket_url` | string | no | URL of the bucket. | | `data[].bucket.endpoint` | string | no | Endpoint URL of the object store. | | `data[].bucket.is_managed` | boolean | no | Whether the bucket is managed. | | `data[].bucket.eos_bucket_permission_id` | integer | no | EOS bucket permission ID. | | `data[].access_key` | object | no | | | `data[].access_key.id` | integer | no | Unique identifier for the access key. | | `data[].access_key.access_key` | string | no | The access key. | | `data[].access_key.secret_key` | string | no | The secret key for accessing the bucket. | | `data[].access_key.tag` | string | no | A tag associated with the access key. | | `data[].access_key.is_managed` | boolean | no | Whether the access key is managed. | | `data[].encryption_type` | string | no | Type of encryption used, which is null in this case. | | `data[].encryption_enable` | boolean | no | Whether encryption is enabled for the dataset. | | `data[].status` | string | no | Status of the dataset. | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | User ID of the creator. | | `data[].created_by.name` | string | no | Name of the creator. | | `data[].created_by.email` | string | no | Email of the creator. | | `data[].created_by.username` | string | no | Username of the creator. | | `data[].created_at` | string (date-time) | no | Timestamp of when the dataset was created. | | `data[].updated_at` | string (date-time) | no | Timestamp of when the dataset was last updated. | | `errors` | object | no | Any errors encountered during the operation. | | `message` | string | no | Message indicating the result of the operation. | | `total_page_number` | integer | no | Total number of pages of dataset information available. | | `total_count` | integer | no | Total number of datasets returned. | Example 200 response: ```json { "code": 200, "data": [ { "id": 1306, "name": "tir-dataset-111415255656", "project_id": 124, "description": "string", "storage_type": "managed", "pvc": "string", "bucket": { "id": 2519, "bucket_name": "d-gpu-eec9c7b5-be21-4303-ad86-78fa3b2ba284", "bucket_url": "s3://d-gpu-eec9c7b5-be21-4303-ad86-78fa3b2ba284/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 10205 }, "access_key": { "id": 2536, "access_key": "CKEAFAC2WW1R3CRM4YR2", "secret_key": "X8PB1JFEYIFP1LZIRKPKYBDSCD57R15A9CMGD6UP", "tag": "akgpu6bdbe89619c949d382acf141fb76c204", "is_managed": true }, "encryption_type": "string", "encryption_enable": false, "status": "OK", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T09:56:02.477591Z", "updated_at": "2024-11-14T09:56:02.477647Z" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Extensions" method: GET path: "/dbaas/extensions/" url: "/api/tir/operations/get-dbaas-extensions/" --- # List Database Extensions `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/extensions/` Returns the extensions a database can install. Needs the Read permission on DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `engine` | string | no | The engine. An engine with no extensions returns an empty list. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The extensions | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.engine` | string | no | | | `data.extensions` | array of object | no | | | `data.extensions[].name` | one of `pg_stat_statements`, `vector`, `pg_trgm`, `uuid-ossp`, `pgcrypto`, `hstore`, `citext`, `btree_gin`, `btree_gist`, `ltree`, `unaccent` | no | | | `data.extensions[].is_default` | boolean | no | `true` for `pg_stat_statements` and `vector`. | | `data.extensions[].requires_restart` | boolean | no | | | `data.extensions[].description` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "engine": "postgresql", "extensions": [ { "name": "pg_trgm", "is_default": false, "requires_restart": false, "description": "Trigram matching for fuzzy text search" } ] }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/extensions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database IP Allowlist" method: GET path: "/dbaas/{managed_db_id}/allowlist/" url: "/api/tir/operations/get-dbaas-managed-db-id-allowlist/" --- # Get Database IP Allowlist `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/allowlist/` Returns the IP allowlist and the public IPv4 address the call came from, for adding your own address. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The allowlist | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.ip_allowlist` | array of object | no | | | `data.ip_allowlist[].cidr` | string | no | | | `data.ip_allowlist[].label` | string | no | Description of the range; empty when none was given. | | `data.your_ip` | string | no | `null` when no IPv4 address was found. | | `data.your_ip_cidr` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "your_ip": "198.51.100.7", "your_ip_cidr": "198.51.100.7/32" }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//allowlist/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Configuration" method: GET path: "/dbaas/{managed_db_id}/configuration/" url: "/api/tir/operations/get-dbaas-managed-db-id-configuration/" --- # Get Database Configuration `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/configuration/` Returns the attached parameter group and the installed extensions. The database must be `Running`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The configuration | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.parameter_group` | object | no | The attached parameter group; `null` when none is attached. | | `data.parameter_group.id` | integer | no | | | `data.parameter_group.name` | string | no | | | `data.parameter_group.status` | string | no | | | `data.extensions` | object | no | Extensions installed on the database, read live. Until the database answers, the extensions set at creation. | | `data.extensions.status` | integer | no | | | `data.extensions.data` | object | no | | | `data.extensions.data.extensions` | array of string | no | | | `data.extensions.data.count` | integer | no | | | `data.extensions.errors` | object | no | | | `data.extensions.log` | string | no | | | `data.extensions.success` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "parameter_group": { "id": 8, "name": "orders-tuning", "status": "synced" }, "extensions": { "status": 200, "data": { "extensions": [ "pg_stat_statements", "plpgsql", "vector" ], "count": 3 }, "errors": {}, "log": "Success", "success": true } }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//configuration/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Connection Bundle" method: GET path: "/dbaas/{managed_db_id}/connect/" url: "/api/tir/operations/get-dbaas-managed-db-id-connect/" --- # Get Database Connection Bundle `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/connect/` Returns the connection details for all three purposes in one call, each as in **Get Database Connection Info**. No part holds a password. The database must be `Running`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The connection details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.connection` | object | no | | | `data.connection.application` | object | no | | | `data.connection.application.purpose` | one of `application`, `psql` | no | | | `data.connection.application.host` | string | no | The database's public address. While the database has no IP allowlist it has no public address, and this is its internal name, which cannot be reached from outside. | | `data.connection.application.port` | integer | no | | | `data.connection.application.database` | string | no | The database created at launch. | | `data.connection.application.user` | string | no | The admin username set at creation. | | `data.connection.application.password_note` | string | no | | | `data.connection.application.connection_strings` | object | no | The same connection in four forms. None holds the password. | | `data.connection.application.connection_strings.url` | string | no | | | `data.connection.application.connection_strings.env` | string | no | | | `data.connection.application.connection_strings.psql` | string | no | | | `data.connection.application.connection_strings.jdbc` | string | no | | | `data.connection.application.snippets` | object | no | Short code samples that read the URL from `DATABASE_URL`. | | `data.connection.application.snippets.nodejs` | string | no | | | `data.connection.application.snippets.python` | string | no | | | `data.connection.application.snippets.django` | string | no | | | `data.connection.application.snippets.sqlalchemy` | string | no | | | `data.connection.application.snippets.go` | string | no | | | `data.connection.application.ssl_required` | boolean | no | Connections must use SSL. | | `data.connection.psql` | object | no | | | `data.connection.psql.purpose` | one of `application`, `psql` | no | | | `data.connection.psql.host` | string | no | The database's public address. While the database has no IP allowlist it has no public address, and this is its internal name, which cannot be reached from outside. | | `data.connection.psql.port` | integer | no | | | `data.connection.psql.database` | string | no | The database created at launch. | | `data.connection.psql.user` | string | no | The admin username set at creation. | | `data.connection.psql.password_note` | string | no | | | `data.connection.psql.connection_strings` | object | no | The same connection in four forms. None holds the password. | | `data.connection.psql.connection_strings.url` | string | no | | | `data.connection.psql.connection_strings.env` | string | no | | | `data.connection.psql.connection_strings.psql` | string | no | | | `data.connection.psql.connection_strings.jdbc` | string | no | | | `data.connection.psql.snippets` | object | no | Short code samples that read the URL from `DATABASE_URL`. | | `data.connection.psql.snippets.nodejs` | string | no | | | `data.connection.psql.snippets.python` | string | no | | | `data.connection.psql.snippets.django` | string | no | | | `data.connection.psql.snippets.sqlalchemy` | string | no | | | `data.connection.psql.snippets.go` | string | no | | | `data.connection.psql.ssl_required` | boolean | no | Connections must use SSL. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "connection": { "application": { "purpose": "application", "host": "", "port": 5432, "database": "defaultdb", "user": "appadmin", "password_note": "Replace with the password of 'appadmin'. In the URL form, percent-encode special characters in the password (for example @ as %40, : as %3A, / as %2F).", "connection_strings": { "url": "postgresql://appadmin:@:5432/defaultdb?sslmode=require", "env": "DATABASE_URL=postgresql://appadmin:@:5432/defaultdb?sslmode=require", "psql": "psql \"host= port=5432 dbname=defaultdb user=appadmin sslmode=require\"", "jdbc": "jdbc:postgresql://:5432/defaultdb?user=appadmin&ssl=true" }, "snippets": { "nodejs": "string", "python": "string", "django": "string", "sqlalchemy": "string", "go": "string" }, "ssl_required": true }, "psql": { "purpose": "application", "host": "", "port": 5432, "database": "defaultdb", "user": "appadmin", "password_note": "Replace with the password of 'appadmin'. In the URL form, percent-encode special characters in the password (for example @ as %40, : as %3A, / as %2F).", "connection_strings": { "url": "postgresql://appadmin:@:5432/defaultdb?sslmode=require", "env": "DATABASE_URL=postgresql://appadmin:@:5432/defaultdb?sslmode=require", "psql": "psql \"host= port=5432 dbname=defaultdb user=appadmin sslmode=require\"", "jdbc": "jdbc:postgresql://:5432/defaultdb?user=appadmin&ssl=true" }, "snippets": { "nodejs": "string", "python": "string", "django": "string", "sqlalchemy": "string", "go": "string" }, "ssl_required": true } } }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//connect/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Connection Info" method: GET path: "/dbaas/{managed_db_id}/connection-info/" url: "/api/tir/operations/get-dbaas-managed-db-id-connection-info/" --- # Get Database Connection Info `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/connection-info/` Returns the host, port, database name and user to connect with, the same connection as a URL, an environment variable, a `psql` command and a JDBC URL, and short code samples. The password is never included; every form shows `` in its place. Connections must use SSL. The database must be `Running`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `purpose` | one of `application`, `psql` | no | What the connection is for. Both return the read-write address. Any other value is treated as `application`. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The connection details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.purpose` | one of `application`, `psql` | no | | | `data.host` | string | no | The database's public address. While the database has no IP allowlist it has no public address, and this is its internal name, which cannot be reached from outside. | | `data.port` | integer | no | | | `data.database` | string | no | The database created at launch. | | `data.user` | string | no | The admin username set at creation. | | `data.password_note` | string | no | | | `data.connection_strings` | object | no | The same connection in four forms. None holds the password. | | `data.connection_strings.url` | string | no | | | `data.connection_strings.env` | string | no | | | `data.connection_strings.psql` | string | no | | | `data.connection_strings.jdbc` | string | no | | | `data.snippets` | object | no | Short code samples that read the URL from `DATABASE_URL`. | | `data.snippets.nodejs` | string | no | | | `data.snippets.python` | string | no | | | `data.snippets.django` | string | no | | | `data.snippets.sqlalchemy` | string | no | | | `data.snippets.go` | string | no | | | `data.ssl_required` | boolean | no | Connections must use SSL. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "purpose": "application", "host": "", "port": 5432, "database": "defaultdb", "user": "appadmin", "password_note": "Replace with the password of 'appadmin'. In the URL form, percent-encode special characters in the password (for example @ as %40, : as %3A, / as %2F).", "connection_strings": { "url": "postgresql://appadmin:@:5432/defaultdb?sslmode=require", "env": "DATABASE_URL=postgresql://appadmin:@:5432/defaultdb?sslmode=require", "psql": "psql \"host= port=5432 dbname=defaultdb user=appadmin sslmode=require\"", "jdbc": "jdbc:postgresql://:5432/defaultdb?user=appadmin&ssl=true" }, "snippets": { "nodejs": "string", "python": "string", "django": "string", "sqlalchemy": "string", "go": "string" }, "ssl_required": true }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//connection-info/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Activity" method: GET path: "/dbaas/{managed_db_id}/events/" url: "/api/tir/operations/get-dbaas-managed-db-id-events/" --- # List Database Activity `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/events/` Returns the database's activity entries, newest first: what people did to it and what the platform did on its own, back to its creation. Works in every database status. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `category` | one of `customer_action`, `system_event` | no | `customer_action` for actions taken by people, `system_event` for the platform's own. Left out, both come back. | | `page` | integer | no | Page number, from 1. | | `per_page` | integer | no | Entries per page. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 One page of entries | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.events` | array of object | no | | | `data.events[].id` | integer | no | | | `data.events[].event_type` | string | no | | | `data.events[].category` | one of `customer_action`, `system_event` | no | | | `data.events[].title` | string | no | | | `data.events[].description` | string | no | | | `data.events[].actor_email` | string | no | Who acted. `null` for the platform's own entries. | | `data.events[].metadata` | object | no | | | `data.events[].created_at` | string | no | | | `data.page` | integer | no | | | `data.per_page` | integer | no | | | `data.total` | integer | no | Entries across all pages. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "events": [ { "id": 3051, "event_type": "snapshot_created", "category": "customer_action", "title": "Snapshot created", "description": "orders-db-20261026-093000 · on_demand", "actor_email": "user@example.com", "metadata": {}, "created_at": "2026-10-26T09:30:01Z" } ], "page": 1, "per_page": 50, "total": 37 }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//events/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Nodes" method: GET path: "/dbaas/{managed_db_id}/instances/" url: "/api/tir/operations/get-dbaas-managed-db-id-instances/" --- # List Database Nodes `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/instances/` Returns the database's nodes with their addresses. A database has one node, the `primary`. The list is empty when the nodes cannot be read. The database must be `Running`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The nodes | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The node list, under its own `data`. | | `data.status` | integer | no | | | `data.data` | array of object | no | | | `data.data[].name` | string | no | The node's name: `pg-` and the database ID. | | `data.data[].role` | string | no | | | `data.data[].private_ip` | string | no | | | `data.data[].public_ip` | string | no | Empty when the node has no public address. | | `data.data[].status` | string | no | | | `data.data[].vpc_ip` | string | no | The node's VPC address. Present only when a VPC is attached. | | `data.errors` | object | no | | | `data.log` | string | no | | | `data.success` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": 200, "data": [ { "name": "pg-123", "role": "primary", "private_ip": "10.0.4.17", "public_ip": "203.0.113.25", "status": "running", "vpc_ip": "10.10.0.12" } ], "errors": {}, "log": "Success", "success": true }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."), or the nodes could not be read ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//instances/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Logs" method: GET path: "/dbaas/{managed_db_id}/logs/" url: "/api/tir/operations/get-dbaas-managed-db-id-logs/" --- # Get Database Logs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/logs/` Returns the last 100 lines of each of the database's PostgreSQL log files, as one text. It is not a live stream; call again for newer lines. Works only while the database is `Running`. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The log lines | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The lines are in `data.logs` inside this object. | | `data.status` | integer | no | | | `data.data` | object | no | | | `data.data.logs` | string | no | The lines, separated by line breaks. | | `data.errors` | object | no | | | `data.log` | string | no | | | `data.success` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": 200, "data": { "logs": "2026-10-26 10:15:02.114 UTC [2214] LOG: checkpoint starting: time\n2026-10-26 10:15:04.630 UTC [2214] LOG: checkpoint complete\n" }, "errors": {}, "log": "Success", "success": true }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` (as shown), or the log could not be read ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//logs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Metrics" method: GET path: "/dbaas/{managed_db_id}/metrics/" url: "/api/tir/operations/get-dbaas-managed-db-id-metrics/" --- # Get Database Metrics `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/metrics/` Returns the charts of the database over a time range: for each metric, the points, and the current, average, peak and minimum value. The metrics are `cpu_utilization`, `memory_utilization`, `storage_utilization`, `disk_read_iops`, `disk_write_iops`, `disk_read_throughput`, `disk_write_throughput`, `disk_read_latency`, `disk_write_latency`, `network_receive`, `network_transmit`. A metric that cannot be read comes back with an empty `series` and `null` stats. `markers` lists up to 20 of the database's activity entries inside the range. Works only while the database is `Running`. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `range` | one of `1h`, `6h`, `24h`, `7d`, `30d` | no | How far back to look. Points are 1 minute apart on `1h`, 5 minutes on `6h`, 15 minutes on `24h`, 1 hour on `7d` and 4 hours on `30d`. Left out, or any other value, gives the last 24 hours. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.range` | string | no | The range as sent; `1d` when left out. | | `data.step_seconds` | integer | no | Seconds between points. | | `data.start` | integer | no | Start of the range, Unix time in seconds. | | `data.end` | integer | no | End of the range, Unix time in seconds. | | `data.generated_at` | string | no | | | `data.metrics` | object | no | One entry per metric key, shown here for one of them. | | `data.metrics.cpu_utilization` | object | no | | | `data.metrics.cpu_utilization.meta` | object | no | | | `data.metrics.cpu_utilization.meta.label` | string | no | | | `data.metrics.cpu_utilization.meta.unit` | string | no | `percent`, `iops`, `bytes_per_sec` or `ms`. | | `data.metrics.cpu_utilization.meta.description` | string | no | | | `data.metrics.cpu_utilization.series` | array of array of number | no | Points as `[Unix time in seconds, value]`, oldest first. | | `data.metrics.cpu_utilization.stats` | object | no | Rounded to 2 decimal places. | | `data.metrics.cpu_utilization.stats.current` | number | no | | | `data.metrics.cpu_utilization.stats.avg` | number | no | | | `data.metrics.cpu_utilization.stats.peak` | number | no | | | `data.metrics.cpu_utilization.stats.min` | number | no | | | `data.markers` | array of object | no | | | `data.markers[].ts` | integer | no | Unix time in seconds. | | `data.markers[].event_type` | string | no | | | `data.markers[].category` | one of `customer_action`, `system_event` | no | | | `data.markers[].title` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "range": "1h", "step_seconds": 60, "start": 1793006400, "end": 1793010000, "generated_at": "2026-10-26T10:20:00+00:00", "metrics": { "cpu_utilization": { "meta": { "label": "CPU Utilization", "unit": "percent", "description": "vCPU usage as a percentage of provisioned cores" }, "series": [ [ 1793009940, 17.9 ], [ 1793010000, 18.5 ] ], "stats": { "current": 18.5, "avg": 12.31, "peak": 41.02, "min": 3.4 } } }, "markers": [ { "ts": 1793008200, "event_type": "snapshot_created", "category": "customer_action", "title": "Snapshot created" } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running`. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//metrics/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Overview" method: GET path: "/dbaas/{managed_db_id}/overview/" url: "/api/tir/operations/get-dbaas-managed-db-id-overview/" --- # Get Database Overview `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/overview/` Returns, in one call, the summary a database overview needs: disk use, nodes, snapshot summary, configuration, connection details and VPC. Each part is read on its own; a part that cannot be read is `null` instead of failing the call. Most parts need the database to be `Running`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The overview | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.metrics` | object | no | | | `data.metrics.storage` | object | no | The database's disk use. `null` unless the database is `Running`. | | `data.metrics.storage.total` | string | no | | | `data.metrics.storage.used` | string | no | | | `data.metrics.storage.available` | string | no | | | `data.metrics.storage.percent` | string | no | | | `data.nodes` | array of object | no | The database's nodes, as in **List Database Nodes**. | | `data.nodes[].name` | string | no | The node's name: `pg-` and the database ID. | | `data.nodes[].role` | string | no | | | `data.nodes[].private_ip` | string | no | | | `data.nodes[].public_ip` | string | no | Empty when the node has no public address. | | `data.nodes[].status` | string | no | | | `data.nodes[].vpc_ip` | string | no | The node's VPC address. Present only when a VPC is attached. | | `data.snapshot_summary` | object | no | | | `data.snapshot_summary.backup_enabled` | boolean | no | `true` when the snapshot schedule is on. | | `data.snapshot_summary.frequency` | string | no | | | `data.snapshot_summary.retention_count` | integer | no | | | `data.snapshot_summary.next_run_at` | string | no | | | `data.snapshot_summary.total_snapshots` | integer | no | | | `data.snapshot_summary.latest_snapshot` | object | no | | | `data.snapshot_summary.latest_snapshot.name` | string | no | | | `data.snapshot_summary.latest_snapshot.status` | string | no | | | `data.snapshot_summary.latest_snapshot.backup_type` | string | no | | | `data.snapshot_summary.latest_snapshot.created_at` | string | no | | | `data.configuration` | object | no | As in **Get Database Configuration**. | | `data.configuration.parameter_group` | object | no | The attached parameter group; `null` when none is attached. | | `data.configuration.parameter_group.id` | integer | no | | | `data.configuration.parameter_group.name` | string | no | | | `data.configuration.parameter_group.status` | string | no | | | `data.configuration.extensions` | object | no | Extensions installed on the database, read live. Until the database answers, the extensions set at creation. | | `data.configuration.extensions.status` | integer | no | | | `data.configuration.extensions.data` | object | no | | | `data.configuration.extensions.data.extensions` | array of string | no | | | `data.configuration.extensions.data.count` | integer | no | | | `data.configuration.extensions.errors` | object | no | | | `data.configuration.extensions.log` | string | no | | | `data.configuration.extensions.success` | boolean | no | | | `data.connection_info` | object | no | As in **Get Database Connection Info** for `application`. | | `data.connection_info.purpose` | one of `application`, `psql` | no | | | `data.connection_info.host` | string | no | The database's public address. While the database has no IP allowlist it has no public address, and this is its internal name, which cannot be reached from outside. | | `data.connection_info.port` | integer | no | | | `data.connection_info.database` | string | no | The database created at launch. | | `data.connection_info.user` | string | no | The admin username set at creation. | | `data.connection_info.password_note` | string | no | | | `data.connection_info.connection_strings` | object | no | The same connection in four forms. None holds the password. | | `data.connection_info.connection_strings.url` | string | no | | | `data.connection_info.connection_strings.env` | string | no | | | `data.connection_info.connection_strings.psql` | string | no | | | `data.connection_info.connection_strings.jdbc` | string | no | | | `data.connection_info.snippets` | object | no | Short code samples that read the URL from `DATABASE_URL`. | | `data.connection_info.snippets.nodejs` | string | no | | | `data.connection_info.snippets.python` | string | no | | | `data.connection_info.snippets.django` | string | no | | | `data.connection_info.snippets.sqlalchemy` | string | no | | | `data.connection_info.snippets.go` | string | no | | | `data.connection_info.ssl_required` | boolean | no | Connections must use SSL. | | `data.vpc` | object | no | The VPC attachment. `null` when no VPC is attached. | | `data.vpc.id` | integer | no | | | `data.vpc.vpc_name` | string | no | | | `data.vpc.subnet_name` | string | no | | | `data.vpc.resource_type` | string | no | | | `data.vpc.resource_name` | string | no | | | `data.vpc.object_id` | integer | no | | | `data.vpc.ip_address` | string | no | The database's address in the VPC. | | `data.vpc.status` | string | no | | | `data.vpc.attached_at` | string | no | | | `data.vpc.created_at` | string | no | | | `data.vpc_private_ip` | string | no | The database's VPC address; `null` without a VPC. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "metrics": { "storage": { "total": "98G", "used": "2.1G", "available": "96G", "percent": "3%" } }, "nodes": [ { "name": "pg-123", "role": "primary", "private_ip": "10.0.4.17", "public_ip": "203.0.113.25", "status": "running", "vpc_ip": "10.10.0.12" } ], "snapshot_summary": { "backup_enabled": true, "frequency": "daily", "retention_count": 7, "next_run_at": "2026-10-22T02:00:00+05:30", "total_snapshots": 3, "latest_snapshot": { "name": "before-migration", "status": "Completed", "backup_type": "on_demand", "created_at": "2026-10-21T12:00:00+00:00" } }, "configuration": { "parameter_group": { "id": 8, "name": "orders-tuning", "status": "synced" }, "extensions": { "status": 200, "data": { "extensions": [ "pg_stat_statements", "plpgsql", "vector" ], "count": 3 }, "errors": {}, "log": "Success", "success": true } }, "connection_info": { "purpose": "application", "host": "", "port": 5432, "database": "defaultdb", "user": "appadmin", "password_note": "Replace with the password of 'appadmin'. In the URL form, percent-encode special characters in the password (for example @ as %40, : as %3A, / as %2F).", "connection_strings": { "url": "postgresql://appadmin:@:5432/defaultdb?sslmode=require", "env": "DATABASE_URL=postgresql://appadmin:@:5432/defaultdb?sslmode=require", "psql": "psql \"host= port=5432 dbname=defaultdb user=appadmin sslmode=require\"", "jdbc": "jdbc:postgresql://:5432/defaultdb?user=appadmin&ssl=true" }, "snippets": { "nodejs": "string", "python": "string", "django": "string", "sqlalchemy": "string", "go": "string" }, "ssl_required": true }, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//overview/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database Provisioning" method: GET path: "/dbaas/{managed_db_id}/provisioning/" url: "/api/tir/operations/get-dbaas-managed-db-id-provisioning/" --- # Get Database Provisioning `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/provisioning/` Returns the setup progress of a new database, step by step, in any state. Poll it while the database is `Creating`. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The setup progress | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | string | no | The database status. | | `data.current_step` | one of `provisioning`, `initializing`, `finalizing`, `ready` | no | | | `data.message` | string | no | What is happening now; "Provisioning failed" after a failure and "Database is ready" once `Running`. | | `data.percent` | integer | no | Share of steps done: 100 once `Running`, `null` after a failure, otherwise 0 to 99. | | `data.started_at` | string | no | | | `data.steps` | array of object | no | | | `data.steps[].key` | string | no | | | `data.steps[].label` | string | no | "Provisioning storage & cluster", "Initializing database", "Finalizing — users & endpoints" or "Ready". | | `data.steps[].status` | one of `pending`, `active`, `completed`, `failed` | no | | | `data.steps[].started_at` | string | no | | | `data.steps[].completed_at` | string | no | | | `data.steps[].duration_seconds` | number | no | | | `data.can_retry` | boolean | no | `true` when the database is `Failed` and the launch can be retried. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": "Creating", "current_step": "initializing", "message": "Initializing the database", "percent": 38, "started_at": "2026-10-21T11:17:29.512000+00:00", "steps": [ { "key": "provisioning", "label": "Provisioning storage & cluster", "status": "completed", "started_at": "2026-10-21T11:17:29.512000+00:00", "completed_at": "2026-10-21T11:19:02.104000+00:00", "duration_seconds": 92.6 } ], "can_retry": false }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//provisioning/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Restores" method: GET path: "/dbaas/{managed_db_id}/restores/" url: "/api/tir/operations/get-dbaas-managed-db-id-restores/" --- # List Database Restores `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/restores/` Returns the restores made from this database's snapshots, the 50 most recent, newest first. Works in every database status. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The restores | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.restores` | array of object | no | | | `data.restores[].id` | integer | no | | | `data.restores[].restored_into` | string | no | Internal name of the new database: `pg-` and the new database's ID. | | `data.restores[].source` | string | no | The snapshot restored from. | | `data.restores[].status` | one of `Creating`, `Completed`, `Failed` | no | | | `data.restores[].error` | string | no | Why the restore failed; empty otherwise. | | `data.restores[].started` | string | no | | | `data.restores[].finished` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "restores": [ { "id": 9, "restored_into": "pg-131", "source": "Backup · orders-db-20261026-093000", "status": "Completed", "error": "", "started": "2026-10-26T10:02:11", "finished": "2026-10-26T10:09:40" } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//restores/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Snapshot Schedule" method: GET path: "/dbaas/{managed_db_id}/snapshots/schedule/" url: "/api/tir/operations/get-dbaas-managed-db-id-snapshots-schedule/" --- # Get Snapshot Schedule `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/schedule/` Returns the database's automatic snapshot schedule and its next run. Works in every database status. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The schedule | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.enabled` | boolean | no | Whether automatic snapshots are on. | | `data.frequency` | one of `daily`, `weekly`, `hourly`, `custom_cron` | no | | | `data.start_time` | string | no | Time of day in IST, as `HH:MM` on a 24-hour clock. | | `data.day_of_week` | integer | no | For `weekly`: 0 (Sunday) to 6 (Saturday). | | `data.cron_expression` | string | no | The 5-field cron expression the schedule runs on, read in IST. | | `data.retention_count` | integer | no | How many scheduled snapshots are kept. | | `data.next_run_at` | string | no | The next scheduled run, in IST. `null` when the schedule is off. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "enabled": true, "frequency": "daily", "start_time": "02:00", "day_of_week": null, "cron_expression": "0 2 * * *", "retention_count": 7, "next_run_at": "2026-10-27T02:00:00+05:30" }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots/schedule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Snapshots" method: GET path: "/dbaas/{managed_db_id}/snapshots/" url: "/api/tir/operations/get-dbaas-managed-db-id-snapshots/" --- # List Database Snapshots `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/` Returns every snapshot of the database, manual and scheduled, newest first. The list is not paged. Works in every database status. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The snapshots | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].status` | one of `Creating`, `Completed`, `Failed` | no | A new snapshot is `Creating` until it finishes as `Completed` or `Failed`. | | `data[].size` | integer | no | Size of the disk the snapshot holds, in bytes (the database's storage size), set when the snapshot completes; `0` before that. | | `data[].backup_type` | one of `on_demand`, `scheduled` | no | `on_demand` for a snapshot someone took, `scheduled` for one the snapshot schedule took. | | `data[].created_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 41, "name": "orders-db-20261026-093000", "status": "Completed", "size": 21474836480, "backup_type": "on_demand", "created_at": "2026-10-26T09:30:00Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Users" method: GET path: "/dbaas/{managed_db_id}/users/" url: "/api/tir/operations/get-dbaas-managed-db-id-users/" --- # List Database Users `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/users/` Returns the logins on the database, read live, including users created with SQL. This API lists users and resets their passwords; it does not create, rename or delete users. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The users | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The user list, under its own `data`. | | `data.status` | integer | no | | | `data.data` | object | no | | | `data.data.users` | array of object | no | | | `data.data.users[].username` | string | no | | | `data.data.users[].superuser` | boolean | no | | | `data.data.users[].createdb` | boolean | no | `true` when the user can create databases. | | `data.errors` | object | no | | | `data.log` | string | no | | | `data.success` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": 200, "data": { "users": [ { "username": "appadmin", "superuser": false, "createdb": true } ] }, "errors": {}, "log": "Success", "success": true }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The users could not be read, for example because the database is not running. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Error occurred at backend! Please try after sometime." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//users/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Database" method: GET path: "/dbaas/{managed_db_id}/" url: "/api/tir/operations/get-dbaas-managed-db-id/" --- # Get Database `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/` Returns one database. Needs the Read permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The database | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.engine` | one of `postgresql` | no | | | `data.engine_version` | string | no | | | `data.status` | one of `Creating`, `Running`, `Scaling`, `Degraded`, `Stopped`, `Failed`, `Terminating` | no | `Creating` while the database is being set up, started or restarted, `Running`, `Scaling` while the disk grows, `Degraded` when the database is serving but its health could not be fully confirmed (Stop and Restart are also accepted from it), `Stopped`, `Failed` when the launch did not finish or a storage resize did not complete, and `Terminating` while it is deleted. | | `data.cpu` | string | no | vCPUs, set by the plan. | | `data.memory` | string | no | Memory, set by the plan. | | `data.disk_size` | integer | no | Disk size in GB. | | `data.endpoint_url` | string | no | Public read-write address and port. `null` until the database first reaches `Running`, and while it has no IP allowlist. | | `data.public_ip` | string | no | | | `data.private_ip` | string | no | | | `data.deletion_protection` | boolean | no | `true` when the database cannot be deleted. | | `data.parameter_group_id` | integer | no | The attached parameter group. | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `data.sku_details` | object | no | The plan: its specification under `specs` and its pricing under `plan`. `null` when the plan is gone. | | `data.ip_allowlist` | array of object | no | IPv4 ranges allowed to reach the public endpoint. | | `data.ip_allowlist[].cidr` | string | no | | | `data.ip_allowlist[].label` | string | no | Description of the range; empty when none was given. | | `data.location` | string | no | | | `data.vpc_id` | integer | no | | | `data.vpc` | object | no | The VPC attachment. `null` when no VPC is attached. | | `data.vpc.id` | integer | no | | | `data.vpc.vpc_name` | string | no | | | `data.vpc.subnet_name` | string | no | | | `data.vpc.resource_type` | string | no | | | `data.vpc.resource_name` | string | no | | | `data.vpc.object_id` | integer | no | | | `data.vpc.ip_address` | string | no | The database's address in the VPC. | | `data.vpc.status` | string | no | | | `data.vpc.attached_at` | string | no | | | `data.vpc.created_at` | string | no | | | `data.vpc_private_ip` | string | no | The database's VPC address; `null` without a VPC. | | `data.pgvector_enabled` | boolean | no | `true` when the `vector` extension was chosen at creation. | | `data.extensions` | array of string | no | Extensions set at creation. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 123, "name": "orders-db", "engine": "postgresql", "engine_version": "16", "status": "Running", "cpu": "4", "memory": "16Gi", "disk_size": 100, "endpoint_url": ":5432", "public_ip": "203.0.113.25", "private_ip": "10.0.4.17", "deletion_protection": false, "parameter_group_id": null, "created_by": { "id": 501, "name": "Example User", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:31:05Z", "sku_details": {}, "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "location": "Chennai", "vpc_id": null, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null, "pgvector_enabled": true, "extensions": [ "pg_stat_statements", "vector" ] }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get My IP" method: GET path: "/dbaas/my-ip/" url: "/api/tir/operations/get-dbaas-my-ip/" --- # Get My IP `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/my-ip/` Returns the public IPv4 address the call came from, for adding to an IP allowlist before a database exists. Needs the Read permission on DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Your address | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.ip` | string | no | `null` when no IPv4 address was found. | | `data.cidr` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "ip": "198.51.100.7", "cidr": "198.51.100.7/32" }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/my-ip/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Parameter Group" method: GET path: "/dbaas/parameter-group/{pg_id}/" url: "/api/tir/operations/get-dbaas-parameter-group-pg-id/" --- # Get Parameter Group `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/{pg_id}/` Returns one parameter group: the values it changes, and the full parameter list of its template with the group's values in place. Works only on a group you created in the project; any other ID returns 404. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pg_id` | integer | yes | Parameter group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.family` | string | no | Engine and version the group is for. | | `data.template_id` | integer | no | | | `data.parameters` | object | no | The values this group changes, as parameter name to value. Parameters not listed keep the engine default. | | `data.template_parameters` | array of object | no | Every parameter of the template; `parameterValue` is the group's value where the group changes it, otherwise the default. | | `data.template_parameters[].parameterName` | string | no | | | `data.template_parameters[].parameterValue` | string | no | The engine default. In a parameter group's `template_parameters`, the group's own value where it changes this parameter. | | `data.template_parameters[].dataType` | string | no | For example `integer`, `real`, `bool`, `enum` or `string`. | | `data.template_parameters[].allowedValues` | string | no | A range such as `1-262143` for numbers, or comma-separated choices for `enum`. | | `data.template_parameters[].description` | string | no | | | `data.template_parameters[].isModifiable` | boolean | no | `false` for a parameter that cannot be changed. | | `data.template_parameters[].applyType` | string | no | The category the parameter belongs to. | | `data.is_attached` | boolean | no | | | `data.attached_databases` | array of object | no | The databases that use this group. | | `data.attached_databases[].id` | integer | no | | | `data.attached_databases[].name` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 17, "name": "high-connections", "description": "More connections for the API workers", "family": "postgresql-16", "template_id": 3, "parameters": { "max_connections": "200", "work_mem": "8MB" }, "template_parameters": [ { "parameterName": "max_connections", "parameterValue": "100", "dataType": "integer", "allowedValues": "1-262143", "description": "Sets the maximum number of concurrent connections.", "isModifiable": true, "applyType": "Connections / Authentication" } ], "is_attached": true, "attached_databases": [ { "id": 128, "name": "orders-db" } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No parameter group with that ID among yours in the project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Parameter group not found." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Parameter Group Template" method: GET path: "/dbaas/parameter-group/templates/{template_id}/" url: "/api/tir/operations/get-dbaas-parameter-group-templates-template-id/" --- # Get Parameter Group Template `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/templates/{template_id}/` Returns one template with its parameters: for each, the default value, the type, the allowed values, and whether it can be changed. Needs the Read permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `template_id` | integer | yes | Template ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The template | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.family` | string | no | | | `data.engine` | string | no | | | `data.engine_version` | string | no | | | `data.parameters` | array of object | no | | | `data.parameters[].parameterName` | string | no | | | `data.parameters[].parameterValue` | string | no | The engine default. In a parameter group's `template_parameters`, the group's own value where it changes this parameter. | | `data.parameters[].dataType` | string | no | For example `integer`, `real`, `bool`, `enum` or `string`. | | `data.parameters[].allowedValues` | string | no | A range such as `1-262143` for numbers, or comma-separated choices for `enum`. | | `data.parameters[].description` | string | no | | | `data.parameters[].isModifiable` | boolean | no | `false` for a parameter that cannot be changed. | | `data.parameters[].applyType` | string | no | The category the parameter belongs to. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 3, "family": "postgresql-16", "engine": "postgresql", "engine_version": "16", "parameters": [ { "parameterName": "max_connections", "parameterValue": "100", "dataType": "integer", "allowedValues": "1-262143", "description": "Sets the maximum number of concurrent connections.", "isModifiable": true, "applyType": "Connections / Authentication" } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No template with that ID is offered. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Parameter group template not found." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/templates//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Parameter Group Templates" method: GET path: "/dbaas/parameter-group/templates/" url: "/api/tir/operations/get-dbaas-parameter-group-templates/" --- # List Parameter Group Templates `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/templates/` Returns the engine versions a parameter group can be made for, one template each. Use a template's `id` as `template_id` in **Create Parameter Group**. Needs the Read permission for DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `engine` | one of `postgresql` | no | Return only this engine's templates. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The templates | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].family` | string | no | Engine and version. | | `data[].engine` | string | no | | | `data[].engine_version` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 3, "family": "postgresql-16", "engine": "postgresql", "engine_version": "16" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/templates/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Parameter Groups" method: GET path: "/dbaas/parameter-group/" url: "/api/tir/operations/get-dbaas-parameter-group/" --- # List Parameter Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/` Returns the parameter groups you created in the project, with the databases that use each one. Groups other members created do not appear. The list is not paged. Needs the Read permission for DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The parameter groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].family` | string | no | Engine and version the group is for. | | `data[].template_id` | integer | no | | | `data[].parameters` | object | no | The values this group changes, as parameter name to value. Parameters not listed keep the engine default. | | `data[].is_attached` | boolean | no | Whether any database uses the group. | | `data[].attached_databases` | array of object | no | The databases that use this group. | | `data[].attached_databases[].id` | integer | no | | | `data[].attached_databases[].name` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 17, "name": "high-connections", "description": "More connections for the API workers", "family": "postgresql-16", "template_id": 3, "parameters": { "max_connections": "200", "work_mem": "8MB" }, "is_attached": true, "attached_databases": [ { "id": 128, "name": "orders-db" } ] } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Database Versions" method: GET path: "/dbaas/versions/" url: "/api/tir/operations/get-dbaas-versions/" --- # List Database Versions `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/versions/` Returns the engine versions a new database can use. Needs the Read permission on DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `engine` | one of `postgresql` | no | Only this engine; an engine with no versions returns an empty list. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The versions | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].engine` | string | no | | | `data[].version` | string | no | | | `data[].status` | string | no | | | `data[].is_default` | boolean | no | `true` for the default version. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "engine": "postgresql", "version": "16", "status": "available", "is_default": true } ], "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/versions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Databases" method: GET path: "/dbaas/" url: "/api/tir/operations/get-dbaas/" --- # List Databases `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/` Returns the databases of the project in the region, newest first. Deleted ones are not listed. Pass `page_no` and `per_page` together to page the list. Needs the Read permission on DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | Page number. Paging starts only when `page_no` and `per_page` are both sent; otherwise every database comes back. A page past the last returns an empty list, and a value that is not a number returns page 1. | | `per_page` | integer | no | Databases per page. A value that is not a whole number above 0 becomes 20. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The databases | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | Only with paging. | | `total_count` | integer | no | Only with paging. | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].engine` | one of `postgresql` | no | | | `data[].engine_version` | string | no | | | `data[].status` | one of `Creating`, `Running`, `Scaling`, `Degraded`, `Stopped`, `Failed`, `Terminating` | no | `Creating` while the database is being set up, started or restarted, `Running`, `Scaling` while the disk grows, `Degraded` when the database is serving but its health could not be fully confirmed (Stop and Restart are also accepted from it), `Stopped`, `Failed` when the launch did not finish or a storage resize did not complete, and `Terminating` while it is deleted. | | `data[].cpu` | string | no | vCPUs, set by the plan. | | `data[].memory` | string | no | Memory, set by the plan. | | `data[].disk_size` | integer | no | Disk size in GB. | | `data[].sku_details` | object | no | The plan: its specification under `specs` and its pricing under `plan`. `null` when the plan is gone. | | `data[].endpoint_url` | string | no | Public read-write address and port. `null` until the database first reaches `Running`, and while it has no IP allowlist. | | `data[].public_ip` | string | no | | | `data[].private_ip` | string | no | | | `data[].deletion_protection` | boolean | no | `true` when the database cannot be deleted. | | `data[].ip_allowlist` | array of object | no | IPv4 ranges allowed to reach the public endpoint. | | `data[].ip_allowlist[].cidr` | string | no | | | `data[].ip_allowlist[].label` | string | no | Description of the range; empty when none was given. | | `data[].vpc_id` | integer | no | | | `data[].vpc` | object | no | The VPC attachment. `null` when no VPC is attached. | | `data[].vpc.id` | integer | no | | | `data[].vpc.vpc_name` | string | no | | | `data[].vpc.subnet_name` | string | no | | | `data[].vpc.resource_type` | string | no | | | `data[].vpc.resource_name` | string | no | | | `data[].vpc.object_id` | integer | no | | | `data[].vpc.ip_address` | string | no | The database's address in the VPC. | | `data[].vpc.status` | string | no | | | `data[].vpc.attached_at` | string | no | | | `data[].vpc.created_at` | string | no | | | `data[].vpc_private_ip` | string | no | The database's VPC address; `null` without a VPC. | | `data[].extensions` | array of string | no | Extensions set at creation. | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `data[].location` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 123, "name": "orders-db", "engine": "postgresql", "engine_version": "16", "status": "Running", "cpu": "4", "memory": "16Gi", "disk_size": 100, "sku_details": {}, "endpoint_url": ":5432", "public_ip": "203.0.113.25", "private_ip": "10.0.4.17", "deletion_protection": false, "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "vpc_id": null, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null, "extensions": [ "pg_stat_statements", "vector" ], "created_by": { "id": 501, "name": "Example User", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:31:05Z", "location": "Chennai" } ], "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List of Attached Resources" method: GET path: "/distributed_jobs/sfs/{SFS_Id}/notebooks/" url: "/api/tir/operations/get-distributed-jobs-sfs-sfs-id-notebooks/" --- # List of Attached Resources `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/{SFS_Id}/notebooks/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `SFS_Id` | integer | yes | SFS ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].project_id` | integer | no | | | `data[].image_type` | string | no | | | `data[].image_details` | object | no | | | `data[].image_details.image_id` | integer | no | | | `data[].image_details.version_id` | integer | no | | | `data[].image_details.name` | string | no | | | `data[].image_details.version` | string | no | | | `data[].image_details.icon_url` | string | no | | | `data[].image_details.image_description` | string | no | | | `data[].image_details.version_description` | string | no | | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | | | `data[].sku_details.specs.name` | string | no | | | `data[].sku_details.specs.series` | string | no | | | `data[].sku_details.specs.cpu` | integer | no | | | `data[].sku_details.specs.gpu` | integer | no | | | `data[].sku_details.specs.memory` | integer | no | | | `data[].sku_details.specs.ephemeral_storage` | integer | no | | | `data[].sku_details.specs.gpu_memory` | integer | no | | | `data[].sku_details.specs.is_free` | boolean | no | | | `data[].sku_details.specs.is_active` | boolean | no | | | `data[].sku_details.specs.gpu_switch_type` | string | no | | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].sku_details.plan.sku_type` | string | no | | | `data[].sku_details.plan.committed_days` | integer | no | | | `data[].sku_details.plan.unit_price` | number | no | | | `data[].sku_details.plan.currency` | string | no | | | `data[].sku_details.plan.is_active` | boolean | no | | | `data[].sku_details.plan.description` | string | no | | | `data[].status` | string | no | | | `data[].last_activity` | string (date-time) | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].lab_url` | string | no | | | `data[].disk_size_in_gb` | integer | no | | | `data[].instance_type` | string | no | | | `data[].ssh_keys` | array of string | no | | | `data[].disable_ssh_login_password` | boolean | no | | | `data[].public_ip` | string | no | | | `data[].e2e_registry_image_url` | string | no | | | `data[].egress_gateway_ip` | string | no | | | `data[].add_ons` | object | no | | | `data[].is_jupyterlab_enabled` | boolean | no | | | `data[].is_ssh_enabled` | boolean | no | | | `data[].custom_ports` | array of string | no | | | `data[].private_cloud_id` | string | no | | | `data[].custom_sku` | string | no | | | `data[].init_scripts` | array of string | no | | | `data[].is_spot_instance` | boolean | no | | | `data[].custom_image_version` | string | no | | | `data[].is_mounted` | boolean | no | | | `data[].sfs_path` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 7407, "name": "node-022118463030", "project_id": 4526, "image_type": "pre-built", "image_details": { "image_id": 9, "version_id": 56, "name": "Transformers", "version": "v4.45.2", "icon_url": "/notebook_images/hf-logo.png", "image_description": "Transformers v4.31.0 with Python 3.10 and NVIDIA Cuda 12.1 pre-installed on Ubuntu 22.04", "version_description": "Transformers v4.45.2 with Python 3.10 and NVIDIA Cuda 12.4 pre-installed on Ubuntu 22.04" }, "sku_details": { "specs": { "sku_id": 4, "name": "C3.8GB", "series": "CPU", "cpu": 4, "gpu": 0, "memory": 8, "ephemeral_storage": 50, "gpu_memory": 0, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0 }, "plan": { "sku_item_price_id": 4, "sku_type": "hourly", "committed_days": 0, "unit_price": 3.1, "currency": "INR", "is_active": true, "description": null } }, "status": "ready", "last_activity": "2025-02-21T13:16:44Z", "created_by": { "id": 4875, "name": "Tester", "email": "test.test@e2enetworks.com", "username": "test.test@e2enetworks.com" }, "created_at": "2025-02-21T13:16:44.020823Z", "updated_at": "2025-02-21T13:16:45.565414Z", "lab_url": "https://notebooks.e2enetworks.com/notebook/p-4526/n-f069bcc9-c9dc-4784-8a97-9d4f45d4e0/lab", "disk_size_in_gb": 30, "instance_type": "paid_usage", "ssh_keys": [], "disable_ssh_login_password": true, "public_ip": "", "e2e_registry_image_url": null, "egress_gateway_ip": "", "add_ons": {}, "is_jupyterlab_enabled": true, "is_ssh_enabled": false, "custom_ports": [], "private_cloud_id": null, "custom_sku": null, "init_scripts": [], "is_spot_instance": false, "custom_image_version": "", "is_mounted": false, "sfs_path": null } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs//notebooks/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List SFS" method: GET path: "/distributed_jobs/sfs/" url: "/api/tir/operations/get-distributed-jobs-sfs/" --- # List SFS `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].created_by` | integer | no | | | `data[].sfs_ip` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].disk_size` | string | no | | | `data[].size_in_gb` | string | no | | | `data[].location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 589, "name": "temp", "created_by": 7129, "sfs_ip": "172.16.232.1", "created_at": "2025-08-19T11:11:37.504175Z", "disk_size": "250 GB", "size_in_gb": "250 GB", "location": "Delhi" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Training Cluster Details" method: GET path: "/distributed_jobs_v2/cluster/{Cluster_Id}/" url: "/api/tir/operations/get-distributed-jobs-v2-cluster-cluster-id/" --- # Training Cluster Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/{Cluster_Id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Cluster_Id` | integer | yes | Cluster ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with training cluster details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_by.is_primary_contact` | boolean | no | | | `data.created_by.currency` | string | no | | | `data.created_by.is_suspended` | boolean | no | | | `data.no_of_nodes` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.private_cloud_id` | integer | no | | | `data.private_cloud_name` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.ephemeral_storage` | integer | no | | | `data.sku_details.specs.gpu_memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.specs.sku_type` | string | no | | | `data.sku_details.specs.gpu_card_type` | string | no | | | `data.sku_details.specs.category` | string | no | | | `data.sku_details.specs.variant` | string | no | | | `data.sku_details.specs.no_of_nodes` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | one of `hourly`, `committed` | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.sku_details.plan.location` | string | no | | | `data.total_gpu` | integer | no | | | `data.total_cpu` | integer | no | | | `data.total_memory` | string | no | | | `data.available_gpu` | integer | no | | | `data.available_cpu` | integer | no | | | `data.available_memory` | string | no | | | `data.worker_nodes` | array of object | no | | | `data.has_local_storage` | boolean | no | | | `data.local_storage_per_node` | integer | no | | | `data.status` | string | no | | | `data.image_pull_policy` | string | no | | | `data.image_version` | object | no | | | `data.image_version.id` | integer | no | | | `data.image_version.version` | string | no | | | `data.image_version.description` | string | no | | | `data.image_version.tags` | array of string | no | | | `data.image_version.name` | string | no | | | `data.image_version.slug_name` | string | no | | | `data.image_version.framework` | string | no | | | `data.image_version.is_internal` | boolean | no | | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].pk` | integer | no | | | `data.ssh_keys[].label` | string | no | | | `data.ssh_keys[].ssh_key` | string | no | | | `data.ssh_public_ip` | string | no | | | `data.has_floating_ip` | boolean | no | | | `data.reserve_ip` | array of object | no | | | `data.clone_data` | object | no | | | `data.clone_data.name` | string | no | | | `data.clone_data.sku_id` | integer | no | | | `data.clone_data.project_id` | integer | no | | | `data.clone_data.no_of_nodes` | integer | no | | | `data.clone_data.ssh_key_ids` | array of integer | no | | | `data.clone_data.script_added` | boolean | no | | | `data.clone_data.pfs_mount_list` | array of object | no | | | `data.clone_data.sfs_mount_list` | array of object | no | | | `data.clone_data.sfs_mount_list[].id` | integer | no | | | `data.clone_data.sfs_mount_list[].name` | string | no | | | `data.clone_data.sfs_mount_list[].mount_path` | string | no | | | `data.clone_data.image_version_id` | integer | no | | | `data.clone_data.lifecycle_script` | string | no | | | `data.clone_data.security_group_id` | integer | no | | | `data.clone_data.sku_item_price_id` | integer | no | | | `data.clone_data.dataset_mount_list` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 101, "name": "training-cluster-010125103045", "created_by": { "id": 1001, "name": "John Doe", "email": "user@example.com", "username": "user@example.com", "is_primary_contact": true, "currency": "INR", "is_suspended": false }, "no_of_nodes": 1, "created_at": "2025-01-15T10:30:00Z", "private_cloud_id": null, "private_cloud_name": null, "sku_details": { "specs": { "sku_id": 309, "name": "GDC.8xH10080-208.2000GB_SXM_v1", "series": "GPU", "cpu": 208, "gpu": 8, "memory": 2000, "ephemeral_storage": 0, "gpu_memory": 640, "is_free": false, "is_active": true, "local_storage_in_gb": 0, "sku_type": "GDC-8xH10080", "gpu_card_type": "H100", "category": "distributed_job", "variant": "e2e", "no_of_nodes": 1 }, "plan": { "sku_item_price_id": 3416, "sku_type": "hourly", "committed_days": 0, "unit_price": 1995.2, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance: distributed_job", "location": "Delhi" } }, "total_gpu": 8, "total_cpu": 208, "total_memory": "2000 GB", "available_gpu": 0, "available_cpu": 0, "available_memory": "0 GB", "worker_nodes": [], "has_local_storage": false, "local_storage_per_node": null, "status": "Running", "image_pull_policy": "IfNotPresent", "image_version": { "id": 2, "version": "v2-slurm25.11-ubuntu24.04", "description": "", "tags": [], "name": "Ubuntu Slurm", "slug_name": "ubuntu-slurm", "framework": "Slurm", "is_internal": false }, "ssh_keys": [ { "pk": 1001, "label": "my-ssh-key", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB... user@example.com" } ], "ssh_public_ip": "203.0.113.10", "has_floating_ip": true, "reserve_ip": [], "clone_data": { "name": "training-cluster-010125103045", "sku_id": 309, "project_id": 10001, "no_of_nodes": 1, "ssh_key_ids": [ 1001 ], "script_added": false, "pfs_mount_list": [], "sfs_mount_list": [], "image_version_id": 2, "lifecycle_script": "", "security_group_id": 1001, "sku_item_price_id": 3416, "dataset_mount_list": [] } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Training Cluster Plans" method: GET path: "/distributed_jobs_v2/cluster/plans/" url: "/api/tir/operations/get-distributed-jobs-v2-cluster-plans/" --- # Training Cluster Plans `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/plans/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `variant` | one of `e2e` | yes | Cluster variant | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].sku_id` | integer | no | | | `data[].name` | string | no | | | `data[].series` | string | no | | | `data[].cpu` | string | no | | | `data[].gpu` | string | no | | | `data[].memory` | string | no | | | `data[].gpu_memory` | string | no | | | `data[].sku_type` | string | no | | | `data[].is_free` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].plans` | array of object | no | | | `data[].plans[].sku_item_price_id` | integer | no | | | `data[].plans[].sku_type` | one of `hourly`, `committed` | no | | | `data[].plans[].committed_days` | integer | no | | | `data[].plans[].unit_price` | number | no | | | `data[].plans[].currency` | string | no | | | `data[].plans[].is_active` | boolean | no | | | `data[].plans[].description` | string | no | | | `data[].plans[].location` | string | no | | | `data[].gpu_card_type` | string | no | | | `data[].local_storage_in_gb` | integer | no | | | `data[].available_inventory_count` | integer | no | | | `data[].variant` | string | no | | | `data[].category` | string | no | | | `data[].no_of_nodes` | integer | no | | | `data[].optimal_rack` | string | no | | | `data[].is_inventory_available` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "sku_id": 309, "name": "GDC.8xH10080-208.2000GB_SXM_v1", "series": "GPU", "cpu": "208", "gpu": "8", "memory": "2000GB", "gpu_memory": "640GB", "sku_type": "GDC-8xH10080", "is_free": false, "is_active": true, "plans": [ { "sku_item_price_id": 3416, "sku_type": "hourly", "committed_days": 0, "unit_price": 1995.2, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance: distributed_job", "location": "Delhi" } ], "gpu_card_type": "H100", "local_storage_in_gb": 0, "available_inventory_count": 0, "variant": "e2e", "category": "distributed_job", "no_of_nodes": 1, "optimal_rack": null, "is_inventory_available": false } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/plans/?apikey=&project_id=&location=&variant=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Training Clusters" method: GET path: "/distributed_jobs_v2/cluster/" url: "/api/tir/operations/get-distributed-jobs-v2-cluster/" --- # List Training Clusters `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful response with a list of training clusters. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_by.is_primary_contact` | boolean | no | | | `data[].created_by.currency` | string | no | | | `data[].created_by.is_suspended` | boolean | no | | | `data[].no_of_nodes` | integer | no | | | `data[].no_of_gpu` | string | no | | | `data[].no_of_cpu` | string | no | | | `data[].node_memory` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].available_gpu` | integer | no | | | `data[].available_cpu` | integer | no | | | `data[].available_memory` | string | no | | | `data[].status` | string | no | | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | | | `data[].sku_details.specs.name` | string | no | | | `data[].sku_details.specs.series` | string | no | | | `data[].sku_details.specs.cpu` | integer | no | | | `data[].sku_details.specs.gpu` | integer | no | | | `data[].sku_details.specs.memory` | integer | no | | | `data[].sku_details.specs.ephemeral_storage` | integer | no | | | `data[].sku_details.specs.gpu_memory` | integer | no | | | `data[].sku_details.specs.is_free` | boolean | no | | | `data[].sku_details.specs.is_active` | boolean | no | | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | | | `data[].sku_details.specs.sku_type` | string | no | | | `data[].sku_details.specs.gpu_card_type` | string | no | | | `data[].sku_details.specs.category` | string | no | | | `data[].sku_details.specs.variant` | string | no | | | `data[].sku_details.specs.no_of_nodes` | integer | no | | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].sku_details.plan.sku_type` | one of `hourly`, `committed` | no | | | `data[].sku_details.plan.committed_days` | integer | no | | | `data[].sku_details.plan.unit_price` | number | no | | | `data[].sku_details.plan.currency` | string | no | | | `data[].sku_details.plan.is_active` | boolean | no | | | `data[].sku_details.plan.description` | string | no | | | `data[].sku_details.plan.location` | string | no | | | `data[].private_cloud_name` | string | no | | | `data[].private_cloud_id` | integer | no | | | `data[].has_local_storage` | boolean | no | | | `data[].image_version` | object | no | | | `data[].image_version.id` | integer | no | | | `data[].image_version.version` | string | no | | | `data[].image_version.description` | string | no | | | `data[].image_version.tags` | array of string | no | | | `data[].image_version.name` | string | no | | | `data[].image_version.slug_name` | string | no | | | `data[].image_version.framework` | string | no | | | `data[].image_version.is_internal` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 101, "name": "training-cluster-010125103045", "created_by": { "id": 1001, "name": "John Doe", "email": "user@example.com", "username": "user@example.com", "is_primary_contact": true, "currency": "INR", "is_suspended": false }, "no_of_nodes": 1, "no_of_gpu": "8", "no_of_cpu": "208", "node_memory": "2000GB", "created_at": "2025-01-15T10:30:00Z", "available_gpu": 0, "available_cpu": 0, "available_memory": "0GB", "status": "Creating", "sku_details": { "specs": { "sku_id": 309, "name": "GDC.8xH10080-208.2000GB_SXM_v1", "series": "GPU", "cpu": 208, "gpu": 8, "memory": 2000, "ephemeral_storage": 0, "gpu_memory": 640, "is_free": false, "is_active": true, "local_storage_in_gb": 0, "sku_type": "GDC-8xH10080", "gpu_card_type": "H100", "category": "distributed_job", "variant": "e2e", "no_of_nodes": 1 }, "plan": { "sku_item_price_id": 3416, "sku_type": "hourly", "committed_days": 0, "unit_price": 1995.2, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance: distributed_job", "location": "Delhi" } }, "private_cloud_name": null, "private_cloud_id": null, "has_local_storage": false, "image_version": { "id": 2, "version": "v2-slurm25.11-ubuntu24.04", "description": "", "tags": [], "name": "Ubuntu Slurm", "slug_name": "ubuntu-slurm", "framework": "Slurm", "is_internal": false } } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Cluster Images" method: GET path: "/distributed_jobs_v2/deployment_images/{Framework}/" url: "/api/tir/operations/get-distributed-jobs-v2-deployment-images-framework/" --- # List Cluster Images `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/deployment_images/{Framework}/` Returns available Training Cluster images and their versions for the specified framework. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Framework` | one of `Slurm` | yes | Framework type for which to list images. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `job_type` | one of `Slurm` | yes | Job type filter — must match the path parameter value. | ## Responses ### 200 Successful response with available cluster images and their versions. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].image_id` | integer | no | | | `data[].name` | string | no | | | `data[].slug_name` | string | no | | | `data[].framework` | string | no | | | `data[].description` | string | no | | | `data[].is_internal` | boolean | no | | | `data[].versions` | array of object | no | | | `data[].versions[].image_version_id` | integer | no | | | `data[].versions[].version` | string | no | | | `data[].versions[].description` | string | no | | | `data[].versions[].tags` | array of string | no | | | `data[].versions[].is_internal` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "image_id": 1, "name": "Ubuntu Slurm", "slug_name": "ubuntu-slurm", "framework": "Slurm", "description": "", "is_internal": false, "versions": [ { "image_version_id": 2, "version": "v2-slurm25.11-ubuntu24.04", "description": "", "tags": [], "is_internal": false } ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/deployment_images//?apikey=&project_id=&location=&job_type=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Model Types" method: GET path: "/finetuning/model_types/" url: "/api/tir/operations/get-finetuning-model-types/" --- # Model Types `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/model_types/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with a list of models. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | array of object | no | List of models. | | `data[].name` | string | no | Name of the model. | | `data[].description` | string | no | A brief description of the model. | | `data[].is_internal` | boolean | no | Indicates if the model is internal. | | `data[].model_icon_url` | string | no | URL for the model icon image. | | `errors` | object | no | Contains any errors that occurred. | | `message` | string | no | Result message confirming the operation. | Example 200 response: ```json { "code": 200, "data": [ { "name": "meta-llama/Llama-2-7b-hf", "description": "Model For Finetuning LLAMA", "is_internal": false, "model_icon_url": "/framework/llma2.jpeg" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/model_types/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Fine Tuning List" method: GET path: "/finetuning/" url: "/api/tir/operations/get-finetuning/" --- # Fine Tuning List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with a list of training job details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | array of object | no | List of training job details. | | `data[].id` | integer | no | Unique identifier of the training job. | | `data[].name` | string | no | Name of the training job. | | `data[].model_name` | string | no | Name of the model used for training. | | `data[].training_inputs` | object | no | Configuration of the training job. | | `data[].training_inputs.dataset` | string | no | | | `data[].training_inputs.dataset_name` | string | no | | | `data[].training_inputs.source_model_repo_info` | string | no | | | `data[].training_inputs.source_repository_type` | string | no | | | `data[].training_inputs.source_model_path` | string | no | | | `data[].training_inputs.task` | string | no | | | `data[].training_inputs.dataset_type` | string | no | | | `data[].training_inputs.train_batch_size` | integer | no | | | `data[].training_inputs.gradient_accumulation_steps` | integer | no | | | `data[].training_inputs.epochs` | integer | no | | | `data[].training_inputs.max_steps` | integer | no | | | `data[].training_inputs.checkpointing_steps` | integer | no | | | `data[].training_inputs.checkpoints_total_limit` | integer | no | | | `data[].training_inputs.peft_lora_r` | integer | no | | | `data[].training_inputs.peft_lora_alpha` | integer | no | | | `data[].training_inputs.load_in_8bit` | boolean | no | | | `data[].training_inputs.mixed_precision` | string | no | | | `data[].training_inputs.validation_prompt` | string | no | | | `data[].training_inputs.num_validation_images` | integer | no | | | `data[].training_inputs.logging_steps` | integer | no | | | `data[].training_inputs.learning_rate` | number (float) | no | | | `data[].training_inputs.limit_training_records_count` | integer | no | | | `data[].training_inputs.caption_column` | string | no | | | `data[].training_inputs.image_column` | string | no | | | `data[].training_inputs.save_strategy` | string | no | | | `data[].training_inputs.stop_training_when` | string | no | | | `data[].run` | object | no | Details of the training run. | | `data[].run.id` | integer | no | | | `data[].run.name` | string | no | | | `data[].run.run_id` | string | no | | | `data[].run.state` | string | no | | | `data[].run.progress` | string | no | | | `data[].run.finished_at` | string (date-time) | no | | | `data[].run.created_at` | string (date-time) | no | | | `data[].run.source` | string | no | | | `data[].run.scheduled_job` | string | no | | | `data[].status` | string | no | Current status of the training job. | | `data[].created_by` | object | no | User details who created the job. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].hugging_face_integration_name` | string | no | | | `data[].sku_item_price` | object | no | Pricing details for the training job. | | `data[].sku_item_price.sku_item_price_id` | integer | no | | | `data[].sku_item_price.sku_type` | string | no | | | `data[].sku_item_price.unit_price` | number (float) | no | | | `data[].sku_item_price.currency` | string | no | | | `data[].sku` | object | no | SKU information of the compute resource. | | `data[].sku.sku_id` | integer | no | | | `data[].sku.name` | string | no | | | `data[].sku.series` | string | no | | | `data[].sku.cpu` | integer | no | | | `data[].sku.gpu` | integer | no | | | `data[].sku.memory` | number (float) | no | | | `errors` | object | no | Contains any errors that occurred. | | `message` | string | no | Result message confirming the operation. | Example 200 response: ```json { "code": 200, "data": [ { "id": 810, "name": "tir-finetuning-111511093030", "model_name": "stabilityai/stable-diffusion-2-1", "training_inputs": { "dataset": "lambdalabs/naruto-blip-captions", "dataset_name": "lambdalabs/naruto-blip-captions", "source_model_repo_info": "", "source_repository_type": "base_model", "source_model_path": "", "task": "Instruction-Finetuning", "dataset_type": "huggingface", "train_batch_size": 1, "gradient_accumulation_steps": 1, "epochs": 3, "max_steps": -1, "checkpointing_steps": 500, "checkpoints_total_limit": 10, "peft_lora_r": 64, "peft_lora_alpha": 16, "load_in_8bit": false, "mixed_precision": "no", "validation_prompt": "A photo of a man with green eyes", "num_validation_images": 2, "logging_steps": 5, "learning_rate": 0.0000141, "limit_training_records_count": -1, "caption_column": "text", "image_column": "image", "save_strategy": "steps", "stop_training_when": "epoch_count" }, "run": { "id": 2444, "name": "tir-finetuning-111511093030", "run_id": "b9177463-124d-4d98-94d8-2eec42ded928", "state": "Pending", "progress": "", "finished_at": "1970-01-01T00:00:00Z", "created_at": "2024-11-15T06:10:07.626165Z", "source": "finetuning", "scheduled_job": null }, "status": "Pending", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-15T06:10:06.278937Z", "hugging_face_integration_name": "tir", "sku_item_price": { "sku_item_price_id": 763, "sku_type": "hourly", "unit_price": 470.4, "currency": "INR" }, "sku": { "sku_id": 166, "name": "GDC.1xH200-30.375GB_SXM", "series": "GPU", "cpu": 30, "gpu": 1, "memory": 375 } } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Framework Details" method: GET path: "/serving/inference/framework-details/" url: "/api/tir/operations/get-framework-details/" --- # Framework Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/framework-details/` Returns all available inference frameworks and their versions. Use the version `id` from the response as `framework_version_id` when calling the SKU List API. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved framework details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | Framework identifier | | `data[].display_name` | string | no | Display name of the framework | | `data[].description` | string | no | Brief description of the framework | | `data[].image_name` | string | no | Container image name | | `data[].additional_info` | object | no | Additional framework-specific information | | `data[].is_managed_args` | boolean | no | Whether the framework uses managed arguments | | `data[].versions` | array of object | no | Available versions for this framework | | `data[].versions[].id` | integer | no | Version ID. Use this as `framework_version_id` in the SKU List API. | | `data[].versions[].version` | string | no | Version string | | `data[].versions[].supported_models` | array of object | no | List of models supported by this version | | `data[].versions[].supported_models[].id` | string | no | Model identifier (Hugging Face ID or "custom") | | `data[].versions[].supported_models[].label` | string | no | Display label for the model | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "vllm", "display_name": "vLLM", "description": "vLLM is a fast and easy-to-use library for LLM inference and serving.", "image_name": "registry.e2enetworks.net/aimle2e/vllm", "additional_info": {}, "is_managed_args": true, "versions": [ { "id": 64, "version": "v0.17.1", "supported_models": [ { "id": "meta-llama/Llama-2-7b-hf", "label": "Llama-2-7B" } ] } ] } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/framework-details/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Load Balancers" method: GET path: "/gateway/autoscale-groups/{vmpool_name}/attachments/" url: "/api/tir/operations/get-gateway-autoscale-groups-vmpool-name-attachments/" --- # List Auto Scaling Group Load Balancers `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/autoscale-groups/{vmpool_name}/attachments/` Returns the Load Balancers of the project that have the Auto Scaling Group as a backend, with the backend group that holds it. `serving` is `true` when the Load Balancer is `Running`. The list is empty when none has it. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `vmpool_name` | string | yes | Auto Scaling Group name | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The attachments | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].load_balancer` | object | no | | | `data[].load_balancer.id` | integer | no | | | `data[].load_balancer.name` | string | no | | | `data[].load_balancer.status` | string | no | | | `data[].target_group` | object | no | | | `data[].target_group.id` | integer | no | | | `data[].target_group.name` | string | no | | | `data[].serving` | boolean | no | `true` when the Load Balancer is `Running`. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "load_balancer": { "id": 12, "name": "example-lb", "status": "Running" }, "target_group": { "id": 7, "name": "web-backend" }, "serving": true } ], "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/autoscale-groups//attachments/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Certificate" method: GET path: "/gateway/certificates/{certificate_id}/" url: "/api/tir/operations/get-gateway-certificates-certificate-id/" --- # Get Load Balancer Certificate `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/{certificate_id}/` Returns one Certificate of the project. The private key is never returned. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `certificate_id` | integer | yes | Certificate ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Certificate | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The Certificate's name. | | `data.source` | one of `UPLOADED`, `ACME`, `PLATFORM` | no | `UPLOADED` for one you added. `ACME` and `PLATFORM` are Certificates E2E manages for you. | | `data.status` | one of `Active`, `Pending`, `Expired` | no | `Active`, `Pending` or `Expired`. | | `data.cert_chain` | string | no | The certificate chain you uploaded, as PEM text. Empty for a Certificate E2E manages. | | `data.domains` | array of string | no | The names the certificate covers, read from the certificate. | | `data.not_before` | string | no | Start of the validity period. | | `data.not_after` | string | no | End of the validity period. | | `data.issuer` | string | no | Who issued the certificate, read from the certificate. | | `data.key_type` | string | no | The key's type and size, for example `RSA-2048` or `EC-secp256r1`. | | `data.fingerprint` | string | no | SHA-256 fingerprint of the first certificate. | | `data.days_remaining` | integer | no | Whole days until `not_after`; negative once it has passed. `null` when there is no end date. | | `data.is_expired` | boolean | no | `true` once `not_after` has passed. | | `data.in_use_by` | array of integer | no | IDs of the Load Balancers that use the Certificate. | | `data.created_by` | object | no | Who created it. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 5, "name": "example-cert", "source": "UPLOADED", "status": "Active", "cert_chain": "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n", "domains": [ "example.com" ], "not_before": "2026-09-01T00:00:00Z", "not_after": "2026-12-01T00:00:00Z", "issuer": "CN=Example CA,O=Example", "key_type": "RSA-2048", "fingerprint": "9f2c4b7a1d0e5c3b8a6f4e2d1c0b9a8f7e6d5c4b3a291807f6e5d4c3b2a19087", "days_remaining": 37, "is_expired": false, "in_use_by": [ 42 ], "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Certificate with that ID in the project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Certificate not found in this project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Certificates" method: GET path: "/gateway/certificates/" url: "/api/tir/operations/get-gateway-certificates/" --- # List Load Balancer Certificates `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/` Returns the TLS Certificates of the project, newest first, with no paging. A Certificate belongs to the project, not to one Load Balancer, so one Certificate can serve several. The private key is never returned. Needs the Read permission for Load Balancers. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Certificates of the project | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | The Certificate's name. | | `data[].source` | one of `UPLOADED`, `ACME`, `PLATFORM` | no | `UPLOADED` for one you added. `ACME` and `PLATFORM` are Certificates E2E manages for you. | | `data[].status` | one of `Active`, `Pending`, `Expired` | no | `Active`, `Pending` or `Expired`. | | `data[].cert_chain` | string | no | The certificate chain you uploaded, as PEM text. Empty for a Certificate E2E manages. | | `data[].domains` | array of string | no | The names the certificate covers, read from the certificate. | | `data[].not_before` | string | no | Start of the validity period. | | `data[].not_after` | string | no | End of the validity period. | | `data[].issuer` | string | no | Who issued the certificate, read from the certificate. | | `data[].key_type` | string | no | The key's type and size, for example `RSA-2048` or `EC-secp256r1`. | | `data[].fingerprint` | string | no | SHA-256 fingerprint of the first certificate. | | `data[].days_remaining` | integer | no | Whole days until `not_after`; negative once it has passed. `null` when there is no end date. | | `data[].is_expired` | boolean | no | `true` once `not_after` has passed. | | `data[].in_use_by` | array of integer | no | IDs of the Load Balancers that use the Certificate. | | `data[].created_by` | object | no | Who created it. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 5, "name": "example-cert", "source": "UPLOADED", "status": "Active", "cert_chain": "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n", "domains": [ "example.com" ], "not_before": "2026-09-01T00:00:00Z", "not_after": "2026-12-01T00:00:00Z", "issuer": "CN=Example CA,O=Example", "key_type": "RSA-2048", "fingerprint": "9f2c4b7a1d0e5c3b8a6f4e2d1c0b9a8f7e6d5c4b3a291807f6e5d4c3b2a19087", "days_remaining": 37, "is_expired": false, "in_use_by": [ 42 ], "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Count Load Balancers" method: GET path: "/gateway/count/" url: "/api/tir/operations/get-gateway-count/" --- # Count Load Balancers `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/count/` Returns how many Load Balancers the project has in the region, and how many of them are `Running` and `Stopped`. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The counts | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.total` | integer | no | All Load Balancers. | | `data.running` | integer | no | Load Balancers with status `Running`. | | `data.stopped` | integer | no | Load Balancers with status `Stopped`. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "total": 3, "running": 2, "stopped": 1 }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/count/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Alert" method: GET path: "/gateway/{gateway_id}/alerts/{attachment_id}/" url: "/api/tir/operations/get-gateway-gateway-id-alerts-attachment-id/" --- # Get Load Balancer Alert `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/alerts/{attachment_id}/` Returns one alert attached to the Load Balancer. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `attachment_id` | integer | yes | Alert attachment ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The attached alert | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | ID of the attachment. Use it in the paths that take `attachment_id`. | | `data.gateway` | integer | no | ID of the Load Balancer. | | `data.gateway_name` | string | no | Name of the Load Balancer. | | `data.alert` | object | no | | | `data.alert.id` | integer | no | | | `data.alert.name` | string | no | | | `data.alert.location` | string | no | | | `data.alert.resource_type` | string | no | The kind of resource the alert is for. | | `data.alert.metric_type` | string | no | The measure the alert watches. | | `data.alert.metric_type_unit` | string | no | The unit of the measure. | | `data.alert.operator` | string | no | How the measure is compared with the threshold. | | `data.alert.threshold_value` | number | no | The value the measure is compared with. | | `data.alert.severity` | string | no | | | `data.alert.evaluate_for` | string | no | How long the condition must hold before the alert fires. | | `data.alert.created_by` | object | no | Who created it. | | `data.alert.created_by.id` | integer | no | | | `data.alert.created_by.name` | string | no | | | `data.alert.created_by.email` | string | no | | | `data.alert.created_by.username` | string | no | | | `data.alert.created_at` | string | no | | | `data.alert.updated_at` | string | no | | | `data.alert_name` | string | no | | | `data.grafana_rule_uid` | string | no | ID of the alert rule that watches the Load Balancer. | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 63, "gateway": 42, "gateway_name": "example-lb", "alert": { "id": 17, "name": "High error rate", "location": "Delhi", "resource_type": "Load Balancer", "metric_type": "example", "metric_type_unit": "example", "operator": "example", "threshold_value": 0, "severity": "example", "evaluate_for": "string", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "alert_name": "High error rate", "grafana_rule_uid": "a1b2c3d4e5", "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 412 No attachment with that ID on this Load Balancer. `errors` says the alert was not found. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "string" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//alerts//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Alerts" method: GET path: "/gateway/{gateway_id}/alerts/" url: "/api/tir/operations/get-gateway-gateway-id-alerts/" --- # List Load Balancer Alerts `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/alerts/` Returns the alerts attached to the Load Balancer, newest first, with no paging. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The attached alerts | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | ID of the attachment. Use it in the paths that take `attachment_id`. | | `data[].gateway` | integer | no | ID of the Load Balancer. | | `data[].gateway_name` | string | no | Name of the Load Balancer. | | `data[].alert` | object | no | | | `data[].alert.id` | integer | no | | | `data[].alert.name` | string | no | | | `data[].alert.location` | string | no | | | `data[].alert.resource_type` | string | no | The kind of resource the alert is for. | | `data[].alert.metric_type` | string | no | The measure the alert watches. | | `data[].alert.metric_type_unit` | string | no | The unit of the measure. | | `data[].alert.operator` | string | no | How the measure is compared with the threshold. | | `data[].alert.threshold_value` | number | no | The value the measure is compared with. | | `data[].alert.severity` | string | no | | | `data[].alert.evaluate_for` | string | no | How long the condition must hold before the alert fires. | | `data[].alert.created_by` | object | no | Who created it. | | `data[].alert.created_by.id` | integer | no | | | `data[].alert.created_by.name` | string | no | | | `data[].alert.created_by.email` | string | no | | | `data[].alert.created_by.username` | string | no | | | `data[].alert.created_at` | string | no | | | `data[].alert.updated_at` | string | no | | | `data[].alert_name` | string | no | | | `data[].grafana_rule_uid` | string | no | ID of the alert rule that watches the Load Balancer. | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 63, "gateway": 42, "gateway_name": "example-lb", "alert": { "id": 17, "name": "High error rate", "location": "Delhi", "resource_type": "Load Balancer", "metric_type": "example", "metric_type_unit": "example", "operator": "example", "threshold_value": 0, "severity": "example", "evaluate_for": "string", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "alert_name": "High error rate", "grafana_rule_uid": "a1b2c3d4e5", "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Custom Domain" method: GET path: "/gateway/{gateway_id}/custom-domain/" url: "/api/tir/operations/get-gateway-gateway-id-custom-domain/" --- # Get Load Balancer Custom Domain `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/custom-domain/` Returns the custom domain of the Load Balancer, its status and the DNS target to point it at. `data` is `null` when no custom domain is set. Each call also checks whether DNS points at the Load Balancer and moves the status on. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The custom domain, or `null` | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.domain` | string | no | | | `data.status` | one of `pending_dns`, `issuing`, `active`, `failed` | no | `pending_dns` until DNS points at the Load Balancer, `issuing` while the certificate is being issued, `active`, or `failed`. | | `data.cname_target` | string | no | The name to point a CNAME record for the domain at. | | `data.dns_verified` | boolean | no | `true` when the domain resolves to the Load Balancer. | | `data.reason` | string | no | The certificate issuer's message when issuing is stuck or failed. | | `data.certificate` | object | no | The certificate for the domain. | | `data.certificate.id` | integer | no | | | `data.certificate.name` | string | no | | | `data.certificate.source` | one of `ACME`, `UPLOADED` | no | `ACME` for a free certificate, `UPLOADED` for your own. | | `data.certificate.status` | one of `Active`, `Pending`, `Expired` | no | `Active`, `Pending` or `Expired`. | | `data.certificate.cert_chain` | string | no | The certificate chain as PEM text. It can be empty. | | `data.certificate.domains` | array of string | no | | | `data.certificate.not_before` | string | no | | | `data.certificate.not_after` | string | no | | | `data.certificate.issuer` | string | no | | | `data.certificate.key_type` | string | no | | | `data.certificate.fingerprint` | string | no | | | `data.certificate.days_remaining` | integer | no | | | `data.certificate.is_expired` | boolean | no | | | `data.certificate.in_use_by` | array of object | no | | | `data.certificate.created_by` | object | no | The user who created the certificate. | | `data.certificate.created_by.id` | integer | no | | | `data.certificate.created_by.name` | string | no | | | `data.certificate.created_by.email` | string | no | | | `data.certificate.created_by.username` | string | no | | | `data.certificate.created_at` | string | no | | | `data.certificate.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "domain": "www.example.com", "status": "pending_dns", "cname_target": "lb-12-abc123.e2enetworks.net", "dns_verified": false, "reason": "", "certificate": { "id": 15, "name": "acme-12-1a2b3c4d-www.example.com", "source": "ACME", "status": "Pending", "cert_chain": "", "domains": [ "string" ], "not_before": null, "not_after": null, "issuer": null, "key_type": null, "fingerprint": null, "days_remaining": null, "is_expired": false, "in_use_by": [ {} ], "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:30:00Z", "updated_at": "2026-10-21T11:30:00Z" } }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//custom-domain/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Logs" method: GET path: "/gateway/{gateway_id}/logs/" url: "/api/tir/operations/get-gateway-gateway-id-logs/" --- # Get Load Balancer Logs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/logs/` Returns the output of the Load Balancer's instances as a snapshot, one entry for each instance. It is not a live stream; call again for newer lines. Limit the answer with the last number of lines or of seconds. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `last_n_lines` | integer | no | Return only this many of the latest lines of each instance. | | `last_n_seconds` | integer | no | Return only the lines of the last this many seconds. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The logs | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.logs` | array of object | no | | | `data.logs[].pod_name` | string | no | The instance the lines come from. | | `data.logs[].container_name` | string | no | | | `data.logs[].logs` | array of string | no | The log lines. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "logs": [ { "pod_name": "lb-12-7d9c5b6f4-x2k8p", "container_name": "proxy", "logs": [ "[2026-10-21T11:20:01.123Z] \"GET /health HTTP/1.1\" 200 - 0 2 1" ] } ] }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//logs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Metric" method: GET path: "/gateway/{gateway_id}/metrics/{metric_name}/" url: "/api/tir/operations/get-gateway-gateway-id-metrics-metric-name/" --- # Get Load Balancer Metric `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/metrics/{metric_name}/` Returns the values of one metric over the interval, as two lists of the same length: the times and the values. Use a `metric_key` from **List Load Balancer Metrics** as `metric_name`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `metric_name` | string | yes | Metric key, for example `request_count`. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `interval` | one of `5m`, `15m`, `30m`, `1h`, `3h`, `6h`, `12h` | no | How far back to look. Default `5m`. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The metric over time | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.time_series` | array of string | no | Times in India time (IST), 12-hour with AM or PM: 11:15:30AM for intervals up to 30m, 11:15AM from 1h. | | `data.value_series` | array of string | no | Values as text with 2 decimals, one per time. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "time_series": [ "11:15:30AM", "11:15:45AM" ], "value_series": [ "12.50", "13.10" ] }, "errors": {} } ``` ### 400 `interval` is not one of the allowed values. A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Invalid interval value" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ### 412 The metric name is not known for this Load Balancer type, or the metrics store could not be reached. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Monitoring data not available at this moment!" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//metrics//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Metrics Summary" method: GET path: "/gateway/{gateway_id}/metrics_summary/" url: "/api/tir/operations/get-gateway-gateway-id-metrics-summary/" --- # Get Load Balancer Metrics Summary `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/metrics_summary/` Returns the current value of every metric of the Load Balancer, for the interval. The metrics are those of its type; see **List Load Balancer Metrics**. A value that cannot be read comes back as `"0.00"`. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `interval` | one of `5m`, `15m`, `30m`, `1h`, `3h`, `6h`, `12h` | no | How far back to look. Default `5m`. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 One entry per metric key | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | One entry per metric key, shown here for two of them. | | `data.request_count` | object | no | | | `data.request_count.metric_name` | string | no | | | `data.request_count.description` | string | no | | | `data.request_count.current_value` | string | no | The value, as a text with 2 decimals. | | `data.request_count.unit` | string | no | | | `data.healthy_backends` | object | no | | | `data.healthy_backends.metric_name` | string | no | | | `data.healthy_backends.description` | string | no | | | `data.healthy_backends.current_value` | string | no | | | `data.healthy_backends.unit` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "request_count": { "metric_name": "Requests / sec", "description": "Total requests per second received by the load balancer", "current_value": "12.50", "unit": "req/s" }, "healthy_backends": { "metric_name": "Healthy Backends", "description": "Backend targets currently passing health checks", "current_value": "2.00", "unit": "hosts" } }, "errors": {} } ``` ### 400 `interval` is not one of the allowed values. A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Invalid interval value" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//metrics_summary/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Rule" method: GET path: "/gateway/{gateway_id}/rules/{rule_id}/" url: "/api/tir/operations/get-gateway-gateway-id-rules-rule-id/" --- # Get Load Balancer Rule `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/rules/{rule_id}/` Returns one Rule of the Load Balancer. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `rule_id` | integer | yes | Rule ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Rule | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.route_name` | string | no | The Rule's name. | | `data.routing_strategy` | string | no | `Weight-Based` for a Rule made without this field. | | `data.rules` | object | no | What the Rule matches and where it sends traffic. Every part is optional; a Rule with no match conditions matches every request. | | `data.rules.name` | string | no | A display name for the Rule. Not set unless you send it. | | `data.rules.priority` | integer | no | A number that breaks a tie between two equally specific Rules: the lower number is tried first. A Rule with no priority comes last among equals. A more specific match always wins over a less specific one, whatever the priority. | | `data.rules.match` | object | no | Conditions that must all hold for the Rule to apply. | | `data.rules.match.path` | object | no | Match on the request path. | | `data.rules.match.path.type` | one of `prefix`, `exact`, `regex` | no | How `value` is compared with the request path. | | `data.rules.match.path.value` | string | no | The path to match, for example `/api`. | | `data.rules.match.headers` | array of object | no | Header conditions. All of them must match. | | `data.rules.match.headers[].name` | string | no | Header name. | | `data.rules.match.headers[].type` | one of `Exact`, `RegularExpression`, `Present` | no | `Exact` compares the whole value, `RegularExpression` matches a pattern, `Present` only needs the header to exist. Defaults to `Exact`. | | `data.rules.match.headers[].value` | string | no | Value to compare. Required unless `type` is `Present`. | | `data.rules.match.query_params` | array of object | no | Query parameter conditions. All of them must match. | | `data.rules.match.query_params[].name` | string | no | Query parameter name. | | `data.rules.match.query_params[].type` | one of `Exact`, `RegularExpression` | no | `Exact` or `RegularExpression`. Defaults to `Exact`. | | `data.rules.match.query_params[].value` | string | no | Value to compare. Required. | | `data.rules.match.methods` | array of string | no | HTTP methods to match: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`, `TRACE` or `CONNECT`. The request must use one of them. | | `data.rules.match.method` | string | no | One HTTP method, as an alternative to `methods`. | | `data.rules.groups` | array of object | no | The backend groups the Rule sends traffic to. With more than one, traffic is split by weight. All groups of one Rule must use the same protocol (HTTP, HTTPS or gRPC). | | `data.rules.groups[].target_group_id` | integer | no | ID of a backend group of this Load Balancer. Required. | | `data.rules.groups[].weight` | integer | no | Share of the traffic sent to this group, relative to the other groups of the Rule: a whole number, 0 or more, default 1. | | `data.status` | one of `Active`, `Inactive` | no | `Active` or `Inactive`. | | `data.created_by` | object | no | Who created it. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 12, "route_name": "api-rule", "routing_strategy": "Weight-Based", "rules": { "name": "API traffic", "priority": 1, "match": { "path": { "type": "prefix", "value": "/api" }, "methods": [ "GET", "POST" ] }, "groups": [ { "target_group_id": 7, "weight": 90 }, { "target_group_id": 8, "weight": 10 } ] }, "status": "Active", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer, or no Rule on it, with those IDs in the project and region. `errors` says which was not found. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Rule not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//rules//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Rules" method: GET path: "/gateway/{gateway_id}/rules/" url: "/api/tir/operations/get-gateway-gateway-id-rules/" --- # List Load Balancer Rules `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/rules/` Returns the Rules of one Load Balancer. Pass `page_no` and `per_page` together to page the list; without both, every Rule comes back. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Rules of the Load Balancer | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | Only with paging. | | `total_count` | integer | no | Only with paging. | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].route_name` | string | no | The Rule's name. | | `data[].routing_strategy` | string | no | `Weight-Based` for a Rule made without this field. | | `data[].rules` | object | no | What the Rule matches and where it sends traffic. Every part is optional; a Rule with no match conditions matches every request. | | `data[].rules.name` | string | no | A display name for the Rule. Not set unless you send it. | | `data[].rules.priority` | integer | no | A number that breaks a tie between two equally specific Rules: the lower number is tried first. A Rule with no priority comes last among equals. A more specific match always wins over a less specific one, whatever the priority. | | `data[].rules.match` | object | no | Conditions that must all hold for the Rule to apply. | | `data[].rules.match.path` | object | no | Match on the request path. | | `data[].rules.match.path.type` | one of `prefix`, `exact`, `regex` | no | How `value` is compared with the request path. | | `data[].rules.match.path.value` | string | no | The path to match, for example `/api`. | | `data[].rules.match.headers` | array of object | no | Header conditions. All of them must match. | | `data[].rules.match.headers[].name` | string | no | Header name. | | `data[].rules.match.headers[].type` | one of `Exact`, `RegularExpression`, `Present` | no | `Exact` compares the whole value, `RegularExpression` matches a pattern, `Present` only needs the header to exist. Defaults to `Exact`. | | `data[].rules.match.headers[].value` | string | no | Value to compare. Required unless `type` is `Present`. | | `data[].rules.match.query_params` | array of object | no | Query parameter conditions. All of them must match. | | `data[].rules.match.query_params[].name` | string | no | Query parameter name. | | `data[].rules.match.query_params[].type` | one of `Exact`, `RegularExpression` | no | `Exact` or `RegularExpression`. Defaults to `Exact`. | | `data[].rules.match.query_params[].value` | string | no | Value to compare. Required. | | `data[].rules.match.methods` | array of string | no | HTTP methods to match: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`, `TRACE` or `CONNECT`. The request must use one of them. | | `data[].rules.match.method` | string | no | One HTTP method, as an alternative to `methods`. | | `data[].rules.groups` | array of object | no | The backend groups the Rule sends traffic to. With more than one, traffic is split by weight. All groups of one Rule must use the same protocol (HTTP, HTTPS or gRPC). | | `data[].rules.groups[].target_group_id` | integer | no | ID of a backend group of this Load Balancer. Required. | | `data[].rules.groups[].weight` | integer | no | Share of the traffic sent to this group, relative to the other groups of the Rule: a whole number, 0 or more, default 1. | | `data[].status` | one of `Active`, `Inactive` | no | `Active` or `Inactive`. | | `data[].created_by` | object | no | Who created it. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 12, "route_name": "api-rule", "routing_strategy": "Weight-Based", "rules": { "name": "API traffic", "priority": 1, "match": { "path": { "type": "prefix", "value": "/api" }, "methods": [ "GET", "POST" ] }, "groups": [ { "target_group_id": 7, "weight": 90 }, { "target_group_id": 8, "weight": 10 } ] }, "status": "Active", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//rules/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Security Groups" method: GET path: "/gateway/{gateway_id}/security-groups/" url: "/api/tir/operations/get-gateway-gateway-id-security-groups/" --- # List Load Balancer Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/security-groups/` Returns the security groups attached to the Load Balancer, with their rules. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The attached security groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].location` | string | no | | | `data[].rules` | array of object | no | The security group's inbound and outbound rules. | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | one of `inbound`, `outbound` | no | `inbound` or `outbound`. | | `data[].rules[].protocol_type` | one of `AllTraffic`, `CustomTCP`, `CustomUDP`, `SSH` | no | The protocol choice the rule was made with. | | `data[].rules[].protocol` | one of `TCP`, `UDP`, `All` | no | `TCP`, `UDP` or `All`. | | `data[].rules[].ports` | array of string | no | The ports the rule covers. | | `data[].rules[].cidr_ip` | string | no | The address the rule covers. | | `data[].rules[].cidr_subnet` | integer | no | The prefix length that goes with `cidr_ip`. | | `data[].rules[].description` | string | no | | | `data[].rules[].network_type` | string | no | `any`, `vpc` or `manual`. | | `data[].rules[].network_details` | object | no | | | `data[].rules[].my_account_project_id` | integer | no | | | `data[].rules[].my_account_location` | string | no | | | `data[].rules[].vpc_id` | integer | no | | | `data[].rules[].created_at` | string | no | | | `data[].rules[].updated_at` | string | no | | | `data[].is_ssh_security_group` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].created_by` | object | no | Who created it. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].attached_services` | object | no | The services this security group is attached to, as lists grouped by kind. | | `data[].is_ssh_port_enabled` | boolean | no | `true` when an inbound rule opens port 22. | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 45, "name": "allow-https", "description": "Allows inbound HTTPS", "location": "Delhi", "rules": [ { "id": 88, "rule_type": "inbound", "protocol_type": "CustomTCP", "protocol": "TCP", "ports": [ "443" ], "cidr_ip": "203.0.113.0", "cidr_subnet": 32, "description": "HTTPS from the office", "network_type": "manual", "network_details": {}, "my_account_project_id": null, "my_account_location": null, "vpc_id": null, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "is_ssh_security_group": false, "is_active": true, "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "attached_services": {}, "is_ssh_port_enabled": false, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer Backend Group" method: GET path: "/gateway/{gateway_id}/target-groups/{group_id}/" url: "/api/tir/operations/get-gateway-gateway-id-target-groups-group-id/" --- # Get Load Balancer Backend Group `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/{group_id}/` Returns one backend group with its backends. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `group_id` | integer | yes | Backend group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The backend group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.backend_type` | one of `vm`, `inference`, `autoscale`, `raw_ip` | no | What kind of backend the group holds. | | `data.algorithm` | string | no | How requests are spread across the group. `null` uses the Load Balancer's algorithm. | | `data.port` | integer | no | The port the group's backends listen on. | | `data.protocol` | string | no | `HTTP`, `HTTPS` or `GRPC`. | | `data.health_check_config` | object | no | How the group's backends are checked. An empty object `{}` uses the Load Balancer's own health check. | | `data.health_check_config.protocol` | string | no | `TCP`, `HTTP` or `GRPC`. | | `data.health_check_config.path` | string | no | Path to request. For `HTTP` only. Defaults to `/`. | | `data.health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy. For `HTTP` only. Defaults to `[200]`. | | `data.health_check_config.interval_seconds` | integer | no | Seconds between checks. Defaults to 10. | | `data.health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Defaults to 3. | | `data.health_check_config.healthy_threshold` | integer | no | Passed checks in a row before an unhealthy backend gets traffic again. Defaults to 2. | | `data.health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend stops getting traffic. Defaults to 3. | | `data.request_timeout_seconds` | integer | no | Seconds a request to the group may take. `null` when not set. | | `data.retry_attempts` | integer | no | Times a failed request is sent again. `null` when not set. | | `data.targets` | array of object | no | The backends of the group, in the order they were added. | | `data.targets[].id` | integer | no | | | `data.targets[].ip_address` | string | no | | | `data.targets[].port` | integer | no | | | `data.targets[].weight` | integer | no | | | `data.targets[].name` | string | no | | | `data.targets[].resource_ref` | string | no | Set for `vm`, `inference` and `autoscale` backends. | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 7, "name": "api-pool", "backend_type": "raw_ip", "algorithm": "ROUND_ROBIN", "port": 80, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz", "interval_seconds": 10 }, "request_timeout_seconds": 300, "retry_attempts": 0, "targets": [ { "id": 31, "ip_address": "203.0.113.10", "port": 8080, "weight": 1, "name": "web-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ### 412 No backend group with that ID on this Load Balancer. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Target group not found." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//target-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Backend Groups" method: GET path: "/gateway/{gateway_id}/target-groups/" url: "/api/tir/operations/get-gateway-gateway-id-target-groups/" --- # List Load Balancer Backend Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/` Returns the backend groups of one Load Balancer, oldest first, each with its backends. Needs the Read permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The backend groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | The group's name. | | `data[].backend_type` | one of `vm`, `inference`, `autoscale`, `raw_ip` | no | What kind of backend the group holds. | | `data[].algorithm` | string | no | How requests are spread across the group. `null` uses the Load Balancer's algorithm. | | `data[].port` | integer | no | The port the group's backends listen on. | | `data[].protocol` | string | no | `HTTP`, `HTTPS` or `GRPC`. | | `data[].health_check_config` | object | no | How the group's backends are checked. An empty object `{}` uses the Load Balancer's own health check. | | `data[].health_check_config.protocol` | string | no | `TCP`, `HTTP` or `GRPC`. | | `data[].health_check_config.path` | string | no | Path to request. For `HTTP` only. Defaults to `/`. | | `data[].health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy. For `HTTP` only. Defaults to `[200]`. | | `data[].health_check_config.interval_seconds` | integer | no | Seconds between checks. Defaults to 10. | | `data[].health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Defaults to 3. | | `data[].health_check_config.healthy_threshold` | integer | no | Passed checks in a row before an unhealthy backend gets traffic again. Defaults to 2. | | `data[].health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend stops getting traffic. Defaults to 3. | | `data[].request_timeout_seconds` | integer | no | Seconds a request to the group may take. `null` when not set. | | `data[].retry_attempts` | integer | no | Times a failed request is sent again. `null` when not set. | | `data[].targets` | array of object | no | The backends of the group, in the order they were added. | | `data[].targets[].id` | integer | no | | | `data[].targets[].ip_address` | string | no | | | `data[].targets[].port` | integer | no | | | `data[].targets[].weight` | integer | no | | | `data[].targets[].name` | string | no | | | `data[].targets[].resource_ref` | string | no | Set for `vm`, `inference` and `autoscale` backends. | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 7, "name": "api-pool", "backend_type": "raw_ip", "algorithm": "ROUND_ROBIN", "port": 80, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz", "interval_seconds": 10 }, "request_timeout_seconds": 300, "retry_attempts": 0, "targets": [ { "id": 31, "ip_address": "203.0.113.10", "port": 8080, "weight": 1, "name": "web-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. `errors` holds the project's own text. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//target-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Load Balancer" method: GET path: "/gateway/{gateway_id}/" url: "/api/tir/operations/get-gateway-gateway-id/" --- # Get Load Balancer `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/` Returns one Load Balancer with its plan, settings, address, backend groups, routing rules, certificate and setup progress. While `status` is `Initializing` or `Failed`, `progress_steps` lists the setup steps. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Load Balancer | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.certificate` | object | no | The certificate the Load Balancer serves. | | `data.certificate.id` | integer | no | Certificate ID. Absent when the Load Balancer uses the platform certificate. | | `data.certificate.source` | one of `PLATFORM`, `ACME`, `UPLOADED` | no | Where the certificate comes from, `PLATFORM`, `ACME` or `UPLOADED`. | | `data.certificate.name` | string | no | | | `data.certificate.domains` | array of string | no | Domain names the certificate covers. | | `data.certificate.not_after` | string | no | When the certificate expires. `null` for the platform certificate. | | `data.certificate.days_remaining` | integer | no | Days until it expires. `null` for the platform certificate. | | `data.certificate.managed` | boolean | no | `true` when the certificate renews itself. | | `data.description` | string | no | | | `data.domain` | string | no | The address the E2E platform gives the Load Balancer. | | `data.public_ip` | string | no | The public IP address. `null` until one is assigned. | | `data.environment` | string | no | | | `data.status` | one of `Initializing`, `Running`, `Stopped`, `Failed` | no | `Initializing` while the Load Balancer is being set up, `Running`, `Stopped`, or `Failed`. | | `data.lb_type` | one of `L4`, `L7` | no | `L7` for HTTP and HTTPS traffic, `L4` for TCP traffic. | | `data.scheme` | one of `internet-facing`, `internal` | no | | | `data.algorithm` | string | no | How requests are spread over backends. | | `data.node_count` | integer | no | Instances the Load Balancer runs on: 2 when `ha` is `true`, otherwise 1. | | `data.sku_id` | string | no | | | `data.sku_item_price_id` | integer | no | ID of the plan. | | `data.plan` | string | no | Name of the plan. `null` without a plan. | | `data.plan_type` | string | no | `hourly` or `committed`. `null` without a plan. | | `data.committed_days` | integer | no | Length of the committed term in days. `null` on an hourly plan. | | `data.committed_info` | object | no | The committed term and what happens when it ends. `null` on an hourly plan. | | `data.ha` | boolean | no | `true` when the Load Balancer runs on 2 instances. | | `data.vpc_id` | integer | no | | | `data.health_check` | boolean | no | | | `data.health_check_config` | object | no | Health check settings. Every key is optional; a key you leave out takes its default. | | `data.health_check_config.protocol` | one of `TCP`, `HTTP`, `GRPC` | no | How the check probes a backend. Default `TCP`. | | `data.health_check_config.interval_seconds` | integer | no | Seconds between checks. Default 10. | | `data.health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Default 3. | | `data.health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend is taken out. Default 3. | | `data.health_check_config.healthy_threshold` | integer | no | Passing checks in a row before a backend is put back. Default 2. | | `data.health_check_config.path` | string | no | The path an `HTTP` check requests. Default `/`. | | `data.health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy for an `HTTP` check. Default `[200]`. | | `data.health_check_config.consecutive_5xx_errors` | integer | no | Server errors in a row before a backend is taken out. Default 5. | | `data.health_check_config.consecutive_gateway_errors` | integer | no | Errors 502, 503 or 504 in a row before a backend is taken out. Default 5. | | `data.health_check_config.base_ejection_time_seconds` | integer | no | Seconds a backend stays out after it is taken out. Default 30. | | `data.health_check_config.outlier_interval_seconds` | integer | no | Seconds between scans for backends to take out. Default 10. | | `data.health_check_config.max_ejection_percent` | integer | no | Most backends, in percent, that can be out at once. Default 50. | | `data.health_check_config.split_external_local_origin_errors` | boolean | no | Count connection errors apart from errors the backend returned. Default `false`. | | `data.listener_port` | integer | no | The port the Load Balancer listens on. | | `data.frontend_protocols` | array of one of `HTTP`, `HTTPS` | no | Protocols the Load Balancer accepts. Empty means both. | | `data.backend_protocol` | string | no | | | `data.http_redirect` | boolean | no | `true` when HTTP requests are redirected to HTTPS. | | `data.bandwidth_mbps` | integer | no | Bandwidth limit in Mbps. | | `data.rate_limit` | integer | no | Requests allowed per `rate_limit_unit`, set by the plan. | | `data.rate_limit_unit` | string | no | | | `data.connection_limit` | integer | no | Most connections allowed, set by the plan. | | `data.connection_timeout` | integer | no | Seconds to wait when connecting to a backend. | | `data.client_timeout` | integer | no | Seconds a client connection may stay idle. | | `data.server_timeout` | integer | no | Seconds a backend connection may stay idle. | | `data.http_keep_alive_timeout` | integer | no | Seconds an idle HTTP connection is kept open. | | `data.websocket_timeout` | integer | no | Seconds a WebSocket connection may stay open. | | `data.targets` | array of object | no | TCP backends of an `L4` Load Balancer. | | `data.targets[].id` | integer | no | | | `data.targets[].ip_address` | string | no | | | `data.targets[].port` | integer | no | | | `data.targets[].weight` | integer | no | | | `data.targets[].name` | string | no | | | `data.target_groups` | array of object | no | The backend groups. | | `data.target_groups[].id` | integer | no | | | `data.target_groups[].name` | string | no | | | `data.target_groups[].backend_type` | string | no | What the group's backends are. | | `data.target_groups[].algorithm` | string | no | | | `data.target_groups[].port` | integer | no | | | `data.target_groups[].protocol` | string | no | | | `data.target_groups[].health_check_config` | object | no | | | `data.target_groups[].request_timeout_seconds` | integer | no | | | `data.target_groups[].retry_attempts` | integer | no | | | `data.target_groups[].targets` | array of object | no | | | `data.target_groups[].targets[].id` | integer | no | | | `data.target_groups[].targets[].ip_address` | string | no | | | `data.target_groups[].targets[].port` | integer | no | | | `data.target_groups[].targets[].weight` | integer | no | | | `data.target_groups[].targets[].name` | string | no | | | `data.target_groups[].targets[].resource_ref` | string | no | For a Virtual Machine or Auto Scaling Group backend, the name or ID it refers to. | | `data.target_groups[].created_at` | string | no | | | `data.target_groups[].updated_at` | string | no | | | `data.created_by` | object | no | The user who created the Load Balancer. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `data.rules` | array of object | no | The routing rules. | | `data.rules[].id` | integer | no | | | `data.rules[].name` | string | no | | | `data.rules[].priority` | integer | no | | | `data.rules[].routing_strategy` | string | no | | | `data.rules[].match` | object | no | | | `data.rules[].targets` | array of object | no | | | `data.rules[].groups` | array of object | no | | | `data.rules[].target_group_id` | integer | no | | | `data.rules[].status` | string | no | | | `data.has_active_load_aware_rule` | boolean | no | | | `data.configuration_state` | object | no | Whether the Load Balancer can serve traffic. | | `data.configuration_state.state` | one of `ready`, `needs_backends` | no | `ready`, or `needs_backends` when no backend is set and every request gets 503. | | `data.configuration_state.detail` | string | no | | | `data.stage` | string | no | Setup stage while the Load Balancer is being created. | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | How far setup has got, 0 to 100. | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Rough seconds of setup left. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | When it first became `Running`. | | `data.failure_reason` | string | no | Why setup failed, if it did. | | `data.progress_steps` | array of object | no | The setup checklist. Empty unless the status is `Initializing` or `Failed`. | | `data.progress_steps[].key` | string | no | | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 12, "name": "example-lb", "certificate": { "id": 12, "source": "PLATFORM", "name": "Platform wildcard", "domains": [ "string" ], "not_after": null, "days_remaining": null, "managed": true }, "description": "Front end for the web tier", "domain": "lb-12-abc123.e2enetworks.net", "public_ip": "203.0.113.10", "environment": null, "status": "Running", "lb_type": "L7", "scheme": "internet-facing", "algorithm": "ROUND_ROBIN", "node_count": 1, "sku_id": null, "sku_item_price_id": 2101, "plan": "LB-Small", "plan_type": "hourly", "committed_days": null, "committed_info": {}, "ha": false, "vpc_id": null, "health_check": true, "health_check_config": { "protocol": "HTTP", "interval_seconds": 10, "timeout_seconds": 3, "unhealthy_threshold": 3, "healthy_threshold": 2, "path": "/healthz", "expected_statuses": [ 0 ], "consecutive_5xx_errors": 5, "consecutive_gateway_errors": 5, "base_ejection_time_seconds": 30, "outlier_interval_seconds": 10, "max_ejection_percent": 50, "split_external_local_origin_errors": false }, "listener_port": 443, "frontend_protocols": [ "string" ], "backend_protocol": "HTTP", "http_redirect": false, "bandwidth_mbps": null, "rate_limit": 1000, "rate_limit_unit": "Second", "connection_limit": 10000, "connection_timeout": 10, "client_timeout": 60, "server_timeout": 60, "http_keep_alive_timeout": 60, "websocket_timeout": 3600, "targets": [ { "id": 31, "ip_address": "203.0.113.21", "port": 8080, "weight": 1, "name": "app-1" } ], "target_groups": [ { "id": 7, "name": "web-backend", "backend_type": "ip", "algorithm": "ROUND_ROBIN", "port": 8080, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz" }, "request_timeout_seconds": 30, "retry_attempts": 2, "targets": [ { "id": 41, "ip_address": "203.0.113.21", "port": 8080, "weight": 1, "name": "app-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:18:50Z", "rules": [ { "id": 5, "name": "route-to-web", "priority": 10, "routing_strategy": "WEIGHT_BASED", "match": {}, "targets": [ {} ], "groups": [ {} ], "target_group_id": null, "status": "Active" } ], "has_active_load_aware_rule": false, "configuration_state": { "state": "ready", "detail": "" }, "stage": "running", "stage_message": "Ready", "stage_percent": 100, "stage_started_at": "2026-10-21T11:19:00Z", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29Z", "became_ready_at": "2026-10-21T11:19:00Z", "failure_reason": null, "progress_steps": [ { "key": "creating_gateway", "label": "Creating load balancer", "status": "done", "message": null, "started_at": "2026-10-21T11:17:30Z", "completed_at": "2026-10-21T11:18:20Z", "duration_seconds": 50 } ] }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancer Metrics" method: GET path: "/gateway/metrics_list/" url: "/api/tir/operations/get-gateway-metrics-list/" --- # List Load Balancer Metrics `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/metrics_list/` Returns the metrics a Load Balancer reports, with their keys, names and descriptions. Use a `metric_key` as `metric_name` in **Get Load Balancer Metric**. The HTTP and HTTPS list has 12 metrics; the TCP list has 6. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `lb_type` | one of `L4`, `L7` | no | `L4` returns the TCP list. Any other value, or none, returns the HTTP and HTTPS list. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].metric_key` | string | no | `request_count`, `rate_limited`, `active_connections`, `throughput_in`, `throughput_out`, `latency_p90`, `avg_response_time`, `error_rate`, `success_rate`, `throttle_rate`, `cpu_utilization`, `healthy_backends` for HTTP and HTTPS. `active_connections`, `connection_rate`, `throughput_in`, `throughput_out`, `cpu_utilization`, `healthy_backends` for TCP. | | `data[].metric_name` | string | no | | | `data[].description` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "metric_key": "request_count", "metric_name": "Requests / sec", "description": "Total requests per second received by the load balancer" } ], "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/metrics_list/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Load Balancers" method: GET path: "/gateway/" url: "/api/tir/operations/get-gateway/" --- # List Load Balancers `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/` Returns the Load Balancers of the project in the region, newest first by default. Deleted ones are not listed. Each item has the same fields as **Get Load Balancer**. Pass `page_no` and `per_page` together to page the list. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | Page number. Paging starts only when `page_no` and `per_page` are both sent; otherwise every Load Balancer comes back. A page past the last returns an empty list, and a value that is not a number returns page 1. | | `per_page` | integer | no | Load Balancers per page. A value that is not a whole number above 0 becomes 20. | | `order_by` | one of `name`, `-name`, `status`, `-status`, `created_at`, `-created_at` | no | Sort order. A leading `-` sorts descending. Any other value falls back to `-created_at`. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Load Balancers | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | Only with paging. | | `total_count` | integer | no | Only with paging. | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].certificate` | object | no | The certificate the Load Balancer serves. | | `data[].certificate.id` | integer | no | Certificate ID. Absent when the Load Balancer uses the platform certificate. | | `data[].certificate.source` | one of `PLATFORM`, `ACME`, `UPLOADED` | no | Where the certificate comes from, `PLATFORM`, `ACME` or `UPLOADED`. | | `data[].certificate.name` | string | no | | | `data[].certificate.domains` | array of string | no | Domain names the certificate covers. | | `data[].certificate.not_after` | string | no | When the certificate expires. `null` for the platform certificate. | | `data[].certificate.days_remaining` | integer | no | Days until it expires. `null` for the platform certificate. | | `data[].certificate.managed` | boolean | no | `true` when the certificate renews itself. | | `data[].description` | string | no | | | `data[].domain` | string | no | The address the E2E platform gives the Load Balancer. | | `data[].public_ip` | string | no | The public IP address. `null` until one is assigned. | | `data[].environment` | string | no | | | `data[].status` | one of `Initializing`, `Running`, `Stopped`, `Failed` | no | `Initializing` while the Load Balancer is being set up, `Running`, `Stopped`, or `Failed`. | | `data[].lb_type` | one of `L4`, `L7` | no | `L7` for HTTP and HTTPS traffic, `L4` for TCP traffic. | | `data[].scheme` | one of `internet-facing`, `internal` | no | | | `data[].algorithm` | string | no | How requests are spread over backends. | | `data[].node_count` | integer | no | Instances the Load Balancer runs on: 2 when `ha` is `true`, otherwise 1. | | `data[].sku_id` | string | no | | | `data[].sku_item_price_id` | integer | no | ID of the plan. | | `data[].plan` | string | no | Name of the plan. `null` without a plan. | | `data[].plan_type` | string | no | `hourly` or `committed`. `null` without a plan. | | `data[].committed_days` | integer | no | Length of the committed term in days. `null` on an hourly plan. | | `data[].committed_info` | object | no | The committed term and what happens when it ends. `null` on an hourly plan. | | `data[].ha` | boolean | no | `true` when the Load Balancer runs on 2 instances. | | `data[].vpc_id` | integer | no | | | `data[].health_check` | boolean | no | | | `data[].health_check_config` | object | no | Health check settings. Every key is optional; a key you leave out takes its default. | | `data[].health_check_config.protocol` | one of `TCP`, `HTTP`, `GRPC` | no | How the check probes a backend. Default `TCP`. | | `data[].health_check_config.interval_seconds` | integer | no | Seconds between checks. Default 10. | | `data[].health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Default 3. | | `data[].health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend is taken out. Default 3. | | `data[].health_check_config.healthy_threshold` | integer | no | Passing checks in a row before a backend is put back. Default 2. | | `data[].health_check_config.path` | string | no | The path an `HTTP` check requests. Default `/`. | | `data[].health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy for an `HTTP` check. Default `[200]`. | | `data[].health_check_config.consecutive_5xx_errors` | integer | no | Server errors in a row before a backend is taken out. Default 5. | | `data[].health_check_config.consecutive_gateway_errors` | integer | no | Errors 502, 503 or 504 in a row before a backend is taken out. Default 5. | | `data[].health_check_config.base_ejection_time_seconds` | integer | no | Seconds a backend stays out after it is taken out. Default 30. | | `data[].health_check_config.outlier_interval_seconds` | integer | no | Seconds between scans for backends to take out. Default 10. | | `data[].health_check_config.max_ejection_percent` | integer | no | Most backends, in percent, that can be out at once. Default 50. | | `data[].health_check_config.split_external_local_origin_errors` | boolean | no | Count connection errors apart from errors the backend returned. Default `false`. | | `data[].listener_port` | integer | no | The port the Load Balancer listens on. | | `data[].frontend_protocols` | array of one of `HTTP`, `HTTPS` | no | Protocols the Load Balancer accepts. Empty means both. | | `data[].backend_protocol` | string | no | | | `data[].http_redirect` | boolean | no | `true` when HTTP requests are redirected to HTTPS. | | `data[].bandwidth_mbps` | integer | no | Bandwidth limit in Mbps. | | `data[].rate_limit` | integer | no | Requests allowed per `rate_limit_unit`, set by the plan. | | `data[].rate_limit_unit` | string | no | | | `data[].connection_limit` | integer | no | Most connections allowed, set by the plan. | | `data[].connection_timeout` | integer | no | Seconds to wait when connecting to a backend. | | `data[].client_timeout` | integer | no | Seconds a client connection may stay idle. | | `data[].server_timeout` | integer | no | Seconds a backend connection may stay idle. | | `data[].http_keep_alive_timeout` | integer | no | Seconds an idle HTTP connection is kept open. | | `data[].websocket_timeout` | integer | no | Seconds a WebSocket connection may stay open. | | `data[].targets` | array of object | no | TCP backends of an `L4` Load Balancer. | | `data[].targets[].id` | integer | no | | | `data[].targets[].ip_address` | string | no | | | `data[].targets[].port` | integer | no | | | `data[].targets[].weight` | integer | no | | | `data[].targets[].name` | string | no | | | `data[].target_groups` | array of object | no | The backend groups. | | `data[].target_groups[].id` | integer | no | | | `data[].target_groups[].name` | string | no | | | `data[].target_groups[].backend_type` | string | no | What the group's backends are. | | `data[].target_groups[].algorithm` | string | no | | | `data[].target_groups[].port` | integer | no | | | `data[].target_groups[].protocol` | string | no | | | `data[].target_groups[].health_check_config` | object | no | | | `data[].target_groups[].request_timeout_seconds` | integer | no | | | `data[].target_groups[].retry_attempts` | integer | no | | | `data[].target_groups[].targets` | array of object | no | | | `data[].target_groups[].targets[].id` | integer | no | | | `data[].target_groups[].targets[].ip_address` | string | no | | | `data[].target_groups[].targets[].port` | integer | no | | | `data[].target_groups[].targets[].weight` | integer | no | | | `data[].target_groups[].targets[].name` | string | no | | | `data[].target_groups[].targets[].resource_ref` | string | no | For a Virtual Machine or Auto Scaling Group backend, the name or ID it refers to. | | `data[].target_groups[].created_at` | string | no | | | `data[].target_groups[].updated_at` | string | no | | | `data[].created_by` | object | no | The user who created the Load Balancer. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `data[].rules` | array of object | no | The routing rules. | | `data[].rules[].id` | integer | no | | | `data[].rules[].name` | string | no | | | `data[].rules[].priority` | integer | no | | | `data[].rules[].routing_strategy` | string | no | | | `data[].rules[].match` | object | no | | | `data[].rules[].targets` | array of object | no | | | `data[].rules[].groups` | array of object | no | | | `data[].rules[].target_group_id` | integer | no | | | `data[].rules[].status` | string | no | | | `data[].has_active_load_aware_rule` | boolean | no | | | `data[].configuration_state` | object | no | Whether the Load Balancer can serve traffic. | | `data[].configuration_state.state` | one of `ready`, `needs_backends` | no | `ready`, or `needs_backends` when no backend is set and every request gets 503. | | `data[].configuration_state.detail` | string | no | | | `data[].stage` | string | no | Setup stage while the Load Balancer is being created. | | `data[].stage_message` | string | no | | | `data[].stage_percent` | integer | no | How far setup has got, 0 to 100. | | `data[].stage_started_at` | string | no | | | `data[].eta_seconds` | integer | no | Rough seconds of setup left. | | `data[].launch_started_at` | string | no | | | `data[].became_ready_at` | string | no | When it first became `Running`. | | `data[].failure_reason` | string | no | Why setup failed, if it did. | | `data[].progress_steps` | array of object | no | The setup checklist. Empty unless the status is `Initializing` or `Failed`. | | `data[].progress_steps[].key` | string | no | | | `data[].progress_steps[].label` | string | no | | | `data[].progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data[].progress_steps[].message` | string | no | | | `data[].progress_steps[].started_at` | string | no | | | `data[].progress_steps[].completed_at` | string | no | | | `data[].progress_steps[].duration_seconds` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 12, "name": "example-lb", "certificate": { "id": 12, "source": "PLATFORM", "name": "Platform wildcard", "domains": [ "string" ], "not_after": null, "days_remaining": null, "managed": true }, "description": "Front end for the web tier", "domain": "lb-12-abc123.e2enetworks.net", "public_ip": "203.0.113.10", "environment": null, "status": "Running", "lb_type": "L7", "scheme": "internet-facing", "algorithm": "ROUND_ROBIN", "node_count": 1, "sku_id": null, "sku_item_price_id": 2101, "plan": "LB-Small", "plan_type": "hourly", "committed_days": null, "committed_info": {}, "ha": false, "vpc_id": null, "health_check": true, "health_check_config": { "protocol": "HTTP", "interval_seconds": 10, "timeout_seconds": 3, "unhealthy_threshold": 3, "healthy_threshold": 2, "path": "/healthz", "expected_statuses": [ 0 ], "consecutive_5xx_errors": 5, "consecutive_gateway_errors": 5, "base_ejection_time_seconds": 30, "outlier_interval_seconds": 10, "max_ejection_percent": 50, "split_external_local_origin_errors": false }, "listener_port": 443, "frontend_protocols": [ "string" ], "backend_protocol": "HTTP", "http_redirect": false, "bandwidth_mbps": null, "rate_limit": 1000, "rate_limit_unit": "Second", "connection_limit": 10000, "connection_timeout": 10, "client_timeout": 60, "server_timeout": 60, "http_keep_alive_timeout": 60, "websocket_timeout": 3600, "targets": [ { "id": 31, "ip_address": "203.0.113.21", "port": 8080, "weight": 1, "name": "app-1" } ], "target_groups": [ { "id": 7, "name": "web-backend", "backend_type": "ip", "algorithm": "ROUND_ROBIN", "port": 8080, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz" }, "request_timeout_seconds": 30, "retry_attempts": 2, "targets": [ { "id": 41, "ip_address": "203.0.113.21", "port": 8080, "weight": 1, "name": "app-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:18:50Z", "rules": [ { "id": 5, "name": "route-to-web", "priority": 10, "routing_strategy": "WEIGHT_BASED", "match": {}, "targets": [ {} ], "groups": [ {} ], "target_group_id": null, "status": "Active" } ], "has_active_load_aware_rule": false, "configuration_state": { "state": "ready", "detail": "" }, "stage": "running", "stage_message": "Ready", "stage_percent": 100, "stage_started_at": "2026-10-21T11:19:00Z", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29Z", "became_ready_at": "2026-10-21T11:19:00Z", "failure_reason": null, "progress_steps": [ { "key": "creating_gateway", "label": "Creating load balancer", "status": "done", "message": null, "started_at": "2026-10-21T11:17:30Z", "completed_at": "2026-10-21T11:18:20Z", "duration_seconds": 50 } ] } ], "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "TIR – Plans & Pricing" method: GET path: "/gpu/plans-and-pricing/list/" url: "/api/tir/operations/get-gpu-plans-and-pricing-list/" --- # TIR – Plans & Pricing `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu/plans-and-pricing/list/` Returns plans and pricing for TIR services. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `service` | one of `notebook`, `rag`, `dataset`, `inference_service`, `pipeline`, `model_playground`, `vector_db`, `private_cloud`, `distributed_job`, `pfs`, `reserve_ip`, `ai_labs`, `container_registry` | yes | | | `location` | one of `Delhi`, `Chennai` | yes | | | `currency` | one of `INR`, `USD` | yes | | ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu/plans-and-pricing/list/?apikey=&service=&location=¤cy=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Supported Images List" method: GET path: "/gpu_service/image/" url: "/api/tir/operations/get-gpu-service-image/" --- # Supported Images List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu_service/image/` Returns all available notebook images and their versions. Use the `image_version_id` from the response when calling the SKU List API for notebooks. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `category` | one of `notebook` | yes | category | | `is_advanced_search` | boolean | no | Specifies if advanced filters should be applied. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 A list of available images with their details and versions | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].image_id` | integer | no | | | `data[].name` | string | no | | | `data[].slug_name` | string | no | | | `data[].versions` | array of object | no | | | `data[].versions[].image_version_id` | integer | no | | | `data[].versions[].version` | string | no | | | `data[].versions[].cpu_image_url` | string | no | | | `data[].versions[].gpu_image_url` | string | no | | | `data[].versions[].description` | string | no | | | `data[].icon_url` | string | no | | | `data[].description` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "image_id": 9, "name": "Transformers", "slug_name": "nvidia-pytorch-transformers", "versions": [ { "image_version_id": 56, "version": "v4.45.2", "cpu_image_url": "registry.e2enetworks.net/aimle2e/nvidia-pytorch-transformers:24.03-2.3.0-4.45.2", "gpu_image_url": "registry.e2enetworks.net/aimle2e/nvidia-pytorch-transformers:24.03-2.3.0-4.45.2", "description": "Transformers v4.45.2 with Python 3.10 and NVIDIA Cuda 12.4 pre-installed on Ubuntu 22.04" } ], "icon_url": "/notebook_images/hf-logo.png", "description": "Transformers v4.31.0 with Python 3.10 and NVIDIA Cuda 12.1 pre-installed on Ubuntu 22.04" } ] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu_service/image/?apikey=&category=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "SKU List" method: GET path: "/gpu_service/sku/" url: "/api/tir/operations/get-gpu-service-sku/" --- # SKU List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu_service/sku/` Returns available hardware plans (SKUs). Use `sku_item_price_id` from the response when creating an Instance or Virtual Machine. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `service` | one of `notebook`, `vector_db`, `pipeline`, `inference_service`, `private_cloud`, `dbaas` | yes | | | `image_version_id` | integer | no | Required for Notebook service. [**Find your Image Version ID here**](/api/tir/operations/get-gpu-service-image/) | | `framework` | one of `vllm`, `sglang`, `dynamo`, `pytorch`, `triton`, `custom`, `llma`, `codellama`, `mistral-7b-instruct`, `mixtral-8x7b-instruct`, `gemma-2b-it`, `llama-3-8b-instruct`, `Phi-3-mini-128k-instruct`, `llama-3_1-8b-instruct`, `llama-3_2-3b-instruct`, `llama-3_2-11b-vision-instruct`, `stable_diffusion`, `bge-large-en-v1_5`, `bge-reranker-large`, `stable_diffusion_xl`, `yolov8`, `nemo-rag`, `stable-video-diffusion-img2vid-xt`, `nemotron-3-8b-chat-4k-rlhf`, `nvidia-nv-embed-v1`, `tensorrt`, `riva`, `nemotron-3-nano-30b-a3b`, `nemotron-nano-12b-v2-vl`, `nemotron-speech-streaming-en-0.6b`, `qwen3-235b-a22b-instruct-2507-fp8` | no | Required for Inference | | `framework_version_id` | integer | no | Required for Inference service. [**Find your Framework Version ID here**](/api/tir/operations/get-framework-details/) | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with available plans | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.CPU` | array of object | no | | | `data.CPU[].sku_id` | integer | no | | | `data.CPU[].name` | string | no | | | `data.CPU[].series` | string | no | | | `data.CPU[].cpu` | string | no | | | `data.CPU[].gpu` | string | no | | | `data.CPU[].memory` | string | no | | | `data.CPU[].sku_type` | string | no | | | `data.CPU[].is_free` | boolean | no | | | `data.CPU[].is_active` | boolean | no | | | `data.CPU[].plans` | array of object | no | | | `data.CPU[].plans[].sku_item_price_id` | integer | no | | | `data.CPU[].plans[].sku_type` | string | no | | | `data.CPU[].plans[].committed_days` | integer | no | | | `data.CPU[].plans[].unit_price` | number (float) | no | | | `data.CPU[].plans[].currency` | string | no | | | `data.CPU[].plans[].is_active` | boolean | no | | | `data.CPU[].plans[].description` | string | no | | | `data.CPU[].gpu_switch_type` | string | no | | | `data.CPU[].gpu_card_type` | string | no | | | `data.CPU[].local_storage_in_gb` | integer | no | | | `data.CPU[].available_inventory_count` | integer | no | | | `data.CPU[].is_inventory_available` | boolean | no | | | `data.GPU` | array of object | no | | | `data.GPU[].sku_id` | integer | no | | | `data.GPU[].name` | string | no | | | `data.GPU[].series` | string | no | | | `data.GPU[].cpu` | string | no | | | `data.GPU[].gpu` | string | no | | | `data.GPU[].memory` | string | no | | | `data.GPU[].sku_type` | string | no | | | `data.GPU[].is_free` | boolean | no | | | `data.GPU[].is_active` | boolean | no | | | `data.GPU[].plans` | array of object | no | | | `data.GPU[].plans[].sku_item_price_id` | integer | no | | | `data.GPU[].plans[].sku_type` | string | no | | | `data.GPU[].plans[].committed_days` | integer | no | | | `data.GPU[].plans[].unit_price` | number (float) | no | | | `data.GPU[].plans[].currency` | string | no | | | `data.GPU[].plans[].is_active` | boolean | no | | | `data.GPU[].plans[].description` | string | no | | | `data.GPU[].gpu_switch_type` | string | no | | | `data.GPU[].gpu_card_type` | string | no | | | `data.GPU[].local_storage_in_gb` | integer | no | | | `data.GPU[].available_inventory_count` | integer | no | | | `data.GPU[].is_inventory_available` | boolean | no | | | `data.SPOT_INSTANCE` | array of object | no | | | `data.SPOT_INSTANCE[].sku_id` | integer | no | | | `data.SPOT_INSTANCE[].name` | string | no | | | `data.SPOT_INSTANCE[].series` | string | no | | | `data.SPOT_INSTANCE[].cpu` | string | no | | | `data.SPOT_INSTANCE[].gpu` | string | no | | | `data.SPOT_INSTANCE[].memory` | string | no | | | `data.SPOT_INSTANCE[].sku_type` | string | no | | | `data.SPOT_INSTANCE[].is_free` | boolean | no | | | `data.SPOT_INSTANCE[].is_active` | boolean | no | | | `data.SPOT_INSTANCE[].plans` | array of object | no | | | `data.SPOT_INSTANCE[].plans[].sku_item_price_id` | integer | no | | | `data.SPOT_INSTANCE[].plans[].sku_type` | string | no | | | `data.SPOT_INSTANCE[].plans[].committed_days` | integer | no | | | `data.SPOT_INSTANCE[].plans[].unit_price` | number (float) | no | | | `data.SPOT_INSTANCE[].plans[].currency` | string | no | | | `data.SPOT_INSTANCE[].plans[].is_active` | boolean | no | | | `data.SPOT_INSTANCE[].plans[].description` | string | no | | | `data.SPOT_INSTANCE[].gpu_switch_type` | string | no | | | `data.SPOT_INSTANCE[].gpu_card_type` | string | no | | | `data.SPOT_INSTANCE[].local_storage_in_gb` | integer | no | | | `data.SPOT_INSTANCE[].available_inventory_count` | integer | no | | | `data.SPOT_INSTANCE[].is_inventory_available` | boolean | no | | Example 200 response: ```json { "code": 200, "data": { "CPU": [ { "sku_id": 35, "name": "C3.8GB_Free", "series": "CPU", "cpu": "4", "gpu": null, "memory": "8GB", "sku_type": "C3-250GB", "is_free": true, "is_active": true, "plans": [ { "sku_item_price_id": 86, "sku_type": "hourly", "committed_days": 0, "unit_price": 0, "currency": "INR", "is_active": true, "description": "Free-Tier Plan" } ], "gpu_switch_type": null, "gpu_card_type": null, "local_storage_in_gb": 0, "available_inventory_count": 102, "is_inventory_available": true } ], "GPU": [ { "sku_id": 76, "name": "GDC.A100-16.115GB_Free", "series": "GPU", "cpu": "16", "gpu": "1", "memory": "115GB", "sku_type": "GDC.A10040", "is_free": true, "is_active": true, "plans": [ { "sku_item_price_id": 193, "sku_type": "hourly", "committed_days": 0, "unit_price": 0, "currency": "INR", "is_active": true, "description": "Free-Tier Plan" } ], "gpu_switch_type": null, "gpu_card_type": "A100", "local_storage_in_gb": 0, "available_inventory_count": 0, "is_inventory_available": false } ], "SPOT_INSTANCE": [ { "sku_id": 180, "name": "Spot_GDC.1xH10080-26.250GB_SXM", "series": "SPOT_INSTANCE", "cpu": "26", "gpu": "1", "memory": "250GB", "sku_type": "SPOT-GDC-4xH10080", "is_free": false, "is_active": true, "plans": [ { "sku_item_price_id": 987, "sku_type": "hourly", "committed_days": 0, "unit_price": 175, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance notebook" } ], "gpu_switch_type": null, "gpu_card_type": "H100", "local_storage_in_gb": 0, "available_inventory_count": 4, "is_inventory_available": true } ] } } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gpu_service/sku/?apikey=&service=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Attached Security Groups" method: GET path: "/serving/inference/{inference_id}/security-groups/" url: "/api/tir/operations/get-inference-security-groups/" --- # Get Attached Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/security-groups/` Returns all security groups currently attached to the model endpoint. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 List of security groups attached to the model endpoint. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | Array of attached security group objects. Empty if none attached. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ {} ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Integration Details" method: GET path: "/integrations/{Integration_id}/" url: "/api/tir/operations/get-integrations-integration-id/" --- # Get Integration Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/{Integration_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Integration_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 201 Successfully retrieved a new integration | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.integration_type` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.project_id` | integer | no | | | `data.integration_details` | object | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 421, "name": "fakeff", "integration_type": "hugging_face", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T07:20:43.119393Z", "updated_at": "2024-11-14T07:20:43.119459Z", "project_id": 124, "integration_details": {} }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Integrations" method: GET path: "/integrations/" url: "/api/tir/operations/get-integrations/" --- # List Integrations `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved specific Integration details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].integration_type` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].project_id` | integer | no | | | `data[].integration_details` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 394, "name": "hf-integration-101616132121", "integration_type": "hugging_face", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-10-16T10:43:48.686144Z", "updated_at": "2024-10-16T10:43:48.686190Z", "project_id": 124, "integration_details": {} } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Cluster Health" method: GET path: "/tenant_clusters/{tenant_cluster_id}/monitoring/health/" url: "/api/tir/operations/get-kubernetes-cluster-health/" --- # Get Cluster Health `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/monitoring/health/` Returns the cluster's health summary on its own, without the node rows: node counts by state and role, the resources measured, and figures for the whole cluster. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `interval` | one of `5m`, `15m`, `1h`, `6h`, `1d`, `7d`, `1mn` | no | The time range the metrics cover. `1mn` is 30 days. | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The health summary. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.cluster_health` | object | no | | | `data.cluster_health.cluster_id` | integer | no | | | `data.cluster_health.cluster_name` | string | no | | | `data.cluster_health.status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `data.cluster_health.region` | string | no | | | `data.cluster_health.api_server_endpoint` | string | no | | | `data.cluster_health.total_nodes` | integer | no | | | `data.cluster_health.ready_nodes` | integer | no | | | `data.cluster_health.nodes_state_count` | object | no | | | `data.cluster_health.nodes_role_count` | object | no | | | `data.cluster_health.provisioned_cpu` | number | no | | | `data.cluster_health.total_memory` | number | no | | | `data.cluster_health.total_disk` | number | no | | | `data.cluster_health.metrics` | object | no | Cluster totals for each node measure except load and uptime: percentages are averaged, weighted by each node's size; network traffic is added up. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "cluster_health": { "cluster_id": 103, "cluster_name": "tir-k8s-prod", "status": "ready", "region": "Delhi", "api_server_endpoint": "https://203.0.113.20:6443", "total_nodes": 5, "ready_nodes": 5, "nodes_state_count": { "ready": 5 }, "nodes_role_count": { "master": 3, "worker": 2 }, "provisioned_cpu": 20, "total_memory": 38, "total_disk": 245.5, "metrics": {} } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//monitoring/health/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Cluster Monitoring" method: GET path: "/tenant_clusters/{tenant_cluster_id}/monitoring/" url: "/api/tir/operations/get-kubernetes-cluster-monitoring/" --- # Get Cluster Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/monitoring/` Returns the cluster's health summary and one row for each node, with its CPU, memory, disk, network, load, and uptime over the time range. Send `page_no` and `per_page` together to page the node rows; the summary always covers every node. This covers the nodes only, not what runs inside the cluster. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `interval` | one of `5m`, `15m`, `1h`, `6h`, `1d`, `7d`, `1mn` | no | The time range the metrics cover. `1mn` is 30 days. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The health summary and node rows. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.cluster_health` | object | no | | | `data.cluster_health.cluster_id` | integer | no | | | `data.cluster_health.cluster_name` | string | no | | | `data.cluster_health.status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `data.cluster_health.region` | string | no | | | `data.cluster_health.api_server_endpoint` | string | no | | | `data.cluster_health.total_nodes` | integer | no | | | `data.cluster_health.ready_nodes` | integer | no | | | `data.cluster_health.nodes_state_count` | object | no | | | `data.cluster_health.nodes_role_count` | object | no | | | `data.cluster_health.provisioned_cpu` | number | no | | | `data.cluster_health.total_memory` | number | no | | | `data.cluster_health.total_disk` | number | no | | | `data.cluster_health.metrics` | object | no | Cluster totals for each node measure except load and uptime: percentages are averaged, weighted by each node's size; network traffic is added up. | | `data.nodes` | array of object | no | | | `data.nodes[].hostname` | string | no | | | `data.nodes[].role` | string | no | | | `data.nodes[].state` | string | no | | | `data.nodes[].pool_name` | string | no | | | `data.nodes[].sku_name` | string | no | | | `data.nodes[].cpu` | object | no | Cores. | | `data.nodes[].cpu.provisioned` | number | no | | | `data.nodes[].cpu.used` | number | no | | | `data.nodes[].memory` | object | no | | | `data.nodes[].memory.provisioned` | number | no | | | `data.nodes[].memory.used` | number | no | | | `data.nodes[].ephemeral_storage` | object | no | | | `data.nodes[].ephemeral_storage.provisioned` | number | no | | | `data.nodes[].ephemeral_storage.used` | number | no | | | `data.nodes[].cpu_utilization` | number | no | Percent. | | `data.nodes[].memory_utilization` | number | no | Percent. | | `data.nodes[].disk_utilization` | number | no | Percent. | | `data.nodes[].load_average` | number | no | | | `data.nodes[].network_rx_bytes` | number | no | | | `data.nodes[].network_tx_bytes` | number | no | | | `data.nodes[].uptime` | string | no | | | `data.nodes[].uptime_seconds` | number | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | Only when `page_no` and `per_page` are sent. | | `total_count` | integer | no | Only when `page_no` and `per_page` are sent. | Example 200 response: ```json { "code": 200, "data": { "cluster_health": { "cluster_id": 103, "cluster_name": "tir-k8s-prod", "status": "ready", "region": "Delhi", "api_server_endpoint": "https://203.0.113.20:6443", "total_nodes": 5, "ready_nodes": 5, "nodes_state_count": { "ready": 5 }, "nodes_role_count": { "master": 3, "worker": 2 }, "provisioned_cpu": 20, "total_memory": 38, "total_disk": 245.5, "metrics": {} }, "nodes": [ { "hostname": "tir-k8s-prod-app-workers-7d9f8-abcde", "role": "worker", "state": "ready", "pool_name": "app-workers", "sku_name": "C3.8GB", "cpu": { "provisioned": 4, "used": 1.2 }, "memory": { "provisioned": 7.6, "used": 3.1 }, "ephemeral_storage": { "provisioned": 49.1, "used": 12.4 }, "cpu_utilization": 30.5, "memory_utilization": 40.8, "disk_utilization": 25.3, "load_average": 0.85, "network_rx_bytes": 1048576, "network_tx_bytes": 524288, "uptime": "2 days, 3 hours, 10 minutes", "uptime_seconds": 184200 } ] }, "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 5 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//monitoring/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Kubernetes Cluster" method: GET path: "/tenant_clusters/{tenant_cluster_id}/" url: "/api/tir/operations/get-kubernetes-cluster/" --- # Get Kubernetes Cluster `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/` Returns one cluster: its status, Kubernetes version, API server address, VPC, node pools, and nodes. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The cluster's details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.project_id` | integer | no | | | `data.region` | string | no | | | `data.status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `data.api_server_endpoint` | string | no | The cluster's API server address, on port 6443. | | `data.tenant_k8s_version_id` | integer | no | | | `data.tenant_k8s_version` | string | no | | | `data.control_plane_replicas` | integer | no | | | `data.worker_replicas` | integer | no | The node count across all worker pools. | | `data.ready_workers` | integer | no | | | `data.node_pools` | array of object | no | | | `data.node_pools[].id` | integer | no | | | `data.node_pools[].tenant_cluster_id` | integer | no | | | `data.node_pools[].name` | string | no | | | `data.node_pools[].role` | one of `control_plane`, `worker` | no | | | `data.node_pools[].status` | one of `queued`, `joining`, `ready`, `resizing`, `scaling`, `failed`, `deleting` | no | `resizing` while the pool moves to a new fixed size, `scaling` while its autoscaler changes the node count. | | `data.node_pools[].replicas` | integer | no | The node count the pool is set to. | | `data.node_pools[].ready_replicas` | integer | no | The pool's nodes that are up and ready. | | `data.node_pools[].labels` | array of object | no | | | `data.node_pools[].labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.node_pools[].labels[].value` | string | yes | Required. The same characters as the key. | | `data.node_pools[].taints` | array of object | no | | | `data.node_pools[].taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data.node_pools[].taints[].value` | string | no | May be empty. | | `data.node_pools[].taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | | `data.node_pools[].sku_details` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.node_pools[].sku_details.specs` | object | no | | | `data.node_pools[].sku_details.specs.sku_id` | integer | no | | | `data.node_pools[].sku_details.specs.name` | string | no | | | `data.node_pools[].sku_details.specs.series` | string | no | | | `data.node_pools[].sku_details.specs.cpu` | integer | no | | | `data.node_pools[].sku_details.specs.memory` | integer | no | | | `data.node_pools[].sku_details.plan` | object | no | | | `data.node_pools[].sku_details.plan.sku_item_price_id` | integer | no | | | `data.node_pools[].sku_details.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.node_pools[].sku_details.plan.committed_days` | integer | no | | | `data.node_pools[].sku_details.plan.unit_price` | number | no | | | `data.node_pools[].sku_details.plan.currency` | string | no | | | `data.node_pools[].committed_info` | object | no | Set only for a pool on a committed plan. | | `data.node_pools[].committed_info.updation_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | | | `data.node_pools[].committed_info.next_sku_item_price` | object | no | The computing resource and pricing plan a node pool runs on. | | `data.node_pools[].committed_info.next_sku_item_price.specs` | object | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.sku_id` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.name` | string | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.series` | string | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.cpu` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.specs.memory` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan` | object | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.sku_item_price_id` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.sku_type` | string | no | `hourly` or `committed`. | | `data.node_pools[].committed_info.next_sku_item_price.plan.committed_days` | integer | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.unit_price` | number | no | | | `data.node_pools[].committed_info.next_sku_item_price.plan.currency` | string | no | | | `data.node_pools[].committed_info.end_date` | string (date-time) | no | | | `data.node_pools[].autoscaling` | object | no | The pool's size bounds. A `min_replicas` lower than `max_replicas` means the pool is autoscaled; equal values are a fixed size. | | `data.node_pools[].autoscaling.min_replicas` | integer | no | | | `data.node_pools[].autoscaling.max_replicas` | integer | no | | | `data.node_pools[].created_at` | string (date-time) | no | | | `data.node_pools[].updated_at` | string (date-time) | no | | | `data.nodes` | array of object | no | | | `data.nodes[].id` | integer | no | | | `data.nodes[].node_pool_id` | integer | no | | | `data.nodes[].role` | one of `master`, `worker` | no | | | `data.nodes[].hostname` | string | no | | | `data.nodes[].ip` | string | no | | | `data.nodes[].state` | string | no | | | `data.nodes[].k8s_ready` | boolean | no | | | `data.vpc` | object | no | The VPC and subnet the cluster's nodes take their addresses from. | | `data.vpc.vpc_id` | integer | no | | | `data.vpc.name` | string | no | | | `data.vpc.cidr` | string | no | | | `data.vpc.subnet` | object | no | | | `data.vpc.subnet.subnet_id` | integer | no | | | `data.vpc.subnet.name` | string | no | | | `data.vpc.subnet.cidr` | string | no | | | `data.vpc.subnet.gateway_ip` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 103, "name": "tir-k8s-prod", "description": "Production cluster", "project_id": 18773, "region": "Delhi", "status": "ready", "api_server_endpoint": "https://203.0.113.20:6443", "tenant_k8s_version_id": 1, "tenant_k8s_version": "v1.31.4", "control_plane_replicas": 3, "worker_replicas": 2, "ready_workers": 2, "node_pools": [ { "id": 22, "tenant_cluster_id": 103, "name": "app-workers", "role": "worker", "status": "ready", "replicas": 2, "ready_replicas": 2, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ], "sku_details": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "committed_info": { "updation_policy": "auto_renew", "next_sku_item_price": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "end_date": "2026-11-20T10:15:00Z" }, "autoscaling": { "min_replicas": 2, "max_replicas": 2 }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" } ], "nodes": [ { "id": 4567, "node_pool_id": 22, "role": "worker", "hostname": "tir-k8s-prod-app-workers-7d9f8-abcde", "ip": "10.10.0.21", "state": "ready", "k8s_ready": true } ], "vpc": { "vpc_id": 55, "name": "prod-vpc", "cidr": "10.10.0.0/16", "subnet": { "subnet_id": 77, "name": "prod-subnet", "cidr": "10.10.0.0/24", "gateway_ip": "10.10.0.1" } }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Kubeconfig" method: GET path: "/tenant_clusters/{tenant_cluster_id}/kubeconfig/" url: "/api/tir/operations/get-kubernetes-kubeconfig/" --- # Get Kubeconfig `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/kubeconfig/` Returns the cluster's kubeconfig as YAML text in `data.kubeconfig`. It is available while the cluster is `worker_joined` or `ready`; in any other status the call returns 412. The kubeconfig gives full administrative access to the cluster and cannot be rotated or revoked; keep it as you would a private key. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The cluster's kubeconfig. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.tenant_cluster_id` | integer | no | | | `data.kubeconfig` | string | no | The kubeconfig file's contents. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "tenant_cluster_id": 103, "kubeconfig": "" }, "errors": {}, "message": "Tenant cluster kubeconfig fetched successfully" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//kubeconfig/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Node Monitoring" method: GET path: "/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/" url: "/api/tir/operations/get-kubernetes-node-monitoring/" --- # Get Node Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/nodes/{node_name}/monitoring/` Returns one node's row, as in **Get Cluster Monitoring**, and a time series for each measure over the time range, for charting. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | | `node_name` | string | yes | The node's hostname, as returned by **Get Cluster Monitoring**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `interval` | one of `5m`, `15m`, `1h`, `6h`, `1d`, `7d`, `1mn` | no | The time range the metrics cover. `1mn` is 30 days. | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The node's figures and time series. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.node` | object | no | One node's figures over the time range. Every measured value can be `null`, which means it was not reported, not that it was zero. | | `data.node.hostname` | string | no | | | `data.node.role` | string | no | | | `data.node.state` | string | no | | | `data.node.pool_name` | string | no | | | `data.node.sku_name` | string | no | | | `data.node.cpu` | object | no | Cores. | | `data.node.cpu.provisioned` | number | no | | | `data.node.cpu.used` | number | no | | | `data.node.memory` | object | no | | | `data.node.memory.provisioned` | number | no | | | `data.node.memory.used` | number | no | | | `data.node.ephemeral_storage` | object | no | | | `data.node.ephemeral_storage.provisioned` | number | no | | | `data.node.ephemeral_storage.used` | number | no | | | `data.node.cpu_utilization` | number | no | Percent. | | `data.node.memory_utilization` | number | no | Percent. | | `data.node.disk_utilization` | number | no | Percent. | | `data.node.load_average` | number | no | | | `data.node.network_rx_bytes` | number | no | | | `data.node.network_tx_bytes` | number | no | | | `data.node.uptime` | string | no | | | `data.node.uptime_seconds` | number | no | | | `data.graphs` | object | no | One entry for each measure, such as `cpu_utilization`, each with matching `time_series` and `value_series` lists. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "node": { "hostname": "tir-k8s-prod-app-workers-7d9f8-abcde", "role": "worker", "state": "ready", "pool_name": "app-workers", "sku_name": "C3.8GB", "cpu": { "provisioned": 4, "used": 1.2 }, "memory": { "provisioned": 7.6, "used": 3.1 }, "ephemeral_storage": { "provisioned": 49.1, "used": 12.4 }, "cpu_utilization": 30.5, "memory_utilization": 40.8, "disk_utilization": 25.3, "load_average": 0.85, "network_rx_bytes": 1048576, "network_tx_bytes": 524288, "uptime": "2 days, 3 hours, 10 minutes", "uptime_seconds": 184200 }, "graphs": { "cpu_utilization": { "time_series": [ "10:15:00", "10:15:15" ], "value_series": [ 30.5, 31.2 ] } } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//nodes//monitoring/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Node Pool Size" method: GET path: "/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/autoscaling/" url: "/api/tir/operations/get-kubernetes-node-pool-autoscaling/" --- # Get Node Pool Size `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/autoscaling/` Returns how a worker pool is sized: its minimum and maximum node counts, its CPU and memory targets, and its scaling speed. Equal minimum and maximum, with no triggers, is a fixed size. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | | `node_pool_id` | integer | yes | Worker node pool ID, from the cluster's `node_pools` list. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The pool's size settings. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.node_pool_id` | integer | no | | | `data.min_replicas` | integer | no | | | `data.max_replicas` | integer | no | | | `data.polling_interval_seconds` | integer | no | `null` means the default, 30 seconds. | | `data.scale_up_stabilization_window_seconds` | integer | no | `null` means the default, 0 seconds. | | `data.scale_down_stabilization_window_seconds` | integer | no | `null` means the default, 300 seconds. | | `data.triggers` | array of object | no | | | `data.triggers[].id` | integer | no | | | `data.triggers[].type` | one of `cpu`, `memory` | no | | | `data.triggers[].target_utilization_percent` | integer | no | | | `data.replicas` | integer | no | The node count the pool is set to now. | | `data.status` | string | no | The pool's status. | | `data.available_trigger_types` | array of string | no | The trigger types this pool can use. A type is left out when the pool cannot use it, for example where the region cannot read CPU and memory use. | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "node_pool_id": 22, "min_replicas": 2, "max_replicas": 6, "polling_interval_seconds": 30, "scale_up_stabilization_window_seconds": 0, "scale_down_stabilization_window_seconds": 300, "triggers": [ { "id": 9, "type": "cpu", "target_utilization_percent": 70 } ], "replicas": 3, "status": "ready", "available_trigger_types": [ "cpu", "memory" ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//node-pools//autoscaling/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get evaluation frameworks" method: GET path: "/model_evaluation/evaluation_frameworks" url: "/api/tir/operations/get-model-evaluation-evaluation-frameworks/" --- # Get evaluation frameworks `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/evaluation_frameworks` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with evaluation frameworks | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].display_name` | string | no | | | `data[].description` | string | no | | | `data[].metrics` | array of object | no | | | `data[].metrics[].name` | string | no | | | `data[].metrics[].description` | string | no | | | `data[].metrics[].display_name` | string | no | | | `data[].is_internal` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 0, "data": [ { "id": 0, "name": "string", "display_name": "string", "description": "string", "metrics": [ { "name": "string", "description": "string", "display_name": "string" } ], "is_internal": false } ], "errors": {}, "message": "string" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/evaluation_frameworks?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Retrieve model evaluation result" method: GET path: "/model_evaluation/{evaluation_id}/metric_results/" url: "/api/tir/operations/get-model-evaluation-evaluation-id-metric-results/" --- # Retrieve model evaluation result `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/{evaluation_id}/metric_results/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `evaluation_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with evaluation metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.completeness` | object | no | | | `data.completeness.mean` | number (float) | no | | | `data.completeness.median` | number (float) | no | | | `data.completeness.std_dev` | number (float) | no | | | `data.completeness.min` | integer | no | | | `data.completeness.max` | integer | no | | | `data.completeness.count` | integer | no | | | `data.completeness.invalid_count` | integer | no | | | `data.correctness` | object | no | | | `data.correctness.mean` | number (float) | no | | | `data.correctness.median` | number (float) | no | | | `data.correctness.std_dev` | number (float) | no | | | `data.correctness.min` | integer | no | | | `data.correctness.max` | integer | no | | | `data.correctness.count` | integer | no | | | `data.correctness.invalid_count` | integer | no | | | `data.precision` | object | no | | | `data.precision.mean` | number (float) | no | | | `data.precision.median` | number (float) | no | | | `data.precision.std_dev` | number (float) | no | | | `data.precision.min` | integer | no | | | `data.precision.max` | integer | no | | | `data.precision.count` | integer | no | | | `data.precision.invalid_count` | integer | no | | | `data.toxicity` | object | no | | | `data.toxicity.mean` | number (float) | no | | | `data.toxicity.median` | number (float) | no | | | `data.toxicity.std_dev` | number (float) | no | | | `data.toxicity.min` | integer | no | | | `data.toxicity.max` | integer | no | | | `data.toxicity.count` | integer | no | | | `data.toxicity.invalid_count` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "completeness": { "mean": 3.7737, "median": 5, "std_dev": 1.4954, "min": 0, "max": 5, "count": 327, "invalid_count": 0 }, "correctness": { "mean": 3.7737, "median": 5, "std_dev": 1.4954, "min": 0, "max": 5, "count": 327, "invalid_count": 0 }, "precision": { "mean": 3.7737, "median": 5, "std_dev": 1.4954, "min": 0, "max": 5, "count": 327, "invalid_count": 0 }, "toxicity": { "mean": 3.7737, "median": 5, "std_dev": 1.4954, "min": 0, "max": 5, "count": 327, "invalid_count": 0 } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation//metric_results/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get available GenAI evaluation models" method: GET path: "/model_evaluation/genai_evaluation_models/" url: "/api/tir/operations/get-model-evaluation-genai-evaluation-models/" --- # Get available GenAI evaluation models `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/genai_evaluation_models/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].model` | object | no | | | `data[].model.id` | integer | no | | | `data[].model.name` | string | no | | | `data[].model.display_name` | string | no | | | `data[].model.category` | string | no | | | `data[].model.description` | string | no | | | `data[].model.is_active` | boolean | no | | | `data[].model.url_info` | string | no | | | `data[].model.icon` | string | no | | | `data[].model.total_runs_count` | integer | no | | | `data[].model.is_internal` | boolean | no | | | `data[].model.is_inventory_available` | boolean | no | | | `data[].pricing` | object | no | | | `data[].pricing.currency` | string | no | | | `data[].pricing.cost_per_n_input_tokens` | number | no | | | `data[].pricing.cost_per_n_output_tokens` | number | no | | | `data[].pricing.n_value` | integer | no | | | `data[].is_model_available_for_evaluation` | boolean | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1, "model": { "id": 25, "name": "llama3_2_3b_instruct", "display_name": "Llama 3.2 3B Instruct", "category": "txt2txt", "description": "This low-latency model is perfect for text summarization, classification, and language translation, ideal for mobile writing assistants and customer service apps.", "is_active": true, "url_info": "{}", "icon": "/framework/Llama-3.2-3B-Instruct.png", "total_runs_count": 0, "is_internal": false, "is_inventory_available": true }, "pricing": { "currency": "INR", "cost_per_n_input_tokens": 54.6, "cost_per_n_output_tokens": 231, "n_value": 1000000 }, "is_model_available_for_evaluation": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/genai_evaluation_models/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Model Evaluation Jobs" method: GET path: "/model_evaluation/" url: "/api/tir/operations/get-model-evaluation/" --- # List Model Evaluation Jobs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `per_page` | integer | no | Number of results per page | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | ## Responses ### 200 Successful Response | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].project_id` | integer | no | | | `data[].input_dataset` | string | no | | | `data[].input_dataset_config` | object | no | | | `data[].input_dataset_config.dataset_path` | string | no | | | `data[].input_dataset_config.hf_dataset_name` | string | no | | | `data[].input_dataset_config.custom_hf_dataset_name` | string | no | | | `data[].input_dataset_config.dataset_split` | string | no | | | `data[].input_dataset_config.input_column` | string | no | | | `data[].input_dataset_config.output_column` | string | no | | | `data[].input_dataset_config.reference_answer_column` | string | no | | | `data[].input_dataset_config.num_rows_limit` | integer | no | | | `data[].input_dataset_config.dataset_type` | string | no | | | `data[].output_dataset` | object | no | | | `data[].output_dataset.id` | integer | no | | | `data[].output_dataset.name` | string | no | | | `data[].output_dataset.project_id` | integer | no | | | `data[].output_dataset.storage_type` | string | no | | | `data[].output_dataset.status` | string | no | | | `data[].output_dataset.created_at` | string (date-time) | no | | | `data[].output_dataset.updated_at` | string (date-time) | no | | | `data[].framework` | object | no | | | `data[].framework.id` | integer | no | | | `data[].framework.name` | string | no | | | `data[].framework.display_name` | string | no | | | `data[].framework.description` | string | no | | | `data[].framework.metrics` | array of object | no | | | `data[].framework.metrics[].name` | string | no | | | `data[].framework.metrics[].description` | string | no | | | `data[].framework.metrics[].display_name` | string | no | | | `data[].evaluator_llm_name` | string | no | | | `data[].evaluation_config` | object | no | | | `data[].evaluation_config.temperature` | number | no | | | `data[].evaluation_config.max_tokens` | integer | no | | | `data[].evaluation_config.top_p` | number | no | | | `data[].status` | string | no | | | `data[].run` | object | no | | | `data[].run.id` | integer | no | | | `data[].run.name` | string | no | | | `data[].run.run_id` | string | no | | | `data[].run.state` | string | no | | | `data[].run.progress` | string | no | | | `data[].run.finished_at` | string (date-time) | no | | | `data[].run.created_at` | string (date-time) | no | | | `data[].run.source` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | Example 200 response: ```json { "code": 0, "message": "string", "total_page_number": 0, "total_count": 0, "data": [ { "id": 0, "name": "string", "project_id": 0, "input_dataset": "string", "input_dataset_config": { "dataset_path": "string", "hf_dataset_name": "string", "custom_hf_dataset_name": "string", "dataset_split": "string", "input_column": "string", "output_column": "string", "reference_answer_column": "string", "num_rows_limit": 0, "dataset_type": "string" }, "output_dataset": { "id": 0, "name": "string", "project_id": 0, "storage_type": "string", "status": "string", "created_at": "string", "updated_at": "string" }, "framework": { "id": 0, "name": "string", "display_name": "string", "description": "string", "metrics": [ { "name": "string", "description": "string", "display_name": "string" } ] }, "evaluator_llm_name": "string", "evaluation_config": { "temperature": 0, "max_tokens": 0, "top_p": 0 }, "status": "string", "run": { "id": 0, "name": "string", "run_id": "string", "state": "string", "progress": "string", "finished_at": "string", "created_at": "string", "source": "string" }, "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string" } ] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Model List" method: GET path: "/model_playground/" url: "/api/tir/operations/get-model-playground/" --- # Model List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/model_playground/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response with a list of AI models. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code. | | `data` | array of object | no | | | `data[].id` | integer | no | Unique ID of the model. | | `data[].name` | string | no | Name of the model. | | `data[].display_name` | string | no | Display name of the model. | | `data[].category` | string | no | Category of the model (e.g., txt2txt, txt2img). | | `data[].description` | string | no | Description of the model's capabilities and use cases. | | `data[].is_active` | boolean | no | Indicates whether the model is active. | | `data[].icon` | string | no | URL or path to the model's icon image. | | `data[].total_runs_count` | integer | no | Total number of times the model has been run. | | `data[].is_internal` | boolean | no | Indicates if the model is internal. | | `data[].is_inventory_available` | boolean | no | Indicates if the model is available in inventory. | | `errors` | object | no | Errors encountered, if any. | | `message` | string | no | A message indicating the status of the operation. | Example 200 response: ```json { "code": 200, "data": [ { "id": 26, "name": "llama_3_2_11b_vision_instruct", "display_name": "Llama 3.2 11B Vision Instruct", "category": "multimodal", "description": "Llama 3.2 Vision Instruct is designed for commercial and research use...", "is_active": true, "icon": "/framework/llama3_vision.jpg", "total_runs_count": 2342, "is_internal": false, "is_inventory_available": true } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_playground/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Activity" method: GET path: "/notebooks/autoscale-groups/{group_id}/activity/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-activity/" --- # List Auto Scaling Group Activity `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/activity/` Returns the scale events and the logs of an Auto Scaling Group as one list, newest first. Send `page` or `page_size` to get it in pages; without them every entry comes back. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page` | integer | no | Page number, starting at 1. Send `page`, `page_size` or both to get the list in pages; send neither to get every entry as a plain array. | | `page_size` | integer | no | Entries per page. At most 200; a larger number is treated as 200. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | Entries, newest first. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": null, "errors": {} } ``` ### 400 `page` or `page_size` is not a whole number. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "page and page_size must be integers." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//activity/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Auto Scaling Group Metrics" method: GET path: "/notebooks/autoscale-groups/{group_id}/group-metrics/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-group-metrics/" --- # Get Auto Scaling Group Metrics `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/group-metrics/` Returns CPU use, memory use, network traffic and the number of VMs of an Auto Scaling Group over time, averaged across its VMs, with the average, peak and 95th percentile of each over the range and the latest reading. If a chart's data cannot be read, that chart is empty. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `range` | one of `1h`, `6h`, `24h`, `7d`, `30d` | no | How far back to look. Each range has its own spacing between points: 1h, 60 seconds; 6h, 5 minutes; 24h, 15 minutes; 7d, 1 hour; 30d, 4 hours. A value not in this list gives the `1h` window, and `range` in the response still repeats what you sent. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The metrics | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.range` | string | no | Repeats the `range` you sent. | | `data.generated_at` | string | no | | | `data.cpu_utilization` | array of array of number | no | Average CPU use of the group's VMs in percent. | | `data.memory` | array of array of number | no | Average memory use of the group's VMs, in the unit named by `memory_unit`. | | `data.memory_unit` | string | no | | | `data.network` | array of array of number | no | Average network traffic per VM in bytes per second, received plus sent. | | `data.instance_count` | array of array of number | no | Number of VMs over time, as whole numbers. | | `data.window_avg_peak` | object | no | Average, peak and 95th percentile of each series over the range. A value is `null` when it could not be worked out. | | `data.window_avg_peak.cpu_utilization` | object | no | | | `data.window_avg_peak.cpu_utilization.avg` | number | no | | | `data.window_avg_peak.cpu_utilization.peak` | number | no | | | `data.window_avg_peak.cpu_utilization.p95` | number | no | | | `data.window_avg_peak.memory` | object | no | | | `data.window_avg_peak.memory.avg` | number | no | | | `data.window_avg_peak.memory.peak` | number | no | | | `data.window_avg_peak.memory.p95` | number | no | | | `data.window_avg_peak.network` | object | no | | | `data.window_avg_peak.network.avg` | number | no | | | `data.window_avg_peak.network.peak` | number | no | | | `data.window_avg_peak.network.p95` | number | no | | | `data.window_avg_peak.instance_count` | object | no | | | `data.window_avg_peak.instance_count.peak` | number | no | | | `data.current_cpu_percent` | number | no | The latest CPU reading. `null` when there is none. | | `data.current_memory_percent` | number | no | The latest memory reading. `null` when there is none. | | `data.current_network_bytes_per_sec` | integer | no | The latest network reading. `null` when there is none. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "range": "1h", "generated_at": "2026-10-21T11:17:42+00:00", "cpu_utilization": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "memory": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "memory_unit": "percent", "network": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "instance_count": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "window_avg_peak": { "cpu_utilization": { "avg": 28.4, "peak": 71.9, "p95": 66.2 }, "memory": { "avg": 40.1, "peak": 52.3, "p95": 49.8 }, "network": { "avg": 90210.5, "peak": 410000.2, "p95": 350100.7 }, "instance_count": { "peak": 4 } }, "current_cpu_percent": 31.2, "current_memory_percent": 44, "current_network_bytes_per_sec": 120345 }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The metrics could not be read. `data` is "Failed to fetch group metrics from the cluster: ". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to fetch group metrics from the cluster: ", "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//group-metrics/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Logs" method: GET path: "/notebooks/autoscale-groups/{group_id}/logs/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-logs/" --- # List Auto Scaling Group Logs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/logs/` Returns what was done to an Auto Scaling Group, newest first: create, edit, resize, start, stop, relaunch, delete, SSH key changes, VMs replaced after failing health checks, VMs that failed to launch, failed actions and schedule runs that were skipped. Send `page` or `page_size` to get the list in pages; without them every entry comes back. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page` | integer | no | Page number, starting at 1. Send `page`, `page_size` or both to get the list in pages; send neither to get every entry as a plain array. | | `page_size` | integer | no | Entries per page. At most 200; a larger number is treated as 200. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | Entries, newest first. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": null, "errors": {} } ``` ### 400 `page` or `page_size` is not a whole number. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "page and page_size must be integers." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//logs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Auto Scaling Group VM Count" method: GET path: "/notebooks/autoscale-groups/{group_id}/metrics/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-metrics/" --- # Get Auto Scaling Group VM Count `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/metrics/` Returns how many of the VMs of an Auto Scaling Group are ready and how many there are. It has no time series; for charts use the monitoring and group-metrics operations. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The counts | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.ready_replicas` | integer | no | VMs that are ready. | | `data.total_replicas` | integer | no | VMs in the group. | | `data.time_series` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "ready_replicas": 2, "total_replicas": 3, "time_series": null }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//metrics/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Auto Scaling Group VM Monitoring" method: GET path: "/notebooks/autoscale-groups/{group_id}/monitoring/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-monitoring/" --- # Get Auto Scaling Group VM Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/monitoring/` Returns the VMs of an Auto Scaling Group and the charts of one of them: CPU use, CPU load, memory, storage, disk reads and writes, and network traffic. It charts the VM named in `node`, or the first VM when `node` is left out. If a chart's data cannot be read, that chart is empty. `metrics_pending` is set only when the whole chart read failed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `range` | one of `1h`, `6h`, `24h`, `7d`, `30d` | no | How far back to look. Each range has its own spacing between points: 1h, 60 seconds; 6h, 5 minutes; 24h, 15 minutes; 7d, 1 hour; 30d, 4 hours. A value not in this list gives the `1h` window, and `range` in the response still repeats what you sent. | | `node` | string | no | Name of the VM to chart, as in `nodes[].name`. Default: the first VM. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The VMs and the charts of one VM | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.nodes` | array of object | no | The group's VMs. | | `data.nodes[].name` | string | no | | | `data.nodes[].public_ip` | string | no | | | `data.nodes[].private_ip` | string | no | | | `data.nodes[].status` | string | no | `Running` when the VM is ready, otherwise its state with a capital letter. `Unknown` when the VM reports no state. | | `data.selected_node` | string | no | The VM the charts are for. `null` when the group has no VM. | | `data.range` | string | no | Repeats the `range` you sent. | | `data.step_seconds` | integer | no | Seconds between points. `null` when there are no charts. | | `data.memory_unit` | string | no | The unit of `memory`. Left out when there are no charts. | | `data.generated_at` | string | no | Left out when there are no charts. | | `data.cpu_utilization` | array of array of number | no | CPU use of the VM in percent. | | `data.cpu_load` | array of array of number | no | Load average of the VM over one minute. Empty when the VM does not report it. | | `data.memory` | array of array of number | no | Memory use of the VM, in the unit named by `memory_unit`. | | `data.storage` | array of array of number | no | Disk use of the VM. | | `data.disk_read_iops` | array of array of number | no | Disk reads per second. | | `data.disk_write_iops` | array of array of number | no | Disk writes per second. | | `data.network_traffic` | array of array of number | no | Network traffic of the VM. | | `data.metrics_pending` | boolean | no | Present and `true` only when the whole chart read failed. Every chart is then empty. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "nodes": [ { "name": "ag-example-group-0", "public_ip": "203.0.113.25", "private_ip": "10.20.0.14", "status": "Running" } ], "selected_node": "ag-example-group-0", "range": "1h", "step_seconds": 60, "memory_unit": "percent", "generated_at": "2026-10-21T11:17:42+00:00", "cpu_utilization": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "cpu_load": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "memory": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "storage": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "disk_read_iops": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "disk_write_iops": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "network_traffic": [ [ 1761044262, 31.2 ], [ 1761044322, 33.8 ] ], "metrics_pending": true }, "errors": {} } ``` ### 400 `node` is not one of the group's VMs. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "'ag-example-group-9' is not a node in this autoscale group." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//monitoring/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group VMs" method: GET path: "/notebooks/autoscale-groups/{group_id}/nodes/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-nodes/" --- # List Auto Scaling Group VMs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/nodes/` Returns the VMs of an Auto Scaling Group with their state and latest CPU, memory and network readings. With `terminated` set, it returns the VMs the group has removed instead, most recently removed first. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `terminated` | one of `1`, `true`, `True` | no | `1`, `true` or `True` lists the VMs the group has removed. Anything else, or leaving it out, lists the VMs in the group now. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The VMs. The shape of each entry depends on `terminated`. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": null, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//nodes/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Scale Events" method: GET path: "/notebooks/autoscale-groups/{group_id}/scale-events/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-scale-events/" --- # List Auto Scaling Group Scale Events `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/scale-events/` Returns the changes in the number of VMs of an Auto Scaling Group, and changes to its minimum and maximum, newest first. Send `page` or `page_size` to get the list in pages; without them every event comes back. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page` | integer | no | Page number, starting at 1. Send `page`, `page_size` or both to get the list in pages; send neither to get every entry as a plain array. | | `page_size` | integer | no | Entries per page. At most 200; a larger number is treated as 200. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | Entries, newest first. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": null, "errors": {} } ``` ### 400 `page` or `page_size` is not a whole number. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "page and page_size must be integers." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//scale-events/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Schedules" method: GET path: "/notebooks/autoscale-groups/{group_id}/scheduled-policies/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-scheduled-policies/" --- # List Auto Scaling Group Schedules `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/scheduled-policies/` Returns the schedules of an Auto Scaling Group, newest first. A schedule changes the group's minimum and maximum number of VMs at the times you set. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The schedules | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].group_id` | integer | no | ID of the Auto Scaling Group. | | `data[].name` | string | no | The schedule's name. Empty when none was sent. | | `data[].cron_expression` | string | no | When the schedule runs, as a cron expression. | | `data[].timezone_name` | string | no | The time zone `cron_expression` is read in. | | `data[].target_min_replicas` | integer | no | Minimum number of VMs the schedule sets. | | `data[].target_max_replicas` | integer | no | Maximum number of VMs the schedule sets. | | `data[].enabled` | boolean | no | `false` when the schedule is paused and does not run. | | `data[].duration_seconds` | integer | no | How long, in seconds, the schedule holds its range before the group goes back to its own. `null` when the change is permanent. | | `data[].window_ends_at` | string | no | When the hold that is on now ends. `null` when the schedule is not holding. | | `data[].next_run_at` | string | no | When the schedule runs next. `null` when it is paused. | | `data[].last_run_at` | string | no | When the schedule last ran. `null` until it has. | | `data[].created_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 12, "group_id": 41, "name": "Morning", "cron_expression": "0 8 * * 1-5", "timezone_name": "Asia/Kolkata", "target_min_replicas": 3, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-22T08:00:00+05:30", "last_run_at": null, "created_at": "2026-10-21T10:02:11+00:00" } ], "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//scheduled-policies/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group Security Groups" method: GET path: "/notebooks/autoscale-groups/{group_id}/security-groups/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-security-groups/" --- # List Auto Scaling Group Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/security-groups/` Returns the Security Groups attached to an Auto Scaling Group. They apply to every VM in the group. Send `page_no` and `per_page` together to get the list in pages; without both, every Security Group comes back. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The Security Groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].location` | string | no | | | `data[].rules` | array of object | no | | | `data[].rules[].id` | integer | no | | | `data[].rules[].rule_type` | string | no | `inbound` or `outbound`. | | `data[].rules[].protocol_type` | string | no | `AllTraffic`, `CustomTCP`, `CustomUDP` or `SSH`. | | `data[].rules[].ports` | array of string | no | | | `data[].rules[].cidr_ip` | string | no | | | `data[].rules[].description` | string | no | | | `data[].is_ssh_security_group` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].attached_services` | object | no | What else the Security Group is attached to, by kind. | | `data[].is_ssh_port_enabled` | boolean | no | `true` when a rule opens inbound port 22. | | `data[].created_at` | string | no | | | `data[].updated_at` | string | no | | | `errors` | object | no | | | `total_page_number` | integer | no | Only when paging. | | `total_count` | integer | no | Only when paging. | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 45, "name": "allow-ssh", "description": "Allows inbound SSH on port 22", "location": "Delhi", "rules": [ { "id": 101, "rule_type": "inbound", "protocol_type": "SSH", "ports": [ "22" ], "cidr_ip": "0.0.0.0/0", "description": "SSH" } ], "is_ssh_security_group": true, "is_active": true, "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "attached_services": {}, "is_ssh_port_enabled": true, "created_at": "2026-09-30T08:12:00Z", "updated_at": "2026-09-30T08:12:00Z" } ], "errors": {}, "total_page_number": 1, "total_count": 1 } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Group SSH Keys" method: GET path: "/notebooks/autoscale-groups/{group_id}/ssh-keys/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id-ssh-keys/" --- # List Auto Scaling Group SSH Keys `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/ssh-keys/` Returns the SSH keys of an Auto Scaling Group. Every VM in the group gets these keys. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The SSH keys | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The SSH keys of the group. Every VM in the group gets them. | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].pk` | integer | no | ID of the SSH key. | | `data.ssh_keys[].label` | string | no | | | `data.ssh_keys[].ssh_key` | string | no | The public key. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "ssh_keys": [ { "pk": 88, "label": "laptop", "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyOnlyNotARealKey user@example.com" } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//ssh-keys/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Auto Scaling Group" method: GET path: "/notebooks/autoscale-groups/{group_id}/" url: "/api/tir/operations/get-notebooks-autoscale-groups-group-id/" --- # Get Auto Scaling Group `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/` Returns one Auto Scaling Group with its settings, launch progress, schedules and the VMs now in it. Counts and readings are not live and can be slightly behind. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | The launch step the group is at. `null` before a launch has begun. | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | Launch progress, 0 to 100. | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | Number of VMs that are ready. | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | ID of the snapshot the group launches from. `null` for a group made from a VM until its snapshot exists. | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | Number of ready VMs, the same as `ready_count`. | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `data.autoscale` | object | no | `current_replicas` is the number of VMs the group is set to run. | | `data.autoscale.current_replicas` | integer | no | | | `data.replicas` | array of object | no | The VMs now in the group. | | `data.replicas[].name` | string | no | The VM's name. | | `data.replicas[].phase` | string | no | | | `data.replicas[].ready` | boolean | no | | | `data.replicas[].private_ip` | string | no | | | `data.replicas[].public_ip` | string | no | | | `data.replicas[].created_at` | string | no | When the group first saw the VM. | | `data.replicas[].ordinal` | integer | no | The VM's number in the group. | | `data.replicas[].status` | one of `healthy`, `unhealthy`, `starting`, `stopping`, `stopped` | no | | | `data.replicas[].observed_at` | string | no | When the group last read this VM's state. `null` until it has. | | `data.replicas[].creation_reason` | string | no | Why the VM exists: launched with the group, scaled out, scheduled or manual. | | `data.replicas[].creation_trigger` | string | no | What caused a scale-out, when it can be told. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Running", "display_status": "Running", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "running", "stage_message": "Ready", "stage_percent": 100, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": "2026-10-21T11:21:40+00:00", "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": 3, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": 212, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 3, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1, "autoscale": { "current_replicas": 3 }, "replicas": [ { "name": "example-group-ab12-0", "phase": "Running", "ready": true, "private_ip": "10.0.4.12", "public_ip": "203.0.113.10", "created_at": "2026-10-21T11:21:10+00:00", "ordinal": 0, "status": "healthy", "observed_at": "2026-10-21T11:40:00+00:00", "creation_reason": "initial_launch", "creation_trigger": null } ] }, "errors": {} } ``` ### 400 `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Auto Scaling Groups" method: GET path: "/notebooks/autoscale-groups/" url: "/api/tir/operations/get-notebooks-autoscale-groups/" --- # List Auto Scaling Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/` Returns the Auto Scaling Groups of the project in the region, newest first by default. Without `page` and `page_size`, every group comes back as an array; with either one, the groups come back in a paged object. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `search` | string | no | Keep groups whose name or identifier (`vmpool_name`) contains this text, ignoring case. | | `status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | Keep groups in this status. | | `order_by` | string | no | Sort field: `name`, `created_at`, `status`, `min_replicas` or `max_replicas`. Prefix with `-` for descending. Default `-created_at`. | | `page` | integer | no | Page number, from 1. Default 1 when `page_size` is sent. Values outside the range are adjusted, not refused. | | `page_size` | integer | no | Groups per page, 1 to 100. Default 20 when `page` is sent. Values outside the range are adjusted, not refused. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The groups. `data` is an array of groups, or, when `page` or `page_size` is sent, an object with `count`, `next`, `previous`, `page`, `page_size` and `results`. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": null, "errors": {} } ``` ### 400 `status` is not a status, `order_by` is not one of the allowed fields ("order_by must be one of: ..."), or `page` and `page_size` are not integers ("page and page_size must be integers."). `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "status must be one of: Creating, Deleting, Failed, Running, Starting, Stopped, Stopping." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Start Scripts" method: GET path: "/notebooks/init-script/" url: "/api/tir/operations/get-notebooks-init-script/" --- # Get Start Scripts `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/init-script/` Returns all startup scripts in the project. An attached script runs as root on every boot of the Instance or Virtual Machine. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Start script listed successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].init_script` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 172, "name": "Instance-script-25111112519", "init_script": "# !/bin/bash\nsudo apt update -y\n", "created_by": { "id": 12477, "name": "Raj Singh", "email": "test@gmail.com", "username": "test@gmail.com" } } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/init-script/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Notebook Alerts List" method: GET path: "/notebooks/{Instance_id}/alerts/" url: "/api/tir/operations/get-notebooks-instance-id-alerts/" --- # Notebook Alerts List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/alerts/` Retrieve all alerts attached to a specific notebook instance with pagination support. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Successful response with notebook alerts list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].notebook` | integer | no | | | `data[].notebook_name` | string | no | | | `data[].alert` | object | no | | | `data[].alert.id` | integer | no | | | `data[].alert.name` | string | no | | | `data[].alert.location` | string | no | | | `data[].alert.resource_type` | string | no | | | `data[].alert.metric_type` | string | no | | | `data[].alert.metric_type_unit` | string | no | | | `data[].alert.operator` | string | no | | | `data[].alert.threshold_value` | number (float) | no | | | `data[].alert.severity` | string | no | | | `data[].alert.created_by` | object | no | | | `data[].alert.created_by.id` | integer | no | | | `data[].alert.created_by.name` | string | no | | | `data[].alert.created_by.email` | string | no | | | `data[].alert.created_by.username` | string | no | | | `data[].alert.created_at` | string (date-time) | no | | | `data[].alert.updated_at` | string (date-time) | no | | | `data[].alert_name` | string | no | | | `data[].grafana_rule_uid` | string | no | | | `data[].is_firing` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 19, "notebook": 19919, "notebook_name": "instance-name", "alert": { "id": 57, "name": "alert-name", "location": "Delhi", "resource_type": "Instance", "metric_type": "Ephemeral Storage", "metric_type_unit": "%", "operator": "Less Than", "threshold_value": 23, "severity": "Warning", "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-25T09:04:09Z", "updated_at": "2026-03-25T09:04:09Z" }, "alert_name": "alert-name", "grafana_rule_uid": "bfh2k92v7tb0ge", "is_firing": false, "created_at": "2026-03-25T09:42:31Z", "updated_at": "2026-03-25T09:42:31Z" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Events Log" method: GET path: "/notebooks/{Instance_id}/events/" url: "/api/tir/operations/get-notebooks-instance-id-events/" --- # Events Log `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/events/` Returns the events and details that the cluster holds for the Instance's or Virtual Machine's pod. Use it to debug startup failures. When the pod's details cannot be read, the request is refused with "error in getting pod details". ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Lifecycle events log for an Instance or Virtual Machine | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pod_events` | array of object | no | The pod's events from the cluster. | | `data.pod_info` | object | no | The pod's details from the cluster. | Example 200 response: ```json { "code": 200, "data": { "pod_events": [ {} ], "pod_info": {} } } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//events/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "CPU Utilization" method: GET path: "/notebooks/{Instance_id}/metrics/container_cpu_usage_seconds_total/" url: "/api/tir/operations/get-notebooks-instance-id-metrics-container-cpu-usage-seconds-total/" --- # CPU Utilization `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/metrics/container_cpu_usage_seconds_total/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `interval` | one of `5m`, `1h`, `1d`, `7d`, `1mn` | yes | Interval for the data: 5m (5 minutes), 1h (1 hour), 1d (1 day), 7d (7 days) or 1mn (1 month) | ## Responses ### 200 Time series metrics retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.time_series` | array of string | no | | | `data.value_series` | array of string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "time_series": [ "11:58:48AM", "11:59:03AM", "11:59:18AM", "11:59:33AM", "11:59:48AM" ], "value_series": [ "0.032537415427217456", "0.03272080373466566", "0.032955218299105596", "0.033358756045318946", "0.03358186154866349" ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//metrics/container_cpu_usage_seconds_total/?apikey=&project_id=&location=&interval=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Memory Utilization" method: GET path: "/notebooks/{Instance_id}/metrics/container_memory_usage_bytes/" url: "/api/tir/operations/get-notebooks-instance-id-metrics-container-memory-usage-bytes/" --- # Memory Utilization `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/metrics/container_memory_usage_bytes/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `interval` | one of `5m`, `1h`, `1d`, `7d`, `1mn` | yes | Interval for the data: 5m (5 minutes), 1h (1 hour), 1d (1 day), 7d (7 days) or 1mn (1 month) | ## Responses ### 200 Node memory usage time-series metrics retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.time_series` | array of string | no | | | `data.value_series` | array of string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "time_series": [ "11:58:35AM", "11:58:50AM", "11:59:05AM", "11:59:20AM", "11:59:35AM" ], "value_series": [ "96182272", "96309248", "96313344", "96313344", "96313344" ] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//metrics/container_memory_usage_bytes/?apikey=&project_id=&location=&interval=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monitoring" method: GET path: "/notebooks/{Instance_id}/metrics/gauge/all/" url: "/api/tir/operations/get-notebooks-instance-id-metrics-gauge-all/" --- # Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/metrics/gauge/all/` Returns the current storage, memory and GPU figures of the Instance or Virtual Machine. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Node metrics retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.pvc_metrics` | object | no | | | `data.pvc_metrics.pvc_capacity` | string | no | | | `data.pvc_metrics.used_pvc_storage` | string | no | | | `data.memory_metrics` | object | no | | | `data.memory_metrics.memory_capacity` | string | no | | | `data.memory_metrics.used_memory_capacity` | string | no | | | `data.ephemeral_storage_metrics` | object | no | | | `data.ephemeral_storage_metrics.ephemeral_storage_capacity` | string | no | | | `data.ephemeral_storage_metrics.used_ephemeral_storage` | string | no | | | `data.gpu_metrics` | object | no | | | `data.gpu_metrics.avg_gpu_utilization` | string | no | | | `data.gpu_metrics.avg_gpu_temperature` | string | no | | | `data.gpu_metrics.avg_gpu_power` | string | no | | | `data.gpu_metrics.used_gpu_memory` | string | no | | | `data.gpu_metrics.total_gpu_memory` | string | no | | | `data.cpu_metrics` | object | no | | | `data.cpu_metrics.avg_cpu_utilization` | string | no | | | `data.cpu_metrics.avg_memory_utilization` | string | no | | | `data.cpu_metrics.uptime` | string | no | | | `data.gpu_performance_metrics` | object | no | | | `data.gpu_performance_metrics.avg_memory_bandwidth` | string | no | | | `data.gpu_performance_metrics.avg_tensor_throughput` | string | no | | | `data.gpu_performance_metrics.pcie_throughput` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "pvc_metrics": { "pvc_capacity": "29412593664", "used_pvc_storage": "57860096" }, "memory_metrics": { "memory_capacity": "15998753178", "used_memory_capacity": "117813248" }, "ephemeral_storage_metrics": { "ephemeral_storage_capacity": "50000000000", "used_ephemeral_storage": "868352" }, "gpu_metrics": { "avg_gpu_utilization": "", "avg_gpu_temperature": "", "avg_gpu_power": "", "used_gpu_memory": "", "total_gpu_memory": "" }, "cpu_metrics": { "avg_cpu_utilization": "0.14139347820001158", "avg_memory_utilization": "0.5931316606002083", "uptime": "136.91499996185303" }, "gpu_performance_metrics": { "avg_memory_bandwidth": "", "avg_tensor_throughput": "", "pcie_throughput": "" } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//metrics/gauge/all/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List VM Datasets" method: GET path: "/notebooks/{Instance_id}/mounted-datasets/" url: "/api/tir/operations/get-notebooks-instance-id-mounted-datasets/" --- # List VM Datasets `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/mounted-datasets/` Returns the datasets of the project and region, newest first, each marked `is_mounted` when it is mounted on this Virtual Machine. `is_available_to_mount` is `false` for a disk dataset mounted on any VM, and for an object-storage dataset already mounted on this one. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `search_filter` | one of `mounted`, `unmounted` | no | Return only the mounted or only the unmounted datasets. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The datasets | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].storage_type` | string | no | `pvc` is a disk dataset. `e2e_s3` and `managed` are object storage. | | `data[].is_mounted` | boolean | no | | | `data[].is_available_to_mount` | boolean | no | | | `data[].read_only` | boolean | no | `true` for an `e2e_s3` or `managed` dataset, which mounts read-only. | | `data[].bucket` | object | no | The object storage bucket behind the dataset. | | `data[].encryption_type` | string | no | | | `data[].encryption_enable` | boolean | no | | | `data[].created_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 301, "name": "train-data", "storage_type": "e2e_s3", "is_mounted": true, "is_available_to_mount": false, "read_only": true, "bucket": {}, "encryption_type": "sse-s3", "encryption_enable": false, "created_at": "2026-10-01T08:00:00Z" } ], "errors": {} } ``` ### 404 No VM with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid Request! Notebook not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//mounted-datasets/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups" method: GET path: "/notebooks/{Instance_id}/security-groups/" url: "/api/tir/operations/get-notebooks-instance-id-security-groups/" --- # List Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/security-groups/` Returns all Security Groups attached to the Instance or Virtual Machine. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 List of Security Groups attached to the Instance or Virtual Machine | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 45, "name": "allow-ssh", "description": "Allows inbound SSH on port 22" } ] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List VM Snapshot Restores" method: GET path: "/notebooks/{Instance_id}/snapshots/restores/" url: "/api/tir/operations/get-notebooks-instance-id-snapshots-restores/" --- # List VM Snapshot Restores `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/snapshots/restores/` Returns the restores made from the Virtual Machine's snapshots, newest first, each with its progress. Pass `page_no` and `per_page` together to page the list. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The restores | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].vm_id` | integer | no | | | `data[].snapshot` | integer | no | The snapshot restored from. | | `data[].snapshot_name` | string | no | | | `data[].status` | one of `restoring`, `restored`, `failed` | no | `restoring`, then `restored`, or `failed`. | | `data[].error` | string | no | Why the restore failed. Empty when it did not. | | `data[].tier` | one of `local`, `export` | no | `local` for a restore from a snapshot on the cluster. | | `data[].mode` | one of `in_place`, `to_new_vm` | no | `in_place` replaces this VM's disk. | | `data[].started_at` | string | no | | | `data[].finished_at` | string | no | | | `data[].updated_at` | string | no | | | `data[].created_at` | string | no | | | `data[].progress` | object | no | How far the restore has got. `percent_is_measured` is `false` when no figure is available. | | `data[].progress.status` | string | no | | | `data[].progress.stage` | string | no | `restoring`, `done` or `failed`. | | `data[].progress.percent` | integer | no | | | `data[].progress.message` | string | no | | | `data[].progress.reason` | string | no | | | `data[].progress.percent_is_measured` | boolean | no | | | `data[].progress.elapsed_seconds` | integer | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 35, "vm_id": 4984, "snapshot": 212, "snapshot_name": "before-upgrade", "status": "restored", "error": "", "tier": "local", "mode": "in_place", "started_at": "2026-10-21T11:33:02Z", "finished_at": "2026-10-21T11:34:20Z", "updated_at": "2026-10-21T11:34:20Z", "created_at": "2026-10-21T11:33:01Z", "progress": { "status": "restored", "stage": "done", "percent": 100, "message": null, "reason": null, "percent_is_measured": true, "elapsed_seconds": 78 } } ], "errors": {} } ``` ### 404 No VM with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid Request! Notebook not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//snapshots/restores/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get VM Snapshot Schedule" method: GET path: "/notebooks/{Instance_id}/snapshots/schedule/" url: "/api/tir/operations/get-notebooks-instance-id-snapshots-schedule/" --- # Get VM Snapshot Schedule `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/snapshots/schedule/` Returns the automatic snapshot schedule of the Virtual Machine. A VM that never had one set up returns automatic snapshots off with the default schedule, every 6 hours, keeping 7. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The schedule | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.snapshot_enabled` | boolean | no | `true` when automatic snapshots are on. | | `data.snapshot_schedule_cron` | string | no | The schedule, as a five-field cron expression in India time (IST). | | `data.snapshot_retention_count` | integer | no | How many scheduled snapshots to keep, from 1 to 60. | | `data.snapshot_last_run_at` | string | no | When the schedule last took a snapshot. | | `data.snapshot_next_run_at` | string | no | When it takes the next one. `null` when automatic snapshots are off. | | `data.policy` | object | no | The stored schedule record: `id`, `vm_id`, `enabled`, `schedule_cron`, `retention_count`, `last_run_at`, `status`, `location`, `created_at`, `updated_at`. `null` for a VM that never had a schedule. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "snapshot_enabled": true, "snapshot_schedule_cron": "0 */6 * * *", "snapshot_retention_count": 7, "snapshot_last_run_at": null, "snapshot_next_run_at": "2026-10-21T12:30:00Z", "policy": null }, "errors": {} } ``` ### 404 No VM with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid Request! Notebook not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//snapshots/schedule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List VM Snapshots" method: GET path: "/notebooks/{Instance_id}/snapshots/" url: "/api/tir/operations/get-notebooks-instance-id-snapshots/" --- # List VM Snapshots `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/snapshots/` Returns the snapshots taken of one Virtual Machine, newest first. Pass `page_no` and `per_page` together to page the list; without both, every snapshot comes back. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The snapshots of the VM | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].vm_id` | integer | no | ID of the VM the snapshot was taken from. | | `data[].vm_name` | string | no | Name of that VM when the snapshot was taken. | | `data[].vm_deleted` | boolean | no | `true` once the VM has been deleted. The snapshot stays. | | `data[].name` | string | no | The snapshot's name. | | `data[].status` | one of `pending`, `ready`, `failed` | no | `pending` while the snapshot is being made, then `ready`, or `failed`. | | `data[].ready` | boolean | no | `true` when the snapshot can be restored or launched from. | | `data[].snapshot_type` | one of `manual`, `scheduled` | no | `manual` for one you took, `scheduled` for one the schedule took. | | `data[].consistency` | one of `filesystem`, `crash` | no | `filesystem` when the VM's guest agent answered while the snapshot was taken, `crash` otherwise. | | `data[].consistency_reason` | string | no | Why the snapshot has its `consistency`: `quiesced`, `vm_stopped` or `guest_agent_unavailable`. | | `data[].size_gb` | number | no | Size of the disk the snapshot was taken from, in GB. | | `data[].size_bytes` | integer | no | Size of the disk the snapshot was taken from, in bytes. | | `data[].stored_bytes` | integer | no | Storage the snapshot uses, in bytes. `null` until it is measured. | | `data[].taken_at` | string | no | When the snapshot was taken. `null` until it is ready. | | `data[].failed_at` | string | no | When the snapshot failed, if it did. | | `data[].created_at` | string | no | | | `data[].image_details` | object | no | The image and version of the source VM. `null` when none is recorded. | | `data[].image_details.image_id` | integer | no | | | `data[].image_details.version_id` | integer | no | | | `data[].image_details.name` | string | no | | | `data[].image_details.version` | string | no | | | `data[].snapshot_scope` | one of `vm`, `disk` | no | What the snapshot covers. | | `data[].tier` | one of `local`, `export` | no | `local` for a snapshot on the cluster, `export` for a copy in object storage. | | `data[].created_by` | object | no | Who took the snapshot. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].progress` | object | no | How far the snapshot has got. Always present. | | `data[].progress.status` | string | no | | | `data[].progress.stage` | string | no | | | `data[].progress.message` | string | no | | | `data[].progress.percent` | integer | no | | | `data[].progress.eta_seconds` | integer | no | | | `data[].progress.elapsed_seconds` | integer | no | | | `data[].progress.reason` | string | no | Why the snapshot failed, if it did. | | `data[].progress.percent_is_measured` | boolean | no | | | `data[].progress.is_delayed` | boolean | no | | | `data[].progress.progress_steps` | array of object | no | | | `data[].progress.progress_steps[].key` | string | no | | | `data[].progress.progress_steps[].label` | string | no | | | `data[].progress.progress_steps[].status` | one of `done`, `running`, `pending`, `failed` | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 212, "vm_id": 4984, "vm_name": "web-01", "vm_deleted": false, "name": "before-upgrade", "status": "ready", "ready": true, "snapshot_type": "manual", "consistency": "filesystem", "consistency_reason": "quiesced", "size_gb": 30, "size_bytes": 32212254720, "stored_bytes": 1580000000, "taken_at": "2026-10-21T11:17:42Z", "failed_at": null, "created_at": "2026-10-21T11:17:29Z", "image_details": { "image_id": 14, "version_id": 16, "name": "Ubuntu", "version": "24.04" }, "snapshot_scope": "vm", "tier": "local", "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "progress": { "status": "ready", "stage": "ready", "message": null, "percent": 100, "eta_seconds": null, "elapsed_seconds": 12, "reason": null, "percent_is_measured": true, "is_delayed": false, "progress_steps": [ { "key": "cutting", "label": "Taking the snapshot", "status": "done" } ] } } ], "errors": {} } ``` ### 404 No VM with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid Request! Notebook not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List SSH Keys" method: GET path: "/notebooks/{Instance_id}/ssh-keys/" url: "/api/tir/operations/get-notebooks-instance-id-ssh-keys/" --- # List SSH Keys `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/ssh-keys/` Returns the SSH public keys currently authorized to access the Instance or Virtual Machine. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 List of authorized SSH keys | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.ssh_keys` | array of object | no | The keys attached to the VM. | | `data.ssh_keys[].pk` | integer | no | | | `data.ssh_keys[].label` | string | no | | | `data.ssh_keys[].ssh_key` | string | no | | | `data.disable_ssh_login_password` | boolean | no | `true` when password sign-in is off. | | `data.app` | object | no | The app of the VM's image, with `is_ssh_required`. | Example 200 response: ```json { "code": 200, "data": { "ssh_keys": [ { "pk": 12, "label": "my-laptop-key", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB..." } ], "disable_ssh_login_password": true, "app": {} } } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//ssh-keys/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Instance / VM Details" method: GET path: "/notebooks/{Instance_id}/" url: "/api/tir/operations/get-notebooks-instance-id/" --- # Get Instance / VM Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/` Returns the details of an Instance or Virtual Machine, including its plan, disk size, SSH keys, startup scripts, and reserved IP. Security groups and mounted datasets are not part of this response; use **List Security Groups** and **List VM Datasets**. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Instance_id` | integer | yes | Instance ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Full details of an Instance or Virtual Machine | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.kind` | string | no | | | `data.status` | one of `waiting`, `running`, `stopped`, `error` | no | | | `data.public_ip` | string | no | | | `data.image_type` | string | no | | | `data.image_details` | object | no | | | `data.image_details.name` | string | no | | | `data.image_details.icon_url` | string | no | | | `data.image_details.image_description` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | string | no | | | `data.disk_size_in_gb` | integer | no | | | `data.instance_type` | string | no | | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].id` | integer | no | | | `data.ssh_keys[].name` | string | no | | | `data.init_scripts` | array of object | no | | | `data.init_scripts[].id` | integer | no | | | `data.init_scripts[].name` | string | no | | | `data.reserve_ip` | array of object | no | | | `data.reserve_ip[].id` | integer | no | | | `data.reserve_ip[].ip_address` | string | no | | | `data.custom_ports` | array of object | no | | | `data.custom_ports[].protocol` | string | no | | | `data.custom_ports[].port` | integer | no | | | `data.is_pvc_encrypted` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | Example 200 response: ```json { "code": 200, "data": { "id": 5633, "name": "my-gpu-vm", "kind": "vm", "status": "running", "public_ip": "203.0.113.42", "image_type": "pre-built", "image_details": { "name": "Ubuntu", "icon_url": "/notebook_images/ubuntu.svg", "image_description": "Ubuntu 22.04 base image with Python 3.10" }, "sku_details": { "specs": { "name": "GDC.1xH100-SXM5-80GB", "cpu": 26, "gpu": 1, "memory": "240GB" } }, "disk_size_in_gb": 100, "instance_type": "paid_usage", "ssh_keys": [ { "id": 12, "name": "my-laptop-key" } ], "init_scripts": [ { "id": 8, "name": "01_install.sh" } ], "reserve_ip": [ { "id": 99, "ip_address": "203.0.113.42" } ], "custom_ports": [ { "protocol": "TCP", "port": 8888 } ], "is_pvc_encrypted": false, "created_at": "2025-04-10T08:30:00Z", "updated_at": "2025-04-10T09:00:00Z" } } ``` ### 404 Instance or VM not found | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | Example 404 response: ```json { "code": 404, "message": "Not found" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Project VM Snapshots" method: GET path: "/notebooks/vm/snapshots/" url: "/api/tir/operations/get-notebooks-vm-snapshots/" --- # List Project VM Snapshots `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/vm/snapshots/` Returns the snapshots of every Virtual Machine in the project and region, newest first, including those of VMs that have since been deleted. Each snapshot also lists the VMs launched from it in `launched_vms`. A bare call also returns copies kept in object storage, with `tier` set to `export`; pass `tier=local` for the snapshots on the cluster only. Pass `page_no` and `per_page` together to page the list. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `tier` | one of `local`, `export` | no | `local` for snapshots on the cluster, `export` for copies in object storage. Other values are ignored. | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The snapshots | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].vm_id` | integer | no | ID of the VM the snapshot was taken from. | | `data[].vm_name` | string | no | Name of that VM when the snapshot was taken. | | `data[].vm_deleted` | boolean | no | `true` once the VM has been deleted. The snapshot stays. | | `data[].name` | string | no | The snapshot's name. | | `data[].status` | one of `pending`, `ready`, `failed` | no | `pending` while the snapshot is being made, then `ready`, or `failed`. | | `data[].ready` | boolean | no | `true` when the snapshot can be restored or launched from. | | `data[].snapshot_type` | one of `manual`, `scheduled` | no | `manual` for one you took, `scheduled` for one the schedule took. | | `data[].consistency` | one of `filesystem`, `crash` | no | `filesystem` when the VM's guest agent answered while the snapshot was taken, `crash` otherwise. | | `data[].consistency_reason` | string | no | Why the snapshot has its `consistency`: `quiesced`, `vm_stopped` or `guest_agent_unavailable`. | | `data[].size_gb` | number | no | Size of the disk the snapshot was taken from, in GB. | | `data[].size_bytes` | integer | no | Size of the disk the snapshot was taken from, in bytes. | | `data[].stored_bytes` | integer | no | Storage the snapshot uses, in bytes. `null` until it is measured. | | `data[].taken_at` | string | no | When the snapshot was taken. `null` until it is ready. | | `data[].failed_at` | string | no | When the snapshot failed, if it did. | | `data[].created_at` | string | no | | | `data[].image_details` | object | no | The image and version of the source VM. `null` when none is recorded. | | `data[].image_details.image_id` | integer | no | | | `data[].image_details.version_id` | integer | no | | | `data[].image_details.name` | string | no | | | `data[].image_details.version` | string | no | | | `data[].snapshot_scope` | one of `vm`, `disk` | no | What the snapshot covers. | | `data[].tier` | one of `local`, `export` | no | `local` for a snapshot on the cluster, `export` for a copy in object storage. | | `data[].created_by` | object | no | Who took the snapshot. | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].progress` | object | no | How far the snapshot has got. Always present. | | `data[].progress.status` | string | no | | | `data[].progress.stage` | string | no | | | `data[].progress.message` | string | no | | | `data[].progress.percent` | integer | no | | | `data[].progress.eta_seconds` | integer | no | | | `data[].progress.elapsed_seconds` | integer | no | | | `data[].progress.reason` | string | no | Why the snapshot failed, if it did. | | `data[].progress.percent_is_measured` | boolean | no | | | `data[].progress.is_delayed` | boolean | no | | | `data[].progress.progress_steps` | array of object | no | | | `data[].progress.progress_steps[].key` | string | no | | | `data[].progress.progress_steps[].label` | string | no | | | `data[].progress.progress_steps[].status` | one of `done`, `running`, `pending`, `failed` | no | | | `data[].launched_vms` | array of object | no | VMs launched from this snapshot, deleted ones included. | | `data[].launched_vms[].id` | integer | no | | | `data[].launched_vms[].name` | string | no | | | `data[].launched_vms[].status` | string | no | The VM's status. | | `data[].launched_vms[].deleted` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 212, "vm_id": 4984, "vm_name": "web-01", "vm_deleted": false, "name": "before-upgrade", "status": "ready", "ready": true, "snapshot_type": "manual", "consistency": "filesystem", "consistency_reason": "quiesced", "size_gb": 30, "size_bytes": 32212254720, "stored_bytes": 1580000000, "taken_at": "2026-10-21T11:17:42Z", "failed_at": null, "created_at": "2026-10-21T11:17:29Z", "image_details": { "image_id": 14, "version_id": 16, "name": "Ubuntu", "version": "24.04" }, "snapshot_scope": "vm", "tier": "local", "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "progress": { "status": "ready", "stage": "ready", "message": null, "percent": 100, "eta_seconds": null, "elapsed_seconds": 12, "reason": null, "percent_is_measured": true, "is_delayed": false, "progress_steps": [ { "key": "cutting", "label": "Taking the snapshot", "status": "done" } ] }, "launched_vms": [ { "id": 5010, "name": "web-02", "status": "Running", "deleted": false } ] } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/vm/snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Instance / VM List" method: GET path: "/notebooks/" url: "/api/tir/operations/get-notebooks/" --- # Instance / VM List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/` Returns a paginated list of compute resources in the project. Use the `kind` query parameter to filter by compute type: pass `kind=vm` to return only Virtual Machines, or `kind=container` to return only container-based Instances. **You must also pass `is_advanced_search=true` for the `kind` filter to take effect** — without it, the filter is ignored and all resources are returned. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `kind` | one of `vm`, `container` | no | Filter results by compute type. Pass `kind=vm` to return only Virtual Machines, or `kind=container` to return only container-based Instances. **Important:** This filter only takes effect when `is_advanced_search=true` is also passed. Without it, the `kind` parameter is ignored and all resources are returned. | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `order_by` | one of `notebook` | no | | | `is_advanced_search` | boolean | no | Specifies if advanced filters should be applied. | | `instance_category` | one of `notebook` | yes | | | `name` | string | no | Filter by name. **Requires `is_advanced_search=true`** to take effect. | | `status` | one of `ready`, `waiting`, `terminating`, `error`, `Pending`, `stopped` | no | Filter by resource status. **Requires `is_advanced_search=true`** to take effect. | | `custom` | one of `custom`, `pre-built` | no | Filter by image type. **Requires `is_advanced_search=true`** to take effect. | | `sku series` | one of `CPU`, `GPU` | no | Filter by SKU series. **Requires `is_advanced_search=true`** to take effect. | | `sku_type` | one of `hourly`, `committed` | no | Filter by SKU type. **Requires `is_advanced_search=true`** to take effect. | ## Responses ### 200 Successful response with node details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].project_id` | integer | no | | | `data[].image_type` | string | no | | | `data[].image_details` | object | no | | | `data[].image_details.image_id` | integer | no | | | `data[].image_details.version_id` | integer | no | | | `data[].image_details.name` | string | no | | | `data[].image_details.icon_url` | string | no | | | `data[].image_details.image_description` | string | no | | | `data[].image_details.version_description` | string | no | | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | | | `data[].sku_details.specs.name` | string | no | | | `data[].sku_details.specs.series` | string | no | | | `data[].sku_details.specs.cpu` | integer | no | | | `data[].sku_details.specs.gpu` | integer | no | | | `data[].sku_details.specs.memory` | integer | no | | | `data[].sku_details.specs.is_free` | boolean | no | | | `data[].sku_details.specs.is_active` | boolean | no | | | `data[].sku_details.specs.gpu_switch_type` | string | no | | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].sku_details.plan.sku_type` | string | no | | | `data[].sku_details.plan.committed_days` | integer | no | | | `data[].sku_details.plan.unit_price` | number (float) | no | | | `data[].sku_details.plan.currency` | string | no | | | `data[].sku_details.plan.is_active` | boolean | no | | | `data[].sku_details.plan.description` | string | no | | | `data[].status` | string | no | | | `data[].last_activity` | string (date-time) | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].lab_url` | string | no | | | `data[].disk_size_in_gb` | integer | no | | | `data[].instance_type` | string | no | | | `data[].ssh_keys` | array of string | no | | | `data[].disable_ssh_login_password` | boolean | no | | | `data[].public_ip` | string | no | | | `data[].e2e_registry_image_url` | string | no | | | `data[].egress_gateway_ip` | string | no | | | `data[].add_ons` | object | no | | | `data[].is_jupyterlab_enabled` | boolean | no | | | `data[].is_ssh_enabled` | boolean | no | | | `data[].custom_ports` | array of string | no | | | `data[].private_cloud_id` | string | no | | | `data[].custom_sku` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "total_page_number": 1, "total_count": 1, "data": [ { "id": 4984, "name": "node-09161505088", "project_id": 124, "image_type": "pre-built", "image_details": { "image_id": 14, "version_id": 16, "name": "Ubuntu", "icon_url": "/notebook_images/ubuntu.svg", "image_description": "Ubuntu 22.04 base image with Python 3.10", "version_description": "Ubuntu 22.04 base image with Python 3.10" }, "sku_details": { "specs": { "sku_id": 4, "name": "C3.8GB", "series": "CPU", "cpu": 4, "gpu": 0, "memory": 8, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0 }, "plan": { "sku_item_price_id": 4, "sku_type": "hourly", "committed_days": 0, "unit_price": 3.1, "currency": "INR", "is_active": true, "description": null } }, "status": "ready", "last_activity": "2024-09-16T09:35:18Z", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-09-16T09:35:18.580926Z", "updated_at": "2024-11-13T10:58:41.184577Z", "lab_url": "https://notebooks.e2enetworks.com/notebook/p-124/n-7e940564-90f0-4e55-94f0-f67891aa0b68/lab", "disk_size_in_gb": 30, "instance_type": "paid_usage", "ssh_keys": [], "disable_ssh_login_password": true, "public_ip": "", "e2e_registry_image_url": null, "egress_gateway_ip": "116.204.174.167", "add_ons": {}, "is_jupyterlab_enabled": true, "is_ssh_enabled": false, "custom_ports": [], "private_cloud_id": null, "custom_sku": null } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/?apikey=&project_id=&location=&instance_category=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Attached Instances to PFS" method: GET path: "/pfs/{PFS_Id}/notebooks/" url: "/api/tir/operations/get-pfs-pfs-id-notebooks/" --- # Get Attached Instances to PFS `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs/{PFS_Id}/notebooks/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `PFS_Id` | integer | yes | PFS ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### content ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs//notebooks/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List PFS" method: GET path: "/pfs/" url: "/api/tir/operations/get-pfs/" --- # List PFS `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 List of PFS resources | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].disk_size` | integer | no | | | `data[].created_by` | integer | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].created_at` | string (date-time) | no | | | `data[].status` | string | no | | | `data[].disk_size_in_gb` | string | no | | | `data[].disk_size_in_tb` | string | no | | | `data[].set_up_progress` | integer | no | | | `data[].location` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 504, "name": "tir-pfs-260206142723", "disk_size": 1000, "created_by": 1234, "updated_at": "2026-02-06T08:58:48.117806Z", "created_at": "2026-02-06T08:57:33.388926Z", "status": "OK", "disk_size_in_gb": "1000 GB", "disk_size_in_tb": "1.0TB", "set_up_progress": 100, "location": "Delhi" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pfs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Experiment Details" method: GET path: "/pipelines/experiments/{experiment_id}/" url: "/api/tir/operations/get-pipelines-experiments-experiment-id/" --- # Experiment Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments/{experiment_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `experiment_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful retrieval of experiment details | Field | Type | Required | Description | |---|---|---|---| | `experiment_id` | string (uuid) | no | | | `display_name` | string | no | | | `description` | string | no | | | `namespace` | string | no | | | `created_at` | string (date-time) | no | | Example 200 response: ```json { "experiment_id": "26dab7fb-37c2-49fb-97ba-c91922bde1a1", "display_name": "experiment-11141628022", "description": "", "namespace": "p-123", "created_at": "2024-11-14T10:58:04.000000Z" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Experiment List" method: GET path: "/pipelines/experiments/" url: "/api/tir/operations/get-pipelines-experiments/" --- # Experiment List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `page_size` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response containing experiment details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].experiment_id` | string (uuid) | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].source` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 843, "name": "experiment-11141628022", "description": null, "experiment_id": "26dab7fb-37c2-49fb-97ba-c91922bde1a1", "created_at": "2024-11-14T10:58:04.228536Z", "updated_at": "2024-11-14T10:58:04.228604Z", "source": "pipeline" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/experiments/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Schedule Run List" method: GET path: "/pipelines/jobs/" url: "/api/tir/operations/get-pipelines-jobs/" --- # Schedule Run List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/jobs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `page_size` | integer | no | Number of results per page | | `pipeline_version_id` | string (uuid) | no | Filter scheduled runs by pipeline version ID | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 A list of scheduled jobs. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | array of object | no | | | `data[].id` | integer | no | The unique identifier of the scheduled job. | | `data[].name` | string | no | The name of the scheduled job. | | `data[].job_id` | string | no | Unique identifier for the job. | | `data[].is_enabled` | boolean | no | Indicates whether the job is enabled. | | `data[].experiment_id` | string | no | ID of the associated experiment. | | `data[].pipeline_version_id` | string | no | ID of the pipeline version. | | `data[].max_concurrency` | integer | no | The maximum number of concurrent runs allowed. | | `data[].trigger` | object | no | | | `data[].trigger.periodic_schedule` | object | no | | | `data[].trigger.periodic_schedule.end_time` | string (date-time) | no | The end time for the schedule. | | `data[].trigger.periodic_schedule.start_time` | string (date-time) | no | The start time for the schedule. | | `data[].trigger.periodic_schedule.interval_second` | integer | no | Interval in seconds for periodic execution. | | `data[].source` | string | no | The source of the job. | | `errors` | object | no | Error details (empty if none). | | `message` | string | no | General response message. | Example 200 response: ```json { "code": 200, "data": [ { "id": 30, "name": "tir-run-111417044747", "job_id": "e05346aa-97ce-41d0-962f-f9087c86c5f6", "is_enabled": true, "experiment_id": "843", "pipeline_version_id": "1792", "max_concurrency": 1, "trigger": { "periodic_schedule": { "end_time": "2024-11-15T18:25:47Z", "start_time": "2024-11-14T18:25:47Z", "interval_second": 86400 } }, "source": "pipeline" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/jobs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Version Details" method: GET path: "/pipelines/{pipeline_id}/versions/{version_id}/" url: "/api/tir/operations/get-pipelines-pipeline-id-versions-version-id/" --- # Version Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/{pipeline_id}/versions/{version_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pipeline_id` | string | yes | | | `version_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful retrieval of pipeline version details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.pipeline_id` | string (uuid) | no | | | `data.pipeline_version_id` | string (uuid) | no | | | `data.display_name` | string | no | | | `data.description` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.pipeline_spec` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "pipeline_id": "824dccf7-edab-4b69-8f7a-6b77f726f74b", "pipeline_version_id": "1c48f3a2-70cb-4deb-9b83-36678c2f507c", "display_name": "helloworld-124-1731580109", "description": "initial", "created_at": "2024-11-14T10:28:29.997596Z", "pipeline_spec": {} }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines//versions//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Version List" method: GET path: "/pipelines/{pipeline_id}/versions/" url: "/api/tir/operations/get-pipelines-pipeline-id-versions/" --- # Version List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/{pipeline_id}/versions/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pipeline_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `page_size` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response containing pipeline version details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].version_id` | string (uuid) | no | | | `data[].pipeline` | object | no | | | `data[].pipeline.id` | integer | no | | | `data[].pipeline.name` | string | no | | | `data[].pipeline.description` | string | no | | | `data[].pipeline.parameters` | string | no | | | `data[].pipeline.pipeline_id` | string (uuid) | no | | | `data[].pipeline.runs` | array of object | no | | | `data[].pipeline.default_version_id` | string (uuid) | no | | | `data[].pipeline.pipeline_type` | string | no | | | `data[].pipeline.created_at` | string (date-time) | no | | | `data[].pipeline.updated_at` | string (date-time) | no | | | `data[].pipeline.source` | string | no | | | `data[].is_default_version` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].source` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1792, "name": "helloworld-124-1731580109", "description": "initial", "version_id": "1c48f3a2-70cb-4deb-9b83-36678c2f507c", "pipeline": { "id": 1556, "name": "helloworld-124-1731580109", "description": "initial", "parameters": "", "pipeline_id": "824dccf7-edab-4b69-8f7a-6b77f726f74b", "runs": [], "default_version_id": "1c48f3a2-70cb-4deb-9b83-36678c2f507c", "pipeline_type": "Argo", "created_at": "2024-11-14T10:28:29.987561Z", "updated_at": "2024-11-14T10:28:31.355315Z", "source": "pipeline" }, "is_default_version": true, "created_at": "2024-11-14T10:28:29.997596Z", "updated_at": "2024-11-14T10:28:31.345587Z", "source": "pipeline" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines//versions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Pipeline Details" method: GET path: "/pipelines/{pipeline_id}/" url: "/api/tir/operations/get-pipelines-pipeline-id/" --- # Pipeline Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/{pipeline_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `pipeline_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful retrieval of pipeline details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.parameters` | string | no | | | `data.pipeline_id` | string | no | | | `data.runs` | array of object | no | | | `data.default_version_id` | string | no | | | `data.pipeline_type` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.source` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 1556, "name": "helloworld-124-1731580109", "description": "initial", "parameters": "", "pipeline_id": "824dccf7-edab-4b69-8f7a-6b77f726f74b", "runs": [], "default_version_id": "1c48f3a2-70cb-4deb-9b83-36678c2f507c", "pipeline_type": "Argo", "created_at": "2024-11-14T10:28:29.987561Z", "updated_at": "2024-11-14T10:28:31.355315Z", "source": "pipeline" }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Run Details" method: GET path: "/pipelines/runs/{run_id}/" url: "/api/tir/operations/get-pipelines-runs-run-id/" --- # Run Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs/{run_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `run_id` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `version` | string | no | | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful retrieval of run details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.run` | object | no | | | `data.run.id` | string (uuid) | no | | | `data.run.name` | string | no | | | `data.run.description` | string | no | | | `data.run.status` | string | no | | | `data.run.scheduled_at` | string (date-time) | no | | | `data.run.finished_at` | string (date-time) | no | | | `data.run.pipeline_spec` | object | no | | | `data.pipeline_runtime` | object | no | | | `data.pipeline_runtime.workflow_manifest` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "run": { "id": "116bf10c-6d76-461a-98d2-7feb99fe7d29", "name": "tir-run-111416275353", "description": "", "status": "Succeeded", "scheduled_at": "2024-11-14T10:58:23.000000Z", "finished_at": "2024-11-14T11:02:10.000000Z", "pipeline_spec": {} }, "pipeline_runtime": { "workflow_manifest": "string" } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Run List" method: GET path: "/pipelines/runs/" url: "/api/tir/operations/get-pipelines-runs/" --- # Run List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `page_size` | integer | no | Number of results per page | | `pipeline_version_id` | string (uuid) | no | Filter runs by pipeline version ID | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful response containing run details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].run_id` | string (uuid) | no | | | `data[].state` | string | no | | | `data[].progress` | string | no | | | `data[].finished_at` | string (date-time) | no | | | `data[].created_at` | string (date-time) | no | | | `data[].source` | string | no | | | `data[].scheduled_job` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 2439, "name": "tir-run-111416275353", "run_id": "116bf10c-6d76-461a-98d2-7feb99fe7d29", "state": "Pending", "progress": "", "finished_at": "1970-01-01T00:00:00Z", "created_at": "2024-11-14T10:58:23.918155Z", "source": "pipeline", "scheduled_job": null } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/runs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Pipeline List" method: GET path: "/pipelines/" url: "/api/tir/operations/get-pipelines/" --- # Pipeline List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `page_size` | integer | no | Number of results per page | | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successful retrieval of pipeline list | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].parameters` | string | no | | | `data[].pipeline_id` | string | no | | | `data[].runs` | array of object | no | | | `data[].default_version_id` | string | no | | | `data[].pipeline_type` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].source` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 1556, "name": "helloworld-124-1731580109", "description": "initial", "parameters": "", "pipeline_id": "824dccf7-edab-4b69-8f7a-6b77f726f74b", "runs": [], "default_version_id": "1c48f3a2-70cb-4deb-9b83-36678c2f507c", "pipeline_type": "Argo", "created_at": "2024-11-14T10:28:29.987561Z", "updated_at": "2024-11-14T10:28:31.355315Z", "source": "pipeline" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/pipelines/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Deployed Resources" method: GET path: "/private-cluster/{Private_Cluster_id}/deployed_resources/" url: "/api/tir/operations/get-private-cluster-private-cluster-id-deployed-resources/" --- # Deployed Resources `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/{Private_Cluster_id}/deployed_resources/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Private_Cluster_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `service_type` | one of `notebook`, `inference_service`, `vector_db` | yes | | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved data (empty array in this case) | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster//deployed_resources/?apikey=&service_type=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Monitoring" method: GET path: "/private-cluster/{Private_Cluster_id}/nodes-info/{node_name}/" url: "/api/tir/operations/get-private-cluster-private-cluster-id-nodes-info-node-name/" --- # Monitoring `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/{Private_Cluster_id}/nodes-info/{node_name}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Private_Cluster_id` | integer | yes | | | `node_name` | string | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `interval` | one of `5m`, `1h`, `1d`, `7d`, `1mn` | yes | interval of the Private_Cluster | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 ## All time plans | **Monitoring Period** | interval | |------------------------|-----------------| | 5 min | 5m | | 1 hour | 1h | | 1 day | 1d | | 7 days | 7d | | 1 month | 1mn | | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.node_memory_MemTotal_bytes` | object | no | | | `data.node_memory_MemTotal_bytes.time_series` | array of string | no | | | `data.node_memory_MemTotal_bytes.value_series` | array of string | no | | | `data.node_cpu_seconds_total` | object | no | | | `data.node_cpu_seconds_total.time_series` | array of string | no | | | `data.node_cpu_seconds_total.value_series` | array of string | no | | | `data.node_disk_read_bytes_total` | object | no | | | `data.node_disk_read_bytes_total.time_series` | array of string | no | | | `data.node_disk_read_bytes_total.value_series` | array of string | no | | | `data.node_disk_written_bytes_total` | object | no | | | `data.node_disk_written_bytes_total.time_series` | array of string | no | | | `data.node_disk_written_bytes_total.value_series` | array of string | no | | | `data.gpu_temperature` | object | no | | | `data.gpu_temperature.time_series` | array of string | no | | | `data.gpu_temperature.value_series` | array of string | no | | | `data.gpu_util` | object | no | | | `data.gpu_util.time_series` | array of string | no | | | `data.gpu_util.value_series` | array of string | no | | | `data.node_disk_capacity` | integer | no | | | `data.node_disk_used` | integer | no | | | `data.node_memory_capacity` | integer | no | | | `data.node_used_memory` | integer | no | | | `data.name` | string | no | | | `data.worker_type` | string | no | | | `data.status` | string | no | | | `data.total_cpu` | integer | no | | | `data.total_gpu` | integer | no | | | `data.free_cpu` | integer | no | | | `data.allocated_cpu` | integer | no | | | `data.allocated_gpu` | integer | no | | | `data.free_gpu` | integer | no | | | `data.free_memory` | integer | no | | | `data.free_ephemeral_storage` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "node_memory_MemTotal_bytes": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "92.16097494066116", "92.17453237565253", "92.19093818556306", "92.20230057434853", "92.21072471230723" ] }, "node_cpu_seconds_total": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "7.094318181890147", "6.230681818296125", "6.252272727327767", "6.317045454687276", "6.315909091023397" ] }, "node_disk_read_bytes_total": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "91900170294272", "91900170818560", "91900170818560", "91900170818560", "91900170818560" ] }, "node_disk_written_bytes_total": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "6074665978880", "6074684582912", "6074699449344", "6074714261504", "6074729580032" ] }, "gpu_temperature": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "27", "27", "27", "27", "27" ] }, "gpu_util": { "time_series": [ "12:06:05PM", "12:06:20PM", "12:06:35PM", "12:06:50PM", "12:07:05PM" ], "value_series": [ "0", "0", "0", "0", "0" ] }, "node_disk_capacity": 1572851396608, "node_disk_used": 1251752009728, "node_memory_capacity": 118492266496, "node_used_memory": 19927318528, "name": "e2e_node_7", "worker_type": "private_cloud_164_A100", "status": "Ready", "total_cpu": 16, "total_gpu": 1, "free_cpu": 15, "allocated_cpu": 0, "allocated_gpu": 0, "free_gpu": 1, "free_memory": 118, "free_ephemeral_storage": 1572 }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster//nodes-info//?apikey=&interval=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Private Cluster Node List" method: GET path: "/private-cluster/{Private_Cluster_id}/nodes-info/" url: "/api/tir/operations/get-private-cluster-private-cluster-id-nodes-info/" --- # Private Cluster Node List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/{Private_Cluster_id}/nodes-info/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Private_Cluster_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].name` | string | no | | | `data[].worker_type` | string | no | | | `data[].status` | string | no | | | `data[].total_cpu` | integer | no | | | `data[].total_gpu` | integer | no | | | `data[].free_cpu` | integer | no | | | `data[].allocated_cpu` | integer | no | | | `data[].allocated_gpu` | integer | no | | | `data[].free_gpu` | integer | no | | | `data[].free_memory` | integer | no | | | `data[].free_ephemeral_storage` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "name": "e2e_node_202", "worker_type": "private_cloud_56_GDC-8xH10080", "status": "Ready", "total_cpu": 224, "total_gpu": 8, "free_cpu": 224, "allocated_cpu": 0, "allocated_gpu": 0, "free_gpu": 8, "free_memory": 2164, "free_ephemeral_storage": 783 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster//nodes-info/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Private Cluster Details" method: GET path: "/private-cluster/{Private_Cluster_id}/" url: "/api/tir/operations/get-private-cluster-private-cluster-id/" --- # Private Cluster Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/{Private_Cluster_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Private_Cluster_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Each Private Cluster Detail. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.ephemeral_storage` | integer | no | | | `data.sku_details.specs.gpu_memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.gpu_switch_type` | string | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.specs.sku_type` | string | no | | | `data.sku_details.specs.gpu_card_type` | string | no | | | `data.sku_details.specs.category` | string | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number (float) | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.updated_at` | string (date-time) | no | | | `data.created_at` | string (date-time) | no | | | `data.nodes_count` | integer | no | | | `data.committed_info` | object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 163, "name": "p-cluster-02191709474", "sku_details": { "specs": { "sku_id": 74, "name": "A100", "series": "GPU", "cpu": 1, "gpu": 1, "memory": 40, "ephemeral_storage": 1, "gpu_memory": 0, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0, "sku_type": "A100", "gpu_card_type": "A100", "category": "private_cloud" }, "plan": { "sku_item_price_id": 195, "sku_type": "hourly", "committed_days": 0, "unit_price": 100, "currency": "INR", "is_active": true, "description": "gpu_private_cloud" } }, "created_by": { "id": 871, "name": "Vishnukant Shukla", "email": "vishnukant.shukla+acl@e2enetworks.com", "username": "vishnukant.shukla+acl@e2enetworks.com" }, "updated_at": "2025-02-20T05:31:28.730991Z", "created_at": "2025-02-20T05:31:28.673753Z", "nodes_count": 1, "committed_info": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster//?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Private Cluster List" method: GET path: "/private-cluster/" url: "/api/tir/operations/get-private-cluster/" --- # Private Cluster List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 List of All Private Cluster | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | | | `data[].sku_details.specs.name` | string | no | | | `data[].sku_details.specs.series` | string | no | | | `data[].sku_details.specs.cpu` | integer | no | | | `data[].sku_details.specs.gpu` | integer | no | | | `data[].sku_details.specs.memory` | integer | no | | | `data[].sku_details.specs.ephemeral_storage` | integer | no | | | `data[].sku_details.specs.gpu_memory` | integer | no | | | `data[].sku_details.specs.is_free` | boolean | no | | | `data[].sku_details.specs.is_active` | boolean | no | | | `data[].sku_details.specs.gpu_switch_type` | string | no | | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | | | `data[].sku_details.specs.sku_type` | string | no | | | `data[].sku_details.specs.gpu_card_type` | string | no | | | `data[].sku_details.specs.category` | string | no | | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].sku_details.plan.sku_type` | string | no | | | `data[].sku_details.plan.committed_days` | integer | no | | | `data[].sku_details.plan.unit_price` | number (float) | no | | | `data[].sku_details.plan.currency` | string | no | | | `data[].sku_details.plan.is_active` | boolean | no | | | `data[].sku_details.plan.description` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].created_at` | string (date-time) | no | | | `data[].nodes_count` | integer | no | | | `data[].committed_info` | object | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 163, "name": "p-cluster-02191709474", "sku_details": { "specs": { "sku_id": 74, "name": "A100", "series": "GPU", "cpu": 1, "gpu": 1, "memory": 40, "ephemeral_storage": 1, "gpu_memory": 0, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0, "sku_type": "A100", "gpu_card_type": "A100", "category": "private_cloud" }, "plan": { "sku_item_price_id": 195, "sku_type": "hourly", "committed_days": 0, "unit_price": 100, "currency": "INR", "is_active": true, "description": "gpu_private_cloud" } }, "created_by": { "id": 871, "name": "abc", "email": "abc+acl@e2enetworks.com", "username": "abc+acl@e2enetworks.com" }, "updated_at": "2025-02-20T05:31:28.730991Z", "created_at": "2025-02-20T05:31:28.673753Z", "nodes_count": 1, "committed_info": null } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/private-cluster/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Reserve IP List" method: GET path: "/reserved_ips/" url: "/api/tir/operations/get-reserved-ips/" --- # Reserve IP List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | Page number for pagination | | `per_page` | integer | no | Number of results per page | | `location` | string | no | Filter by location | | `active_iam` | integer | no | Active IAM ID | ## Responses ### 200 List of reserved IPs | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.reserved_ips` | array of object | no | | | `data.reserved_ips[].id` | integer | no | | | `data.reserved_ips[].ip_address` | string (ipv4) | no | | | `data.reserved_ips[].service_name` | string | no | | | `data.reserved_ips[].created_at` | string (date-time) | no | | | `data.reserved_ips[].status` | string | no | | | `data.reserved_ips[].reserved_by` | object | no | | | `data.reserved_ips[].reserved_by.id` | integer | no | | | `data.reserved_ips[].reserved_by.name` | string | no | | | `data.reserved_ips[].reserved_by.email` | string (email) | no | | | `data.reserved_ips[].reserved_by.username` | string | no | | | `data.reserved_ips[].service_type` | string | no | | | `data.reserved_ips[].service_id` | integer | no | | | `data.reserved_ips[].location` | string | no | | | `data.reserved_ips[].egress_ip` | string (ipv4) | no | | | `data.reserved_ips[].myaccount_project_id` | integer | no | | | `data.reserved_ips[].vpc_details` | object | no | | | `data.reserved_ips[].vpc_details.dns` | string | no | | | `data.reserved_ips[].vpc_details.name` | string | no | | | `data.reserved_ips[].vpc_details.price` | string | no | | | `data.reserved_ips[].vpc_details.state` | string | no | | | `data.reserved_ips[].vpc_details.subnets` | array of object | no | | | `data.reserved_ips[].vpc_details.location` | string | no | | | `data.reserved_ips[].vpc_details.vm_count` | integer | no | | | `data.reserved_ips[].vpc_details.ipv4_cidr` | string | no | | | `data.reserved_ips[].vpc_details.is_active` | boolean | no | | | `data.reserved_ips[].vpc_details.pool_size` | integer | no | | | `data.reserved_ips[].vpc_details.created_at` | string (date-time) | no | | | `data.reserved_ips[].vpc_details.gateway_ip` | string (ipv4) | no | | | `data.reserved_ips[].vpc_details.is_e2e_vpc` | boolean | no | | | `data.reserved_ips[].vpc_details.network_id` | integer | no | | | `data.reserved_ips[].vpc_details.gateway_node` | object | no | | | `data.reserved_ips[].vpc_details.gateway_node.state` | string | no | | | `data.reserved_ips[].vpc_details.gateway_node.node_id` | integer | no | | | `data.reserved_ips[].vpc_details.gateway_node.node_name` | string | no | | | `data.reserved_ips[].vpc_details.gateway_node.ip_address_public` | string (ipv4) | no | | | `data.reserved_ips[].vpc_details.gateway_node.ip_address_private` | string (ipv4) | no | | | `data.reserved_ips[].vpc_details.network_mask` | string | no | | | `data.reserved_ips[].vpc_details.project_name` | string | no | | | `data.reserved_ips[].vpc_details.committed_info` | object | no | | | `data.reserved_ips[].vpc_details.committed_details` | array of object | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_days` | integer | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_sku_id` | integer | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_sku_name` | string | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_sku_price` | number | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_upto_date` | string | no | | | `data.reserved_ips[].vpc_details.committed_details[].committed_node_message` | string | no | | | `data.reserved_ips[].connection_status` | string | no | | | `data.reserved_ip_limit` | integer | no | | | `data.available_reserved_ip` | integer | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": { "reserved_ips": [ { "id": 1174, "ip_address": "10.8.220.7", "service_name": "vllm-260202213427", "created_at": "2026-02-02T16:35:33.079344Z", "status": "Unavailable", "reserved_by": { "id": 12477, "name": "xyz", "email": "abc@e2enetworks.com", "username": "abc@e2enetworks.com" }, "service_type": "inferenceservice", "service_id": 8286, "location": "Delhi", "egress_ip": "10.8.220.8", "myaccount_project_id": 46594, "vpc_details": { "dns": "8.8.8.8 8.8.4.4", "name": "VPC-681", "price": "Rs. 4.8/Hour or Rs. 3500.0 Monthly", "state": "Active", "subnets": [], "location": "Delhi", "vm_count": 0, "ipv4_cidr": "10.8.220.0/23", "is_active": true, "pool_size": 512, "created_at": "2026-02-02T15:45:15.336925Z", "gateway_ip": "10.8.220.1", "is_e2e_vpc": true, "network_id": 51117, "gateway_node": { "state": "Running", "node_id": 292409, "node_name": "VPC-681-gateway", "ip_address_public": "164.52.211.67", "ip_address_private": "10.8.220.1" }, "network_mask": "255.255.254.0", "project_name": "test", "committed_info": null, "committed_details": [ { "committed_days": 30, "committed_sku_id": 9798, "committed_sku_name": "30 Days Committed , Rs. 3500.0", "committed_sku_price": 3500, "committed_upto_date": "04-March-2026 16:35", "committed_node_message": "This committed node will be reserved for next 30 days ( till 04-March-2026 16:35). The cost Rs. 3500.0 of this node will be added in next invoice." } ] }, "connection_status": "Connected" } ], "reserved_ip_limit": 5, "available_reserved_ip": 5 }, "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/reserved_ips/?apikey=&project_id=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Security Groups" method: GET path: "/security_groups/" url: "/api/tir/operations/get-security-groups/" --- # List Security Groups `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/security_groups/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 List of security groups | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].location` | string | no | | | `data[].is_ssh_security_group` | boolean | no | | | `data[].is_active` | boolean | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].attached_services` | object | no | | | `data[].attached_services.notebook` | array of object | no | | | `data[].attached_services.inference_service` | array of object | no | | | `data[].attached_services.distributed_job` | array of object | no | | | `data[].is_ssh_port_enabled` | boolean | no | | | `data[].inbound_rules_count` | integer | no | | | `data[].outbound_rules_count` | integer | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 17258, "name": "tir-sg-260115154544", "description": "", "location": "Delhi", "is_ssh_security_group": false, "is_active": true, "created_by": { "id": 9266, "name": "Sahil Verma", "email": "sahil+new@e2enetworks.com", "username": "sahil+new@e2enetworks.com" }, "attached_services": { "notebook": [ null ], "inference_service": [ null ], "distributed_job": [ null ] }, "is_ssh_port_enabled": false, "inbound_rules_count": 1, "outbound_rules_count": 1, "created_at": "2026-01-15T10:19:10.925925Z", "updated_at": "2026-01-15T10:19:10.925942Z" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/security_groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Model Endpoint Details" method: GET path: "/serving/inference/{inference_id}/" url: "/api/tir/operations/get-serving-inference-inference-id/" --- # Model Endpoint Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Get Model type" method: GET path: "/serving/model/model_types/" url: "/api/tir/operations/get-serving-model-model-types/" --- # Get Model type `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model/model_types/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 A list of integrations retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].created_by` | integer | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 1, "name": "pytorch", "created_by": 53, "created_at": "2023-06-01T09:38:54.769855Z", "updated_at": "2023-06-01T09:38:54.769924Z" } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model/model_types/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Model Repository List" method: GET path: "/serving/model/" url: "/api/tir/operations/get-serving-model/" --- # Model Repository List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved model access key and storage details | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].project_id` | integer | no | | | `data[].description` | string | no | | | `data[].model_type` | string | no | | | `data[].storage_type` | string | no | | | `data[].status` | string | no | | | `data[].access_key` | object | no | | | `data[].access_key.id` | integer | no | | | `data[].access_key.access_key` | string | no | | | `data[].access_key.secret_key` | string | no | | | `data[].access_key.tag` | string | no | | | `data[].access_key.is_managed` | boolean | no | | | `data[].bucket` | object | no | | | `data[].bucket.id` | integer | no | | | `data[].bucket.bucket_name` | string | no | | | `data[].bucket.bucket_url` | string | no | | | `data[].bucket.endpoint` | string | no | | | `data[].bucket.is_managed` | boolean | no | | | `data[].bucket.eos_bucket_permission_id` | integer | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].finetuning_id` | string | no | | | `data[].score` | object | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 1243, "name": "adahfihhhhhh", "project_id": 124, "description": null, "model_type": "pytorch", "storage_type": "managed", "status": "OK", "access_key": { "id": 2535, "access_key": "6AAYVBO46X8N1V3VGY81", "secret_key": "M5GDFOSIH5H5SWUK8FC2ELD8Y07H47OGQQM13IYT", "tag": "akgpued8b358bcb6a4d9d94255d3092f4b8b4", "is_managed": true }, "bucket": { "id": 2518, "bucket_name": "adahfihhhhhh-a64d9e", "bucket_url": "s3://adahfihhhhhh-a64d9e/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 10204 }, "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T09:42:01.554549Z", "updated_at": "2024-11-14T09:42:01.554608Z", "finetuning_id": null, "score": {} } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/model/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List SSH Keys" method: GET path: "/ssh_keys/" url: "/api/tir/operations/get-ssh-keys/" --- # List SSH Keys `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/ssh_keys/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Responses ### 200 List of SSH keys | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].pk` | integer | no | | | `data[].label` | string | no | | | `data[].ssh_key` | string | no | | | `data[].timestamp` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "pk": 2589, "label": "ssh_key_name", "ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx user@hostname", "timestamp": "20-Mar-2026" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ssh_keys/?apikey=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "IAM Users" method: GET path: "/users/iam-accounts/" url: "/api/tir/operations/get-users-iam-accounts/" --- # IAM Users `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/users/iam-accounts/` ## Responses ### 200 Successful response with user details and roles. The `id` field in each item is the **active_iam** value that should be passed as the `active_iam` query parameter in other TIR API calls. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | The active IAM ID. Use this value as the `active_iam` query parameter in other API calls. | | `data[].owner` | object | no | | | `data[].owner.id` | integer | no | | | `data[].owner.name` | string | no | | | `data[].owner.email` | string | no | | | `data[].owner.username` | string | no | | | `data[].owner.phone` | string | no | | | `data[].owner.is_primary_contact` | boolean | no | | | `data[].owner.primary_email` | string | no | | | `data[].owner.currency` | string | no | | | `data[].owner.is_suspended` | boolean | no | | | `data[].role` | string | no | | | `data[].has_ai_labs_access` | boolean | no | Whether this IAM account has access to AI Labs. | | `data[].has_tir_access` | boolean | no | Whether this IAM account has access to TIR. | Example 200 response: ```json { "code": 200, "data": [ { "id": 2421, "owner": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com", "phone": null, "is_primary_contact": true, "primary_email": "nipun.arora@e2enetworks.com", "currency": "INR", "is_suspended": true }, "role": "Owner", "has_ai_labs_access": true, "has_tir_access": true } ] } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/users/iam-accounts/?apikey=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Snapshot List" method: GET path: "/vector_db/{VectorDB_id}/snapshot/" url: "/api/tir/operations/get-vector-db-vectordb-id-snapshot/" --- # Snapshot List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/{VectorDB_id}/snapshot/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VectorDB_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved snapshot information | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].vector_db_id` | integer | no | | | `data[].status` | string | no | | | `data[].snapshot_time` | string (date-time) | no | | | `data[].restoring_status` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 69, "vector_db_id": 327, "status": "Creating", "snapshot_time": "2024-11-14T06:05:38.802401Z", "restoring_status": false } ], "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db//snapshot/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "VectorDB Details" method: GET path: "/vector_db/{VectorDB_id}" url: "/api/tir/operations/get-vector-db-vectordb-id/" --- # VectorDB Details `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/{VectorDB_id}` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `VectorDB_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Vector database instance details retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.disk_size` | integer | no | | | `data.replicas` | integer | no | | | `data.status` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.vectordb_type` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.gpu_switch_type` | string | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number (float) | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.endpoint_url` | string | no | | | `data.ip_enabled` | boolean | no | | | `data.api_key` | string | no | | | `data.read_only_api_key` | string | no | | | `data.dashboard_url` | string | no | | | `data.number_of_vectors` | string | no | | | `data.number_of_collections` | string | no | | | `data.total_peers` | string | no | | | `data.custom_sku` | string | no | | | `data.private_cloud_id` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 327, "name": "tir-qdrant-0709120fd5ghh1616", "disk_size": 30, "replicas": 3, "status": "Running", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T05:42:58.096699Z", "updated_at": "2024-11-14T05:49:24.650496Z", "vectordb_type": "Qdrant", "sku_details": { "specs": { "sku_id": 133, "name": "VDB.16GB", "series": "CPU", "cpu": 4, "gpu": 0, "memory": 16, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0 }, "plan": { "sku_item_price_id": 635, "sku_type": "hourly", "committed_days": 0, "unit_price": 9, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance" } }, "endpoint_url": "327v04a82908-vectordatabase.e2enetworks.net", "ip_enabled": false, "api_key": "9BtmiMORVjztx9Jqpoooy7PnNlkjM#04", "read_only_api_key": "z7zXhiNBhEcPR5jUJLd@", "dashboard_url": "https://327v04a82908-vectordatabase.e2enetworks.net:6333/dashboard", "number_of_vectors": "0", "number_of_collections": "1", "total_peers": "3", "custom_sku": null, "private_cloud_id": null }, "errors": {} } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "VectorDB List" method: GET path: "/vector_db/" url: "/api/tir/operations/get-vector-db/" --- # VectorDB List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | ## Responses ### 200 Vector database instances retrieved successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].disk_size` | integer | no | | | `data[].status` | string | no | | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | | | `data[].created_by.name` | string | no | | | `data[].created_by.email` | string | no | | | `data[].created_by.username` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].vectordb_type` | string | no | | | `data[].dashboard_url` | string | no | | | `data[].custom_sku` | string | no | | | `errors` | object | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": [ { "id": 327, "name": "tir-qdrant-0709120fd5ghh1616", "disk_size": 30, "status": "Running", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T05:42:58.096699Z", "updated_at": "2024-11-14T05:43:44.062600Z", "vectordb_type": "Qdrant", "dashboard_url": "https://327v04a82908-vectordatabase.e2enetworks.net:6333/dashboard", "custom_sku": null } ], "errors": {}, "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/vector_db/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Alerts" method: GET path: "/serving/inference/{inference_id}/alerts/" url: "/api/tir/operations/list-inference-alerts/" --- # List Alerts `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference/{inference_id}/alerts/` Returns all alerts attached to a model endpoint, with pagination support. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `inference_id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `page_no` | integer | no | Page number for pagination. | | `per_page` | integer | no | Number of results per page. | ## Responses ### 200 Paginated list of alerts attached to the model endpoint. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | Attachment record ID. | | `data[].inference` | integer | no | Model endpoint ID. | | `data[].inference_name` | string | no | Model endpoint name. | | `data[].alert` | object | no | | | `data[].alert.id` | integer | no | | | `data[].alert.name` | string | no | | | `data[].alert.location` | string | no | | | `data[].alert.resource_type` | string | no | | | `data[].alert.metric_type` | string | no | | | `data[].alert.metric_type_unit` | string | no | | | `data[].alert.operator` | string | no | | | `data[].alert.threshold_value` | number | no | | | `data[].alert.severity` | string | no | | | `data[].alert.created_by` | object | no | | | `data[].alert.created_by.id` | integer | no | | | `data[].alert.created_by.name` | string | no | | | `data[].alert.created_by.email` | string | no | | | `data[].alert.created_by.username` | string | no | | | `data[].alert.created_at` | string (date-time) | no | | | `data[].alert.updated_at` | string (date-time) | no | | | `data[].alert_name` | string | no | | | `data[].grafana_rule_uid` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `data[].is_firing` | boolean | no | Whether the alert is currently firing. | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | Total number of pages. | | `total_count` | integer | no | Total number of attached alerts. | Example 200 response: ```json { "code": 200, "data": [ { "id": 0, "inference": 0, "inference_name": "string", "alert": { "id": 0, "name": "string", "location": "string", "resource_type": "string", "metric_type": "string", "metric_type_unit": "string", "operator": "string", "threshold_value": 0, "severity": "string", "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string" }, "alert_name": "string", "grafana_rule_uid": "string", "created_at": "string", "updated_at": "string", "is_firing": false } ], "errors": {}, "message": "Success", "total_page_number": 0, "total_count": 0 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference//alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Kubernetes Clusters" method: GET path: "/tenant_clusters/" url: "/api/tir/operations/list-kubernetes-clusters/" --- # List Kubernetes Clusters `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/` Returns the Kubernetes clusters in a project and region, newest first, with their node pools and status. Send `page_no` and `per_page` together to get one page; without them every cluster is returned. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `page_no` | integer | no | The page number from which you want your page search results to be displayed. | | `per_page` | integer | no | Number of results per page | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The project's clusters in this region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].name` | string | no | | | `data[].description` | string | no | | | `data[].region` | string | no | | | `data[].status` | one of `queued`, `cluster_provisioning`, `worker_joining`, `worker_joined`, `ready`, `failed`, `deleting`, `deleted` | no | | | `data[].tenant_k8s_version` | string | no | | | `data[].control_plane_replicas` | integer | no | | | `data[].worker_replicas` | integer | no | The node count across all worker pools. | | `data[].ready_workers` | integer | no | | | `data[].node_pools` | array of object | no | | | `data[].node_pools[].id` | integer | no | | | `data[].node_pools[].tenant_cluster_id` | integer | no | | | `data[].node_pools[].name` | string | no | | | `data[].node_pools[].role` | one of `control_plane`, `worker` | no | | | `data[].node_pools[].status` | one of `queued`, `joining`, `ready`, `resizing`, `scaling`, `failed`, `deleting` | no | `resizing` while the pool moves to a new fixed size, `scaling` while its autoscaler changes the node count. | | `data[].node_pools[].replicas` | integer | no | The node count the pool is set to. | | `data[].node_pools[].ready_replicas` | integer | no | The pool's nodes that are up and ready. | | `data[].node_pools[].labels` | array of object | no | | | `data[].node_pools[].labels[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data[].node_pools[].labels[].value` | string | yes | Required. The same characters as the key. | | `data[].node_pools[].taints` | array of object | no | | | `data[].node_pools[].taints[].key` | string | yes | The key without the `node.e2enetworks.com/` prefix, which the platform adds. Up to 63 letters, numbers, `-`, `_`, or `.`, starting and ending with a letter or number. | | `data[].node_pools[].taints[].value` | string | no | May be empty. | | `data[].node_pools[].taints[].effect` | one of `NoSchedule`, `PreferNoSchedule`, `NoExecute` | yes | `NoExecute` evicts running pods that do not tolerate the taint. | | `data[].node_pools[].sku_details` | object | no | The computing resource and pricing plan a node pool runs on. | | `data[].node_pools[].sku_details.specs` | object | no | | | `data[].node_pools[].sku_details.specs.sku_id` | integer | no | | | `data[].node_pools[].sku_details.specs.name` | string | no | | | `data[].node_pools[].sku_details.specs.series` | string | no | | | `data[].node_pools[].sku_details.specs.cpu` | integer | no | | | `data[].node_pools[].sku_details.specs.memory` | integer | no | | | `data[].node_pools[].sku_details.plan` | object | no | | | `data[].node_pools[].sku_details.plan.sku_item_price_id` | integer | no | | | `data[].node_pools[].sku_details.plan.sku_type` | string | no | `hourly` or `committed`. | | `data[].node_pools[].sku_details.plan.committed_days` | integer | no | | | `data[].node_pools[].sku_details.plan.unit_price` | number | no | | | `data[].node_pools[].sku_details.plan.currency` | string | no | | | `data[].node_pools[].committed_info` | object | no | Set only for a pool on a committed plan. | | `data[].node_pools[].committed_info.updation_policy` | one of `auto_renew`, `convert_to_hourly_billing` | no | | | `data[].node_pools[].committed_info.next_sku_item_price` | object | no | The computing resource and pricing plan a node pool runs on. | | `data[].node_pools[].committed_info.next_sku_item_price.specs` | object | no | | | `data[].node_pools[].committed_info.next_sku_item_price.specs.sku_id` | integer | no | | | `data[].node_pools[].committed_info.next_sku_item_price.specs.name` | string | no | | | `data[].node_pools[].committed_info.next_sku_item_price.specs.series` | string | no | | | `data[].node_pools[].committed_info.next_sku_item_price.specs.cpu` | integer | no | | | `data[].node_pools[].committed_info.next_sku_item_price.specs.memory` | integer | no | | | `data[].node_pools[].committed_info.next_sku_item_price.plan` | object | no | | | `data[].node_pools[].committed_info.next_sku_item_price.plan.sku_item_price_id` | integer | no | | | `data[].node_pools[].committed_info.next_sku_item_price.plan.sku_type` | string | no | `hourly` or `committed`. | | `data[].node_pools[].committed_info.next_sku_item_price.plan.committed_days` | integer | no | | | `data[].node_pools[].committed_info.next_sku_item_price.plan.unit_price` | number | no | | | `data[].node_pools[].committed_info.next_sku_item_price.plan.currency` | string | no | | | `data[].node_pools[].committed_info.end_date` | string (date-time) | no | | | `data[].node_pools[].autoscaling` | object | no | The pool's size bounds. A `min_replicas` lower than `max_replicas` means the pool is autoscaled; equal values are a fixed size. | | `data[].node_pools[].autoscaling.min_replicas` | integer | no | | | `data[].node_pools[].autoscaling.max_replicas` | integer | no | | | `data[].node_pools[].created_at` | string (date-time) | no | | | `data[].node_pools[].updated_at` | string (date-time) | no | | | `data[].vpc` | object | no | The VPC and subnet the cluster's nodes take their addresses from. | | `data[].vpc.vpc_id` | integer | no | | | `data[].vpc.name` | string | no | | | `data[].vpc.cidr` | string | no | | | `data[].vpc.subnet` | object | no | | | `data[].vpc.subnet.subnet_id` | integer | no | | | `data[].vpc.subnet.name` | string | no | | | `data[].vpc.subnet.cidr` | string | no | | | `data[].vpc.subnet.gateway_ip` | string | no | | | `data[].created_at` | string (date-time) | no | | | `data[].updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | Only when `page_no` and `per_page` are sent. | | `total_count` | integer | no | Only when `page_no` and `per_page` are sent. | Example 200 response: ```json { "code": 200, "data": [ { "id": 103, "name": "tir-k8s-prod", "description": "Production cluster", "region": "Delhi", "status": "ready", "tenant_k8s_version": "v1.31.4", "control_plane_replicas": 3, "worker_replicas": 2, "ready_workers": 2, "node_pools": [ { "id": 22, "tenant_cluster_id": 103, "name": "app-workers", "role": "worker", "status": "ready", "replicas": 2, "ready_replicas": 2, "labels": [ { "key": "team", "value": "ml" } ], "taints": [ { "key": "dedicated", "value": "gpu", "effect": "NoSchedule" } ], "sku_details": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "committed_info": { "updation_policy": "auto_renew", "next_sku_item_price": { "specs": { "sku_id": 101, "name": "C3.8GB", "series": "CPU", "cpu": 4, "memory": 8 }, "plan": { "sku_item_price_id": 1001, "sku_type": "hourly", "committed_days": 0, "unit_price": 4.5, "currency": "INR" } }, "end_date": "2026-11-20T10:15:00Z" }, "autoscaling": { "min_replicas": 2, "max_replicas": 2 }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" } ], "vpc": { "vpc_id": 55, "name": "prod-vpc", "cidr": "10.10.0.0/16", "subnet": { "subnet_id": 77, "name": "prod-subnet", "cidr": "10.10.0.0/24", "gateway_ip": "10.10.0.1" } }, "created_at": "2026-10-20T10:15:00Z", "updated_at": "2026-10-20T10:42:00Z" } ], "errors": {}, "message": "Success", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Kubernetes LoadBalancer IPs" method: GET path: "/tenant_clusters/{tenant_cluster_id}/lb-ips/" url: "/api/tir/operations/list-kubernetes-lb-ips/" --- # List Kubernetes LoadBalancer IPs `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/` Returns the reserved IPs in the cluster's LoadBalancer IP pool, which Services of type `LoadBalancer` take their addresses from. `pool_synced` is `false` when the pool inside the cluster could not be checked against the saved addresses; `sync_error` then says why. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `tenant_cluster_id` | integer | yes | Kubernetes cluster ID, as returned by **List Kubernetes Clusters**. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The cluster's LoadBalancer IPs. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.lb_ips` | array of object | no | | | `data.lb_ips[].id` | integer | no | | | `data.lb_ips[].ip_address` | string | no | | | `data.lb_ips[].status` | string | no | `Unavailable` once the address is attached to the cluster. | | `data.lb_ips[].location` | string | no | | | `data.lb_ips[].created_at` | string (date-time) | no | | | `data.pool_synced` | boolean | no | | | `data.sync_error` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "lb_ips": [ { "id": 358, "ip_address": "203.0.113.10", "status": "Unavailable", "location": "Delhi", "created_at": "2026-10-20T10:15:00Z" } ], "pool_synced": true, "sync_error": null }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters//lb-ips/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "List Kubernetes Versions" method: GET path: "/tenant_clusters/k8s_versions/" url: "/api/tir/operations/list-kubernetes-versions/" --- # List Kubernetes Versions `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/k8s_versions/` Returns the Kubernetes versions offered for new clusters, most recently added first. Send a version's `id` as `tenant_k8s_version_id` in **Create Kubernetes Cluster**. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The versions offered now. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | array of object | no | | | `data[].id` | integer | no | | | `data[].version` | string | no | | | `data[].is_active` | boolean | no | | | `data[].created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": [ { "id": 1, "version": "v1.31.4", "is_active": true, "created_at": "2026-09-01T08:00:00Z" } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/k8s_versions/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Model Endpoints List" method: GET path: "/serving/inference" url: "/api/tir/operations/list-model-endpoints/" --- # Model Endpoints List `GET https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Successfully retrieved list of deployments. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP response status code | | `data` | array of object | no | | | `data[].id` | integer | no | Unique deployment ID | | `data[].model` | string | no | Model details (nullable) | | `data[].dataset` | string | no | Dataset associated with the deployment (nullable) | | `data[].model_type` | string | no | Type of model (nullable) | | `data[].sku` | integer | no | SKU ID | | `data[].name` | string | no | Name of the deployment | | `data[].storage_url` | string | no | URL for storage (nullable) | | `data[].dataset_storage_url` | string | no | URL for dataset storage (nullable) | | `data[].status` | string | no | Deployment status | | `data[].created_by` | object | no | | | `data[].created_by.id` | integer | no | Creator's user ID | | `data[].created_by.name` | string | no | Name of the creator | | `data[].created_by.email` | string | no | Email of the creator | | `data[].created_by.username` | string | no | Username of the creator | | `data[].created_at` | string (date-time) | no | Timestamp when the deployment was created | | `data[].updated_at` | string (date-time) | no | Timestamp when the deployment was last updated | | `data[].detailed_info` | object | no | | | `data[].detailed_info.args` | array of string | no | List of arguments | | `data[].detailed_info.commands` | array of string | no | List of commands | | `data[].detailed_info.info_log` | boolean | no | Whether info logs are enabled | | `data[].detailed_info.error_log` | boolean | no | Whether error logs are enabled | | `data[].detailed_info.tokenizer` | string | no | Tokenizer details (nullable) | | `data[].detailed_info.world_size` | integer | no | World size for distributed systems | | `data[].detailed_info.warning_log` | boolean | no | Whether warning logs are enabled | | `data[].detailed_info.server_version` | string | no | Server version (nullable) | | `data[].detailed_info.hugging_face_id` | string | no | Hugging Face model ID (nullable) | | `data[].detailed_info.model_serve_type` | string | no | Model serve type (nullable) | | `data[].detailed_info.log_verbose_level` | integer | no | Verbosity level for logs | | `data[].replica` | integer | no | Number of replicas for the deployment | | `data[].framework` | string | no | Framework used for the model | | `data[].custom_endpoint_details` | object | no | | | `data[].custom_endpoint_details.container` | object | no | | | `data[].custom_endpoint_details.container.container_name` | string | no | Name of the container | | `data[].custom_endpoint_details.container.container_type` | string | no | Type of container (public or private) | | `data[].custom_endpoint_details.container.advance_config` | object | no | | | `data[].custom_endpoint_details.container.advance_config.liveness_probe` | object | no | Liveness probe configuration | | `data[].custom_endpoint_details.container.advance_config.readiness_probe` | object | no | | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.path` | string | no | Path for readiness check | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.port` | string | no | Port for readiness probe | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.protocol` | string | no | Protocol for readiness probe | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.period_seconds` | integer | no | Period between readiness probe checks | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.timeout_seconds` | integer | no | Timeout for readiness probe | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.failure_threshold` | integer | no | Number of failed attempts before marking as unhealthy | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.success_threshold` | integer | no | Number of successful attempts before marking as healthy | | `data[].custom_endpoint_details.container.advance_config.readiness_probe.initial_delay_seconds` | integer | no | Initial delay before readiness probe starts | | `data[].custom_endpoint_details.container.advance_config.image_pull_policy` | string | no | Policy for pulling container images | | `data[].custom_endpoint_details.container.advance_config.is_liveness_probe_enabled` | boolean | no | Whether liveness probe is enabled | | `data[].custom_endpoint_details.container.advance_config.is_readiness_probe_enabled` | boolean | no | Whether readiness probe is enabled | | `data[].custom_endpoint_details.container.private_image_details` | object | no | Details for private image (if applicable) | | `data[].custom_endpoint_details.public_ip` | string | no | Whether the deployment has a public IP | | `data[].custom_endpoint_details.resource_details` | object | no | | | `data[].custom_endpoint_details.resource_details.disk_size` | integer | no | Disk size for the deployment | | `data[].custom_endpoint_details.resource_details.mount_path` | string | no | Mount path for resources | | `data[].custom_endpoint_details.resource_details.env_variables` | array of string | no | List of environment variables for the deployment | | `data[].message` | string | no | Success or error message | | `data[].auto_scale_policy` | object | no | | | `data[].auto_scale_policy.min_replicas` | integer | no | Minimum replicas for auto-scaling | | `data[].auto_scale_policy.max_replicas` | integer | no | Maximum replicas for auto-scaling | | `data[].auto_scale_policy.rules` | array of object | no | | | `data[].auto_scale_policy.rules[].value` | integer | no | Value for scaling condition | | `data[].auto_scale_policy.rules[].metric` | string | no | Metric for scaling condition | | `data[].auto_scale_policy.rules[].window` | integer | no | Window size for scaling | | `data[].auto_scale_policy.rules[].granularity` | integer | no | Granularity of the metric | | `data[].auto_scale_policy.rules[].watch_period` | integer | no | Watch period for scaling | | `data[].auto_scale_policy.rules[].condition_type` | string | no | Type of condition for scaling | | `data[].auto_scale_policy.rules[].custom_metric_name` | string | no | Custom metric name (nullable) | | `data[].auto_scale_policy.stability_period` | string | no | Stability period before scaling | | `data[].is_auto_scale_enabled` | boolean | no | Whether auto-scaling is enabled | | `data[].desired_replica` | integer | no | Desired number of replicas | | `data[].model_load_integration_id` | integer | no | Integration ID for model load | | `data[].sku_details` | object | no | | | `data[].sku_details.specs` | object | no | | | `data[].sku_details.specs.sku_id` | integer | no | SKU identifier | | `data[].sku_details.specs.name` | string | no | SKU name | | `data[].sku_details.specs.series` | string | no | SKU series | | `data[].sku_details.specs.cpu` | integer | no | Number of CPUs | | `data[].sku_details.specs.gpu` | integer | no | Number of GPUs | | `data[].sku_details.specs.memory` | integer | no | Memory in GB | | `data[].sku_details.specs.is_free` | boolean | no | Whether the SKU is free | | `data[].sku_details.specs.is_active` | boolean | no | Whether the SKU is active | | `data[].sku_details.specs.gpu_switch_type` | string | no | GPU switch type (nullable) | | `data[].sku_details.specs.local_storage_in_gb` | integer | no | Local storage in GB | | `data[].sku_details.plan` | object | no | | | `data[].sku_details.plan.sku_item_price_id` | integer | no | SKU item price ID | | `data[].sku_details.plan.sku_type` | string | no | SKU type (e.g., hourly) | | `data[].sku_details.plan.committed_days` | integer | no | Committed days for the plan | | `data[].sku_details.plan.unit_price` | number | no | Unit price for the SKU | | `data[].sku_details.plan.currency` | string | no | Currency for pricing | | `data[].sku_details.plan.is_active` | boolean | no | Whether the plan is active | | `data[].sku_details.plan.description` | string | no | Description of the SKU plan | | `data[].committed_info` | object | no | Committed information (nullable) | | `data[].committed_replicas` | integer | no | Committed replicas | | `data[].private_cloud_id` | string | no | Private cloud ID (nullable) | | `data[].custom_sku` | string | no | Custom SKU details (nullable) | | `errors` | object | no | | | `message` | string | no | Success or error message | Example 200 response: ```json { "code": 200, "data": [ { "id": 3036, "model": null, "dataset": null, "model_type": null, "sku": 162, "name": "tir-endpoint-1115165asd83333", "storage_url": null, "dataset_storage_url": null, "status": "ready", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-15T11:32:35.527296Z", "updated_at": "2024-11-15T11:40:05.222359Z", "detailed_info": { "args": [], "commands": [], "info_log": true, "error_log": true, "tokenizer": "", "world_size": 1, "warning_log": true, "server_version": "", "hugging_face_id": "", "model_serve_type": "", "log_verbose_level": 1 }, "replica": 1, "framework": "stable_diffusion_xl", "custom_endpoint_details": { "container": { "container_name": "registry.e2enetworks.net/aimle2e/stable-diffusion-xl-base-1.0:hf", "container_type": "public", "advance_config": { "liveness_probe": {}, "readiness_probe": { "path": "/v2/health/ready", "port": "8080", "protocol": "http", "period_seconds": 10, "timeout_seconds": 10, "failure_threshold": 3, "success_threshold": 1, "initial_delay_seconds": 10 }, "image_pull_policy": "Always", "is_liveness_probe_enabled": false, "is_readiness_probe_enabled": false }, "private_image_details": {} }, "public_ip": "no", "resource_details": { "disk_size": 100, "mount_path": "", "env_variables": [] } }, "message": "", "auto_scale_policy": { "min_replicas": 1, "max_replicas": 1, "rules": [ { "value": 100, "metric": "", "window": 1, "granularity": 1, "watch_period": 60, "condition_type": "limit", "custom_metric_name": "" } ], "stability_period": "300" }, "is_auto_scale_enabled": false, "desired_replica": 1, "model_load_integration_id": 428, "sku_details": { "specs": { "sku_id": 162, "name": "GDC.1xH200-30.375GB_SXM", "series": "GPU", "cpu": 30, "gpu": 1, "memory": 375, "is_free": false, "is_active": true, "gpu_switch_type": null, "local_storage_in_gb": 0 }, "plan": { "sku_item_price_id": 755, "sku_type": "hourly", "committed_days": 0, "unit_price": 470.4, "currency": "INR", "is_active": true, "description": "Hourly Compute Instance: inference_service" } }, "committed_info": null, "committed_replicas": 0, "private_cloud_id": null, "custom_sku": null } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/serving/inference?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Resize Database Storage" method: PATCH path: "/dbaas/{managed_db_id}/" url: "/api/tir/operations/patch-dbaas-managed-db-id/" --- # Resize Database Storage `PATCH https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/` Grows the disk. The database must be `Running`; `status` becomes `Scaling` until the new size is in place. A disk cannot shrink. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `disk_size` | integer | no | New disk size in GB: at least the current size, 20 to 2,000. | Example request: ```json { "disk_size": 200 } ``` ## Responses ### 200 Resize started; the database is `Scaling` | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.engine` | one of `postgresql` | no | | | `data.engine_version` | string | no | | | `data.status` | one of `Creating`, `Running`, `Scaling`, `Degraded`, `Stopped`, `Failed`, `Terminating` | no | `Creating` while the database is being set up, started or restarted, `Running`, `Scaling` while the disk grows, `Degraded` when the database is serving but its health could not be fully confirmed (Stop and Restart are also accepted from it), `Stopped`, `Failed` when the launch did not finish or a storage resize did not complete, and `Terminating` while it is deleted. | | `data.cpu` | string | no | vCPUs, set by the plan. | | `data.memory` | string | no | Memory, set by the plan. | | `data.disk_size` | integer | no | Disk size in GB. | | `data.endpoint_url` | string | no | Public read-write address and port. `null` until the database first reaches `Running`, and while it has no IP allowlist. | | `data.public_ip` | string | no | | | `data.private_ip` | string | no | | | `data.deletion_protection` | boolean | no | `true` when the database cannot be deleted. | | `data.parameter_group_id` | integer | no | The attached parameter group. | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `data.sku_details` | object | no | The plan: its specification under `specs` and its pricing under `plan`. `null` when the plan is gone. | | `data.ip_allowlist` | array of object | no | IPv4 ranges allowed to reach the public endpoint. | | `data.ip_allowlist[].cidr` | string | no | | | `data.ip_allowlist[].label` | string | no | Description of the range; empty when none was given. | | `data.location` | string | no | | | `data.vpc_id` | integer | no | | | `data.vpc` | object | no | The VPC attachment. `null` when no VPC is attached. | | `data.vpc.id` | integer | no | | | `data.vpc.vpc_name` | string | no | | | `data.vpc.subnet_name` | string | no | | | `data.vpc.resource_type` | string | no | | | `data.vpc.resource_name` | string | no | | | `data.vpc.object_id` | integer | no | | | `data.vpc.ip_address` | string | no | The database's address in the VPC. | | `data.vpc.status` | string | no | | | `data.vpc.attached_at` | string | no | | | `data.vpc.created_at` | string | no | | | `data.vpc_private_ip` | string | no | The database's VPC address; `null` without a VPC. | | `data.pgvector_enabled` | boolean | no | `true` when the `vector` extension was chosen at creation. | | `data.extensions` | array of string | no | Extensions set at creation. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 123, "name": "orders-db", "engine": "postgresql", "engine_version": "16", "status": "Scaling", "cpu": "4", "memory": "16Gi", "disk_size": 100, "endpoint_url": ":5432", "public_ip": "203.0.113.25", "private_ip": "10.0.4.17", "deletion_protection": false, "parameter_group_id": null, "created_by": { "id": 501, "name": "Example User", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:31:05Z", "sku_details": {}, "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "location": "Chennai", "vpc_id": null, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null, "pgvector_enabled": true, "extensions": [ "pg_stat_statements", "vector" ] }, "errors": {} } ``` ### 400 `disk_size` is smaller than the current size ("Disk size can't be reduced") or outside 20 to 2,000 ("Disk size not allowed less than 20.", "Disk size not allowed greater than 2000."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | Keyed by field. | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "disk_size": [ "Disk size can't be reduced" ] } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."), or the resize could not start ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request PATCH \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"disk_size":200}' ``` --- --- title: "Pause or Resume Auto Scaling Group Schedule" method: PATCH path: "/notebooks/autoscale-groups/{group_id}/scheduled-policies/{policy_id}/" url: "/api/tir/operations/patch-notebooks-autoscale-groups-group-id-scheduled-policies-policy-id/" --- # Pause or Resume Auto Scaling Group Schedule `PATCH https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/scheduled-policies/{policy_id}/` Pauses or resumes one schedule of an Auto Scaling Group. A paused schedule does not run and holds no capacity. This is the only field the call changes; to change anything else, edit the group. Needs the permission to update. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | | `policy_id` | integer | yes | Schedule ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `enabled` | boolean | yes | `false` pauses the schedule, `true` resumes it. Required. | Example request: ```json { "enabled": false } ``` ## Responses ### 200 Schedule updated | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.group_id` | integer | no | ID of the Auto Scaling Group. | | `data.name` | string | no | The schedule's name. Empty when none was sent. | | `data.cron_expression` | string | no | When the schedule runs, as a cron expression. | | `data.timezone_name` | string | no | The time zone `cron_expression` is read in. | | `data.target_min_replicas` | integer | no | Minimum number of VMs the schedule sets. | | `data.target_max_replicas` | integer | no | Maximum number of VMs the schedule sets. | | `data.enabled` | boolean | no | `false` when the schedule is paused and does not run. | | `data.duration_seconds` | integer | no | How long, in seconds, the schedule holds its range before the group goes back to its own. `null` when the change is permanent. | | `data.window_ends_at` | string | no | When the hold that is on now ends. `null` when the schedule is not holding. | | `data.next_run_at` | string | no | When the schedule runs next. `null` when it is paused. | | `data.last_run_at` | string | no | When the schedule last ran. `null` until it has. | | `data.created_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 12, "group_id": 41, "name": "Morning", "cron_expression": "0 8 * * 1-5", "timezone_name": "Asia/Kolkata", "target_min_replicas": 3, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-22T08:00:00+05:30", "last_run_at": null, "created_at": "2026-10-21T10:02:11+00:00" }, "errors": {} } ``` ### 400 `enabled` is missing ("enabled is required.") or not true or false ("enabled must be a boolean."). `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "enabled is required." } ``` ### 404 No Auto Scaling Group with that ID in the project and region, or no schedule with that ID in the group. `errors` is "Autoscale Group not found" or "Scheduled Policy not found". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Scheduled Policy not found" } ``` ### 500 The schedule could not be paused or resumed. `data` is "Failed to pause the schedule: " or "Failed to resume the schedule: ". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to pause the schedule: ", "errors": {} } ``` ## Example call ```bash curl --request PATCH \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//scheduled-policies//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"enabled":false}' ``` --- --- title: "Create Shared Dataset" method: POST path: "/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/" url: "/api/tir/operations/post-ai-labs-organization-organization-id-course-course-id-shared-storage/" --- # Create Shared Dataset `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/{Course_Id}/shared-storage/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | | `Course_Id` | integer | yes | Course ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the shared storage | | `storage_type` | string | yes | Type of storage | Example request: ```json { "name": "ai-labs-251027174445", "storage_type": "managed" } ``` ## Responses ### 201 Successfully created shared storage | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.shared_storage_details` | object | no | | | `data.shared_storage_details.id` | integer | no | | | `data.shared_storage_details.name` | string | no | | | `data.shared_storage_details.project_id` | integer | no | | | `data.shared_storage_details.description` | string | no | | | `data.shared_storage_details.storage_type` | string | no | | | `data.shared_storage_details.pvc` | string | no | | | `data.shared_storage_details.bucket` | object | no | | | `data.shared_storage_details.bucket.id` | integer | no | | | `data.shared_storage_details.bucket.bucket_name` | string | no | | | `data.shared_storage_details.bucket.bucket_url` | string | no | | | `data.shared_storage_details.bucket.endpoint` | string | no | | | `data.shared_storage_details.bucket.is_managed` | boolean | no | | | `data.shared_storage_details.bucket.eos_bucket_permission_id` | integer | no | | | `data.shared_storage_details.bucket.location` | string | no | | | `data.shared_storage_details.bucket.bucket_size` | string | no | | | `data.shared_storage_details.access_key` | object | no | | | `data.shared_storage_details.access_key.id` | integer | no | | | `data.shared_storage_details.access_key.access_key` | string | no | | | `data.shared_storage_details.access_key.secret_key` | string | no | | | `data.shared_storage_details.access_key.tag` | string | no | | | `data.shared_storage_details.access_key.is_managed` | boolean | no | | | `data.shared_storage_details.access_key.location` | string | no | | | `data.shared_storage_details.encryption_type` | string | no | | | `data.shared_storage_details.encryption_enable` | boolean | no | | | `data.shared_storage_details.status` | string | no | | | `data.shared_storage_details.created_by` | object | no | | | `data.shared_storage_details.created_by.id` | integer | no | | | `data.shared_storage_details.created_by.name` | string | no | | | `data.shared_storage_details.created_by.email` | string (email) | no | | | `data.shared_storage_details.created_by.username` | string | no | | | `data.shared_storage_details.created_at` | string (date-time) | no | | | `data.shared_storage_details.updated_at` | string (date-time) | no | | | `data.shared_storage_details.pfs` | string | no | | | `data.shared_storage_details.is_ai_labs_learning_dataset` | boolean | no | | | `data.shared_storage_details.is_mounted_on_another_node` | boolean | no | | | `data.created_by` | integer | no | | | `data.storage_type` | string | no | | | `errors` | object | no | | | `message` | string | no | | | `total_page_number` | integer | no | | | `total_count` | integer | no | | Example 201 response: ```json { "code": 201, "data": { "id": 13, "name": "ai-labs-22", "shared_storage_details": { "id": 3009, "name": "ai-labs-22", "project_id": 8007, "description": "string", "storage_type": "managed", "pvc": "string", "bucket": { "id": 5040, "bucket_name": "d-gpu-28911c97-a14c-4bc0-843b-d5c79fb58ee1", "bucket_url": "s3://d-gpu-28911c97-a14c-4bc0-843b-d5c79fb58ee1/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 16762, "location": "Delhi", "bucket_size": "0 bytes" }, "access_key": { "id": 5058, "access_key": "KQDVZB27TBRE0G7K8AD4", "secret_key": "string", "tag": "akgpu09d7ae590228460d96a0224373482ebd", "is_managed": true, "location": "Delhi" }, "encryption_type": "string", "encryption_enable": false, "status": "Pending", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:32:33.164317Z", "updated_at": "2025-10-28T07:32:33.164370Z", "pfs": "string", "is_ai_labs_learning_dataset": false, "is_mounted_on_another_node": false }, "created_by": 7483, "storage_type": "managed" }, "errors": {}, "message": "Created Successfully", "total_page_number": 1, "total_count": 1 } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course//shared-storage/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"ai-labs-251027174445","storage_type":"managed"}' ``` --- --- title: "Add Course" method: POST path: "/ai_labs/organization/{Organization_Id}/course/" url: "/api/tir/operations/post-ai-labs-organization-organization-id-course/" --- # Add Course `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/course/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the course | | `description` | string | no | Description of the course | | `professor_name` | string | yes | Name of the professor | | `professor_title` | one of `Prof.`, `Dr.`, `Mr.`, `Ms.`, `Mrs.` | yes | Title of the professor | Example request: ```json { "name": "course-251027164554", "description": "This is a course description", "professor_name": "Akansha", "professor_title": "Prof." } ``` ## Responses ### 201 Successfully created a new course | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string (email) | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.courseware_details` | object | no | | | `data.courseware_details.id` | integer | no | | | `data.courseware_details.name` | string | no | | | `data.courseware_details.project_id` | integer | no | | | `data.courseware_details.description` | string | no | | | `data.courseware_details.storage_type` | string | no | | | `data.courseware_details.pvc` | string | no | | | `data.courseware_details.bucket` | object | no | | | `data.courseware_details.bucket.id` | integer | no | | | `data.courseware_details.bucket.bucket_name` | string | no | | | `data.courseware_details.bucket.bucket_url` | string | no | | | `data.courseware_details.bucket.endpoint` | string | no | | | `data.courseware_details.bucket.is_managed` | boolean | no | | | `data.courseware_details.bucket.eos_bucket_permission_id` | integer | no | | | `data.courseware_details.bucket.location` | string | no | | | `data.courseware_details.bucket.bucket_size` | string | no | | | `data.courseware_details.access_key` | object | no | | | `data.courseware_details.access_key.id` | integer | no | | | `data.courseware_details.access_key.access_key` | string | no | | | `data.courseware_details.access_key.secret_key` | string | no | | | `data.courseware_details.access_key.tag` | string | no | | | `data.courseware_details.access_key.is_managed` | boolean | no | | | `data.courseware_details.access_key.location` | string | no | | | `data.courseware_details.encryption_type` | string | no | | | `data.courseware_details.encryption_enable` | boolean | no | | | `data.courseware_details.status` | string | no | | | `data.courseware_details.created_by` | object | no | | | `data.courseware_details.created_by.id` | integer | no | | | `data.courseware_details.created_by.name` | string | no | | | `data.courseware_details.created_by.email` | string (email) | no | | | `data.courseware_details.created_by.username` | string | no | | | `data.courseware_details.created_at` | string (date-time) | no | | | `data.courseware_details.updated_at` | string (date-time) | no | | | `data.courseware_details.pfs` | string | no | | | `data.courseware_details.location` | string | no | | | `data.professor_title` | string | no | | | `data.professor_name` | string | no | | | `data.professor` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 26, "name": "course-251027164554", "description": "This is a course description", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:22:44.701976Z", "updated_at": "2025-10-28T07:22:46.515400Z", "courseware_details": { "id": 3006, "name": "ai-labs-course-1761636164", "project_id": 8007, "description": null, "storage_type": "managed", "pvc": null, "bucket": { "id": 5037, "bucket_name": "d-gpu-86822602-a838-432f-af04-06a2e0ea6fdb", "bucket_url": "s3://d-gpu-86822602-a838-432f-af04-06a2e0ea6fdb/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 16759, "location": "Delhi", "bucket_size": "0 bytes" }, "access_key": { "id": 5055, "access_key": "IMJMASCNSBEICHSPG2BN", "secret_key": null, "tag": "akgpue9b954868841451a9fbec7df7d83f102", "is_managed": true, "location": "Delhi" }, "encryption_type": null, "encryption_enable": false, "status": "Pending", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:22:46.461837Z", "updated_at": "2025-10-28T07:22:46.461890Z", "pfs": null, "location": "Delhi" }, "professor_title": "Prof.", "professor_name": "test", "professor": "Prof. test" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//course/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"course-251027164554","description":"This is a course description","professor_name":"Akansha","professor_title":"Prof."}' ``` --- --- title: "Create Group" method: POST path: "/ai_labs/organization/{Organization_Id}/group/" url: "/api/tir/operations/post-ai-labs-organization-organization-id-group/" --- # Create Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/group/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `tag` | string | yes | Unique tag for the group | | `allowed_plans` | array of object | no | List of allowed plans for the group with max instances | | `allowed_plans[].plan_id` | integer | no | | | `allowed_plans[].plan_name` | string | no | | | `allowed_plans[].max_instances` | integer | no | | | `policies` | array of object | no | List of service policies with CRUD permissions | | `policies[].service_id` | string | no | | | `policies[].create` | boolean | no | | | `policies[].read` | boolean | no | | | `policies[].update` | boolean | no | | | `policies[].delete` | boolean | no | | Example request: ```json { "tag": "group-25102716406", "allowed_plans": [ { "plan_id": 7, "plan_name": "GDC.H100.80g.26.250GB_SXM", "max_instances": 1 } ], "policies": [ { "service_id": "notebook", "create": true, "read": true, "update": true, "delete": true } ] } ``` ## Responses ### 201 Successfully created a group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.allowed_plans` | array of object | no | | | `data.allowed_plans[].plan_id` | integer | no | | | `data.allowed_plans[].plan_name` | string | no | | | `data.allowed_plans[].max_instances` | integer | no | | | `data.policies` | array of object | no | | | `data.policies[].id` | integer | no | | | `data.policies[].name` | string | no | | | `data.policies[].description` | string | no | | | `data.policies[].created_by` | object | no | | | `data.policies[].created_by.id` | integer | no | | | `data.policies[].created_by.name` | string | no | | | `data.policies[].created_by.email` | string (email) | no | | | `data.policies[].created_by.username` | string | no | | | `data.policies[].created_at` | string (date-time) | no | | | `data.policies[].updated_at` | string (date-time) | no | | | `data.policies[].services` | array of object | no | | | `data.policies[].services[].permissions` | integer | no | | | `data.policies[].services[].service` | object | no | | | `data.policies[].services[].service.service_id` | string | no | | | `data.policies[].services[].service.alias_name` | string | no | | | `data.policies[].services[].service.description` | string | no | | | `data.tag` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string (email) | no | | | `data.created_by.username` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 57, "allowed_plans": [ { "plan_id": 1, "plan_name": "GDC.H100.5g.3.9GB_SXM", "max_instances": 1 } ], "policies": [ { "id": 365, "name": "AI_Labs_Policy_a14e8", "description": "AI_Labs_Policy_Description_57", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" }, "created_at": "2025-10-28T07:04:46.805475Z", "updated_at": "2025-10-28T07:04:46.805504Z", "services": [ { "permissions": 15, "service": { "service_id": "notebook", "alias_name": "Node", "description": "notebook" } } ] } ], "tag": "group-251028123437", "created_by": { "id": 7483, "name": "test", "email": "test@gmail.com", "username": "test@gmail.com" } }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//group/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"tag":"group-25102716406","allowed_plans":[{"plan_id":7,"plan_name":"GDC.H100.80g.26.250GB_SXM","max_instances":1}],"policies":[{"service_id":"notebook","create":true,"read":true,"update":true,"delete":true}]}' ``` --- --- title: "Add Members" method: POST path: "/ai_labs/organization/{Organization_Id}/members/" url: "/api/tir/operations/post-ai-labs-organization-organization-id-members/" --- # Add Members `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/{Organization_Id}/members/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Organization_Id` | integer | yes | Organization ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `member_emails` | array of string (email) | yes | List of member email addresses to be added | | `role` | string | yes | Role assigned to the members | | `groups` | array of integer | no | List of group IDs to which the members should be added | Example request: ```json { "member_emails": [ "test.singh1@gmail.com" ], "role": "AI_Labs_Student", "groups": [ 57 ] } ``` ## Responses ### 201 Successfully sent member invite | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": "Member Invite Sent.", "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization//members/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"member_emails":["test.singh1@gmail.com"],"role":"AI_Labs_Student","groups":[57]}' ``` --- --- title: "Create Organization" method: POST path: "/ai_labs/organization/" url: "/api/tir/operations/post-ai-labs-organization/" --- # Create Organization `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/` **Note:** AI Labs is currently available only in the **Delhi** region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | The name of the organization | | `description` | string | no | Description of the organization | | `sku_item_price_id` | integer | yes | Current SKU item price ID | Example request: ```json { "name": "Demo_Organization", "description": "This is a demo organization", "sku_item_price_id": 3807 } ``` ## Responses ### 201 Successfully created organization | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.project` | object | no | | | `data.project.team_id` | integer | no | | | `data.project.project_id` | integer | no | | | `data.project.project_name` | string | no | | | `data.project.team_name` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.ephemeral_storage` | integer | no | | | `data.sku_details.specs.gpu_memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.gpu_switch_type` | string | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.specs.sku_type` | string | no | | | `data.sku_details.specs.gpu_card_type` | string | no | | | `data.sku_details.specs.category` | string | no | | | `data.sku_details.specs.variant` | string | no | | | `data.sku_details.specs.no_of_nodes` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | string | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.sku_details.plan.location` | string | no | | | `data.organization_nodes` | array of object | no | | | `data.organization_nodes[].node_name` | string | no | | | `data.organization_nodes[].node_alias_name` | string | no | | | `data.members_count` | integer | no | | | `data.max_students` | integer | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.resource_count` | integer | no | | | `data.iam_info` | object | no | | | `data.iam_info.id` | integer | no | | | `data.iam_info.owner` | object | no | | | `data.iam_info.owner.id` | integer | no | | | `data.iam_info.owner.name` | string | no | | | `data.iam_info.owner.email` | string | no | | | `data.iam_info.owner.username` | string | no | | | `data.iam_info.added_user` | object | no | | | `data.iam_info.added_user.id` | integer | no | | | `data.iam_info.added_user.name` | string | no | | | `data.iam_info.added_user.email` | string | no | | | `data.iam_info.added_user.username` | string | no | | | `data.iam_info.role` | string | no | | | `data.iam_info.iam_type` | string | no | | | `data.iam_info.created_at` | string (date-time) | no | | | `data.iam_info.updated_at` | string (date-time) | no | | | `data.iam_info.is_student` | boolean | no | | | `data.invited_count` | integer | no | | | `data.ai_lab_plan` | object | no | | | `data.ai_lab_plan.id` | integer | no | | | `data.ai_lab_plan.name` | string | no | | | `data.ai_lab_plan.no_of_students` | integer | no | | | `data.ai_lab_plan.is_active` | boolean | no | | | `data.ai_lab_plan.no_of_nodes` | integer | no | | | `data.committed_info` | object | no | | | `data.status` | string | no | | | `data.course_count` | integer | no | | | `data.location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 38, "name": "demo_course", "description": "This is demo organization", "project": { "team_id": 0, "project_id": 0, "project_name": "string", "team_name": "string" }, "sku_details": { "specs": { "sku_id": 0, "name": "string", "series": "string", "cpu": 0, "gpu": 0, "memory": 0, "ephemeral_storage": 0, "gpu_memory": 0, "is_free": false, "is_active": false, "gpu_switch_type": "string", "local_storage_in_gb": 0, "sku_type": "string", "gpu_card_type": "string", "category": "string", "variant": "string", "no_of_nodes": 0 }, "plan": { "sku_item_price_id": 0, "sku_type": "string", "committed_days": 0, "unit_price": 0, "currency": "string", "is_active": false, "description": "string", "location": "string" } }, "organization_nodes": [ { "node_name": "string", "node_alias_name": "string" } ], "members_count": 0, "max_students": 0, "created_by": { "id": 0, "name": "string", "email": "string", "username": "string" }, "created_at": "string", "updated_at": "string", "resource_count": 0, "iam_info": { "id": 0, "owner": { "id": 0, "name": "string", "email": "string", "username": "string" }, "added_user": { "id": 0, "name": "string", "email": "string", "username": "string" }, "role": "string", "iam_type": "string", "created_at": "string", "updated_at": "string", "is_student": false }, "invited_count": 0, "ai_lab_plan": { "id": 0, "name": "string", "no_of_students": 0, "is_active": false, "no_of_nodes": 0 }, "committed_info": {}, "status": "string", "course_count": 0, "location": "string" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/ai_labs/organization/?apikey=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"Demo_Organization","description":"This is a demo organization","sku_item_price_id":3807}' ``` --- --- title: "Create Monitoring Group" method: POST path: "/alerts/monitoring-groups/" url: "/api/tir/operations/post-alerts-monitoring-groups/" --- # Create Monitoring Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups/` Create a new monitoring group to associate users with alerts. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the monitoring group | | `description` | string | no | Description of the monitoring group | | `member_ids` | array of integer | no | List of member IDs to be included in the group | Example request: ```json { "name": "dev-group", "description": "this is the group for all the developers", "member_ids": [ 12345 ] } ``` ## Responses ### 201 Monitoring group created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.project` | integer | no | | | `data.member_ids` | array of integer | no | | | `data.alerts` | array of object | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Monitoring group created successfully", "data": { "id": 37, "name": "dev-group", "description": "this is the group for all the developers", "project": 10450, "member_ids": [ 12345 ], "alerts": [], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-25T06:22:57Z", "updated_at": "2026-03-25T06:22:57Z" }, "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/monitoring-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"dev-group","description":"this is the group for all the developers","member_ids":[12345]}' ``` --- --- title: "Create Alert" method: POST path: "/alerts/" url: "/api/tir/operations/post-alerts/" --- # Create Alert `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/` Create a new alert for monitoring notebook resources based on specified thresholds. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | | | `resource_type` | one of `notebook`, `inference_service` | no | Type of resource to monitor | | `metric_type` | one of `cpu`, `memory`, `disk_usage`, `ephemeral_storage`, `gpu_temperature`, `gpu_power` | no | Metric on which alert is based | | `operator` | one of `>`, `<`, `>=`, `<=`, `==`, `!=` | no | Comparison operator | | `threshold_value` | number (float) | no | Threshold value for triggering alert | | `monitoring_group_ids` | array of integer | no | List of monitoring group IDs | | `severity` | one of `Critical`, `Warning`, `Info` | no | | Example request: ```json { "name": "alert-260325112117", "resource_type": "notebook", "metric_type": "memory", "operator": ">", "threshold_value": 80, "monitoring_group_ids": [ 26 ], "severity": "Critical" } ``` ## Responses ### 201 Alert created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.location` | string | no | | | `data.location_key` | string | no | | | `data.resource_type` | string | no | | | `data.resource_type_key` | string | no | | | `data.metric_type` | string | no | | | `data.metric_type_key` | string | no | | | `data.metric_type_unit` | string | no | | | `data.operator` | string | no | | | `data.operator_key` | string | no | | | `data.threshold_value` | number (float) | no | | | `data.severity` | string | no | | | `data.severity_key` | string | no | | | `data.monitoring_groups` | array of object | no | | | `data.monitoring_groups[].id` | integer | no | | | `data.monitoring_groups[].name` | string | no | | | `data.monitoring_groups[].description` | string | no | | | `data.monitoring_groups[].project` | integer | no | | | `data.monitoring_groups[].member_ids` | array of integer | no | | | `data.monitoring_groups[].alerts` | array of object | no | | | `data.monitoring_groups[].alerts[].id` | integer | no | | | `data.monitoring_groups[].alerts[].name` | string | no | | | `data.monitoring_groups[].created_by` | object | no | | | `data.monitoring_groups[].created_by.id` | integer | no | | | `data.monitoring_groups[].created_by.name` | string | no | | | `data.monitoring_groups[].created_by.email` | string | no | | | `data.monitoring_groups[].created_by.username` | string | no | | | `data.monitoring_groups[].created_at` | string (date-time) | no | | | `data.monitoring_groups[].updated_at` | string (date-time) | no | | | `data.attached_resources` | array of object | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Alert created successfully", "data": { "id": 51, "name": "alert-260325112117", "location": "Delhi", "location_key": "Delhi", "resource_type": "Instance", "resource_type_key": "notebook", "metric_type": "Memory Utilization", "metric_type_key": "memory", "metric_type_unit": "%", "operator": "Greater Than", "operator_key": ">", "threshold_value": 80, "severity": "Critical", "severity_key": "Critical", "monitoring_groups": [ { "id": 26, "name": "Dev-Team", "description": "", "project": 10450, "member_ids": [ 12345 ], "alerts": [ { "id": 51, "name": "alert-260325112117" } ], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-19T11:32:09Z", "updated_at": "2026-03-19T11:32:09Z" } ], "attached_resources": [], "created_by": { "id": 1001, "name": "User Name", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-03-25T05:51:36Z", "updated_at": "2026-03-25T05:51:36Z" }, "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"alert-260325112117","resource_type":"notebook","metric_type":"memory","operator":">","threshold_value":80,"monitoring_group_ids":[26],"severity":"Critical"}' ``` --- --- title: "Create API Token" method: POST path: "/auth-token/" url: "/api/tir/operations/post-auth-token/" --- # Create API Token `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `location` | one of `Delhi`, `Chennai` | yes | Location | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `token_name` | string | yes | | Example request: ```json { "token_name": "tir-token-260320155516" } ``` ## Responses ### 201 API token created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.token_name` | string | no | | | `data.api_key` | string (uuid) | no | | | `data.auth_token` | string | no | | | `data.created_at` | string | no | | | `data.expiry` | string (date) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 2977, "token_name": "tir-token-260320153924", "api_key": "73d830cd-5fd6-4543-8a9d-8a9c400d3d77", "auth_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", "created_at": "0 Day ago", "expiry": "2027-03-20" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/auth-token/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"token_name":"tir-token-260320155516"}' ``` --- --- title: "Create Container Registry" method: POST path: "/container_registry/" url: "/api/tir/operations/post-container-registry/" --- # Create Container Registry `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/` **Note:** Container Registry is currently available only in the **Delhi** region. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | The name of the user | | `username` | string | no | The username of the user | Example request: ```json { "name": "testing12345", "username": "username_" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/container_registry/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"testing12345","username":"username_"}' ``` --- --- title: "Start Connection Sync" method: POST path: "/data_syncer/connection/{Connection_Id}/jobs/" url: "/api/tir/operations/post-data-syncer-connection-connection-id-jobs/" --- # Start Connection Sync `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/{Connection_Id}/jobs/` ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Connection_Id` | integer | yes | Connection Id | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `jobType` | string | yes | | Example request: ```json { "jobType": "sync" } ``` ## Responses ### 200 Sync job created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.status` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.streamAggregatedStats` | array of object | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 184, "status": "running", "created_at": "2025-02-20T11:02:15Z", "updated_at": "2025-02-20T11:02:15Z", "streamAggregatedStats": [] }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection//jobs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"jobType":"sync"}' ``` --- --- title: "Create Connection" method: POST path: "/data_syncer/connection/" url: "/api/tir/operations/post-data-syncer-connection/" --- # Create Connection `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | | | `sync_mode` | one of `incremental_append`, `full_refresh` | no | | | `schedule` | object | no | | | `schedule.schedule_type` | one of `basic`, `advanced` | no | | | `schedule.basic_schedule` | integer | no | Schedule interval in hours | | `source_id` | integer | no | ID of the source data | | `destination_id` | integer | no | ID of the destination data | Example request: ```json { "name": "syncer-connection-022015573333", "sync_mode": "incremental_append", "schedule": { "schedule_type": "basic", "basic_schedule": 6 }, "source_id": 222, "destination_id": 147 } ``` ## Responses ### content ### CreateConnection ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/connection/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"syncer-connection-022015573333","sync_mode":"incremental_append","schedule":{"schedule_type":"basic","basic_schedule":6},"source_id":222,"destination_id":147}' ``` --- --- title: "Create Destination" method: POST path: "/data_syncer/destination/" url: "/api/tir/operations/post-data-syncer-destination/" --- # Create Destination `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the syncer destination | | `path_prefix` | string | no | Path prefix for the destination | | `dataset_id` | integer | no | ID of the dataset to sync to | Example request: ```json { "name": "syncer-destination-02201439044", "path_prefix": "/", "dataset_id": 1637 } ``` ## Responses ### 201 Destination created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.destination_type` | string | no | | | `data.status` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string (email) | no | | | `data.created_by.username` | string | no | | | `data.dataset` | object | no | | | `data.dataset.id` | integer | no | | | `data.dataset.name` | string | no | | | `data.dataset.project_id` | integer | no | | | `data.dataset.description` | string | no | | | `data.dataset.storage_type` | string | no | | | `data.dataset.pvc` | string | no | | | `data.dataset.bucket` | object | no | | | `data.dataset.bucket.id` | integer | no | | | `data.dataset.bucket.bucket_name` | string | no | | | `data.dataset.bucket.bucket_url` | string | no | | | `data.dataset.bucket.endpoint` | string | no | | | `data.dataset.bucket.is_managed` | boolean | no | | | `data.dataset.bucket.eos_bucket_permission_id` | integer | no | | | `data.dataset.access_key` | object | no | | | `data.dataset.access_key.id` | integer | no | | | `data.dataset.access_key.access_key` | string | no | | | `data.dataset.access_key.secret_key` | string | no | | | `data.dataset.access_key.tag` | string | no | | | `data.dataset.access_key.is_managed` | boolean | no | | | `data.dataset.encryption_type` | string | no | | | `data.dataset.encryption_enable` | boolean | no | | | `data.dataset.status` | string | no | | | `data.dataset.created_by` | object | no | | | `data.dataset.created_by.id` | integer | no | | | `data.dataset.created_by.name` | string | no | | | `data.dataset.created_by.email` | string (email) | no | | | `data.dataset.created_by.username` | string | no | | | `data.dataset.created_at` | string (date-time) | no | | | `data.dataset.updated_at` | string (date-time) | no | | | `data.knowledge_base` | string | no | | | `data.path_prefix` | string | no | | | `data.run` | boolean | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 134, "name": "syncer-destination-022012431919", "destination_type": "tir_dataset", "status": "active", "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" }, "dataset": { "id": 1636, "name": "syncer-destination-022012432323", "project_id": 4601, "description": null, "storage_type": "managed", "pvc": null, "bucket": { "id": 3161, "bucket_name": "d-gpu-05a1d225-3340-4383-87ec-c06412ea13a2", "bucket_url": "s3://d-gpu-05a1d225-3340-4383-87ec-c06412ea13a2/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 11602 }, "access_key": { "id": 3178, "access_key": "4RJUR0C58XCVTAZZCFPT", "secret_key": null, "tag": "akgpu16b8b19cb1864c5ab0f22260338487b5", "is_managed": true }, "encryption_type": null, "encryption_enable": false, "status": "Pending", "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" }, "created_at": "2025-02-20T07:13:27.788331Z", "updated_at": "2025-02-20T07:13:27.788397Z" }, "knowledge_base": null, "path_prefix": "/", "run": true, "created_at": "2025-02-20T07:13:43.911473Z", "updated_at": "2025-02-20T07:14:00.648954Z" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/destination/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"syncer-destination-02201439044","path_prefix":"/","dataset_id":1637}' ``` --- --- title: "Create Source" method: POST path: "/data_syncer/source/" url: "/api/tir/operations/post-data-syncer-source/" --- # Create Source `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the syncer source. | | `source_connector_id` | integer | no | ID of the source connector. | | `config` | object | no | | | `config.endpoint_url` | string | no | Endpoint URL of the object storage. | | `config.bucket_name` | string | no | Name of the storage bucket. | | `config.prefix` | string | no | Prefix path within the bucket. | | `config.access_key` | string | no | Access key for authentication. | | `config.secret_key` | string | no | Secret key for authentication. | Example request: ```json { "name": "syncer-source-021917393333", "source_connector_id": 1, "config": { "endpoint_url": "objectstore.e2enetworks.net", "bucket_name": "test-r1", "prefix": "/", "access_key": "OYG8DNWGXK6TOQ2GX1PM", "secret_key": "4938ORM9U5KL046CNHSJGYH4X6YZ6OL114GRY0AN" } } ``` ## Responses ### 201 Successfully created a syncer source | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the syncer source. | | `data.name` | string | no | Name of the syncer source. | | `data.status` | string | no | Status of the syncer source. | | `data.start_date` | string (date-time) | no | Start date of the syncer source. | | `data.file_search_filter` | array of string | no | File search filter settings. | | `data.file_size_upper_limit` | integer | no | Upper limit of file size. | | `data.file_size_lower_limit` | integer | no | Lower limit of file size. | | `data.path_array` | array of string | no | Array of file paths. | | `data.regex_pattern` | string | no | Regular expression pattern for file filtering. | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | ID of the creator. | | `data.created_by.name` | string | no | Name of the creator. | | `data.created_by.email` | string | no | Email of the creator. | | `data.created_by.username` | string | no | Username of the creator. | | `data.created_at` | string (date-time) | no | Timestamp of creation. | | `data.updated_at` | string (date-time) | no | Timestamp of last update. | | `data.source_type` | string | no | Type of the source. | | `data.source_connector` | object | no | | | `data.source_connector.id` | integer | no | ID of the source connector. | | `data.source_connector.source_type` | string | no | Type of the source connector. | | `data.source_connector.name` | string | no | Name of the source connector. | | `data.source_connector.icon_url` | string | no | URL of the icon for the source connector. | | `data.source_connector.description` | string | no | Description of the source connector. | | `data.configuration` | object | no | | | `data.configuration.bucket_name` | string | no | Name of the storage bucket. | | `data.configuration.endpoint_url` | string | no | Endpoint URL of the object storage. | | `data.configuration.access_key` | string | no | Access key for authentication. | | `data.configuration.prefix` | string | no | Prefix path within the bucket. | | `errors` | object | no | Contains error details if any. | | `message` | string | no | Response message. | Example 201 response: ```json { "code": 201, "data": { "id": 215, "name": "syncer-source-021917393333", "status": "active", "start_date": null, "file_search_filter": [], "file_size_upper_limit": 0, "file_size_lower_limit": 0, "path_array": [], "regex_pattern": null, "created_by": { "id": 4945, "name": "Rahul Tanwar", "email": "rahul.tanwar@e2enetworks.com", "username": "rahul.tanwar@e2enetworks.com" }, "created_at": "2025-02-19T12:12:53.612072Z", "updated_at": "2025-02-19T12:12:53.711002Z", "source_type": "minio", "source_connector": { "id": 1, "source_type": "minio", "name": "MinIO", "icon_url": "/data-syncer-images/minio.png", "description": "MinIO is an open source object storage system." }, "configuration": { "bucket_name": "test-r1", "endpoint_url": "objectstore.e2enetworks.net", "access_key": "OYG8DNWGXK6TOQ2GX1PM", "prefix": "/" } }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/data_syncer/source/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"syncer-source-021917393333","source_connector_id":1,"config":{"endpoint_url":"objectstore.e2enetworks.net","bucket_name":"test-r1","prefix":"/","access_key":"OYG8DNWGXK6TOQ2GX1PM","secret_key":"4938ORM9U5KL046CNHSJGYH4X6YZ6OL114GRY0AN"}}' ``` --- --- title: "Create Lifecycle Rule" method: POST path: "/datasets/{Dataset_Id}/lifecycle-rule/" url: "/api/tir/operations/post-datasets-dataset-id-lifecycle-rule/" --- # Create Lifecycle Rule `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/{Dataset_Id}/lifecycle-rule/` Create a lifecycle rule for automatic object expiration in the dataset's EOS bucket. Rules can be applied to all objects or to objects with a specific prefix. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `Dataset_Id` | integer | yes | | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `apply_to` | one of `all_objects`, `objects_with_prefix` | yes | Scope of the lifecycle rule: - all_objects: Apply rule to all objects in the bucket - objects_with_prefix: Apply rule only to objects with the specified prefix | | `expiration_days` | string | yes | Number of days after which objects will be deleted | | `prefix` | string | no | Object prefix/folder path (required when apply_to is objects_with_prefix) | Example request: ```json { "apply_to": "string", "expiration_days": "string", "prefix": "string" } ``` ## Responses ### 200 Success response with lifecycle rules information. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code. | | `data` | array of object | no | | | `data[].id` | integer | no | Unique identifier of the lifecycle rule. | | `data[].deleted` | boolean | no | Indicates whether the rule is deleted. | | `data[].created_at` | string (date-time) | no | Rule creation timestamp. | | `data[].updated_at` | string (date-time) | no | Rule last updated timestamp. | | `data[].rule_id` | string | no | Unique lifecycle rule identifier. | | `data[].enabled` | boolean | no | Whether the lifecycle rule is enabled. | | `data[].prefix` | string | no | Object prefix the rule applies to. | | `data[].expiry_date_or_days` | string | no | Expiry date or number of days. | | `data[].noncurrent_version_expiration_date_or_days` | string | no | Expiry for non-current object versions. | | `data[].transition` | string | no | Transition rule definition. | | `data[].storage_class` | string | no | Storage class for transition. | | `data[].tags` | string | no | Tags associated with the rule. | | `data[].location` | string | no | Bucket location. | | `data[].bucket` | integer | no | Associated bucket ID. | | `data[].user` | integer | no | User ID who created the rule. | | `errors` | object | no | Errors encountered during the operation. | | `message` | string | no | Result message. | Example 200 response: ```json { "code": 200, "data": [ { "id": 1711, "deleted": false, "created_at": "2026-02-05T10:43:25.612412Z", "updated_at": "2026-02-05T10:43:25.612430Z", "rule_id": "b0c6b464474f45eebcd626058ac637e7", "enabled": true, "prefix": "", "expiry_date_or_days": "1", "noncurrent_version_expiration_date_or_days": "", "transition": "", "storage_class": "", "tags": "", "location": "Delhi", "bucket": 16731, "user": 32970 } ], "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets//lifecycle-rule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"apply_to":"string","expiration_days":"string","prefix":"string"}' ``` --- --- title: "Create Dataset" method: POST path: "/datasets/" url: "/api/tir/operations/post-datasets/" --- # Create Dataset `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/` Create a new dataset with one of three storage types: - **managed**: System creates and manages a new EOS bucket - **existing_bucket**: Connect to an existing EOS bucket with provided credentials - **pvc**: Create a dataset with disk storage Optionally supports encryption (SSE-KMS or SSE-C) for managed and existing_bucket types. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the dataset | | `storage_type` | one of `managed`, `pvc`, `existing_bucket` | yes | Type of storage for the dataset | | `pvc` | object | no | PVC configuration, required if storage_type is pvc | | `pvc.disk_size` | integer | yes | Disk size for the PVC in GB | | `pvc.pvc_type` | string | yes | Type of the PVC | | `bucket` | object | no | Bucket configuration, required if storage_type is existing_bucket | | `bucket.bucket_name` | string | yes | Name of the existing bucket | | `bucket.endpoint` | string | yes | Endpoint URL of the object store | | `access_key` | object | no | Access key configuration, required if storage_type is existing_bucket | | `access_key.access_key` | string | yes | Access key for the bucket | | `access_key.secret_key` | string | yes | Secret key for the bucket | | `encryption_enable` | boolean | no | Whether to enable encryption | | `encryption_type` | one of `sse-kms`, `sse-c` | no | Type of encryption to use (required if encryption_enable is true): - sse-kms: Server-side encryption with KMS (E2E managed) - sse-c: Server-side encryption with customer-provided keys (user managed) | | `description` | string | no | Optional description of the dataset | Example request: ```json { "name": "string", "storage_type": "string", "pvc": { "disk_size": 0, "pvc_type": "string" }, "bucket": { "bucket_name": "string", "endpoint": "string" }, "access_key": { "access_key": "string", "secret_key": "string" }, "encryption_enable": false, "encryption_type": "string", "description": "string" } ``` ## Responses ### 201 Success response indicating that the dataset was created. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | object | no | | | `data.id` | integer | no | Unique identifier of the dataset. | | `data.name` | string | no | Name of the dataset. | | `data.project_id` | integer | no | ID of the project associated with the dataset. | | `data.description` | string | no | Description of the dataset, which is null in this case. | | `data.storage_type` | string | no | Type of storage used for the dataset. | | `data.pvc` | string | no | Persistent volume claim (PVC) details, which is null in this case. | | `data.bucket` | object | no | | | `data.bucket.id` | integer | no | Unique identifier of the bucket. | | `data.bucket.bucket_name` | string | no | Name of the storage bucket. | | `data.bucket.bucket_url` | string | no | URL of the bucket. | | `data.bucket.endpoint` | string | no | Endpoint URL of the object store. | | `data.bucket.is_managed` | boolean | no | Whether the bucket is managed. | | `data.bucket.eos_bucket_permission_id` | integer | no | EOS bucket permission ID. | | `data.access_key` | object | no | | | `data.access_key.id` | integer | no | Unique identifier for the access key. | | `data.access_key.access_key` | string | no | The access key. | | `data.access_key.secret_key` | string | no | The secret key for accessing the bucket. | | `data.access_key.tag` | string | no | A tag associated with the access key. | | `data.access_key.is_managed` | boolean | no | Whether the access key is managed. | | `data.encryption_type` | string | no | Type of encryption used, which is null in this case. | | `data.encryption_enable` | boolean | no | Whether encryption is enabled for the dataset. | | `data.status` | string | no | Status of the dataset. | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | User ID of the creator. | | `data.created_by.name` | string | no | Name of the creator. | | `data.created_by.email` | string | no | Email of the creator. | | `data.created_by.username` | string | no | Username of the creator. | | `data.created_at` | string (date-time) | no | Timestamp of when the dataset was created. | | `data.updated_at` | string (date-time) | no | Timestamp of when the dataset was last updated. | | `errors` | object | no | Any errors encountered during the operation. | | `message` | string | no | Message indicating the result of the operation. | Example 201 response: ```json { "code": 201, "data": { "id": 1310, "name": "eos-bucket", "project_id": 124, "description": "string", "storage_type": "managed", "pvc": "string", "bucket": { "id": 2525, "bucket_name": "d-gpu-b4273173-e5ab-4a85-ad89-dc8d6e698a93", "bucket_url": "s3://d-gpu-b4273173-e5ab-4a85-ad89-dc8d6e698a93/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 10214 }, "access_key": { "id": 2542, "access_key": "FWXL9EZZWS4BBSX9512V", "secret_key": "ZB3PM8XBNQGG4PFVDEI5915IO1TZHCFGEIO2LID9", "tag": "akgpu50a522c13dcd4708a5dbf6ae3da98bfa", "is_managed": true }, "encryption_type": "string", "encryption_enable": false, "status": "Pending", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T12:57:36.293942Z", "updated_at": "2024-11-14T12:57:36.293994Z" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/datasets/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","storage_type":"string","pvc":{"disk_size":0,"pvc_type":"string"},"bucket":{"bucket_name":"string","endpoint":"string"},"access_key":{"access_key":"string","secret_key":"string"},"encryption_enable":false,"encryption_type":"string","description":"string"}' ``` --- --- title: "Retry Database Provisioning" method: POST path: "/dbaas/{managed_db_id}/provisioning/" url: "/api/tir/operations/post-dbaas-managed-db-id-provisioning/" --- # Retry Database Provisioning `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/provisioning/` Runs the launch of a `Failed` database again, in place. `status` becomes `Creating`. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Retry started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | string | no | | | `data.message` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": "Creating", "message": "Provisioning retried." }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Failed`. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Retry is only available for databases in Failed state." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//provisioning/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Restart Database" method: POST path: "/dbaas/{managed_db_id}/restart/" url: "/api/tir/operations/post-dbaas-managed-db-id-restart/" --- # Restart Database `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/restart/` Restarts a `Running` or `Degraded` database. `status` becomes `Creating` and then `Running` once the database is back. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The action started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | string | no | The database status after the call. | | `data.message` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": "Creating", "message": "Database restart initiated." }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` or `Degraded` ("Database NOT in RUNNING state. Please try again later."), or the action could not start ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//restart/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Set Snapshot Schedule" method: POST path: "/dbaas/{managed_db_id}/snapshots/schedule/" url: "/api/tir/operations/post-dbaas-managed-db-id-snapshots-schedule/" --- # Set Snapshot Schedule `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/schedule/` Turns automatic snapshots on, or changes the schedule, and returns it. All times are in IST (Asia/Kolkata). Fields you leave out keep their saved values; a database that never had a schedule starts from `daily` at `02:00`, keeping 7. After each scheduled snapshot, scheduled snapshots beyond `retention_count` are deleted, oldest first; manual snapshots are never deleted by the schedule. A scheduled run is skipped while the database is not `Running` or `Degraded`. Refused while the database is `Terminating` or `Failed`. Needs the Create permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `frequency` | one of `daily`, `weekly`, `hourly`, `custom_cron` | no | `daily` runs once a day at `start_time`. `weekly` runs once a week on `day_of_week` at `start_time`. `hourly` runs every hour at the minute of `start_time`. `custom_cron` runs on `cron_expression`. | | `start_time` | string | no | Time of day in IST, `HH:MM` on a 24-hour clock. For `daily`, `weekly` and `hourly`. | | `day_of_week` | integer | no | 0 (Sunday) to 6 (Saturday). Required for `weekly`. | | `cron_expression` | string | no | For `custom_cron`: a 5-field cron expression (minute hour day-of-month month weekday), read in IST. Left out, the saved expression is kept (for a database that never had a schedule, `0 */6 * * *`, every 6 hours). | | `retention_count` | integer | no | How many scheduled snapshots to keep, 1 to 60. | Example request: ```json { "frequency": "weekly", "start_time": "03:30", "day_of_week": 0, "retention_count": 14 } ``` ## Responses ### 200 The schedule as saved | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.enabled` | boolean | no | Whether automatic snapshots are on. | | `data.frequency` | one of `daily`, `weekly`, `hourly`, `custom_cron` | no | | | `data.start_time` | string | no | Time of day in IST, as `HH:MM` on a 24-hour clock. | | `data.day_of_week` | integer | no | For `weekly`: 0 (Sunday) to 6 (Saturday). | | `data.cron_expression` | string | no | The 5-field cron expression the schedule runs on, read in IST. | | `data.retention_count` | integer | no | How many scheduled snapshots are kept. | | `data.next_run_at` | string | no | The next scheduled run, in IST. `null` when the schedule is off. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "enabled": true, "frequency": "daily", "start_time": "02:00", "day_of_week": null, "cron_expression": "0 2 * * *", "retention_count": 7, "next_run_at": "2026-10-27T02:00:00+05:30" }, "errors": {} } ``` ### 400 A field is outside its rule: "frequency must be one of: daily, weekly, hourly, custom_cron.", "start_time must be HH:MM in IST (24-hour format, e.g. '02:07').", "day_of_week is required when frequency is 'weekly'.", "cron_expression must be a 5-field cron expression (minute hour day month weekday), e.g. '0 */6 * * *' for every 6 hours." or "retention_count must be between 1 and 60.". A missing or invalid project ID gives `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "retention_count must be between 1 and 60." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is `Terminating` or `Failed` (as shown), or the schedule could not be applied, in which case nothing is changed ("Could not update the snapshot schedule right now; nothing was changed. Please try again."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots/schedule/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"frequency":"weekly","start_time":"03:30","day_of_week":0,"retention_count":14}' ``` --- --- title: "Restore Database Snapshot" method: POST path: "/dbaas/{managed_db_id}/snapshots/{snapshot_id}/restore/" url: "/api/tir/operations/post-dbaas-managed-db-id-snapshots-snapshot-id-restore/" --- # Restore Database Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/{snapshot_id}/restore/` Creates a new database from the snapshot and returns it as `Creating`. The database the snapshot came from is not changed and keeps running. The new database has the source's plan, PostgreSQL version, region and storage size. It holds the data, databases and users that were in the snapshot. It does not take over the source's IP allowlist, VPC, parameter group, deletion protection or snapshot schedule. It is a separate database. Poll the new database by its `id` until `status` is `Running`. The source database may be in any status. Restore from a `Completed` snapshot; the API does not check the snapshot's status. Needs the Create permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | | `snapshot_id` | integer | yes | Snapshot ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | Name of the new database, not used by another database in the project. Defaults to the source database's name followed by `-restore`. The API checks only that the name is free; use a name that follows the name rule of **Create Database**. | Example request: ```json { "name": "orders-db-restore" } ``` ## Responses ### 201 The new database, as `Creating` | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The new database; the main fields are shown here. | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.engine` | string | no | | | `data.engine_version` | string | no | | | `data.status` | string | no | | | `data.cpu` | string | no | | | `data.memory` | string | no | | | `data.disk_size` | integer | no | Storage in GB. | | `data.location` | string | no | | | `data.created_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 131, "name": "orders-db-restore", "engine": "postgresql", "engine_version": "16", "status": "Creating", "cpu": "2", "memory": "8Gi", "disk_size": 50, "location": "Chennai", "created_at": "2026-10-26T10:02:11Z" }, "errors": {} } ``` ### 400 Another database in the project already has the name. A missing or invalid project ID gives `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "name": "A database with the same name already exists in the Project." } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region ("Invalid request! Database Not Found"), or no snapshot with that ID on the database. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Snapshot not found." } ``` ### 412 The restore could not be started. The new database is not kept, and the restore shows as `Failed` in **List Database Restores**. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Error occurred at backend! Please try after sometime." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots//restore/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"orders-db-restore"}' ``` --- --- title: "Create Database Snapshot" method: POST path: "/dbaas/{managed_db_id}/snapshots/" url: "/api/tir/operations/post-dbaas-managed-db-id-snapshots/" --- # Create Database Snapshot `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/snapshots/` Takes a snapshot of the database's disk and returns it as `Creating` at once. The database stays online while the snapshot is taken. Call **List Database Snapshots** until `status` is `Completed` or `Failed`. A snapshot not finished within about 10 minutes is marked `Failed`. When it completes, an email goes to the person who created the database. Works only while the database is `Running`. Needs the Create permission for DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Up to 63 characters: lowercase letters, numbers and hyphens, starting and ending with a letter or number. Not used by another snapshot in the project in this region, including other databases' snapshots; a name taken by another database's snapshot fails with 412. | Example request: ```json { "name": "orders-db-20261026-093000" } ``` ## Responses ### 201 The snapshot, as `Creating` | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.status` | one of `Creating`, `Completed`, `Failed` | no | A new snapshot is `Creating` until it finishes as `Completed` or `Failed`. | | `data.size` | integer | no | Size of the disk the snapshot holds, in bytes (the database's storage size), set when the snapshot completes; `0` before that. | | `data.backup_type` | one of `on_demand`, `scheduled` | no | `on_demand` for a snapshot someone took, `scheduled` for one the snapshot schedule took. | | `data.created_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 41, "name": "orders-db-20261026-093000", "status": "Creating", "size": 21474836480, "backup_type": "on_demand", "created_at": "2026-10-26T09:30:00Z" }, "errors": {} } ``` ### 400 The name is missing, breaks the rule ("Name must contain only lowercase letters, numbers and hyphens, start and end with a letter or number, and be at most 63 characters.") or is taken ("A snapshot with this name already exists."). A missing or invalid project ID gives `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "name": [ "A snapshot with this name already exists." ] } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` (as shown), or the snapshot could not be started ("Snapshot creation failed"). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//snapshots/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"orders-db-20261026-093000"}' ``` --- --- title: "Start Database" method: POST path: "/dbaas/{managed_db_id}/start/" url: "/api/tir/operations/post-dbaas-managed-db-id-start/" --- # Start Database `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/start/` Starts a `Stopped` database. `status` becomes `Creating` and then `Running` once the database is up. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The action started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | string | no | The database status after the call. | | `data.message` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": "Creating", "message": "Database start initiated." }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Stopped` ("Database must be in Stopped state to start."), or the action could not start ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database must be in Stopped state to start." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//start/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Stop Database" method: POST path: "/dbaas/{managed_db_id}/stop/" url: "/api/tir/operations/post-dbaas-managed-db-id-stop/" --- # Stop Database `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/stop/` Stops a `Running` or `Degraded` database; `status` becomes `Stopped`. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The action started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.status` | string | no | The database status after the call. | | `data.message` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": "Stopped", "message": "Database stop initiated." }, "errors": {} } ``` ### 400 The project ID is missing or is not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid" } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` or `Degraded` ("Database must be in Running state to stop."), or the action could not start ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database must be in Running state to stop." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//stop/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Update Database" method: POST path: "/dbaas/{managed_db_id}/update/" url: "/api/tir/operations/post-dbaas-managed-db-id-update/" --- # Update Database `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/update/` Changes several settings in one call. Send the fields to change: `extensions`, `pg_id` (or `parameter_group_id`), `ip_allowlist`, `vpc_id` and `disk_size`. They are applied in that order, each on its own, and `results` holds each one's own response. The call answers 200 when all succeed, otherwise with the status of the first that failed; the others are still applied. `pg_id: null` detaches the parameter group and `vpc_id: null` detaches the VPC, when one is attached. To make a single change instead, send `action` with that action's fields; the response is then that change's own response. - Extensions install only while the database is `Running`. Adding only extensions that are already installed is refused with "Already installed: ". - A parameter group attaches while the database is `Running` or `Scaling`, and its values are set on the database at once. Values set by an earlier group stay unless the new group sets the same parameter. Detaching only removes the link; the values already applied stay. - The IP allowlist replaces the whole list, as in **Update Database IP Allowlist**. - A VPC attaches or detaches while the database is `Running` or `Scaling`, and the database restarts to take the change. Attaching a different VPC moves the database to it. On detach, the database moves onto the project's default VPC, which is created then if the project has none. The default VPC itself cannot be detached. - The disk grows only while the database is `Running`, as in **Resize Database Storage**. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `action` | one of `extensions`, `attach_pg`, `detach_pg`, `allowlist`, `vpc`, `scale` | no | Make only this change. `extensions` uses `extensions`; `attach_pg` uses `pg_id`; `detach_pg` takes nothing more; `allowlist` uses `ip_allowlist`; `vpc` uses `vpc_id`, `subnet_id` and `vpc_action`; `scale` uses `disk_size`. | | `extensions` | array of one of `pg_stat_statements`, `vector`, `pg_trgm`, `uuid-ossp`, `pgcrypto`, `hstore`, `citext`, `btree_gin`, `btree_gist`, `ltree`, `unaccent` | no | Extensions to install, from **List Database Extensions**. | | `pg_id` | integer | no | Parameter group to attach; `null` detaches. | | `parameter_group_id` | integer | no | Same as `pg_id`. | | `ip_allowlist` | array of object | no | The whole new allowlist. Each entry is an IPv4 address or CIDR range, as a string or as an object with `cidr` and an optional `label`. A bare address becomes a /32 range, host bits are cleared (`10.0.0.5/24` becomes `10.0.0.0/24`), and a repeated range is kept once. Up to 50 entries. `0.0.0.0/0` allows any address. | | `vpc_id` | integer | no | VPC to attach; `null` detaches. | | `subnet_id` | integer | no | Subnet of the VPC. Optional; without it the VPC's subnet is used. | | `vpc_action` | one of `attach`, `detach` | no | With `action: vpc`. Without it, the VPC attaches when `vpc_id` is sent and detaches otherwise. | | `disk_size` | integer | no | New disk size in GB, at least the current size. | Example request: ```json { "extensions": [ "pg_trgm" ], "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ] } ``` ## Responses ### 200 Every change was applied or started. Without `action`, the body below; with `action`, that change's own response. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `updated` | array of string | no | The fields that were applied, in order. | | `results` | object | no | Each field's own response, with its `code`, `message`, `data` and `errors`. | Example 200 response: ```json { "code": 200, "updated": [ "extensions", "ip_allowlist" ], "results": { "extensions": { "code": 200, "data": { "installed": [ "pg_trgm" ], "already_installed": [], "failed": {}, "extensions": [ "pg_stat_statements", "pg_trgm", "plpgsql", "vector" ] }, "errors": {}, "message": "Success" }, "ip_allowlist": { "code": 200, "data": { "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ] }, "errors": {}, "message": "Success" } } } ``` ### 400 No field to change was sent ("No updatable fields provided. Send one or more of: disk_size, ip_allowlist, vpc_id, pg_id, extensions (or an explicit 'action').") or `action` is not one this call accepts; these two come back as `{"error": "..."}`. Otherwise a change was refused, for example "Already installed: ", "Extension '' is not available for postgresql.", "Parameter group '' is already attached.", "No parameter group attached.", "No VPC attached.", "This resource is already attached to a VPC." or an allowlist or disk size error. A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `error` | string | no | | Example 400 response: ```json { "error": "No updatable fields provided. Send one or more of: disk_size, ip_allowlist, vpc_id, pg_id, extensions (or an explicit 'action')." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region ("Invalid request! Database Not Found"), or the parameter group, VPC or subnet was not found ("Parameter group not found.", "VPC not found.", "Subnet not found in this VPC."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later.") for a change that needs it, or a change could not be made ("Error occurred at backend! Please try after sometime.", "Could not attach the VPC. Please try again.", "Could not detach the VPC. Please try again.", "This VPC cannot be detached. Attach another VPC instead."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//update/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"extensions":["pg_trgm"],"ip_allowlist":[{"cidr":"203.0.113.0/24","label":"office VPN"}]}' ``` --- --- title: "Reset Database User Password" method: POST path: "/dbaas/{managed_db_id}/users/{username}/reset-password/" url: "/api/tir/operations/post-dbaas-managed-db-id-users-username-reset-password/" --- # Reset Database User Password `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/users/{username}/reset-password/` Sets a new password for a database user. The database must be `Running`. The response repeats the new password, so do not log it. Needs the Update permission on DBaaS. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `managed_db_id` | integer | yes | Database ID | | `username` | string | yes | The user. | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `password` | string (password) | yes | 12 to 64 characters with at least one uppercase letter, one lowercase letter, one digit and one symbol. | Example request: ```json { "password": "" } ``` ## Responses ### 200 Password reset | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | The result, under its own `data`; its `log` reads "Password reset successfully." | | `data.status` | integer | no | | | `data.data` | object | no | | | `data.data.username` | string | no | | | `data.data.password` | string | no | The new password. | | `data.errors` | object | no | | | `data.log` | string | no | | | `data.success` | boolean | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "status": 200, "data": { "username": "appadmin", "password": "" }, "errors": {}, "log": "Password reset successfully.", "success": true }, "errors": {} } ``` ### 400 The user is one the platform uses ("'' is a protected system role.") or the password is missing ("This field is required.") or breaks the rule ("Password must be 12-64 characters and include at least one uppercase letter, one lowercase letter, one digit and one symbol."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | Keyed by field. | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "password": "Password must be 12-64 characters and include at least one uppercase letter, one lowercase letter, one digit and one symbol." } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No database with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found" } ``` ### 412 The database is not `Running` ("Database NOT in RUNNING state. Please try again later."), or the password could not be set, for example for a user that does not exist ("Error occurred at backend! Please try after sometime."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Database NOT in RUNNING state. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas//users//reset-password/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"password":""}' ``` --- --- title: "Create Parameter Group" method: POST path: "/dbaas/parameter-group/" url: "/api/tir/operations/post-dbaas-parameter-group/" --- # Create Parameter Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/` Creates a parameter group for one engine version, from a template. A group stores only the values you send; every other parameter keeps the engine default. The API stores parameter names and values without checking them against the template; PostgreSQL checks them only when the group is applied to a database. Take names and allowed values from **Get Parameter Group Template**. The group's engine version cannot be changed later. Needs the Create permission for DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | 3 to 63 characters: a lowercase letter first, then lowercase letters, numbers and hyphens. Two parameter groups may have the same name. | | `template_id` | integer | yes | The `id` of a template from **List Parameter Group Templates**. | | `description` | string | no | Optional, up to 255 characters. | | `parameters` | object | no | The values this group changes, as parameter name to value. Parameters not listed keep the engine default. | Example request: ```json { "name": "high-connections", "template_id": 3, "description": "More connections for the API workers", "parameters": { "max_connections": "200", "work_mem": "8MB" } } ``` ## Responses ### 201 The new parameter group | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.family` | string | no | Engine and version the group is for. | | `data.template_id` | integer | no | | | `data.parameters` | object | no | The values this group changes, as parameter name to value. Parameters not listed keep the engine default. | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 17, "name": "high-connections", "description": "More connections for the API workers", "family": "postgresql-16", "template_id": 3, "parameters": { "max_connections": "200", "work_mem": "8MB" } }, "errors": {} } ``` ### 400 A field is missing or breaks its rule: "Name is required.", "Name must start with a lowercase letter and contain only lowercase letters, digits and hyphens (3-63 characters).", "Description must be at most 255 characters." or "Template ID is required.". A missing or invalid project ID gives `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "name": "Name must start with a lowercase letter and contain only lowercase letters, digits and hyphens (3-63 characters)." } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 412 No template with that ID is offered. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Parameter group template not found." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"high-connections","template_id":3,"description":"More connections for the API workers","parameters":{"max_connections":"200","work_mem":"8MB"}}' ``` --- --- title: "Create Database" method: POST path: "/dbaas/" url: "/api/tir/operations/post-dbaas/" --- # Create Database `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/` Creates a PostgreSQL database with one node and starts setting it up. The call returns at once with the database in `Creating`; poll **Get Database Provisioning** or **Get Database** until `status` is `Running`. The admin login is created with the username and password you send; no call returns the password later. The `pg_stat_statements` extension is always installed. Needs the Create permission on DBaaS. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the database, up to 50 characters: lowercase letters, digits and hyphens, starting and ending with a letter or digit. Unique in the project. | | `engine` | one of `postgresql` | yes | | | `engine_version` | string | yes | A version that **List Database Versions** returns. | | `sku_item_price_id` | integer | yes | The plan: a `sku_item_price_id` from **SKU List** with `service=dbaas`. It sets the vCPUs and memory. | | `disk_size` | integer | yes | Disk size in GB, 20 to 2,000. | | `admin_username` | string | yes | The admin login: starts with a lowercase letter, then lowercase letters, digits and underscores, up to 63 characters. Names the platform reserves and names starting with `pg_` are refused. No call changes it later. | | `admin_password` | string (password) | yes | 12 to 64 characters with at least one uppercase letter, one lowercase letter, one digit and one symbol. | | `pgvector_enabled` | boolean | no | Install the `vector` extension. Default `true`. | | `extensions` | array of one of `pg_stat_statements`, `vector`, `pg_trgm`, `uuid-ossp`, `pgcrypto`, `hstore`, `citext`, `btree_gin`, `btree_gist`, `ltree`, `unaccent` | no | More extensions to install, from **List Database Extensions**. | | `ip_allowlist` | array of object | no | IPv4 ranges allowed to reach the public endpoint. Each entry is an IPv4 address or CIDR range, as a string or as an object with `cidr` and an optional `label`. A bare address becomes a /32 range, host bits are cleared (`10.0.0.5/24` becomes `10.0.0.0/24`), and a repeated range is kept once. Up to 50 entries. `0.0.0.0/0` allows any address. Without an allowlist the database gets no public endpoint and is reached only through its VPC. | | `vpc_id` | integer | no | A VPC in the project, in `Active` state. | | `deletion_protection` | boolean | no | Refuse every delete of this database. The API has no call that turns it off later. Default `false`. | Example request: ```json { "name": "orders-db", "engine": "postgresql", "engine_version": "16", "sku_item_price_id": 2301, "disk_size": 100, "admin_username": "appadmin", "admin_password": "", "pgvector_enabled": true, "extensions": [ "pg_trgm" ], "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" }, "198.51.100.7" ], "vpc_id": 17, "deletion_protection": false } ``` ## Responses ### 201 Creation started; the database is `Creating` | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.engine` | one of `postgresql` | no | | | `data.engine_version` | string | no | | | `data.status` | one of `Creating`, `Running`, `Scaling`, `Degraded`, `Stopped`, `Failed`, `Terminating` | no | `Creating` while the database is being set up, started or restarted, `Running`, `Scaling` while the disk grows, `Degraded` when the database is serving but its health could not be fully confirmed (Stop and Restart are also accepted from it), `Stopped`, `Failed` when the launch did not finish or a storage resize did not complete, and `Terminating` while it is deleted. | | `data.cpu` | string | no | vCPUs, set by the plan. | | `data.memory` | string | no | Memory, set by the plan. | | `data.disk_size` | integer | no | Disk size in GB. | | `data.endpoint_url` | string | no | Public read-write address and port. `null` until the database first reaches `Running`, and while it has no IP allowlist. | | `data.public_ip` | string | no | | | `data.private_ip` | string | no | | | `data.deletion_protection` | boolean | no | `true` when the database cannot be deleted. | | `data.parameter_group_id` | integer | no | The attached parameter group. | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `data.sku_details` | object | no | The plan: its specification under `specs` and its pricing under `plan`. `null` when the plan is gone. | | `data.ip_allowlist` | array of object | no | IPv4 ranges allowed to reach the public endpoint. | | `data.ip_allowlist[].cidr` | string | no | | | `data.ip_allowlist[].label` | string | no | Description of the range; empty when none was given. | | `data.location` | string | no | | | `data.vpc_id` | integer | no | | | `data.vpc` | object | no | The VPC attachment. `null` when no VPC is attached. | | `data.vpc.id` | integer | no | | | `data.vpc.vpc_name` | string | no | | | `data.vpc.subnet_name` | string | no | | | `data.vpc.resource_type` | string | no | | | `data.vpc.resource_name` | string | no | | | `data.vpc.object_id` | integer | no | | | `data.vpc.ip_address` | string | no | The database's address in the VPC. | | `data.vpc.status` | string | no | | | `data.vpc.attached_at` | string | no | | | `data.vpc.created_at` | string | no | | | `data.vpc_private_ip` | string | no | The database's VPC address; `null` without a VPC. | | `data.pgvector_enabled` | boolean | no | `true` when the `vector` extension was chosen at creation. | | `data.extensions` | array of string | no | Extensions set at creation. | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 123, "name": "orders-db", "engine": "postgresql", "engine_version": "16", "status": "Creating", "cpu": "4", "memory": "16Gi", "disk_size": 100, "endpoint_url": ":5432", "public_ip": "203.0.113.25", "private_ip": "10.0.4.17", "deletion_protection": false, "parameter_group_id": null, "created_by": { "id": 501, "name": "Example User", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:31:05Z", "sku_details": {}, "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "location": "Chennai", "vpc_id": null, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null, "pgvector_enabled": true, "extensions": [ "pg_stat_statements", "vector" ] }, "errors": {} } ``` ### 400 A field is not valid; `errors` is keyed by field. The messages include "Database name should contain lowercase letters, digits, and hyphens only.", "A database with the same name already exists in the Project.", "Database Name can contain a maximum of 50 characters", "'postgresql ' is not an available version. Call GET versions/ for the current list.", "Disk size not allowed less than 20.", "Disk size not allowed greater than 2000.", "Username must start with a lowercase letter, contain only lowercase letters, digits and underscores, and be 1-63 characters.", "'' is a reserved system username.", "Password must be 12-64 characters and include at least one uppercase letter, one lowercase letter, one digit and one symbol.", "Extension '' is not available for postgresql.", "VPC not found in this project." and "VPC must be Active (current: ).", besides allowlist errors as in **Update Database IP Allowlist**. A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | Keyed by field. | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "name": [ "A database with the same name already exists in the Project." ] } } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 412 The plan is missing or is not an active database plan in the account's currency ("SKU_ITEM_PRICE is either invalid or not provided"); there is not enough capacity ("Inventory temporarily unavailable. Please try again after some time.") or credit ("Insufficient Credits! ..."); or the launch could not start ("Managed Database creation failed"). Nothing is created. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "Inventory temporarily unavailable. Please try again after some time." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"orders-db","engine":"postgresql","engine_version":"16","sku_item_price_id":2301,"disk_size":100,"admin_username":"appadmin","admin_password":"","pgvector_enabled":true,"extensions":["pg_trgm"],"ip_allowlist":[{"cidr":"203.0.113.0/24","label":"office VPN"},"198.51.100.7"],"vpc_id":17,"deletion_protection":false}' ``` --- --- title: "Create SFS" method: POST path: "/distributed_jobs/sfs/" url: "/api/tir/operations/post-distributed-jobs-sfs/" --- # Create SFS `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | | | `disk_size` | integer | yes | | Example request: ```json { "name": "tir-file-system-2818", "disk_size": 500 } ``` ## Responses ### 200 Success | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.created_by` | integer | no | | | `data.sfs_ip` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.disk_size` | string | no | | | `data.size_in_gb` | string | no | | | `data.location` | string | no | | | `errors` | object | no | | | `message` | string | no | | Example 200 response: ```json { "code": 200, "data": { "id": 587, "name": "tir-file-syste-250819155818", "created_by": 7129, "sfs_ip": "172.16.232.1", "created_at": "2025-08-19T10:33:02.600024Z", "disk_size": "250 GB", "size_in_gb": "250 GB", "location": "Delhi" }, "errors": {}, "message": "SFS created successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs/sfs/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"tir-file-system-2818","disk_size":500}' ``` --- --- title: "Create Training Cluster" method: POST path: "/distributed_jobs_v2/cluster/" url: "/api/tir/operations/post-distributed-jobs-v2-cluster/" --- # Create Training Cluster `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the training cluster. | | `image_version_id` | integer | yes | ID of the image version to use for cluster nodes (Ubuntu Slurm or NeMo). | | `ssh_key_ids` | array of integer | yes | List of SSH key IDs to attach to the cluster login node. | | `security_group_id` | integer | yes | Security group ID controlling inbound and outbound traffic to cluster nodes. | | `script_added` | boolean | no | Whether a lifecycle script has been provided. | | `lifecycle_script` | string | no | Script executed on each node after the cluster starts. | | `sfs_mount_list` | array of object | no | Shared File System volumes to mount on cluster nodes. | | `sfs_mount_list[].id` | integer | no | | | `sfs_mount_list[].name` | string | no | | | `sfs_mount_list[].mount_path` | string | no | | | `pfs_mount_list` | array of object | no | Parallel File System volumes to mount on cluster nodes. | | `dataset_mount_list` | array of object | no | Read-only dataset volumes to mount on cluster nodes. | | `sku_id` | integer | yes | SKU ID for the cluster node type. | | `no_of_nodes` | integer | yes | Number of nodes in the cluster. | | `sku_item_price_id` | integer | yes | SKU item price ID for the cluster plan. This value is region-specific. | Example request: ```json { "name": "string", "image_version_id": 0, "ssh_key_ids": [ 0 ], "security_group_id": 0, "script_added": false, "lifecycle_script": "string", "sfs_mount_list": [ { "id": 0, "name": "string", "mount_path": "string" } ], "pfs_mount_list": [ {} ], "dataset_mount_list": [ {} ], "sku_id": 0, "no_of_nodes": 0, "sku_item_price_id": 0 } ``` ## Responses ### 201 Cluster created successfully. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_by.is_primary_contact` | boolean | no | | | `data.created_by.currency` | string | no | | | `data.created_by.is_suspended` | boolean | no | | | `data.no_of_nodes` | integer | no | | | `data.created_at` | string (date-time) | no | | | `data.private_cloud_id` | integer | no | | | `data.private_cloud_name` | string | no | | | `data.sku_details` | object | no | | | `data.sku_details.specs` | object | no | | | `data.sku_details.specs.sku_id` | integer | no | | | `data.sku_details.specs.name` | string | no | | | `data.sku_details.specs.series` | string | no | | | `data.sku_details.specs.cpu` | integer | no | | | `data.sku_details.specs.gpu` | integer | no | | | `data.sku_details.specs.memory` | integer | no | | | `data.sku_details.specs.ephemeral_storage` | integer | no | | | `data.sku_details.specs.gpu_memory` | integer | no | | | `data.sku_details.specs.is_free` | boolean | no | | | `data.sku_details.specs.is_active` | boolean | no | | | `data.sku_details.specs.local_storage_in_gb` | integer | no | | | `data.sku_details.specs.sku_type` | string | no | | | `data.sku_details.specs.gpu_card_type` | string | no | | | `data.sku_details.specs.category` | string | no | | | `data.sku_details.specs.variant` | string | no | | | `data.sku_details.specs.no_of_nodes` | integer | no | | | `data.sku_details.plan` | object | no | | | `data.sku_details.plan.sku_item_price_id` | integer | no | | | `data.sku_details.plan.sku_type` | one of `hourly`, `committed` | no | | | `data.sku_details.plan.committed_days` | integer | no | | | `data.sku_details.plan.unit_price` | number | no | | | `data.sku_details.plan.currency` | string | no | | | `data.sku_details.plan.is_active` | boolean | no | | | `data.sku_details.plan.description` | string | no | | | `data.sku_details.plan.location` | string | no | | | `data.total_gpu` | integer | no | | | `data.total_cpu` | integer | no | | | `data.total_memory` | string | no | | | `data.available_gpu` | integer | no | | | `data.available_cpu` | integer | no | | | `data.available_memory` | string | no | | | `data.worker_nodes` | array of object | no | | | `data.has_local_storage` | boolean | no | | | `data.local_storage_per_node` | integer | no | | | `data.status` | string | no | | | `data.image_pull_policy` | string | no | | | `data.image_version` | object | no | | | `data.image_version.id` | integer | no | | | `data.image_version.version` | string | no | | | `data.image_version.description` | string | no | | | `data.image_version.tags` | array of string | no | | | `data.image_version.name` | string | no | | | `data.image_version.slug_name` | string | no | | | `data.image_version.framework` | string | no | | | `data.image_version.is_internal` | boolean | no | | | `data.ssh_keys` | array of object | no | | | `data.ssh_keys[].pk` | integer | no | | | `data.ssh_keys[].label` | string | no | | | `data.ssh_keys[].ssh_key` | string | no | | | `data.ssh_public_ip` | string | no | | | `data.has_floating_ip` | boolean | no | | | `data.reserve_ip` | array of object | no | | | `data.clone_data` | object | no | | | `data.clone_data.name` | string | no | | | `data.clone_data.image_version_id` | integer | no | | | `data.clone_data.ssh_key_ids` | array of integer | no | | | `data.clone_data.security_group_id` | integer | no | | | `data.clone_data.script_added` | boolean | no | | | `data.clone_data.lifecycle_script` | string | no | | | `data.clone_data.sfs_mount_list` | array of object | no | | | `data.clone_data.sfs_mount_list[].id` | integer | no | | | `data.clone_data.sfs_mount_list[].name` | string | no | | | `data.clone_data.sfs_mount_list[].mount_path` | string | no | | | `data.clone_data.pfs_mount_list` | array of object | no | | | `data.clone_data.dataset_mount_list` | array of object | no | | | `data.clone_data.sku_id` | integer | no | | | `data.clone_data.no_of_nodes` | integer | no | | | `data.clone_data.sku_item_price_id` | integer | no | | | `data.clone_data.project_id` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 101, "name": "training-cluster-010125103045", "created_by": { "id": 1001, "name": "John Doe", "email": "user@example.com", "username": "user@example.com", "is_primary_contact": true, "currency": "INR", "is_suspended": false }, "no_of_nodes": 1, "created_at": "2025-01-15T10:30:00Z", "private_cloud_id": null, "private_cloud_name": null, "sku_details": { "specs": { "sku_id": 139, "name": "C3.32GB", "series": "CPU", "cpu": 8, "gpu": 0, "memory": 32, "ephemeral_storage": 0, "gpu_memory": 0, "is_free": false, "is_active": true, "local_storage_in_gb": 0, "sku_type": "C3-250GB", "gpu_card_type": null, "category": "distributed_job", "variant": "e2e", "no_of_nodes": 1 }, "plan": { "sku_item_price_id": 645, "sku_type": "hourly", "committed_days": 0, "unit_price": 12.3, "currency": "INR", "is_active": true, "description": null, "location": "Delhi" } }, "total_gpu": 0, "total_cpu": 0, "total_memory": "0 GB", "available_gpu": 0, "available_cpu": 0, "available_memory": "0 GB", "worker_nodes": [], "has_local_storage": false, "local_storage_per_node": null, "status": "Creating", "image_pull_policy": "IfNotPresent", "image_version": { "id": 2, "version": "v2-slurm25.11-ubuntu24.04", "description": "", "tags": [], "name": "Ubuntu Slurm", "slug_name": "ubuntu-slurm", "framework": "Slurm", "is_internal": false }, "ssh_keys": [ { "pk": 1001, "label": "my-ssh-key", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB... user@example.com" } ], "ssh_public_ip": "", "has_floating_ip": true, "reserve_ip": [], "clone_data": { "name": "training-cluster-010125103045", "image_version_id": 2, "ssh_key_ids": [ 1001 ], "security_group_id": 1001, "script_added": false, "lifecycle_script": "", "sfs_mount_list": [], "pfs_mount_list": [], "dataset_mount_list": [], "sku_id": 139, "no_of_nodes": 1, "sku_item_price_id": 645, "project_id": 10001 } }, "errors": {}, "message": "Cluster created successfully" } ``` ### 400 Bad request due to invalid parameters. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `errors` | object | no | | | `message` | string | no | | Example 400 response: ```json { "code": 400, "errors": { "sku_id": [ "This field is required." ] }, "message": "Bad Request" } ``` ### 401 Unauthorized — missing or invalid API key. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | Example 401 response: ```json { "code": 401, "message": "Unauthorized access." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/distributed_jobs_v2/cluster/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","image_version_id":0,"ssh_key_ids":[0],"security_group_id":0,"script_added":false,"lifecycle_script":"string","sfs_mount_list":[{"id":0,"name":"string","mount_path":"string"}],"pfs_mount_list":[{}],"dataset_mount_list":[{}],"sku_id":0,"no_of_nodes":0,"sku_item_price_id":0}' ``` --- --- title: "Create Fine Tune" method: POST path: "/finetuning/" url: "/api/tir/operations/post-finetuning/" --- # Create Fine Tune `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | The name of the training job | | `training_type` | string | yes | The type of training | | `training_inputs` | object | yes | Configuration for training inputs | | `training_inputs.source_repository_type` | string | no | | | `training_inputs.dataset` | string | no | | | `training_inputs.dataset_type` | string | no | | | `training_inputs.validation_split_ratio` | number | no | | | `training_inputs.target_dataset_field` | string | no | | | `training_inputs.gradient_accumulation_steps` | integer | no | | | `training_inputs.context_length` | integer | no | | | `training_inputs.learning_rate` | number | no | | | `training_inputs.epochs` | integer | no | | | `training_inputs.stop_training_when` | string | no | | | `training_inputs.max_steps` | integer | no | | | `training_inputs.batch_size` | integer | no | | | `training_inputs.peft_lora_alpha` | integer | no | | | `training_inputs.peft_lora_r` | integer | no | | | `training_inputs.max_grad_norm` | number | no | | | `training_inputs.save_strategy` | string | no | | | `training_inputs.save_steps` | integer | no | | | `training_inputs.save_total_limit` | integer | no | | | `training_inputs.lora_dropout` | number | no | | | `training_inputs.lora_bias` | string | no | | | `training_inputs.load_in_4bit` | boolean | no | | | `training_inputs.image_column` | string | no | | | `training_inputs.caption_column` | string | no | | | `training_inputs.validation_prompt` | string | no | | | `training_inputs.num_validation_images` | integer | no | | | `training_inputs.train_batch_size` | integer | no | | | `training_inputs.load_in_8bit` | boolean | no | | | `training_inputs.mixed_precision` | string | no | | | `training_inputs.checkpointing_steps` | integer | no | | | `training_inputs.checkpoints_total_limit` | integer | no | | | `training_inputs.task` | string | no | | | `training_inputs.prompt_configuration` | string | no | | | `isClone` | boolean | no | | | `model_name` | string | yes | | | `sku_item_price_id` | integer | yes | | | `sku_item_plan` | string | yes | | | `sku_item_price` | string | yes | | | `huggingface_integration_id` | integer | yes | | Example request: ```json { "name": "string", "training_type": "string", "training_inputs": { "source_repository_type": "string", "dataset": "string", "dataset_type": "string", "validation_split_ratio": 0, "target_dataset_field": "string", "gradient_accumulation_steps": 0, "context_length": 0, "learning_rate": 0, "epochs": 0, "stop_training_when": "string", "max_steps": 0, "batch_size": 0, "peft_lora_alpha": 0, "peft_lora_r": 0, "max_grad_norm": 0, "save_strategy": "string", "save_steps": 0, "save_total_limit": 0, "lora_dropout": 0, "lora_bias": "string", "load_in_4bit": false, "image_column": "string", "caption_column": "string", "validation_prompt": "string", "num_validation_images": 0, "train_batch_size": 0, "load_in_8bit": false, "mixed_precision": "string", "checkpointing_steps": 0, "checkpoints_total_limit": 0, "task": "string", "prompt_configuration": "string" }, "isClone": false, "model_name": "string", "sku_item_price_id": 0, "sku_item_plan": "string", "sku_item_price": "string", "huggingface_integration_id": 0 } ``` ## Responses ### 200 Successful response with training job details. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | HTTP status code for the operation. | | `data` | object | no | Details of the training job. | | `data.id` | integer | no | Unique identifier of the training job. | | `data.name` | string | no | Name of the training job. | | `data.model_name` | string | no | Name of the model used for training. | | `data.training_inputs` | object | no | Configuration of the training job. | | `data.training_inputs.dataset` | string | no | Dataset identifier. | | `data.training_inputs.dataset_name` | string | no | Name of the dataset. | | `data.training_inputs.source_model_repo_info` | string | no | Information about the source model repository. | | `data.training_inputs.source_repository_type` | string | no | Type of the source repository. | | `data.training_inputs.source_model_path` | string | no | Path to the source model. | | `data.training_inputs.task` | string | no | Task type for training. | | `data.training_inputs.dataset_type` | string | no | Dataset type. | | `data.training_inputs.train_batch_size` | integer | no | Training batch size. | | `data.training_inputs.gradient_accumulation_steps` | integer | no | Number of gradient accumulation steps. | | `data.training_inputs.epochs` | integer | no | Number of training epochs. | | `data.training_inputs.max_steps` | integer | no | Maximum training steps. | | `data.training_inputs.checkpointing_steps` | integer | no | Number of steps between checkpoints. | | `data.training_inputs.checkpoints_total_limit` | integer | no | Total limit of checkpoints. | | `data.training_inputs.peft_lora_r` | integer | no | LoRA hyperparameter 'r'. | | `data.training_inputs.peft_lora_alpha` | integer | no | LoRA hyperparameter 'alpha'. | | `data.training_inputs.load_in_8bit` | boolean | no | Indicates if 8-bit loading is enabled. | | `data.training_inputs.mixed_precision` | string | no | Type of mixed precision used. | | `data.training_inputs.validation_prompt` | string | no | Prompt used for validation. | | `data.training_inputs.num_validation_images` | integer | no | Number of validation images. | | `data.training_inputs.logging_steps` | integer | no | Number of steps between logging. | | `data.training_inputs.learning_rate` | number (float) | no | Learning rate for training. | | `data.training_inputs.limit_training_records_count` | integer | no | Limit on the number of training records. | | `data.training_inputs.caption_column` | string | no | Column used for captions. | | `data.training_inputs.image_column` | string | no | Column used for images. | | `data.training_inputs.save_strategy` | string | no | Strategy for saving checkpoints. | | `data.training_inputs.stop_training_when` | string | no | Condition to stop training. | | `data.description` | string | no | Description of the training job. | | `data.status` | string | no | Current status of the training job. | | `data.created_by` | object | no | Details of the user who created the job. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | Timestamp of job creation. | | `data.hugging_face_integration_name` | string | no | Name of the Hugging Face integration. | | `data.sku_item_price` | object | no | Pricing details of the training job. | | `data.sku_item_price.sku_item_price_id` | integer | no | | | `data.sku_item_price.sku_type` | string | no | | | `data.sku_item_price.committed_days` | integer | no | | | `data.sku_item_price.unit_price` | number (float) | no | | | `data.sku_item_price.currency` | string | no | | | `data.sku_item_price.description` | string | no | | | `data.sku` | object | no | SKU information for the compute resource. | | `data.sku.sku_id` | integer | no | | | `data.sku.name` | string | no | | | `data.sku.series` | string | no | | | `data.sku.cpu` | integer | no | | | `data.sku.gpu` | integer | no | | | `data.sku.memory` | number (float) | no | | | `data.sku.is_free` | boolean | no | | | `errors` | object | no | Contains any errors that occurred. | | `message` | string | no | Result message confirming the operation. | Example 200 response: ```json { "code": 200, "data": { "id": 810, "name": "tir-finetuning-111511093030", "model_name": "stabilityai/stable-diffusion-2-1", "training_inputs": { "dataset": "lambdalabs/naruto-blip-captions", "dataset_name": "lambdalabs/naruto-blip-captions", "source_model_repo_info": "", "source_repository_type": "base_model", "source_model_path": "", "task": "Instruction-Finetuning", "dataset_type": "huggingface", "train_batch_size": 1, "gradient_accumulation_steps": 1, "epochs": 3, "max_steps": -1, "checkpointing_steps": 500, "checkpoints_total_limit": 10, "peft_lora_r": 64, "peft_lora_alpha": 16, "load_in_8bit": false, "mixed_precision": "no", "validation_prompt": "A photo of a man with green eyes", "num_validation_images": 2, "logging_steps": 5, "learning_rate": 0.0000141, "limit_training_records_count": -1, "caption_column": "text", "image_column": "image", "save_strategy": "steps", "stop_training_when": "epoch_count" }, "description": null, "status": "Creating", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-15T06:10:06.278937Z", "hugging_face_integration_name": "tir", "sku_item_price": { "sku_item_price_id": 763, "sku_type": "hourly", "committed_days": 0, "unit_price": 470.4, "currency": "INR", "description": "Hourly Compute Instance: pipeline" }, "sku": { "sku_id": 166, "name": "GDC.1xH200-30.375GB_SXM", "series": "GPU", "cpu": 30, "gpu": 1, "memory": 375, "is_free": false } }, "errors": {}, "message": "Success" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/finetuning/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"string","training_type":"string","training_inputs":{"source_repository_type":"string","dataset":"string","dataset_type":"string","validation_split_ratio":0,"target_dataset_field":"string","gradient_accumulation_steps":0,"context_length":0,"learning_rate":0,"epochs":0,"stop_training_when":"string","max_steps":0,"batch_size":0,"peft_lora_alpha":0,"peft_lora_r":0,"max_grad_norm":0,"save_strategy":"string","save_steps":0,"save_total_limit":0,"lora_dropout":0,"lora_bias":"string","load_in_4bit":false,"image_column":"string","caption_column":"string","validation_prompt":"string","num_validation_images":0,"train_batch_size":0,"load_in_8bit":false,"mixed_precision":"string","checkpointing_steps":0,"checkpoints_total_limit":0,"task":"string","prompt_configuration":"string"},"isClone":false,"model_name":"string","sku_item_price_id":0,"sku_item_plan":"string","sku_item_price":"string","huggingface_integration_id":0}' ``` --- --- title: "Upload Load Balancer Certificate" method: POST path: "/gateway/certificates/" url: "/api/tir/operations/post-gateway-certificates/" --- # Upload Load Balancer Certificate `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/` Adds a Certificate you bring: a chain in PEM text, your certificate first and then each issuer, with its private key. The pair is checked before it is saved: the key must match the certificate, be unencrypted and strong enough (RSA 2048 bits or more, EC 256 bits or more), the certificate must not have expired and the chain must be in order and include the intermediates. Adding a Certificate changes no Load Balancer. Needs the Create permission for Load Balancers. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | The Certificate's name, up to 255 characters, not used by another Certificate of the project. | | `cert_chain` | string | yes | The chain as PEM text: your certificate first, then each issuer above it. | | `private_key` | string | yes | The certificate's private key as PEM text, not protected by a passphrase. It is never returned. | Example request: ```json { "name": "example-cert", "cert_chain": "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----\n" } ``` ## Responses ### 201 The Certificate that was added | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The Certificate's name. | | `data.source` | one of `UPLOADED`, `ACME`, `PLATFORM` | no | `UPLOADED` for one you added. `ACME` and `PLATFORM` are Certificates E2E manages for you. | | `data.status` | one of `Active`, `Pending`, `Expired` | no | `Active`, `Pending` or `Expired`. | | `data.cert_chain` | string | no | The certificate chain you uploaded, as PEM text. Empty for a Certificate E2E manages. | | `data.domains` | array of string | no | The names the certificate covers, read from the certificate. | | `data.not_before` | string | no | Start of the validity period. | | `data.not_after` | string | no | End of the validity period. | | `data.issuer` | string | no | Who issued the certificate, read from the certificate. | | `data.key_type` | string | no | The key's type and size, for example `RSA-2048` or `EC-secp256r1`. | | `data.fingerprint` | string | no | SHA-256 fingerprint of the first certificate. | | `data.days_remaining` | integer | no | Whole days until `not_after`; negative once it has passed. `null` when there is no end date. | | `data.is_expired` | boolean | no | `true` once `not_after` has passed. | | `data.in_use_by` | array of integer | no | IDs of the Load Balancers that use the Certificate. | | `data.created_by` | object | no | Who created it. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 5, "name": "example-cert", "source": "UPLOADED", "status": "Active", "cert_chain": "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n", "domains": [ "example.com" ], "not_before": "2026-09-01T00:00:00Z", "not_after": "2026-12-01T00:00:00Z", "issuer": "CN=Example CA,O=Example", "key_type": "RSA-2048", "fingerprint": "9f2c4b7a1d0e5c3b8a6f4e2d1c0b9a8f7e6d5c4b3a291807f6e5d4c3b2a19087", "days_remaining": 37, "is_expired": false, "in_use_by": [ 42 ], "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 The upload was refused. `errors` is an object keyed by field, each holding a list of messages. Under `cert_chain`: "A certificate is required.", "Could not read the certificate. Expected PEM text beginning with '-----BEGIN CERTIFICATE-----'.", "This certificate has already expired.", "Key is too small. Minimum is <2048 for RSA, 256 for EC> bits.", "Certificate chain is out of order. Put your certificate first, then each issuer above it.", "Intermediate certificate(s) are missing. Append the issuer chain supplied by your CA, or some clients will reject the connection.". Under `private_key`: "A private key is required.", "Could not read the private key. Expected PEM text beginning with '-----BEGIN ... PRIVATE KEY-----'.", "This private key does not belong to this certificate.", "This private key is passphrase-protected. Upload a decrypted key.". For a name already used (the name of a deleted Certificate counts as used) `errors` says the name is taken. Otherwise "Failed to save the certificate. Please try again later." The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "private_key": [ "A private key is required." ] } } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"example-cert","cert_chain":"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n","private_key":"-----BEGIN PRIVATE KEY-----\nMIIE...\n-----END PRIVATE KEY-----\n"}' ``` --- --- title: "Attach Alert to Load Balancer" method: POST path: "/gateway/{gateway_id}/alerts/" url: "/api/tir/operations/post-gateway-gateway-id-alerts/" --- # Attach Alert to Load Balancer `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/alerts/` Attaches an alert you already made for Load Balancers, so the Load Balancer is watched against it and notifications go to the alert's channels. The Load Balancer must be Running. An alert can be attached to a Load Balancer once. Needs the Create permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `alert_id` | integer | yes | ID of an alert of this project and region whose resource type is Load Balancer. | Example request: ```json { "alert_id": 17 } ``` ## Responses ### 200 The alert was attached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | ID of the attachment. Use it in the paths that take `attachment_id`. | | `data.gateway` | integer | no | ID of the Load Balancer. | | `data.gateway_name` | string | no | Name of the Load Balancer. | | `data.alert` | object | no | | | `data.alert.id` | integer | no | | | `data.alert.name` | string | no | | | `data.alert.location` | string | no | | | `data.alert.resource_type` | string | no | The kind of resource the alert is for. | | `data.alert.metric_type` | string | no | The measure the alert watches. | | `data.alert.metric_type_unit` | string | no | The unit of the measure. | | `data.alert.operator` | string | no | How the measure is compared with the threshold. | | `data.alert.threshold_value` | number | no | The value the measure is compared with. | | `data.alert.severity` | string | no | | | `data.alert.evaluate_for` | string | no | How long the condition must hold before the alert fires. | | `data.alert.created_by` | object | no | Who created it. | | `data.alert.created_by.id` | integer | no | | | `data.alert.created_by.name` | string | no | | | `data.alert.created_by.email` | string | no | | | `data.alert.created_by.username` | string | no | | | `data.alert.created_at` | string | no | | | `data.alert.updated_at` | string | no | | | `data.alert_name` | string | no | | | `data.grafana_rule_uid` | string | no | ID of the alert rule that watches the Load Balancer. | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 63, "gateway": 42, "gateway_name": "example-lb", "alert": { "id": 17, "name": "High error rate", "location": "Delhi", "resource_type": "Load Balancer", "metric_type": "example", "metric_type_unit": "example", "operator": "example", "threshold_value": 0, "severity": "example", "evaluate_for": "string", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "alert_name": "High error rate", "grafana_rule_uid": "a1b2c3d4e5", "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 `alert_id` is missing, or is not an alert of this project and region made for Load Balancers, or is already attached to this Load Balancer. `errors` is an object keyed by field. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "string" } ``` ### 412 The Load Balancer does not exist in this project and region, is not Running, the alert's measure is not one a Load Balancer of this type offers, or the alert could not be attached. `errors` is the reason. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 412 response: ```json { "code": 412, "message": "Precondition Failed", "data": {}, "errors": "string" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//alerts/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"alert_id":17}' ``` --- --- title: "Set Load Balancer Custom Domain" method: POST path: "/gateway/{gateway_id}/custom-domain/" url: "/api/tir/operations/post-gateway-gateway-id-custom-domain/" --- # Set Load Balancer Custom Domain `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/custom-domain/` Adds a custom domain to an `L7` Load Balancer, or replaces the one it has. The address E2E gave the Load Balancer keeps working. With `cert_mode` `acme` a free certificate is requested and is issued once the domain's DNS points at the Load Balancer; this turns HTTP on, with redirect to HTTPS, if the Load Balancer is HTTPS only. With `upload` the Load Balancer serves a certificate you uploaded. Point a CNAME record for the domain at `cname_target`. The Load Balancer needs the Update permission. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `domain` | string | yes | The domain. Lower-cased and a trailing dot removed. Letters, digits and hyphens in labels of up to 63 characters, with at least one dot. A name under `e2enetworks.net` is refused. | | `cert_mode` | one of `acme`, `upload` | no | `acme` for a free certificate that renews itself, or `upload` to use a certificate of the project. Default `acme`. | | `certificate_id` | integer | no | ID of the certificate to serve. Required when `cert_mode` is `upload`. It must belong to the project and cover the domain. | Example request: ```json { "domain": "www.example.com", "cert_mode": "acme", "certificate_id": 15 } ``` ## Responses ### 200 The custom domain as set | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.domain` | string | no | | | `data.status` | one of `pending_dns`, `issuing`, `active`, `failed` | no | | | `data.cname_target` | string | no | | | `data.dns_verified` | boolean | no | | | `data.reason` | string | no | | | `data.certificate` | object | no | The certificate, with the fields shown in **Get Load Balancer Custom Domain**. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "domain": "www.example.com", "status": "pending_dns", "cname_target": "lb-12-abc123.e2enetworks.net", "dns_verified": false, "reason": "", "certificate": {} }, "errors": {} } ``` ### 400 The Load Balancer is `L4` ("Custom domains apply to L7 (HTTP/HTTPS) load balancers only."); `domain` is empty, is not a valid name, or is under `e2enetworks.net` (`errors` is keyed by `domain`); `cert_mode` is not `acme` or `upload`; `cert_mode` is `upload` without `certificate_id`; the certificate is not in the project or does not cover the domain; the domain is already used by another Load Balancer ("'' is already attached to another load balancer."); or the change could not be applied ("Failed to apply the custom domain to the load balancer. Please try again."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Custom domains apply to L7 (HTTP/HTTPS) load balancers only." } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//custom-domain/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"domain":"www.example.com","cert_mode":"acme","certificate_id":15}' ``` --- --- title: "Create Load Balancer Rule" method: POST path: "/gateway/{gateway_id}/rules/" url: "/api/tir/operations/post-gateway-gateway-id-rules/" --- # Create Load Balancer Rule `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/rules/` Adds a Rule to the Load Balancer. A Rule says which requests it applies to and which backend groups get them, with a weight for each. An `Active` Rule starts receiving matching traffic once it is applied. A Rule can only be added while the Load Balancer is not Initializing or Failed. Needs the Create permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `route_name` | string | yes | The Rule's name, up to 255 characters, not used by another Rule of this Load Balancer. The name of a Rule you deleted counts as used. | | `routing_strategy` | string | no | Leave this field out. | | `status` | one of `Active`, `Inactive` | no | `Active` to apply the Rule, `Inactive` to keep it without applying it. Defaults to `Active`. | | `rules` | object | no | What the Rule matches and where it sends traffic. Every part is optional; a Rule with no match conditions matches every request. | | `rules.name` | string | no | A display name for the Rule. Not set unless you send it. | | `rules.priority` | integer | no | A number that breaks a tie between two equally specific Rules: the lower number is tried first. A Rule with no priority comes last among equals. A more specific match always wins over a less specific one, whatever the priority. | | `rules.match` | object | no | Conditions that must all hold for the Rule to apply. | | `rules.match.path` | object | no | Match on the request path. | | `rules.match.path.type` | one of `prefix`, `exact`, `regex` | no | How `value` is compared with the request path. | | `rules.match.path.value` | string | no | The path to match, for example `/api`. | | `rules.match.headers` | array of object | no | Header conditions. All of them must match. | | `rules.match.headers[].name` | string | no | Header name. | | `rules.match.headers[].type` | one of `Exact`, `RegularExpression`, `Present` | no | `Exact` compares the whole value, `RegularExpression` matches a pattern, `Present` only needs the header to exist. Defaults to `Exact`. | | `rules.match.headers[].value` | string | no | Value to compare. Required unless `type` is `Present`. | | `rules.match.query_params` | array of object | no | Query parameter conditions. All of them must match. | | `rules.match.query_params[].name` | string | no | Query parameter name. | | `rules.match.query_params[].type` | one of `Exact`, `RegularExpression` | no | `Exact` or `RegularExpression`. Defaults to `Exact`. | | `rules.match.query_params[].value` | string | no | Value to compare. Required. | | `rules.match.methods` | array of string | no | HTTP methods to match: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`, `TRACE` or `CONNECT`. The request must use one of them. | | `rules.match.method` | string | no | One HTTP method, as an alternative to `methods`. | | `rules.groups` | array of object | no | The backend groups the Rule sends traffic to. With more than one, traffic is split by weight. All groups of one Rule must use the same protocol (HTTP, HTTPS or gRPC). | | `rules.groups[].target_group_id` | integer | no | ID of a backend group of this Load Balancer. Required. | | `rules.groups[].weight` | integer | no | Share of the traffic sent to this group, relative to the other groups of the Rule: a whole number, 0 or more, default 1. | Example request: ```json { "route_name": "api-rule", "routing_strategy": "Weight-Based", "status": "Active", "rules": { "name": "API traffic", "priority": 1, "match": { "path": { "type": "prefix", "value": "/api" }, "methods": [ "GET", "POST" ] }, "groups": [ { "target_group_id": 7, "weight": 90 }, { "target_group_id": 8, "weight": 10 } ] } } ``` ## Responses ### 201 The Rule that was created | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.route_name` | string | no | The Rule's name. | | `data.routing_strategy` | string | no | `Weight-Based` for a Rule made without this field. | | `data.rules` | object | no | What the Rule matches and where it sends traffic. Every part is optional; a Rule with no match conditions matches every request. | | `data.rules.name` | string | no | A display name for the Rule. Not set unless you send it. | | `data.rules.priority` | integer | no | A number that breaks a tie between two equally specific Rules: the lower number is tried first. A Rule with no priority comes last among equals. A more specific match always wins over a less specific one, whatever the priority. | | `data.rules.match` | object | no | Conditions that must all hold for the Rule to apply. | | `data.rules.match.path` | object | no | Match on the request path. | | `data.rules.match.path.type` | one of `prefix`, `exact`, `regex` | no | How `value` is compared with the request path. | | `data.rules.match.path.value` | string | no | The path to match, for example `/api`. | | `data.rules.match.headers` | array of object | no | Header conditions. All of them must match. | | `data.rules.match.headers[].name` | string | no | Header name. | | `data.rules.match.headers[].type` | one of `Exact`, `RegularExpression`, `Present` | no | `Exact` compares the whole value, `RegularExpression` matches a pattern, `Present` only needs the header to exist. Defaults to `Exact`. | | `data.rules.match.headers[].value` | string | no | Value to compare. Required unless `type` is `Present`. | | `data.rules.match.query_params` | array of object | no | Query parameter conditions. All of them must match. | | `data.rules.match.query_params[].name` | string | no | Query parameter name. | | `data.rules.match.query_params[].type` | one of `Exact`, `RegularExpression` | no | `Exact` or `RegularExpression`. Defaults to `Exact`. | | `data.rules.match.query_params[].value` | string | no | Value to compare. Required. | | `data.rules.match.methods` | array of string | no | HTTP methods to match: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`, `TRACE` or `CONNECT`. The request must use one of them. | | `data.rules.match.method` | string | no | One HTTP method, as an alternative to `methods`. | | `data.rules.groups` | array of object | no | The backend groups the Rule sends traffic to. With more than one, traffic is split by weight. All groups of one Rule must use the same protocol (HTTP, HTTPS or gRPC). | | `data.rules.groups[].target_group_id` | integer | no | ID of a backend group of this Load Balancer. Required. | | `data.rules.groups[].weight` | integer | no | Share of the traffic sent to this group, relative to the other groups of the Rule: a whole number, 0 or more, default 1. | | `data.status` | one of `Active`, `Inactive` | no | `Active` or `Inactive`. | | `data.created_by` | object | no | Who created it. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 12, "route_name": "api-rule", "routing_strategy": "Weight-Based", "rules": { "name": "API traffic", "priority": 1, "match": { "path": { "type": "prefix", "value": "/api" }, "methods": [ "GET", "POST" ] }, "groups": [ { "target_group_id": 7, "weight": 90 }, { "target_group_id": 8, "weight": 10 } ] }, "status": "Active", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 A field is wrong, the Load Balancer is `Initializing` or `Failed` (Rules can only be added once the Load Balancer is Running), or the change could not be applied ("Failed to create routing rule. Please try again later."). `errors` is a message, or an object keyed by field, each holding a list of messages (`non_field_errors` for a check across fields): "Each forward group requires a 'target_group_id'.", "A forward group weight must be a non-negative integer.", "Target group '' was not found (or is not active) on this load balancer.", "All target groups in one rule must use the same protocol (HTTP, HTTPS or gRPC).", "Rule match path.type must be one of: prefix, exact, regex.", "'' is not a valid HTTP method.", the header and query-parameter match messages, a field message such as "This field is required." for `route_name`, or a message that the name is already used. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | | `errors.non_field_errors` | array of string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "non_field_errors": [ "Target group '99' was not found (or is not active) on this load balancer." ] } } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//rules/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"route_name":"api-rule","routing_strategy":"Weight-Based","status":"Active","rules":{"name":"API traffic","priority":1,"match":{"path":{"type":"prefix","value":"/api"},"methods":["GET","POST"]},"groups":[{"target_group_id":7,"weight":90},{"target_group_id":8,"weight":10}]}}' ``` --- --- title: "Attach Security Group to Load Balancer" method: POST path: "/gateway/{gateway_id}/security-groups/{security_groups_id}/" url: "/api/tir/operations/post-gateway-gateway-id-security-groups-security-groups-id/" --- # Attach Security Group to Load Balancer `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/security-groups/{security_groups_id}/` Attaches one security group to the Load Balancer, so its rules start to apply to the Load Balancer's traffic. Needs the Update permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | | `security_groups_id` | integer | yes | Security group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The security group or groups were attached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group addition successful", "errors": {} } ``` ### 400 The Load Balancer cannot take security groups ("Security groups can only be attached to load balancers."), the group is already attached ("Security group already exists"), is not an active security group of this project and region ("Security Group not found"), or could not be attached ("Security group addition failed"). The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Security group already exists" } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach Security Groups to Load Balancer" method: POST path: "/gateway/{gateway_id}/security-groups/" url: "/api/tir/operations/post-gateway-gateway-id-security-groups/" --- # Attach Security Groups to Load Balancer `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/security-groups/` Attaches up to five security groups to the Load Balancer in one request, so their rules start to apply to its traffic. The list must not be empty or repeat a group. A group that is already attached, or is not an active group of this project and region, is not attached; the other groups in the request still are, and the call answers 400 "Security group addition failed". Needs the Update permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_groups_ids` | array of integer | yes | IDs of the security groups to attach: one to five, no repeats. | Example request: ```json { "security_groups_ids": [ 45, 46 ] } ``` ## Responses ### 200 The security group or groups were attached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group addition successful", "errors": {} } ``` ### 400 `security_groups_ids` is not a list ("security_groups_ids must be a list."), is empty ("No security group provided in the request."), repeats a group ("Duplicate security groups found in the request."), holds more than five IDs, or one or more groups could not be attached ("Security group addition failed"). The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "No security group provided in the request." } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_groups_ids":[45,46]}' ``` --- --- title: "Create Load Balancer Backend Group" method: POST path: "/gateway/{gateway_id}/target-groups/" url: "/api/tir/operations/post-gateway-gateway-id-target-groups/" --- # Create Load Balancer Backend Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/` Creates a backend group: a named set of backends with its own port, protocol, health check, timeout and retries. On an HTTP, HTTPS or gRPC Load Balancer a group gets no traffic until a Rule sends traffic to it. Needs the Create permission for Load Balancers. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `gateway_id` | integer | yes | Load Balancer ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | The group's name, up to 255 characters, not used by another group of this Load Balancer. | | `backend_type` | one of `vm`, `inference`, `autoscale`, `raw_ip` | no | What kind of backend the group holds; every backend in it must be of this kind. Defaults to `raw_ip`. `autoscale` is for HTTP and HTTPS Load Balancers only. | | `algorithm` | string | no | How requests are spread across the group: `ROUND_ROBIN`, `LEAST_REQUEST`, `LEAST_CONNECTION`, `RANDOM` or `SOURCE_IP_HASH` (the same client address always reaches the same backend). `null` or left out uses the Load Balancer's algorithm. | | `port` | integer | no | The port the group's backends listen on, 1 to 65535. Defaults to 80. | | `protocol` | string | no | `HTTP`, `HTTPS` or `GRPC`, up to 16 characters. Defaults to `HTTP`. | | `health_check_config` | object | no | How the group's backends are checked. An empty object `{}` uses the Load Balancer's own health check. | | `health_check_config.protocol` | string | no | `TCP`, `HTTP` or `GRPC`. | | `health_check_config.path` | string | no | Path to request. For `HTTP` only. Defaults to `/`. | | `health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy. For `HTTP` only. Defaults to `[200]`. | | `health_check_config.interval_seconds` | integer | no | Seconds between checks. Defaults to 10. | | `health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Defaults to 3. | | `health_check_config.healthy_threshold` | integer | no | Passed checks in a row before an unhealthy backend gets traffic again. Defaults to 2. | | `health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend stops getting traffic. Defaults to 3. | | `request_timeout_seconds` | integer | no | Seconds a request to the group may take before it fails. A whole number, 0 or more; `null` or left out keeps the default. | | `retry_attempts` | integer | no | How many times a failed request is sent again. A whole number; 0 turns retries off. | | `targets` | array of object | no | The backends of the group. On update the list replaces the group's backends, so a backend left out is removed. The same backend and port may appear once per group. | | `targets[].id` | integer | no | ID of a backend already in the group, to keep it and change it. Leave out for a new one. | | `targets[].ip_address` | string | no | IPv4 or IPv6 address. Required when `backend_type` is `raw_ip`. | | `targets[].port` | integer | no | Port the backend listens on, 1 to 65535. Defaults to the group's `port`. | | `targets[].weight` | integer | no | Share of the group's traffic this backend gets, relative to the others: a whole number, 0 or more. Defaults to 1. | | `targets[].name` | string | no | A label, up to 255 characters. | | `targets[].resource_ref` | string | no | Required for `vm`, `inference` and `autoscale`: the VM's name, the inference ID, or the Auto Scaling Group's pool name. | Example request: ```json { "name": "api-pool", "backend_type": "raw_ip", "algorithm": "ROUND_ROBIN", "port": 80, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz" }, "request_timeout_seconds": 300, "retry_attempts": 0, "targets": [ { "ip_address": "203.0.113.10", "port": 8080, "weight": 1, "name": "web-1" } ] } ``` ## Responses ### 201 The backend group that was created | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.backend_type` | one of `vm`, `inference`, `autoscale`, `raw_ip` | no | What kind of backend the group holds. | | `data.algorithm` | string | no | How requests are spread across the group. `null` uses the Load Balancer's algorithm. | | `data.port` | integer | no | The port the group's backends listen on. | | `data.protocol` | string | no | `HTTP`, `HTTPS` or `GRPC`. | | `data.health_check_config` | object | no | How the group's backends are checked. An empty object `{}` uses the Load Balancer's own health check. | | `data.health_check_config.protocol` | string | no | `TCP`, `HTTP` or `GRPC`. | | `data.health_check_config.path` | string | no | Path to request. For `HTTP` only. Defaults to `/`. | | `data.health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy. For `HTTP` only. Defaults to `[200]`. | | `data.health_check_config.interval_seconds` | integer | no | Seconds between checks. Defaults to 10. | | `data.health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Defaults to 3. | | `data.health_check_config.healthy_threshold` | integer | no | Passed checks in a row before an unhealthy backend gets traffic again. Defaults to 2. | | `data.health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend stops getting traffic. Defaults to 3. | | `data.request_timeout_seconds` | integer | no | Seconds a request to the group may take. `null` when not set. | | `data.retry_attempts` | integer | no | Times a failed request is sent again. `null` when not set. | | `data.targets` | array of object | no | The backends of the group, in the order they were added. | | `data.targets[].id` | integer | no | | | `data.targets[].ip_address` | string | no | | | `data.targets[].port` | integer | no | | | `data.targets[].weight` | integer | no | | | `data.targets[].name` | string | no | | | `data.targets[].resource_ref` | string | no | Set for `vm`, `inference` and `autoscale` backends. | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 7, "name": "api-pool", "backend_type": "raw_ip", "algorithm": "ROUND_ROBIN", "port": 80, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz", "interval_seconds": 10 }, "request_timeout_seconds": 300, "retry_attempts": 0, "targets": [ { "id": 31, "ip_address": "203.0.113.10", "port": 8080, "weight": 1, "name": "web-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 A field is wrong or the group could not be saved. `errors` is a message, or an object keyed by field, each holding a list of messages (`non_field_errors` for a check across fields): "A raw-IP target-group member requires 'ip_address'.", "A VM target-group member requires 'resource_ref' (the VM/pool name).", "An inference target-group member requires 'resource_ref' (the inference id).", "An autoscale target-group member requires 'resource_ref' (the autoscale group's pool name).", "Inference '' was not found in this project.", "Autoscale group '' was not found in this project.", "Autoscale-group backends are supported on L7 (HTTP/HTTPS) load balancers only.", "Duplicate backend '' on port in this group — each backend:port may appear once per group.", "An L4 load balancer supports a single target group. Remove the existing group first.", a field message such as "This field is required." or "Ensure this value is less than or equal to 65535.", or, for a name already used, the database's own message. The same 400 is returned, with the project's own text, when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | object | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": { "non_field_errors": [ "Duplicate backend '203.0.113.10' on port 8080 in this group — each backend:port may appear once per group." ] } } ``` ### 404 No Load Balancer with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway//target-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"api-pool","backend_type":"raw_ip","algorithm":"ROUND_ROBIN","port":80,"protocol":"HTTP","health_check_config":{"protocol":"HTTP","path":"/healthz"},"request_timeout_seconds":300,"retry_attempts":0,"targets":[{"ip_address":"203.0.113.10","port":8080,"weight":1,"name":"web-1"}]}' ``` --- --- title: "Create Load Balancer" method: POST path: "/gateway/" url: "/api/tir/operations/post-gateway/" --- # Create Load Balancer `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/` Creates a Load Balancer and starts setting it up. The call returns at once with the Load Balancer in `Initializing`; poll **Get Load Balancer** until `status` is `Running`. A Load Balancer on a plan is billed from when it becomes `Running`. The Load Balancer needs the Create permission. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | yes | Name of the Load Balancer, up to 255 characters, unique in the project. | | `description` | string | no | A description. Optional. | | `lb_type` | one of `L4`, `L7` | no | `L7` balances HTTP and HTTPS traffic, `L4` balances TCP traffic. Default `L7`. | | `sku_item_price_id` | integer | no | ID of the plan the Load Balancer runs on. The plan sets its capacity (requests per second, connections) and its billing. It must be a Load Balancer plan of the same region that fits the type. | | `ha` | boolean | no | `true` to run on 2 instances, `false` for 1. Each instance is billed at the plan rate. Default `false`. | | `committed_instance_policy` | string | no | For a committed plan: what happens when the term ends. Required with a committed plan. | | `next_sku_item_price_id` | integer | no | For a committed plan that continues or converts: the plan to move to. Required for those end-of-term choices. It must be the same plan in the same region, committed to continue or hourly to convert to hourly. | | `algorithm` | string | no | How requests are spread over backends. Default `ROUND_ROBIN`. Other values are `LEAST_REQUEST`, `LEAST_CONNECTION`, `RANDOM` and `SOURCE_IP_HASH`. | | `health_check` | boolean | no | Turn the health check on or off. Default `true`. | | `health_check_config` | object | no | Health check settings. Every key is optional; a key you leave out takes its default. | | `health_check_config.protocol` | one of `TCP`, `HTTP`, `GRPC` | no | How the check probes a backend. Default `TCP`. | | `health_check_config.interval_seconds` | integer | no | Seconds between checks. Default 10. | | `health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Default 3. | | `health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend is taken out. Default 3. | | `health_check_config.healthy_threshold` | integer | no | Passing checks in a row before a backend is put back. Default 2. | | `health_check_config.path` | string | no | The path an `HTTP` check requests. Default `/`. | | `health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy for an `HTTP` check. Default `[200]`. | | `health_check_config.consecutive_5xx_errors` | integer | no | Server errors in a row before a backend is taken out. Default 5. | | `health_check_config.consecutive_gateway_errors` | integer | no | Errors 502, 503 or 504 in a row before a backend is taken out. Default 5. | | `health_check_config.base_ejection_time_seconds` | integer | no | Seconds a backend stays out after it is taken out. Default 30. | | `health_check_config.outlier_interval_seconds` | integer | no | Seconds between scans for backends to take out. Default 10. | | `health_check_config.max_ejection_percent` | integer | no | Most backends, in percent, that can be out at once. Default 50. | | `health_check_config.split_external_local_origin_errors` | boolean | no | Count connection errors apart from errors the backend returned. Default `false`. | | `listener_port` | integer | no | The port the Load Balancer listens on, 1 to 65535. Required for an `L4` Load Balancer. | | `frontend_protocols` | array of one of `HTTP`, `HTTPS` | no | Protocols to accept. Empty or left out means both. Applies to `L7`. | | `backend_protocol` | string | no | How the Load Balancer talks to backends, up to 16 characters. `GRPC` makes routing rules without a backend group gRPC. | | `http_redirect` | boolean | no | Redirect HTTP requests to HTTPS. Needs HTTP and HTTPS both on. Default `false`. | | `ssl_cert_id` | string | no | ID of a certificate of the project to serve, as text or a number. It must not have expired. | | `connection_timeout` | integer | no | Seconds to wait when connecting to a backend. Whole number of seconds, 0 or more. | | `client_timeout` | integer | no | Seconds a client connection may stay idle. Whole number of seconds, 0 or more. | | `server_timeout` | integer | no | Seconds a backend connection may stay idle. Whole number of seconds, 0 or more. | | `http_keep_alive_timeout` | integer | no | Seconds an idle HTTP connection is kept open. Whole number of seconds, 0 or more. | | `websocket_timeout` | integer | no | Seconds a WebSocket connection may stay open. Whole number of seconds, 0 or more. | | `security_groups_ids` | array of integer | no | IDs of security groups to attach once the Load Balancer exists. An ID that is not valid is skipped. | Example request: ```json { "name": "example-lb", "description": "Front end for the web tier", "lb_type": "L7", "sku_item_price_id": 2101, "ha": false, "committed_instance_policy": null, "next_sku_item_price_id": null, "algorithm": "ROUND_ROBIN", "health_check": true, "health_check_config": { "protocol": "HTTP", "interval_seconds": 10, "timeout_seconds": 3, "unhealthy_threshold": 3, "healthy_threshold": 2, "path": "/healthz", "expected_statuses": [ 0 ], "consecutive_5xx_errors": 5, "consecutive_gateway_errors": 5, "base_ejection_time_seconds": 30, "outlier_interval_seconds": 10, "max_ejection_percent": 50, "split_external_local_origin_errors": false }, "listener_port": 443, "frontend_protocols": [ "string" ], "backend_protocol": "HTTP", "http_redirect": false, "ssl_cert_id": "12", "connection_timeout": 10, "client_timeout": 60, "server_timeout": 60, "http_keep_alive_timeout": 60, "websocket_timeout": 3600, "security_groups_ids": [ 0 ] } ``` ## Responses ### 201 The Load Balancer was created and setup has started | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.description` | string | no | | | `data.environment` | string | no | | | `data.connection_limit` | integer | no | | | `data.rate_limit` | integer | no | | | `data.rate_limit_unit` | string | no | | | `data.max_concurrent_requests` | integer | no | | | `data.bandwidth_mbps` | integer | no | | | `data.lb_type` | one of `L4`, `L7` | no | | | `data.scheme` | string | no | | | `data.algorithm` | string | no | | | `data.vpc_id` | integer | no | | | `data.node_count` | integer | no | | | `data.sku_id` | string | no | | | `data.health_check` | boolean | no | | | `data.health_check_config` | object | no | Health check settings. Every key is optional; a key you leave out takes its default. | | `data.health_check_config.protocol` | one of `TCP`, `HTTP`, `GRPC` | no | How the check probes a backend. Default `TCP`. | | `data.health_check_config.interval_seconds` | integer | no | Seconds between checks. Default 10. | | `data.health_check_config.timeout_seconds` | integer | no | Seconds to wait for an answer. Default 3. | | `data.health_check_config.unhealthy_threshold` | integer | no | Failed checks in a row before a backend is taken out. Default 3. | | `data.health_check_config.healthy_threshold` | integer | no | Passing checks in a row before a backend is put back. Default 2. | | `data.health_check_config.path` | string | no | The path an `HTTP` check requests. Default `/`. | | `data.health_check_config.expected_statuses` | array of integer | no | Status codes that count as healthy for an `HTTP` check. Default `[200]`. | | `data.health_check_config.consecutive_5xx_errors` | integer | no | Server errors in a row before a backend is taken out. Default 5. | | `data.health_check_config.consecutive_gateway_errors` | integer | no | Errors 502, 503 or 504 in a row before a backend is taken out. Default 5. | | `data.health_check_config.base_ejection_time_seconds` | integer | no | Seconds a backend stays out after it is taken out. Default 30. | | `data.health_check_config.outlier_interval_seconds` | integer | no | Seconds between scans for backends to take out. Default 10. | | `data.health_check_config.max_ejection_percent` | integer | no | Most backends, in percent, that can be out at once. Default 50. | | `data.health_check_config.split_external_local_origin_errors` | boolean | no | Count connection errors apart from errors the backend returned. Default `false`. | | `data.listener_port` | integer | no | | | `data.frontend_protocols` | array of string | no | | | `data.backend_protocol` | string | no | | | `data.http_redirect` | boolean | no | | | `data.ssl_cert_id` | string | no | ID of the certificate bound to the Load Balancer, as text. | | `data.ipv6` | boolean | no | | | `data.security_group_id` | string | no | | | `data.connection_timeout` | integer | no | Seconds to wait when connecting to a backend. | | `data.client_timeout` | integer | no | Seconds a client connection may stay idle. | | `data.server_timeout` | integer | no | Seconds a backend connection may stay idle. | | `data.http_keep_alive_timeout` | integer | no | Seconds an idle HTTP connection is kept open. | | `data.websocket_timeout` | integer | no | Seconds a WebSocket connection may stay open. | | `data.created_by` | object | no | The user who created the Load Balancer. | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string | no | | | `data.updated_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 12, "name": "example-lb", "description": "Front end for the web tier", "environment": null, "connection_limit": 10000, "rate_limit": 1000, "rate_limit_unit": "Second", "max_concurrent_requests": null, "bandwidth_mbps": null, "lb_type": "L7", "scheme": "internet-facing", "algorithm": "ROUND_ROBIN", "vpc_id": null, "node_count": 1, "sku_id": null, "health_check": true, "health_check_config": { "protocol": "HTTP", "interval_seconds": 10, "timeout_seconds": 3, "unhealthy_threshold": 3, "healthy_threshold": 2, "path": "/healthz", "expected_statuses": [ 0 ], "consecutive_5xx_errors": 5, "consecutive_gateway_errors": 5, "base_ejection_time_seconds": 30, "outlier_interval_seconds": 10, "max_ejection_percent": 50, "split_external_local_origin_errors": false }, "listener_port": 443, "frontend_protocols": [ "string" ], "backend_protocol": "HTTP", "http_redirect": false, "ssl_cert_id": null, "ipv6": false, "security_group_id": null, "connection_timeout": 10, "client_timeout": 60, "server_timeout": 60, "http_keep_alive_timeout": 60, "websocket_timeout": 3600, "created_by": { "id": 1, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "errors": {} } ``` ### 400 A field is missing or not valid (`errors` is keyed by field), the name is already used by a Load Balancer of the project (deleted ones count), the certificate is not found or has expired, a committed plan has no end-of-term choice, the account does not have enough credit, or setup could not start ("Failed to create load balancer. Please try again later."). A missing or invalid project ID also gives 400 with `errors` "Project ID is missing or invalid". | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Failed to create load balancer. Please try again later." } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"example-lb","description":"Front end for the web tier","lb_type":"L7","sku_item_price_id":2101,"ha":false,"committed_instance_policy":null,"next_sku_item_price_id":null,"algorithm":"ROUND_ROBIN","health_check":true,"health_check_config":{"protocol":"HTTP","interval_seconds":10,"timeout_seconds":3,"unhealthy_threshold":3,"healthy_threshold":2,"path":"/healthz","expected_statuses":[0],"consecutive_5xx_errors":5,"consecutive_gateway_errors":5,"base_ejection_time_seconds":30,"outlier_interval_seconds":10,"max_ejection_percent":50,"split_external_local_origin_errors":false},"listener_port":443,"frontend_protocols":["string"],"backend_protocol":"HTTP","http_redirect":false,"ssl_cert_id":"12","connection_timeout":10,"client_timeout":60,"server_timeout":60,"http_keep_alive_timeout":60,"websocket_timeout":3600,"security_groups_ids":[0]}' ``` --- --- title: "Create Integration" method: POST path: "/integrations/" url: "/api/tir/operations/post-integrations/" --- # Create Integration `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `integration_type` | one of `hugging_face`, `github`, `weights_and_biases` | yes | The type of integration | | `name` | string | yes | A label to identify this integration | | `integration_details` | object | yes | Integration-specific credentials. The required fields vary by integration_type: - hugging_face: hugging_face_token - github: github_token - weights_and_biases: wandb_username, wandb_key, project_name | | `integration_details.hugging_face_token` | string | no | Hugging Face user access token (required for hugging_face) | | `integration_details.github_token` | string | no | GitHub personal access token (required for github) | | `integration_details.wandb_username` | string | no | Weights & Biases account username (required for weights_and_biases) | | `integration_details.wandb_key` | string | no | Weights & Biases API key (required for weights_and_biases) | | `integration_details.project_name` | string | no | W&B project where runs will be logged (required for weights_and_biases) | Example request: ```json { "integration_type": "string", "name": "string", "integration_details": { "hugging_face_token": "string", "github_token": "string", "wandb_username": "string", "wandb_key": "string", "project_name": "string" } } ``` ## Responses ### 201 Successfully created a new integration | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.integration_type` | string | no | | | `data.created_by` | object | no | | | `data.created_by.id` | integer | no | | | `data.created_by.name` | string | no | | | `data.created_by.email` | string | no | | | `data.created_by.username` | string | no | | | `data.created_at` | string (date-time) | no | | | `data.updated_at` | string (date-time) | no | | | `data.project_id` | integer | no | | | `data.integration_details` | object | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 421, "name": "fakeff", "integration_type": "hugging_face", "created_by": { "id": 3573, "name": "Nipun", "email": "nipun.arora@e2enetworks.com", "username": "nipun.arora@e2enetworks.com" }, "created_at": "2024-11-14T07:20:43.119393Z", "updated_at": "2024-11-14T07:20:43.119459Z", "project_id": 124, "integration_details": {} }, "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/integrations/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"integration_type":"string","name":"string","integration_details":{"hugging_face_token":"string","github_token":"string","wandb_username":"string","wandb_key":"string","project_name":"string"}}' ``` --- --- title: "Create Model Evaluation" method: POST path: "/model_evaluation/" url: "/api/tir/operations/post-model-evaluation/" --- # Create Model Evaluation `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/` ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `name` | string | no | | | `input_dataset_id` | string | no | | | `output_dataset_id` | string | no | | | `input_dataset_config` | object | no | | | `input_dataset_config.dataset_type` | one of `huggingface`, `EOS Dataset` | no | | | `input_dataset_config.dataset_split` | string | no | | | `input_dataset_config.input_column` | string | no | | | `input_dataset_config.output_column` | string | no | | | `input_dataset_config.reference_answer_column` | string | no | | | `input_dataset_config.num_rows_limit` | integer | no | | | `input_dataset_config.custom_hf_dataset_name` | string | no | | | `input_dataset_config.hf_dataset_name` | one of `GAIR/o1-journey`, `chenle015/OpenMP_Question_Answering`, `sujayC66/text_summarization_512_length_1_2000`, `JeswinMS4/code_text_classification` | no | | | `framework_id` | integer | no | 1 - text-summarization 2 - general_assistant 3 - question_answering 4 - text_classification | | `evaluator_llm_id` | integer | no | 1 - llama3_2_3b_instruct 2 - llama3_1_8b_instruct | | `evaluation_config` | object | no | | | `evaluation_config.temperature` | number (float) | no | | | `evaluation_config.max_tokens` | integer | no | | | `evaluation_config.top_p` | number (float) | no | | | `model_evaluation_prompt` | string | no | | | `sku_item_price_id` | integer | no | SKU item price ID for the evaluation job. This value is region-specific. Use the plans-and-pricing API to get valid IDs for your region. | | `huggingface_integration_id` | string | no | | Example request: ```json { "name": "tir-job-021915025656", "input_dataset_id": "", "output_dataset_id": "async-invocations-02171142022", "input_dataset_config": { "dataset_type": "huggingface", "dataset_split": "train", "input_column": "question", "output_column": "answer", "reference_answer_column": "", "num_rows_limit": -1, "custom_hf_dataset_name": "", "hf_dataset_name": "GAIR/o1-journey" }, "framework_id": 1, "evaluator_llm_id": 2, "evaluation_config": { "temperature": 0, "max_tokens": 1024, "top_p": 1 }, "model_evaluation_prompt": "test", "sku_item_price_id": 207, "huggingface_integration_id": null } ``` ## Responses ### 201 Evaluation request created successfully | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | | | `data.project_id` | integer | no | | | `data.input_dataset` | string | no | | | `data.input_dataset_config` | object | no | | | `data.input_dataset_config.dataset_path` | string | no | | | `data.input_dataset_config.hf_dataset_name` | string | no | | | `data.input_dataset_config.custom_hf_dataset_name` | string | no | | | `data.input_dataset_config.dataset_split` | string | no | | | `data.input_dataset_config.custom_dataset_split` | string | no | | | `data.input_dataset_config.input_column` | string | no | | | `data.input_dataset_config.output_column` | string | no | | | `data.input_dataset_config.reference_answer_column` | string | no | | | `data.input_dataset_config.num_rows_limit` | integer | no | | | `data.input_dataset_config.dataset_type` | string | no | | | `data.output_dataset` | object | no | | | `data.output_dataset.id` | integer | no | | | `data.output_dataset.name` | string | no | | | `data.output_dataset.project_id` | integer | no | | | `data.output_dataset.description` | string | no | | | `data.output_dataset.storage_type` | string | no | | | `data.output_dataset.pvc` | string | no | | | `data.output_dataset.bucket` | object | no | | | `data.output_dataset.bucket.id` | integer | no | | | `data.output_dataset.bucket.bucket_name` | string | no | | | `data.output_dataset.bucket.bucket_url` | string | no | | | `data.output_dataset.bucket.endpoint` | string | no | | | `data.output_dataset.bucket.is_managed` | boolean | no | | | `data.output_dataset.bucket.eos_bucket_permission_id` | integer | no | | | `data.output_dataset.status` | string | no | | | `data.framework` | object | no | | | `data.framework.id` | integer | no | | | `data.framework.name` | string | no | | | `data.framework.display_name` | string | no | | | `data.framework.description` | string | no | | | `data.evaluator_llm_name` | string | no | | | `data.status` | string | no | | | `data.created_at` | string (date-time) | no | | | `errors` | object | no | | | `message` | string | no | | Example 201 response: ```json { "code": 201, "data": { "id": 126, "name": "tir-job-021915025656", "project_id": 4528, "input_dataset": null, "input_dataset_config": { "dataset_path": null, "hf_dataset_name": "GAIR/o1-journey", "custom_hf_dataset_name": "", "dataset_split": "train", "custom_dataset_split": null, "input_column": "question", "output_column": "answer", "reference_answer_column": "", "num_rows_limit": -1, "dataset_type": "huggingface" }, "output_dataset": { "id": 1617, "name": "async-invocations-02171142022", "project_id": 4528, "description": null, "storage_type": "managed", "pvc": null, "bucket": { "id": 3068, "bucket_name": "d-gpu-6a93eb6a-5a3e-411e-80ec-b91b31e7a93f", "bucket_url": "s3://d-gpu-6a93eb6a-5a3e-411e-80ec-b91b31e7a93f/", "endpoint": "https://objectstore.e2enetworks.net", "is_managed": true, "eos_bucket_permission_id": 11488 }, "status": "OK" }, "framework": { "id": 2, "name": "general_assistant", "display_name": "General Assistant", "description": "Use this metric for evaluating the general assistant capability of your LLM." }, "evaluator_llm_name": "llama3_2_3b_instruct", "status": "Creating", "created_at": "2025-02-19T09:34:52.615513Z" }, "errors": {}, "message": "Created Successfully" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/model_evaluation/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"name":"tir-job-021915025656","input_dataset_id":"","output_dataset_id":"async-invocations-02171142022","input_dataset_config":{"dataset_type":"huggingface","dataset_split":"train","input_column":"question","output_column":"answer","reference_answer_column":"","num_rows_limit":-1,"custom_hf_dataset_name":"","hf_dataset_name":"GAIR/o1-journey"},"framework_id":1,"evaluator_llm_id":2,"evaluation_config":{"temperature":0,"max_tokens":1024,"top_p":1},"model_evaluation_prompt":"test","sku_item_price_id":207,"huggingface_integration_id":null}' ``` --- --- title: "Create Auto Scaling Group From VM" method: POST path: "/notebooks/autoscale-groups/from-vm/" url: "/api/tir/operations/post-notebooks-autoscale-groups-from-vm/" --- # Create Auto Scaling Group From VM `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/from-vm/` Creates an Auto Scaling Group from a Running VM, which must be sent as `vm_id`. The API first takes a live snapshot of the VM without stopping it, which stays in the VM's snapshot list, then launches the group from it. The group is returned as `Creating` at once. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `vm_id` | integer | yes | ID of the VM to copy. The VM must be Running, on a plan that supports snapshots, and a CPU plan. The API takes a live snapshot of it first, without stopping it, . The snapshot stays in the VM's snapshot list. | | `name` | string | no | The group's name, unique among the project's groups that are not deleted. Omitted or blank, it becomes `ag-` followed by the source VM's name. | | `min_replicas` | integer | yes | Minimum VMs: the group never scales below this on its own. At least 1. | | `max_replicas` | integer | yes | Maximum VMs: at least one more than `min_replicas`, and at most 60. | | `desired_replicas` | integer | yes | How many VMs the group starts with, from `min_replicas` to `max_replicas`. Required. | | `sku_item_price_id` | integer | no | The plan every VM runs on: an active, CPU, hourly VM plan in the group's region. Optional: it defaults to the source's plan if that is billed by the hour, otherwise the request is refused. `sku_id` and `plan_id` are accepted in its place. | | `disk_size_gb` | integer | no | Disk per VM, in GB. Not less than the source's disk size and at most 2,000. Defaults to the source's disk size. | | `scale_mode` | one of `elastic`, `scheduled`, `both` | no | `elastic` scales on usage, `scheduled` only on schedules, `both` on both. Default `elastic`. With `scheduled` or `both`, `scheduled_policies` must hold at least one schedule. | | `policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | The usage measure for `elastic` and `both`: CPU, memory, CPU and memory together, or network throughput. Default `elastic_cpu`. It is not used when `scale_mode` is `scheduled`. | | `cpu_threshold_percent` | integer | no | Target average CPU use, in percent, a whole number from 10 to 99. | | `memory_threshold_percent` | integer | no | Target average memory use, in percent, a whole number from 10 to 99. | | `network_threshold_bytes_per_sec` | integer | no | Target network throughput per VM, in bytes per second (received plus sent), a whole number. | | `scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120; a lower value is refused. `cooldown_period` is accepted in its place. Default 120. | | `scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds, at least 1. `scale_out_cooldown_seconds` is accepted in its place. When not sent, the wait is `watch_period` times `period_duration`. When sent, `watch_period` is set to this value divided by `period_duration`, rounded, at least 1. | | `watch_period` | integer | no | Number of watched periods before VMs are added. Default 3. | | `period_duration` | integer | no | Length of one watched period, in seconds. Default 10. | | `public_ip_enabled` | boolean | no | Leave this field out. Every VM gets a public IP address. | | `scale_up_operator` | one of `>`, `>=` | no | `>` or `>=`. Leave this field out. | | `scale_down_operator` | one of `<`, `<=` | no | `<` or `<=`. Leave this field out. | | `scale_down_threshold_percent` | integer | no | Leave this field out. | | `health_check_type` | one of `vm_status`, `http`, `tcp` | no | `vm_status` checks that the VM is running; `http` and `tcp` probe `health_check_port` on the VM's private address. Default `vm_status`. | | `health_check_port` | integer | no | Port to probe, 1 to 65535. Required for `http` and `tcp`. | | `health_check_path` | string | no | Path to request for `http`; must start with `/`. Default `/`. | | `health_check_protocol` | one of `http`, `https` | no | `http` or `https`, for `http` checks. | | `health_check_interval_seconds` | integer | no | Seconds between checks, at least 15. Default 30. | | `health_check_timeout_seconds` | integer | no | Seconds to wait for an answer, at least 1. Default 5. | | `health_check_unhealthy_threshold` | integer | no | Failed checks in a row before a VM is unhealthy, at least 1. Default 2. | | `health_check_healthy_threshold` | integer | no | Passing checks in a row before a VM is healthy again, at least 1. Default 1. | | `startup_grace_period_seconds` | integer | no | Seconds after a VM starts before its checks count, at least 1. `health_check_grace_period_seconds` is accepted in its place. Default 300. | | `auto_replace_unhealthy` | boolean | no | Replace a VM that stays unhealthy. Default `true`. | | `ssh_key_ids` | array of integer | no | IDs of your SSH keys to install on every VM. Keys that are not yours are refused. A security group must be sent with them. | | `security_group_id` | integer | no | ID of one Security Group in the project and region, applied to every VM. | | `public_key` | string | no | A public key to install when `ssh_key_ids` is empty. If both are empty, the source VM's keys are used. | | `scheduled_policies` | array of object | no | Schedules, created with the group. Required and non-empty when `scale_mode` is `scheduled` or `both`. A schedule that is refused is reported in `scheduled_policy_results` and does not fail the request. | | `scheduled_policies[].name` | string | no | A label for the schedule. At most 128 characters. | | `scheduled_policies[].cron_expression` | string | no | Required. A cron expression: minute, hour, day of month, month, day of week. At most 64 characters. | | `scheduled_policies[].timezone_name` | string | no | Any time zone name, such as `Asia/Kolkata`. At most 64 characters. Default `UTC`. | | `scheduled_policies[].target_min_replicas` | integer | no | Required. The Minimum VMs the schedule sets, at least 1. | | `scheduled_policies[].target_max_replicas` | integer | no | Required. The Maximum VMs it sets: above `target_min_replicas`, at most 60. | | `scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, 60 to 2,592,000 seconds (30 days). Omit or `null` to hold until another schedule changes it. | | `scheduled_policies[].enabled` | boolean | no | Default `true`. A disabled schedule does not run and holds no capacity. | Example request: ```json { "vm_id": 4984, "name": "example-group", "min_replicas": 2, "max_replicas": 10, "desired_replicas": 2, "sku_item_price_id": 1190, "disk_size_gb": 50, "scale_mode": "elastic", "policy_type": "elastic_cpu", "cpu_threshold_percent": 60, "memory_threshold_percent": 70, "network_threshold_bytes_per_sec": 10000000, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "watch_period": 3, "period_duration": 10, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": 30, "health_check_type": "vm_status", "health_check_port": 80, "health_check_path": "/", "health_check_protocol": "http", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "auto_replace_unhealthy": true, "ssh_key_ids": [ 0 ], "security_group_id": 45, "public_key": "ssh-ed25519 AAAA... user@example.com", "scheduled_policies": [ { "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "duration_seconds": 28800, "enabled": true } ] } ``` ## Responses ### 201 The group, as Creating | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `data.scheduled_policy_results` | array of object | no | One entry per schedule sent. A schedule that was refused does not fail the request. | | `data.scheduled_policy_results[].input` | object | no | The schedule as sent. | | `data.scheduled_policy_results[].success` | boolean | no | | | `data.scheduled_policy_results[].data` | object | no | The stored schedule, as in `scheduled_policies`. `{}` when the schedule failed. | | `data.scheduled_policy_results[].errors` | object | no | A sentence saying why the schedule failed, or `{}` when it succeeded. | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Creating", "display_status": "Creating", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "snapshotting_source_vm", "stage_message": "Ready", "stage_percent": 5, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": null, "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": null, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": null, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 0, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1, "scheduled_policy_results": [ { "input": { "name": "weekday-morning" }, "success": true, "data": {}, "errors": null } ] }, "errors": {} } ``` ### 400 A field is missing or outside its limit, for example "min_replicas must be a positive integer.", "max_replicas must be greater than min_replicas.", "max_replicas cannot exceed the platform limit of 60 replicas per group.", "desired_replicas is required and must be an integer.", "scale_in_stabilization_seconds must be at least 120 seconds, so a new VM can finish booting before the group scales in.", "cpu_threshold_percent must be between 10 and 99.", "disk_size_gb must be at most 2000 GB.", "One or more ssh_key_ids are invalid.", an unknown plan, a GPU plan or a plan not billed by the hour ("sku_item_price_id must be a CPU-only SKU; Autoscale Groups only support CPU-only pools."), or a name already used ("An autoscale group named 'example-group' already exists in this project."). `errors` is the sentence. Also: "vm_id is required.", the VM is not Running (as shown), "Snapshots are not supported for this plan.", or the VM is a GPU VM ("This VM is a GPU instance; Autoscale Groups only support CPU-only pools."). `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "VM must be Running to create an autoscale group from it. Current status: Stopped." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No VM with that ID in the project. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "VM 4984 not found." } ``` ### 500 The launch could not be started. The group is saved and marked Failed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to start autoscale from-vm provision workflow.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/from-vm/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"vm_id":4984,"name":"example-group","min_replicas":2,"max_replicas":10,"desired_replicas":2,"sku_item_price_id":1190,"disk_size_gb":50,"scale_mode":"elastic","policy_type":"elastic_cpu","cpu_threshold_percent":60,"memory_threshold_percent":70,"network_threshold_bytes_per_sec":10000000,"scale_in_stabilization_seconds":300,"scale_out_stabilization_seconds":30,"watch_period":3,"period_duration":10,"public_ip_enabled":true,"scale_up_operator":">","scale_down_operator":"<","scale_down_threshold_percent":30,"health_check_type":"vm_status","health_check_port":80,"health_check_path":"/","health_check_protocol":"http","health_check_interval_seconds":30,"health_check_timeout_seconds":5,"health_check_unhealthy_threshold":2,"health_check_healthy_threshold":1,"startup_grace_period_seconds":300,"auto_replace_unhealthy":true,"ssh_key_ids":[0],"security_group_id":45,"public_key":"ssh-ed25519 AAAA... user@example.com","scheduled_policies":[{"name":"weekday-morning","cron_expression":"0 9 * * 1-5","timezone_name":"UTC","target_min_replicas":4,"target_max_replicas":10,"duration_seconds":28800,"enabled":true}]}' ``` --- --- title: "Retry Launch Auto Scaling Group" method: POST path: "/notebooks/autoscale-groups/{group_id}/relaunch/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-relaunch/" --- # Retry Launch Auto Scaling Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/relaunch/` Stops an unfinished launch, removes what it created, and launches the group again from its saved settings, with its current Minimum VMs and Maximum VMs and its SSH keys and Security Group. Works on a Creating group that is stuck or a Failed group. Relaunching removes the current VMs of the group. Needs create permission. The group is returned as Creating. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The group, relaunching | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | ID of the snapshot the group launches from. `null` for a group made from a VM until its snapshot exists. | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | Number of VMs now in the group. | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Creating", "display_status": "Creating", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "cleaning_up", "stage_message": "Ready", "stage_percent": 5, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": "2026-10-21T11:21:40+00:00", "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": null, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": 212, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 3, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1 }, "errors": {} } ``` ### 400 The group is in another status (as shown), or its saved snapshot is missing ("Autoscale group has no usable backup snapshot."). `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Only a Creating (stuck) or Failed group can be relaunched. Current status: Running." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The relaunch could not be started. The group is marked Failed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to start autoscale relaunch workflow.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//relaunch/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create Auto Scaling Group Schedule" method: POST path: "/notebooks/autoscale-groups/{group_id}/scheduled-policies/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-scheduled-policies/" --- # Create Auto Scaling Group Schedule `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/scheduled-policies/` Adds a schedule to an Auto Scaling Group. The schedule starts running at once, unless `enabled` is `false`. A cron expression that cannot be read is refused and nothing is kept. Needs the permission to create. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `cron_expression` | string | yes | When the schedule runs, as a cron expression read in `timezone_name`. At most 64 characters. Required. | | `target_min_replicas` | integer | yes | Minimum number of VMs the schedule sets. Required, a whole number of at least 1. | | `target_max_replicas` | integer | yes | Maximum number of VMs the schedule sets. Required, more than `target_min_replicas` and at most 60. | | `name` | string | no | A label for the schedule. At most 128 characters. Default: empty. | | `enabled` | boolean | no | `false` creates the schedule paused: it does not run and holds no capacity. Default: `true`. | | `timezone_name` | string | no | Any time zone name, such as `UTC` or `Asia/Kolkata`. At most 64 characters. Default: `UTC`. | | `duration_seconds` | integer | no | How long, in seconds, the schedule holds its range before the group goes back to its own. From 60 to 2,592,000 (30 days). Leave it out or send `null` for a permanent change. Default: `null`. | Example request: ```json { "cron_expression": "0 8 * * 1-5", "target_min_replicas": 3, "target_max_replicas": 10, "name": "Morning", "enabled": true, "timezone_name": "Asia/Kolkata", "duration_seconds": 28800 } ``` ## Responses ### 201 Schedule created | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.group_id` | integer | no | ID of the Auto Scaling Group. | | `data.name` | string | no | The schedule's name. Empty when none was sent. | | `data.cron_expression` | string | no | When the schedule runs, as a cron expression. | | `data.timezone_name` | string | no | The time zone `cron_expression` is read in. | | `data.target_min_replicas` | integer | no | Minimum number of VMs the schedule sets. | | `data.target_max_replicas` | integer | no | Maximum number of VMs the schedule sets. | | `data.enabled` | boolean | no | `false` when the schedule is paused and does not run. | | `data.duration_seconds` | integer | no | How long, in seconds, the schedule holds its range before the group goes back to its own. `null` when the change is permanent. | | `data.window_ends_at` | string | no | When the hold that is on now ends. `null` when the schedule is not holding. | | `data.next_run_at` | string | no | When the schedule runs next. `null` when it is paused. | | `data.last_run_at` | string | no | When the schedule last ran. `null` until it has. | | `data.created_at` | string | no | | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 12, "group_id": 41, "name": "Morning", "cron_expression": "0 8 * * 1-5", "timezone_name": "Asia/Kolkata", "target_min_replicas": 3, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-22T08:00:00+05:30", "last_run_at": null, "created_at": "2026-10-21T10:02:11+00:00" }, "errors": {} } ``` ### 400 A field is missing or out of range. `errors` names the first one found. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | One of: "cron_expression is required.", "target_min_replicas must be a positive integer.", "target_max_replicas must be a positive integer.", "target_max_replicas must be greater than target_min_replicas.", "target_max_replicas cannot exceed the platform limit of 60 replicas per group.", "duration_seconds must be between 60 and 2592000 seconds, or null for a permanent change.", "duration_seconds must be an integer number of seconds, or null for a permanent change.", "timezone_name 'X' is not a recognized IANA timezone (e.g. 'UTC', 'Asia/Kolkata')." | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "target_max_replicas must be greater than target_min_replicas." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The cron expression could not be read. The schedule is not kept. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to create schedule: could not parse cron_expression '0 8 * *'.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//scheduled-policies/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"cron_expression":"0 8 * * 1-5","target_min_replicas":3,"target_max_replicas":10,"name":"Morning","enabled":true,"timezone_name":"Asia/Kolkata","duration_seconds":28800}' ``` --- --- title: "Attach One Auto Scaling Group Security Group" method: POST path: "/notebooks/autoscale-groups/{group_id}/security-groups/{security_group_id}/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-security-groups-security-group-id/" --- # Attach One Auto Scaling Group Security Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/security-groups/{security_group_id}/` Attaches one Security Group to an Auto Scaling Group; its rules then apply to the VMs. To attach several at once, use Attach Auto Scaling Group Security Groups. Needs the permission to update. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | | `security_group_id` | integer | yes | Security Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 Security Group attached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group addition successful", "errors": {} } ``` ### 400 The Security Group is already attached, does not exist in the project and region, or the attach failed. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | One of: "Security group already exists", "Security Group not found", "Security group addition failed". | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Security group already exists" } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//security-groups//?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Attach Auto Scaling Group Security Groups" method: POST path: "/notebooks/autoscale-groups/{group_id}/security-groups/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-security-groups/" --- # Attach Auto Scaling Group Security Groups `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/security-groups/` Attaches up to five Security Groups to an Auto Scaling Group, which applies them to every VM in it, including VMs added later. The Security Groups must be in the same project and region as the group. A group that is already attached is skipped. If one cannot be attached, the call fails with "Security group addition failed". Groups that attached successfully stay attached. Needs the permission to update. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `security_groups_ids` | array of integer | yes | IDs of the Security Groups to attach. At least one, at most 5, no repeats. | Example request: ```json { "security_groups_ids": [ 45, 46 ] } ``` ## Responses ### 200 Security Groups attached | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": "Security group addition successful", "errors": {} } ``` ### 400 The list is missing, not a list, empty, has a repeat or is too long; or a Security Group could not be attached. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | One of: "security_groups_ids must be a list.", "No security group provided in the request.", "Duplicate security groups found in the request.", "Security group addition failed", or a refusal when the request holds more than five groups. | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Duplicate security groups found in the request." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//security-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"security_groups_ids":[45,46]}' ``` --- --- title: "Start Auto Scaling Group" method: POST path: "/notebooks/autoscale-groups/{group_id}/start/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-start/" --- # Start Auto Scaling Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/start/` Starts a Stopped group. Its VMs start with their disks, compute billing for them starts when they are ready, and the group shows `Starting`, then `Running`. If it fails, the group becomes Failed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The group, now Starting | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | The launch step the group is at. `null` before a launch has begun. | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | Launch progress, 0 to 100. | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | Number of VMs that are ready. | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | ID of the snapshot the group launches from. `null` for a group made from a VM until its snapshot exists. | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | Number of VMs now in the group. | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Starting", "display_status": "Starting", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "running", "stage_message": "Ready", "stage_percent": 100, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": "2026-10-21T11:21:40+00:00", "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": 3, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": 212, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 3, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1 }, "errors": {} } ``` ### 400 The group is not Stopped. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Only Stopped groups can be started. Current status: Running." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The start could not be begun. The group is marked Failed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to start autoscale action workflow.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//start/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Stop Auto Scaling Group" method: POST path: "/notebooks/autoscale-groups/{group_id}/stop/" url: "/api/tir/operations/post-notebooks-autoscale-groups-group-id-stop/" --- # Stop Auto Scaling Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/stop/` Stops a Running group. Its VMs are halted, not deleted, and their disks are kept; compute billing for them stops. The group shows `Stopping`, then `Stopped` once no VM is left running. While it is stopped its schedules do not run. If it fails, the group becomes Failed. ## Path parameters | Name | Type | Required | Description | |---|---|---|---| | `group_id` | integer | yes | Auto Scaling Group ID | ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Responses ### 200 The group, now Stopping | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | The launch step the group is at. `null` before a launch has begun. | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | Launch progress, 0 to 100. | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | Number of VMs that are ready. | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | ID of the snapshot the group launches from. `null` for a group made from a VM until its snapshot exists. | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | Number of VMs now in the group. | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `errors` | object | no | | Example 200 response: ```json { "code": 200, "message": "Success", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Stopping", "display_status": "Stopping", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "running", "stage_message": "Ready", "stage_percent": 100, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": "2026-10-21T11:21:40+00:00", "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": 3, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": 212, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 3, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1 }, "errors": {} } ``` ### 400 The group is not Running. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "Only Running groups can be stopped. Current status: Stopped." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 No Auto Scaling Group with that ID in the project and region. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Autoscale Group not found" } ``` ### 500 The stop could not be begun. The group is marked Failed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to start autoscale action workflow.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups//stop/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' ``` --- --- title: "Create Auto Scaling Group" method: POST path: "/notebooks/autoscale-groups/" url: "/api/tir/operations/post-notebooks-autoscale-groups/" --- # Create Auto Scaling Group `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/` Creates an Auto Scaling Group from a ready snapshot (`backup_snapshot_id`) or from a Running VM (`vm_id`) and returns it as `Creating` at once; the VMs start in the background. Poll **Get Auto Scaling Group** until `status` is `Running`. Compute billing for each VM starts when it is ready. ## Query parameters | Name | Type | Required | Description | |---|---|---|---| | `project_id` | integer | yes | Project ID | | `active_iam` | integer | no | Active IAM ID **(To access contact person account)** [**Find your Active IAM ID here**](/api/tir/operations/get-users-iam-accounts/) | | `location` | one of `Delhi`, `Chennai` | yes | Location | ## Request body Content type: `application/json` | Field | Type | Required | Description | |---|---|---|---| | `backup_snapshot_id` | integer | no | ID of a ready whole-VM snapshot to launch from, in this project. A snapshot of a GPU VM, or of a VM that has since been deleted, is refused. Send either this or `vm_id`; if both are sent, the snapshot is used. | | `vm_id` | integer | no | ID of a Running VM to copy, used when `backup_snapshot_id` is not sent. Works as **Create Auto Scaling Group From VM** does. | | `name` | string | no | The group's name, unique among the project's groups that are not deleted. Omitted or blank, it becomes `ag-` followed by the source VM's name. | | `min_replicas` | integer | yes | Minimum VMs: the group never scales below this on its own. At least 1. | | `max_replicas` | integer | yes | Maximum VMs: at least one more than `min_replicas`, and at most 60. | | `desired_replicas` | integer | yes | How many VMs the group starts with, from `min_replicas` to `max_replicas`. Required. | | `sku_item_price_id` | integer | no | The plan every VM runs on: an active, CPU, hourly VM plan in the group's region. Optional: it defaults to the source's plan if that is billed by the hour, otherwise the request is refused. `sku_id` and `plan_id` are accepted in its place. | | `disk_size_gb` | integer | no | Disk per VM, in GB. Not less than the source's disk size and at most 2,000. Defaults to the source's disk size. | | `scale_mode` | one of `elastic`, `scheduled`, `both` | no | `elastic` scales on usage, `scheduled` only on schedules, `both` on both. Default `elastic`. With `scheduled` or `both`, `scheduled_policies` must hold at least one schedule. | | `policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | The usage measure for `elastic` and `both`: CPU, memory, CPU and memory together, or network throughput. Default `elastic_cpu`. It is not used when `scale_mode` is `scheduled`. | | `cpu_threshold_percent` | integer | no | Target average CPU use, in percent, a whole number from 10 to 99. | | `memory_threshold_percent` | integer | no | Target average memory use, in percent, a whole number from 10 to 99. | | `network_threshold_bytes_per_sec` | integer | no | Target network throughput per VM, in bytes per second (received plus sent), a whole number. | | `scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120; a lower value is refused. `cooldown_period` is accepted in its place. Default 120. | | `scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds, at least 1. `scale_out_cooldown_seconds` is accepted in its place. When not sent, the wait is `watch_period` times `period_duration`. When sent, `watch_period` is set to this value divided by `period_duration`, rounded, at least 1. | | `watch_period` | integer | no | Number of watched periods before VMs are added. Default 3. | | `period_duration` | integer | no | Length of one watched period, in seconds. Default 10. | | `public_ip_enabled` | boolean | no | Leave this field out. Every VM gets a public IP address. | | `scale_up_operator` | one of `>`, `>=` | no | `>` or `>=`. Leave this field out. | | `scale_down_operator` | one of `<`, `<=` | no | `<` or `<=`. Leave this field out. | | `scale_down_threshold_percent` | integer | no | Leave this field out. | | `health_check_type` | one of `vm_status`, `http`, `tcp` | no | `vm_status` checks that the VM is running; `http` and `tcp` probe `health_check_port` on the VM's private address. Default `vm_status`. | | `health_check_port` | integer | no | Port to probe, 1 to 65535. Required for `http` and `tcp`. | | `health_check_path` | string | no | Path to request for `http`; must start with `/`. Default `/`. | | `health_check_protocol` | one of `http`, `https` | no | `http` or `https`, for `http` checks. | | `health_check_interval_seconds` | integer | no | Seconds between checks, at least 15. Default 30. | | `health_check_timeout_seconds` | integer | no | Seconds to wait for an answer, at least 1. Default 5. | | `health_check_unhealthy_threshold` | integer | no | Failed checks in a row before a VM is unhealthy, at least 1. Default 2. | | `health_check_healthy_threshold` | integer | no | Passing checks in a row before a VM is healthy again, at least 1. Default 1. | | `startup_grace_period_seconds` | integer | no | Seconds after a VM starts before its checks count, at least 1. `health_check_grace_period_seconds` is accepted in its place. Default 300. | | `auto_replace_unhealthy` | boolean | no | Replace a VM that stays unhealthy. Default `true`. | | `ssh_key_ids` | array of integer | no | IDs of your SSH keys to install on every VM. Keys that are not yours are refused. A security group must be sent with them. | | `security_group_id` | integer | no | ID of one Security Group in the project and region, applied to every VM. | | `public_key` | string | no | A public key to install when `ssh_key_ids` is empty. If both are empty, the source VM's keys are used. | | `scheduled_policies` | array of object | no | Schedules, created with the group. Required and non-empty when `scale_mode` is `scheduled` or `both`. A schedule that is refused is reported in `scheduled_policy_results` and does not fail the request. | | `scheduled_policies[].name` | string | no | A label for the schedule. At most 128 characters. | | `scheduled_policies[].cron_expression` | string | no | Required. A cron expression: minute, hour, day of month, month, day of week. At most 64 characters. | | `scheduled_policies[].timezone_name` | string | no | Any time zone name, such as `Asia/Kolkata`. At most 64 characters. Default `UTC`. | | `scheduled_policies[].target_min_replicas` | integer | no | Required. The Minimum VMs the schedule sets, at least 1. | | `scheduled_policies[].target_max_replicas` | integer | no | Required. The Maximum VMs it sets: above `target_min_replicas`, at most 60. | | `scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, 60 to 2,592,000 seconds (30 days). Omit or `null` to hold until another schedule changes it. | | `scheduled_policies[].enabled` | boolean | no | Default `true`. A disabled schedule does not run and holds no capacity. | Example request: ```json { "backup_snapshot_id": 212, "vm_id": 4984, "name": "example-group", "min_replicas": 2, "max_replicas": 10, "desired_replicas": 2, "sku_item_price_id": 1190, "disk_size_gb": 50, "scale_mode": "elastic", "policy_type": "elastic_cpu", "cpu_threshold_percent": 60, "memory_threshold_percent": 70, "network_threshold_bytes_per_sec": 10000000, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "watch_period": 3, "period_duration": 10, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": 30, "health_check_type": "vm_status", "health_check_port": 80, "health_check_path": "/", "health_check_protocol": "http", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "auto_replace_unhealthy": true, "ssh_key_ids": [ 0 ], "security_group_id": 45, "public_key": "ssh-ed25519 AAAA... user@example.com", "scheduled_policies": [ { "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "duration_seconds": 28800, "enabled": true } ] } ``` ## Responses ### 201 The group, as Creating | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `data.id` | integer | no | | | `data.name` | string | no | The group's name. | | `data.vmpool_name` | string | no | An identifier for the group, used when you contact support. It cannot be changed. | | `data.status` | one of `Creating`, `Running`, `Stopping`, `Stopped`, `Starting`, `Failed`, `Deleting` | no | | | `data.display_status` | string | no | `Cooldown` while the group is Running, usage is not over the target, and fewer than `scale_in_stabilization_seconds` have passed since the last usage-based size change; otherwise `status`. | | `data.in_cooldown` | boolean | no | `true` while the group is in that cooldown. The group will not remove VMs during it. | | `data.cooldown_seconds_remaining` | integer | no | Seconds left of that hold. `null` when not holding. | | `data.stage` | string | no | | | `data.stage_message` | string | no | | | `data.stage_percent` | integer | no | | | `data.stage_started_at` | string | no | | | `data.eta_seconds` | integer | no | Estimated seconds left of the launch. | | `data.launch_started_at` | string | no | | | `data.became_ready_at` | string | no | | | `data.namespace` | string | no | An identifier for the project in the region, used when you contact support. | | `data.pricing` | object | no | The group's rates for one VM, in the currency of its plan. `null` when the group has no plan. | | `data.pricing.currency` | string | no | | | `data.pricing.compute_hourly_per_vm` | number | no | Compute price per VM per hour. | | `data.pricing.disk_rate_per_gb_month` | number | no | Disk price per GB per month. | | `data.pricing.free_disk_gb` | integer | no | Disk size included in the compute price, in GB. | | `data.pricing.billable_disk_gb` | integer | no | Disk size per VM that is charged, in GB. | | `data.pricing.disk_monthly_per_vm` | number | no | | | `data.pricing.disk_hourly_per_vm` | number | no | | | `data.pricing.hours_per_month_basis` | integer | no | Hours in the month used for the monthly figure. | | `data.pricing.hourly_per_vm` | number | no | Compute plus disk, per VM per hour. | | `data.pricing.monthly_per_vm` | number | no | Compute plus disk, per VM per month. | | `data.scaling_health` | object | no | How the group's usage-based scaling has behaved. Based on the group's recent scale events. | | `data.scaling_health.window` | string | no | The period the counts cover. | | `data.scaling_health.max_capacity_reached_count` | integer | no | Times in that period that usage-based scaling added VMs and the count reached Maximum VMs. | | `data.scaling_health.oscillation_count` | integer | no | Times in that period that usage-based scaling reversed direction. | | `data.scaling_health.recommendations` | array of object | no | Hints on the group's settings. | | `data.scaling_health.recommendations[].code` | one of `raise_maximum`, `flapping`, `unpaired_schedule` | no | | | `data.scaling_health.recommendations[].severity` | one of `warning`, `info` | no | | | `data.scaling_health.recommendations[].facts` | object | no | | | `data.scaling_health.current_state` | object | no | | | `data.scaling_health.current_state.code` | string | no | Why the group is or is not changing size now: `not_running`, `schedule_only`, `at_max_capacity`, `condition_met_stabilizing`, `in_cooldown`, `at_min_capacity`, `below_target` or `active`. | | `data.scaling_health.current_state.facts` | object | no | | | `data.ready_count` | integer | no | | | `data.booting_count` | integer | no | While the group is Creating, how many VMs are still starting. `null` otherwise. | | `data.provisioning_phase` | string | no | A coarse launch phase: `validated`, `network_applied`, `created`, `launching` or `ready`. `null` for other steps. | | `data.progress_steps` | array of object | no | The launch checklist. Empty once the group is past launching, except for a Failed group, where it shows the step that failed. | | `data.progress_steps[].key` | string | no | Step identifier. | | `data.progress_steps[].label` | string | no | | | `data.progress_steps[].description` | string | no | What the step does. | | `data.progress_steps[].status` | one of `done`, `active`, `pending`, `error` | no | | | `data.progress_steps[].message` | string | no | While the step runs, a live line; on the step that failed, the reason. | | `data.progress_steps[].started_at` | string | no | | | `data.progress_steps[].completed_at` | string | no | | | `data.progress_steps[].duration_seconds` | integer | no | | | `data.is_delayed` | boolean | no | `true` when the current launch step has run longer than usual. | | `data.delayed_message` | string | no | | | `data.failure_reason` | string | no | Why the group is Failed. Read it only when `status` is Failed. | | `data.failure_kind` | string | no | The cause of a failed launch: `credit`, `quota`, `inventory`, `config` or `transient`. | | `data.can_relaunch` | boolean | no | `true` for a Creating or Failed group that has never been Running. | | `data.has_ever_reached_running_state` | boolean | no | | | `data.location` | one of `Delhi`, `Chennai` | no | The region. | | `data.min_replicas` | integer | no | Minimum VMs in force now. While a schedule or Scale Now holds the minimum higher, this is the held value. | | `data.max_replicas` | integer | no | Maximum VMs in force now. | | `data.base_min_replicas` | integer | no | The saved Minimum VMs. | | `data.base_max_replicas` | integer | no | The saved Maximum VMs. | | `data.active_window_ends_at` | string | no | When the schedule hold now in force ends. `null` when none. | | `data.manual_override_min_replicas` | integer | no | The minimum a Scale Now hold sets. `null` when no hold is in force. | | `data.manual_override_ends_at` | string | no | When the Scale Now hold ends. | | `data.desired_replicas` | integer | no | The number of VMs the group is set to run. | | `data.policy_type` | one of `elastic_cpu`, `elastic_memory`, `elastic_combined`, `elastic_network`, `scheduled` | no | | | `data.scale_mode` | one of `elastic`, `scheduled`, `both` | no | | | `data.cpu_threshold_percent` | integer | no | | | `data.memory_threshold_percent` | integer | no | | | `data.network_threshold_bytes_per_sec` | integer | no | | | `data.custom_parameter_name` | string | no | | | `data.custom_threshold_percent` | number | no | | | `data.cooldown_period` | integer | no | Same as `scale_in_stabilization_seconds`. | | `data.watch_period` | integer | no | Number of watched periods before the group adds VMs. | | `data.period_duration` | integer | no | Length of one watched period, in seconds. | | `data.scale_in_stabilization_seconds` | integer | no | How long usage must stay below the target before VMs are removed, in seconds. At least 120. | | `data.scale_out_stabilization_seconds` | integer | no | How long usage must stay above the target before VMs are added, in seconds. | | `data.scale_out_cooldown_seconds` | integer | no | Same value as `scale_out_stabilization_seconds`, under its older name. | | `data.public_ip_enabled` | boolean | no | Every VM in a group gets a public IP address. | | `data.scale_up_operator` | string | no | | | `data.scale_down_operator` | string | no | | | `data.scale_down_threshold_percent` | integer | no | | | `data.thresholds_enforced` | boolean | no | | | `data.health_check_type` | one of `vm_status`, `http`, `tcp` | no | | | `data.health_check_protocol` | string | no | `http` or `https`, for `http` checks. | | `data.health_check_port` | integer | no | | | `data.health_check_path` | string | no | | | `data.health_check_interval_seconds` | integer | no | | | `data.health_check_timeout_seconds` | integer | no | | | `data.health_check_unhealthy_threshold` | integer | no | | | `data.health_check_healthy_threshold` | integer | no | | | `data.startup_grace_period_seconds` | integer | no | Same value as `health_check_grace_period_seconds`. | | `data.health_check_grace_period_seconds` | integer | no | | | `data.auto_replace_unhealthy` | boolean | no | | | `data.backup_snapshot_id` | integer | no | | | `data.image_name` | string | no | | | `data.image_os` | string | no | The operating system of the source image. | | `data.machine_size` | string | no | | | `data.sku_item_price_id` | integer | no | The plan the group's VMs run on. | | `data.current_cpu_percent` | number | no | Average CPU use across the group's VMs, as last measured. | | `data.current_memory_percent` | number | no | | | `data.source_vm_id` | integer | no | The VM the group was made from. `null` once that VM is deleted. | | `data.source_vm_name` | string | no | | | `data.source_vm_slug_name` | string | no | The source VM's identifier, kept after the VM is deleted. | | `data.disk_size_gb` | integer | no | Disk per VM, in GB. | | `data.active_node_count` | integer | no | | | `data.scheduled_policies` | array of object | no | | | `data.scheduled_policies[].id` | integer | no | | | `data.scheduled_policies[].group_id` | integer | no | | | `data.scheduled_policies[].name` | string | no | | | `data.scheduled_policies[].cron_expression` | string | no | When the schedule runs: minute, hour, day of month, month, day of week. | | `data.scheduled_policies[].timezone_name` | string | no | The time zone of `cron_expression`. | | `data.scheduled_policies[].target_min_replicas` | integer | no | The Minimum VMs the schedule sets. | | `data.scheduled_policies[].target_max_replicas` | integer | no | The Maximum VMs the schedule sets. | | `data.scheduled_policies[].enabled` | boolean | no | | | `data.scheduled_policies[].duration_seconds` | integer | no | How long the schedule holds its range, in seconds. `null` when it holds until another schedule changes it. | | `data.scheduled_policies[].window_ends_at` | string | no | When the schedule's hold ends. `null` when no hold is in force. | | `data.scheduled_policies[].next_run_at` | string | no | When the schedule next runs. `null` while it is disabled. | | `data.scheduled_policies[].last_run_at` | string | no | When the schedule last ran. | | `data.scheduled_policies[].created_at` | string | no | | | `data.ssh_key_ids` | array of integer | no | | | `data.security_group_id` | integer | no | | | `data.created_at` | string | no | | | `data.created_by` | integer | no | ID of the user who created the group. | | `data.scheduled_policy_results` | array of object | no | One entry per schedule sent. A schedule that was refused does not fail the request. | | `data.scheduled_policy_results[].input` | object | no | The schedule as sent. | | `data.scheduled_policy_results[].success` | boolean | no | | | `data.scheduled_policy_results[].data` | object | no | The stored schedule, as in `scheduled_policies`. `{}` when the schedule failed. | | `data.scheduled_policy_results[].errors` | object | no | A sentence saying why the schedule failed, or `{}` when it succeeded. | | `errors` | object | no | | Example 201 response: ```json { "code": 201, "message": "Created Successfully", "data": { "id": 412, "name": "example-group", "vmpool_name": "example-group-ab12", "status": "Creating", "display_status": "Creating", "in_cooldown": false, "cooldown_seconds_remaining": null, "stage": "validating", "stage_message": "Ready", "stage_percent": 5, "stage_started_at": "2026-10-21T11:19:02+00:00", "eta_seconds": 0, "launch_started_at": "2026-10-21T11:17:29+00:00", "became_ready_at": null, "namespace": "project-example", "pricing": { "currency": "INR", "compute_hourly_per_vm": 5.5, "disk_rate_per_gb_month": 4, "free_disk_gb": 30, "billable_disk_gb": 20, "disk_monthly_per_vm": 80, "disk_hourly_per_vm": 0.11, "hours_per_month_basis": 730, "hourly_per_vm": 5.61, "monthly_per_vm": 4174.5 }, "scaling_health": { "window": "24h", "max_capacity_reached_count": 0, "oscillation_count": 0, "recommendations": [ { "code": "raise_maximum", "severity": "warning", "facts": { "times_at_max": 3, "window": "24h", "current_max": 5 } } ], "current_state": { "code": "below_target", "facts": { "metric": "cpu", "current": 31, "target": 60 } } }, "ready_count": null, "booting_count": null, "provisioning_phase": "ready", "progress_steps": [ { "key": "creating_vmpool", "label": "Creating scale group", "description": "Creating the group that will hold your VMs.", "status": "done", "message": null, "started_at": "2026-10-21T11:17:31+00:00", "completed_at": "2026-10-21T11:17:51+00:00", "duration_seconds": 20 } ], "is_delayed": false, "delayed_message": null, "failure_reason": null, "failure_kind": null, "can_relaunch": false, "has_ever_reached_running_state": true, "location": "Delhi", "min_replicas": 3, "max_replicas": 10, "base_min_replicas": 2, "base_max_replicas": 10, "active_window_ends_at": null, "manual_override_min_replicas": null, "manual_override_ends_at": null, "desired_replicas": 3, "policy_type": "elastic_cpu", "scale_mode": "elastic", "cpu_threshold_percent": 60, "memory_threshold_percent": null, "network_threshold_bytes_per_sec": null, "custom_parameter_name": null, "custom_threshold_percent": null, "cooldown_period": 300, "watch_period": 3, "period_duration": 10, "scale_in_stabilization_seconds": 300, "scale_out_stabilization_seconds": 30, "scale_out_cooldown_seconds": 30, "public_ip_enabled": true, "scale_up_operator": ">", "scale_down_operator": "<", "scale_down_threshold_percent": null, "thresholds_enforced": false, "health_check_type": "vm_status", "health_check_protocol": null, "health_check_port": null, "health_check_path": "/", "health_check_interval_seconds": 30, "health_check_timeout_seconds": 5, "health_check_unhealthy_threshold": 2, "health_check_healthy_threshold": 1, "startup_grace_period_seconds": 300, "health_check_grace_period_seconds": 300, "auto_replace_unhealthy": true, "backup_snapshot_id": 212, "image_name": "example-vm snapshot", "image_os": "Ubuntu", "machine_size": "4 vCPU · 8 GB RAM", "sku_item_price_id": 1190, "current_cpu_percent": 31.5, "current_memory_percent": null, "source_vm_id": 4984, "source_vm_name": "example-vm", "source_vm_slug_name": "example-vm-abc123", "disk_size_gb": 50, "active_node_count": 0, "scheduled_policies": [ { "id": 88, "group_id": 412, "name": "weekday-morning", "cron_expression": "0 9 * * 1-5", "timezone_name": "UTC", "target_min_replicas": 4, "target_max_replicas": 10, "enabled": true, "duration_seconds": 28800, "window_ends_at": null, "next_run_at": "2026-10-26T09:00:00+00:00", "last_run_at": null, "created_at": "2026-10-21T11:17:29+00:00" } ], "ssh_key_ids": [ 17 ], "security_group_id": 45, "created_at": "2026-10-21T11:17:29+00:00", "created_by": 1, "scheduled_policy_results": [ { "input": { "name": "weekday-morning" }, "success": true, "data": {}, "errors": null } ] }, "errors": {} } ``` ### 400 A field is missing or outside its limit, for example "min_replicas must be a positive integer.", "max_replicas must be greater than min_replicas.", "max_replicas cannot exceed the platform limit of 60 replicas per group.", "desired_replicas is required and must be an integer.", "scale_in_stabilization_seconds must be at least 120 seconds, so a new VM can finish booting before the group scales in.", "cpu_threshold_percent must be between 10 and 99.", "disk_size_gb must be at most 2000 GB.", "One or more ssh_key_ids are invalid.", an unknown plan, a GPU plan or a plan not billed by the hour ("sku_item_price_id must be a CPU-only SKU; Autoscale Groups only support CPU-only pools."), or a name already used ("An autoscale group named 'example-group' already exists in this project."). `errors` is the sentence. `errors` is "Project ID is missing or invalid" when `project_id` is missing or not a number. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 400 response: ```json { "code": 400, "message": "Bad Request", "data": {}, "errors": "max_replicas must be greater than min_replicas." } ``` ### 403 The caller lacks the permission the call needs on the project, or the region is not allowed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 403 response: ```json { "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project." } ``` ### 404 The snapshot is not a ready whole-VM snapshot in this project, or the VM `vm_id` does not exist ("VM 4984 not found."). | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | object | no | | | `errors` | string | no | | Example 404 response: ```json { "code": 404, "message": "Bad Request", "data": {}, "errors": "Backup snapshot 212 not found or not ready." } ``` ### 500 The launch could not be started. The group is saved and marked Failed. | Field | Type | Required | Description | |---|---|---|---| | `code` | integer | no | | | `message` | string | no | | | `data` | string | no | | | `errors` | object | no | | Example 500 response: ```json { "code": 500, "message": "Internal Server Error", "data": "Failed to start autoscale provision workflow.", "errors": {} } ``` ## Example call ```bash curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/?apikey=&project_id=&location=' \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{"backup_snapshot_id":212,"vm_id":4984,"name":"example-group","min_replicas":2,"max_replicas":10,"desired_replicas":2,"sku_item_price_id":1190,"disk_size_gb":50,"scale_mode":"elastic","policy_type":"elastic_cpu","cpu_threshold_percent":60,"memory_threshold_percent":70,"network_threshold_bytes_per_sec":10000000,"scale_in_stabilization_seconds":300,"scale_out_stabilization_seconds":30,"watch_period":3,"period_duration":10,"public_ip_enabled":true,"scale_up_operator":">","scale_down_operator":"<","scale_down_threshold_percent":30,"health_check_type":"vm_status","health_check_port":80,"health_check_path":"/","health_check_protocol":"http","health_check_interval_seconds":30,"health_check_timeout_seconds":5,"health_check_unhealthy_threshold":2,"health_check_healthy_threshold":1,"startup_grace_period_seconds":300,"auto_replace_unhealthy":true,"ssh_key_ids":[0],"security_group_id":45,"public_key":"ssh-ed25519 AAAA... user@example.com","scheduled_policies":[{"name":"weekday-morning","cron_expression":"0 9 * * 1-5","timezone_name":"UTC","target_min_replicas":4,"target_max_replicas":10,"duration_seconds":28800,"enabled":true}]}' ``` --- --- title: "Create Start Script" method: POST path: "/notebooks/init-script/" url: "/api/tir/operations/post-notebooks-init-script/" --- # Create Start Script `POST https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/init-script/` Creates a new startup script. Once attached to a VM, it runs as root with bash on every boot, not only the first. The scripts of a VM run one after another in the alphabetical order of their file names, which are `initialize-