@hostinger/mcp 3.40.1 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +97 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/VERSION +1 -1
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +286 -0
- package/src/core/tools/all.ts +286 -0
- package/src/core/tools/gpu.js +286 -0
- package/src/core/tools/gpu.ts +286 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/gpu.js +1 -1
- package/src/servers/gpu.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +172 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,36 @@ Generated at release time from the diff between the previous and current
|
|
|
4
4
|
build. Tool changes are listed individually; everything else is summarised
|
|
5
5
|
by area.
|
|
6
6
|
|
|
7
|
+
## v3.42.0 — 2026-11-13
|
|
8
|
+
|
|
9
|
+
### Operations
|
|
10
|
+
|
|
11
|
+
- Added `gpu_exposed-services_delete` — Delete exposed service
|
|
12
|
+
- Added `gpu_exposed-services_list` — Get exposed services
|
|
13
|
+
- Added `gpu_exposed-services_create` — Create exposed service
|
|
14
|
+
|
|
15
|
+
### Also in this release
|
|
16
|
+
|
|
17
|
+
- Documentation: `README.md`
|
|
18
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
19
|
+
- Build and packaging: `types.d.ts`
|
|
20
|
+
|
|
21
|
+
## v3.41.0 — 2026-11-13
|
|
22
|
+
|
|
23
|
+
### Operations
|
|
24
|
+
|
|
25
|
+
- Added `gpu_instances_get` — Get instance details
|
|
26
|
+
- Added `gpu_instances_delete` — Delete instance
|
|
27
|
+
- Added `gpu_instances_list` — Get instances
|
|
28
|
+
- Added `gpu_instances_create` — Create instance
|
|
29
|
+
- Added `gpu_instances_metrics` — Get instance metrics
|
|
30
|
+
|
|
31
|
+
### Also in this release
|
|
32
|
+
|
|
33
|
+
- Documentation: `README.md`
|
|
34
|
+
- Request handling and authentication: `src/core/runtime.js`, `src/core/runtime.ts`
|
|
35
|
+
- Build and packaging: `types.d.ts`
|
|
36
|
+
|
|
7
37
|
## v3.40.1 — 2026-11-13
|
|
8
38
|
|
|
9
39
|
### Operations
|
package/README.md
CHANGED
|
@@ -78,14 +78,14 @@ pnpm update -g @hostinger/mcp
|
|
|
78
78
|
|
|
79
79
|
This package installs the following MCP server commands:
|
|
80
80
|
|
|
81
|
-
- `hostinger-api-mcp` — unified server over every operation (
|
|
81
|
+
- `hostinger-api-mcp` — unified server over every operation (422 total)
|
|
82
82
|
- `hostinger-agency-hosting-mcp` — 43 operations for agency-hosting
|
|
83
83
|
- `hostinger-agent-readiness-mcp` — 4 operations for agent-readiness
|
|
84
84
|
- `hostinger-billing-mcp` — 10 operations for billing
|
|
85
85
|
- `hostinger-dns-mcp` — 9 operations for dns
|
|
86
86
|
- `hostinger-domains-mcp` — 43 operations for domains
|
|
87
87
|
- `hostinger-ecommerce-mcp` — 30 operations for ecommerce
|
|
88
|
-
- `hostinger-gpu-mcp` —
|
|
88
|
+
- `hostinger-gpu-mcp` — 13 operations for gpu
|
|
89
89
|
- `hostinger-horizons-mcp` — 7 operations for horizons
|
|
90
90
|
- `hostinger-hosting-mcp` — 59 operations for hosting
|
|
91
91
|
- `hostinger-mail-mcp` — 39 operations for mail
|
|
@@ -1835,6 +1835,101 @@ What's new and what's coming at Hostinger: list entries of the public Hostinger
|
|
|
1835
1835
|
- **Method**: `custom`
|
|
1836
1836
|
- **Path**: `custom`
|
|
1837
1837
|
|
|
1838
|
+
#### gpu_instances_get
|
|
1839
|
+
|
|
1840
|
+
Retrieve detailed information about a specified GPU instance, including its SSH keys.
|
|
1841
|
+
|
|
1842
|
+
Use this endpoint to follow the instance `status` after creating or deleting it.
|
|
1843
|
+
|
|
1844
|
+
- **Method**: `GET`
|
|
1845
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}`
|
|
1846
|
+
|
|
1847
|
+
#### gpu_instances_delete
|
|
1848
|
+
|
|
1849
|
+
Delete a specified GPU instance.
|
|
1850
|
+
|
|
1851
|
+
The instance is destroyed asynchronously: a successful request returns immediately and the instance
|
|
1852
|
+
`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,
|
|
1853
|
+
`destroyed` or `abuse` status, or while another action is in progress on it.
|
|
1854
|
+
|
|
1855
|
+
Use this endpoint to stop billing for a GPU instance you no longer need.
|
|
1856
|
+
|
|
1857
|
+
- **Method**: `DELETE`
|
|
1858
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}`
|
|
1859
|
+
|
|
1860
|
+
#### gpu_exposed-services_delete
|
|
1861
|
+
|
|
1862
|
+
Delete a specified exposed service of a GPU instance.
|
|
1863
|
+
|
|
1864
|
+
The service is removed asynchronously: a successful request returns immediately and the service
|
|
1865
|
+
stops being reachable from the internet shortly after.
|
|
1866
|
+
|
|
1867
|
+
Use this endpoint to close public access to a service on your GPU instance.
|
|
1868
|
+
|
|
1869
|
+
- **Method**: `DELETE`
|
|
1870
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}`
|
|
1871
|
+
|
|
1872
|
+
#### gpu_exposed-services_list
|
|
1873
|
+
|
|
1874
|
+
Retrieve the services exposed on a specified GPU instance.
|
|
1875
|
+
|
|
1876
|
+
A newly created service is listed once it gets its public hostname and external port.
|
|
1877
|
+
|
|
1878
|
+
Use this endpoint to find the public address of services running on your GPU instance.
|
|
1879
|
+
|
|
1880
|
+
- **Method**: `GET`
|
|
1881
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services`
|
|
1882
|
+
|
|
1883
|
+
#### gpu_exposed-services_create
|
|
1884
|
+
|
|
1885
|
+
Expose a service running on a specified GPU instance to the internet.
|
|
1886
|
+
|
|
1887
|
+
The service is exposed asynchronously: a successful request returns immediately, and the service
|
|
1888
|
+
appears in the exposed services list once it gets its public hostname and external port.
|
|
1889
|
+
Fails when the instance already has the maximum of 4 exposed services.
|
|
1890
|
+
|
|
1891
|
+
Use this endpoint to make an application on your GPU instance publicly reachable.
|
|
1892
|
+
|
|
1893
|
+
- **Method**: `POST`
|
|
1894
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/exposed-services`
|
|
1895
|
+
|
|
1896
|
+
#### gpu_instances_list
|
|
1897
|
+
|
|
1898
|
+
Retrieve all GPU instances of your account.
|
|
1899
|
+
|
|
1900
|
+
Use this endpoint to view your GPU instances with their status, pool, instance type and OS template.
|
|
1901
|
+
|
|
1902
|
+
- **Method**: `GET`
|
|
1903
|
+
- **Path**: `/api/gpu/v1/instances`
|
|
1904
|
+
|
|
1905
|
+
#### gpu_instances_create
|
|
1906
|
+
|
|
1907
|
+
Create a new GPU instance.
|
|
1908
|
+
|
|
1909
|
+
Pick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates
|
|
1910
|
+
available for that instance type. Your account must have enough credits to run the instance for its
|
|
1911
|
+
first hour.
|
|
1912
|
+
|
|
1913
|
+
The instance is created asynchronously: a successful request returns immediately, and the instance
|
|
1914
|
+
appears in the instance list while its `status` moves from `created` through `creating` to `running`.
|
|
1915
|
+
|
|
1916
|
+
Use this endpoint to provision GPU compute.
|
|
1917
|
+
|
|
1918
|
+
- **Method**: `POST`
|
|
1919
|
+
- **Path**: `/api/gpu/v1/instances`
|
|
1920
|
+
|
|
1921
|
+
#### gpu_instances_metrics
|
|
1922
|
+
|
|
1923
|
+
Retrieve utilisation metrics of a specified GPU instance for the last hour.
|
|
1924
|
+
|
|
1925
|
+
Each data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.
|
|
1926
|
+
The list is empty until the instance is provisioned.
|
|
1927
|
+
|
|
1928
|
+
Use this endpoint to monitor GPU instance load.
|
|
1929
|
+
|
|
1930
|
+
- **Method**: `GET`
|
|
1931
|
+
- **Path**: `/api/gpu/v1/instances/{instanceId}/metrics`
|
|
1932
|
+
|
|
1838
1933
|
#### gpu_catalog_pool-groups
|
|
1839
1934
|
|
|
1840
1935
|
Retrieve GPU pool groups, ordered by name.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
18
18
|
"source": "github"
|
|
19
19
|
},
|
|
20
|
-
"version": "3.
|
|
20
|
+
"version": "3.42.0",
|
|
21
21
|
"packages": [
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "@hostinger/mcp",
|
|
25
|
-
"version": "3.
|
|
25
|
+
"version": "3.42.0",
|
|
26
26
|
"transport": {
|
|
27
27
|
"type": "stdio"
|
|
28
28
|
},
|
package/skills/headless/VERSION
CHANGED
package/src/core/runtime.js
CHANGED
|
@@ -62,7 +62,7 @@ const GetSkillRequestSchema = z.object({
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* MCP Server for Hostinger API
|
|
65
|
-
* Generated from OpenAPI spec version 2.
|
|
65
|
+
* Generated from OpenAPI spec version 2.16.0
|
|
66
66
|
*/
|
|
67
67
|
class MCPServer {
|
|
68
68
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -96,7 +96,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* MCP Server for Hostinger API
|
|
99
|
-
* Generated from OpenAPI spec version 2.
|
|
99
|
+
* Generated from OpenAPI spec version 2.16.0
|
|
100
100
|
*/
|
|
101
101
|
class MCPServer {
|
|
102
102
|
private readonly name: string;
|
package/src/core/tools/all.js
CHANGED
|
@@ -6124,6 +6124,292 @@ export default [
|
|
|
6124
6124
|
],
|
|
6125
6125
|
"group": "ecommerce"
|
|
6126
6126
|
},
|
|
6127
|
+
{
|
|
6128
|
+
"name": "gpu_instances_get",
|
|
6129
|
+
"title": "Get instance details",
|
|
6130
|
+
"annotations": {
|
|
6131
|
+
"title": "Get instance details",
|
|
6132
|
+
"readOnlyHint": true,
|
|
6133
|
+
"destructiveHint": false
|
|
6134
|
+
},
|
|
6135
|
+
"description": "Retrieve detailed information about a specified GPU instance, including its SSH keys.\n\nUse this endpoint to follow the instance `status` after creating or deleting it.",
|
|
6136
|
+
"method": "GET",
|
|
6137
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6138
|
+
"inputSchema": {
|
|
6139
|
+
"type": "object",
|
|
6140
|
+
"properties": {
|
|
6141
|
+
"instanceId": {
|
|
6142
|
+
"type": "integer",
|
|
6143
|
+
"description": "GPU instance ID"
|
|
6144
|
+
}
|
|
6145
|
+
},
|
|
6146
|
+
"required": [
|
|
6147
|
+
"instanceId"
|
|
6148
|
+
]
|
|
6149
|
+
},
|
|
6150
|
+
"security": [
|
|
6151
|
+
{
|
|
6152
|
+
"apiToken": []
|
|
6153
|
+
}
|
|
6154
|
+
],
|
|
6155
|
+
"group": "gpu"
|
|
6156
|
+
},
|
|
6157
|
+
{
|
|
6158
|
+
"name": "gpu_instances_delete",
|
|
6159
|
+
"title": "Delete instance",
|
|
6160
|
+
"annotations": {
|
|
6161
|
+
"title": "Delete instance",
|
|
6162
|
+
"readOnlyHint": false,
|
|
6163
|
+
"destructiveHint": true,
|
|
6164
|
+
"idempotentHint": true
|
|
6165
|
+
},
|
|
6166
|
+
"description": "Delete a specified GPU instance.\n\nThe instance is destroyed asynchronously: a successful request returns immediately and the instance\n`status` moves to `destroying`. Deleting fails while the instance is in `created`, `destroying`,\n`destroyed` or `abuse` status, or while another action is in progress on it.\n\nUse this endpoint to stop billing for a GPU instance you no longer need.",
|
|
6167
|
+
"method": "DELETE",
|
|
6168
|
+
"path": "/api/gpu/v1/instances/{instanceId}",
|
|
6169
|
+
"inputSchema": {
|
|
6170
|
+
"type": "object",
|
|
6171
|
+
"properties": {
|
|
6172
|
+
"instanceId": {
|
|
6173
|
+
"type": "integer",
|
|
6174
|
+
"description": "GPU instance ID"
|
|
6175
|
+
}
|
|
6176
|
+
},
|
|
6177
|
+
"required": [
|
|
6178
|
+
"instanceId"
|
|
6179
|
+
]
|
|
6180
|
+
},
|
|
6181
|
+
"security": [
|
|
6182
|
+
{
|
|
6183
|
+
"apiToken": []
|
|
6184
|
+
}
|
|
6185
|
+
],
|
|
6186
|
+
"group": "gpu"
|
|
6187
|
+
},
|
|
6188
|
+
{
|
|
6189
|
+
"name": "gpu_exposed-services_delete",
|
|
6190
|
+
"title": "Delete exposed service",
|
|
6191
|
+
"annotations": {
|
|
6192
|
+
"title": "Delete exposed service",
|
|
6193
|
+
"readOnlyHint": false,
|
|
6194
|
+
"destructiveHint": true,
|
|
6195
|
+
"idempotentHint": true
|
|
6196
|
+
},
|
|
6197
|
+
"description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
|
|
6198
|
+
"method": "DELETE",
|
|
6199
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
|
|
6200
|
+
"inputSchema": {
|
|
6201
|
+
"type": "object",
|
|
6202
|
+
"properties": {
|
|
6203
|
+
"instanceId": {
|
|
6204
|
+
"type": "integer",
|
|
6205
|
+
"description": "GPU instance ID"
|
|
6206
|
+
},
|
|
6207
|
+
"exposedServiceId": {
|
|
6208
|
+
"type": "integer",
|
|
6209
|
+
"description": "Exposed service ID"
|
|
6210
|
+
}
|
|
6211
|
+
},
|
|
6212
|
+
"required": [
|
|
6213
|
+
"instanceId",
|
|
6214
|
+
"exposedServiceId"
|
|
6215
|
+
]
|
|
6216
|
+
},
|
|
6217
|
+
"security": [
|
|
6218
|
+
{
|
|
6219
|
+
"apiToken": []
|
|
6220
|
+
}
|
|
6221
|
+
],
|
|
6222
|
+
"group": "gpu"
|
|
6223
|
+
},
|
|
6224
|
+
{
|
|
6225
|
+
"name": "gpu_exposed-services_list",
|
|
6226
|
+
"title": "Get exposed services",
|
|
6227
|
+
"annotations": {
|
|
6228
|
+
"title": "Get exposed services",
|
|
6229
|
+
"readOnlyHint": true,
|
|
6230
|
+
"destructiveHint": false
|
|
6231
|
+
},
|
|
6232
|
+
"description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
|
|
6233
|
+
"method": "GET",
|
|
6234
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
6235
|
+
"inputSchema": {
|
|
6236
|
+
"type": "object",
|
|
6237
|
+
"properties": {
|
|
6238
|
+
"instanceId": {
|
|
6239
|
+
"type": "integer",
|
|
6240
|
+
"description": "GPU instance ID"
|
|
6241
|
+
}
|
|
6242
|
+
},
|
|
6243
|
+
"required": [
|
|
6244
|
+
"instanceId"
|
|
6245
|
+
]
|
|
6246
|
+
},
|
|
6247
|
+
"security": [
|
|
6248
|
+
{
|
|
6249
|
+
"apiToken": []
|
|
6250
|
+
}
|
|
6251
|
+
],
|
|
6252
|
+
"group": "gpu"
|
|
6253
|
+
},
|
|
6254
|
+
{
|
|
6255
|
+
"name": "gpu_exposed-services_create",
|
|
6256
|
+
"title": "Create exposed service",
|
|
6257
|
+
"annotations": {
|
|
6258
|
+
"title": "Create exposed service",
|
|
6259
|
+
"readOnlyHint": false,
|
|
6260
|
+
"destructiveHint": false
|
|
6261
|
+
},
|
|
6262
|
+
"description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
|
|
6263
|
+
"method": "POST",
|
|
6264
|
+
"path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
|
|
6265
|
+
"inputSchema": {
|
|
6266
|
+
"type": "object",
|
|
6267
|
+
"properties": {
|
|
6268
|
+
"instanceId": {
|
|
6269
|
+
"type": "integer",
|
|
6270
|
+
"description": "GPU instance ID"
|
|
6271
|
+
},
|
|
6272
|
+
"name": {
|
|
6273
|
+
"type": "string",
|
|
6274
|
+
"description": "Service name, unique within the instance"
|
|
6275
|
+
},
|
|
6276
|
+
"internal_port": {
|
|
6277
|
+
"type": "integer",
|
|
6278
|
+
"description": "Port the service listens on inside the instance, unique within the instance"
|
|
6279
|
+
},
|
|
6280
|
+
"protocol": {
|
|
6281
|
+
"type": "string",
|
|
6282
|
+
"description": "protocol parameter",
|
|
6283
|
+
"enum": [
|
|
6284
|
+
"tcp",
|
|
6285
|
+
"udp"
|
|
6286
|
+
]
|
|
6287
|
+
},
|
|
6288
|
+
"type": {
|
|
6289
|
+
"type": "string",
|
|
6290
|
+
"description": "type parameter",
|
|
6291
|
+
"enum": [
|
|
6292
|
+
"http",
|
|
6293
|
+
"https"
|
|
6294
|
+
]
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
"required": [
|
|
6298
|
+
"instanceId",
|
|
6299
|
+
"name",
|
|
6300
|
+
"internal_port",
|
|
6301
|
+
"protocol",
|
|
6302
|
+
"type"
|
|
6303
|
+
]
|
|
6304
|
+
},
|
|
6305
|
+
"security": [
|
|
6306
|
+
{
|
|
6307
|
+
"apiToken": []
|
|
6308
|
+
}
|
|
6309
|
+
],
|
|
6310
|
+
"group": "gpu"
|
|
6311
|
+
},
|
|
6312
|
+
{
|
|
6313
|
+
"name": "gpu_instances_list",
|
|
6314
|
+
"title": "Get instances",
|
|
6315
|
+
"annotations": {
|
|
6316
|
+
"title": "Get instances",
|
|
6317
|
+
"readOnlyHint": true,
|
|
6318
|
+
"destructiveHint": false
|
|
6319
|
+
},
|
|
6320
|
+
"description": "Retrieve all GPU instances of your account.\n\nUse this endpoint to view your GPU instances with their status, pool, instance type and OS template.",
|
|
6321
|
+
"method": "GET",
|
|
6322
|
+
"path": "/api/gpu/v1/instances",
|
|
6323
|
+
"inputSchema": {
|
|
6324
|
+
"type": "object",
|
|
6325
|
+
"properties": {},
|
|
6326
|
+
"required": []
|
|
6327
|
+
},
|
|
6328
|
+
"security": [
|
|
6329
|
+
{
|
|
6330
|
+
"apiToken": []
|
|
6331
|
+
}
|
|
6332
|
+
],
|
|
6333
|
+
"group": "gpu"
|
|
6334
|
+
},
|
|
6335
|
+
{
|
|
6336
|
+
"name": "gpu_instances_create",
|
|
6337
|
+
"title": "Create instance",
|
|
6338
|
+
"annotations": {
|
|
6339
|
+
"title": "Create instance",
|
|
6340
|
+
"readOnlyHint": false,
|
|
6341
|
+
"destructiveHint": false
|
|
6342
|
+
},
|
|
6343
|
+
"description": "Create a new GPU instance.\n\nPick `pool_instance_id` from the pool instance types list and `os_template_id` from the OS templates\navailable for that instance type. Your account must have enough credits to run the instance for its\nfirst hour.\n\nThe instance is created asynchronously: a successful request returns immediately, and the instance\nappears in the instance list while its `status` moves from `created` through `creating` to `running`.\n\nUse this endpoint to provision GPU compute.",
|
|
6344
|
+
"method": "POST",
|
|
6345
|
+
"path": "/api/gpu/v1/instances",
|
|
6346
|
+
"inputSchema": {
|
|
6347
|
+
"type": "object",
|
|
6348
|
+
"properties": {
|
|
6349
|
+
"pool_instance_id": {
|
|
6350
|
+
"type": "integer",
|
|
6351
|
+
"description": "Instance type ID from the pool instance types list"
|
|
6352
|
+
},
|
|
6353
|
+
"os_template_id": {
|
|
6354
|
+
"type": "integer",
|
|
6355
|
+
"description": "OS template ID available for the selected instance type"
|
|
6356
|
+
},
|
|
6357
|
+
"name": {
|
|
6358
|
+
"type": "string",
|
|
6359
|
+
"description": "Instance name, unique among your instances. Letters, numbers, dashes and underscores only"
|
|
6360
|
+
},
|
|
6361
|
+
"public_keys": {
|
|
6362
|
+
"type": "array",
|
|
6363
|
+
"description": "SSH public keys to add to the instance",
|
|
6364
|
+
"items": {
|
|
6365
|
+
"type": "string",
|
|
6366
|
+
"description": "public_keys parameter"
|
|
6367
|
+
}
|
|
6368
|
+
}
|
|
6369
|
+
},
|
|
6370
|
+
"required": [
|
|
6371
|
+
"pool_instance_id",
|
|
6372
|
+
"os_template_id",
|
|
6373
|
+
"name"
|
|
6374
|
+
]
|
|
6375
|
+
},
|
|
6376
|
+
"security": [
|
|
6377
|
+
{
|
|
6378
|
+
"apiToken": []
|
|
6379
|
+
}
|
|
6380
|
+
],
|
|
6381
|
+
"group": "gpu"
|
|
6382
|
+
},
|
|
6383
|
+
{
|
|
6384
|
+
"name": "gpu_instances_metrics",
|
|
6385
|
+
"title": "Get instance metrics",
|
|
6386
|
+
"annotations": {
|
|
6387
|
+
"title": "Get instance metrics",
|
|
6388
|
+
"readOnlyHint": true,
|
|
6389
|
+
"destructiveHint": false
|
|
6390
|
+
},
|
|
6391
|
+
"description": "Retrieve utilisation metrics of a specified GPU instance for the last hour.\n\nEach data point contains CPU, memory and GPU utilisation, used GPU memory and GPU throughput.\nThe list is empty until the instance is provisioned.\n\nUse this endpoint to monitor GPU instance load.",
|
|
6392
|
+
"method": "GET",
|
|
6393
|
+
"path": "/api/gpu/v1/instances/{instanceId}/metrics",
|
|
6394
|
+
"inputSchema": {
|
|
6395
|
+
"type": "object",
|
|
6396
|
+
"properties": {
|
|
6397
|
+
"instanceId": {
|
|
6398
|
+
"type": "integer",
|
|
6399
|
+
"description": "GPU instance ID"
|
|
6400
|
+
}
|
|
6401
|
+
},
|
|
6402
|
+
"required": [
|
|
6403
|
+
"instanceId"
|
|
6404
|
+
]
|
|
6405
|
+
},
|
|
6406
|
+
"security": [
|
|
6407
|
+
{
|
|
6408
|
+
"apiToken": []
|
|
6409
|
+
}
|
|
6410
|
+
],
|
|
6411
|
+
"group": "gpu"
|
|
6412
|
+
},
|
|
6127
6413
|
{
|
|
6128
6414
|
"name": "gpu_catalog_pool-groups",
|
|
6129
6415
|
"title": "Get pool groups",
|