@apteva/integrations 0.15.10 → 0.15.12
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/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +144 -8
- package/dist/http-executor.js.map +1 -1
- package/dist/mcp-generator.js +24 -0
- package/dist/mcp-generator.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/anthropic-admin.json +183 -0
- package/src/apps/aws-ses.json +1 -1
- package/src/apps/braintree.json +53 -0
- package/src/apps/bunny-stream.json +50 -28
- package/src/apps/ccbill.json +142 -0
- package/src/apps/close.json +238 -301
- package/src/apps/craftcloud.json +251 -202
- package/src/apps/dataforseo.json +1700 -2
- package/src/apps/deepgram.json +288 -1
- package/src/apps/elevenlabs.json +9 -0
- package/src/apps/fal-ai.json +278 -290
- package/src/apps/gladia.json +158 -0
- package/src/apps/gmail.json +2 -5
- package/src/apps/gumroad.json +569 -0
- package/src/apps/imaterialise.json +171 -262
- package/src/apps/jlcpcb.json +43 -0
- package/src/apps/jungle-scout.json +166 -0
- package/src/apps/kling-ai.json +197 -161
- package/src/apps/ko-fi.json +34 -0
- package/src/apps/leadbyte.json +16 -54
- package/src/apps/lemon-squeezy.json +270 -0
- package/src/apps/mollie.json +219 -0
- package/src/apps/paddle.json +199 -9
- package/src/apps/payhip.json +162 -0
- package/src/apps/paystack.json +207 -0
- package/src/apps/pipedrive.json +221 -212
- package/src/apps/razorpay.json +207 -0
- package/src/apps/replicate.json +315 -61
- package/src/apps/ringover.json +69 -0
- package/src/apps/runpod.json +727 -0
- package/src/apps/runway.json +386 -0
- package/src/apps/salesforce-crm.json +192 -233
- package/src/apps/sculpteo.json +98 -180
- package/src/apps/segpay.json +215 -0
- package/src/apps/shapeways.json +114 -136
- package/src/apps/slant3d.json +260 -168
- package/src/apps/soniox.json +194 -0
- package/src/apps/speechmatics.json +167 -0
- package/src/apps/stability-ai.json +356 -0
- package/src/apps/stripe.json +1 -0
- package/src/apps/surfer.json +511 -0
- package/src/apps/twitter-api.json +19 -21
- package/src/apps/verotel.json +124 -0
- package/src/apps/whop.json +364 -0
- package/src/apps/zendesk-sell.json +248 -0
- package/src/apps/zendesk.json +190 -259
|
@@ -0,0 +1,727 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "runpod",
|
|
3
|
+
"name": "RunPod",
|
|
4
|
+
"description": "RunPod REST API for GPU pods, serverless endpoints, templates, network volumes, container registry credentials, billing, and queue-based endpoint jobs.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=runpod.io&sz=128",
|
|
6
|
+
"categories": ["gpu", "compute", "ai", "serverless", "containers", "runpod"],
|
|
7
|
+
"base_url": "https://rest.runpod.io/v1",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["bearer"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{api_key}}"
|
|
12
|
+
},
|
|
13
|
+
"credential_fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "api_key",
|
|
16
|
+
"label": "API Key",
|
|
17
|
+
"type": "password",
|
|
18
|
+
"description": "RunPod API key from RunPod console Settings > API Keys."
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"health_check": {
|
|
23
|
+
"tool": "list_pods",
|
|
24
|
+
"input": {},
|
|
25
|
+
"expect_status": [200]
|
|
26
|
+
},
|
|
27
|
+
"tools": [
|
|
28
|
+
{
|
|
29
|
+
"name": "get_openapi_schema",
|
|
30
|
+
"description": "Fetch RunPod's REST OpenAPI schema. Use this when an agent needs the current full REST API reference.",
|
|
31
|
+
"method": "GET",
|
|
32
|
+
"path": "/openapi.json",
|
|
33
|
+
"input_schema": { "type": "object", "properties": {} }
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "list_pods",
|
|
37
|
+
"description": "List RunPod Pods. Use computeType=GPU and optional gpuTypeId/dataCenterId filters when looking for GPU instances.",
|
|
38
|
+
"method": "GET",
|
|
39
|
+
"path": "/pods",
|
|
40
|
+
"query_params": ["computeType", "cpuFlavorId", "dataCenterId", "desiredStatus", "endpointId", "gpuTypeId", "id", "imageName", "includeMachine", "includeNetworkVolume", "includeSavingsPlans", "includeTemplate", "includeWorkers", "name", "networkVolumeId", "templateId"],
|
|
41
|
+
"input_schema": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"computeType": { "type": "string", "enum": ["GPU", "CPU"] },
|
|
45
|
+
"cpuFlavorId": { "type": "array", "items": { "type": "string" } },
|
|
46
|
+
"dataCenterId": { "type": "array", "items": { "type": "string" } },
|
|
47
|
+
"desiredStatus": { "type": "string", "enum": ["RUNNING", "EXITED", "TERMINATED"] },
|
|
48
|
+
"endpointId": { "type": "string" },
|
|
49
|
+
"gpuTypeId": { "type": "array", "items": { "type": "string" }, "description": "GPU type names such as NVIDIA GeForce RTX 4090, NVIDIA H100 80GB HBM3, NVIDIA L40S, NVIDIA A100 80GB PCIe." },
|
|
50
|
+
"id": { "type": "string" },
|
|
51
|
+
"imageName": { "type": "string" },
|
|
52
|
+
"includeMachine": { "type": "boolean", "default": false },
|
|
53
|
+
"includeNetworkVolume": { "type": "boolean", "default": false },
|
|
54
|
+
"includeSavingsPlans": { "type": "boolean", "default": false },
|
|
55
|
+
"includeTemplate": { "type": "boolean", "default": false },
|
|
56
|
+
"includeWorkers": { "type": "boolean", "default": false },
|
|
57
|
+
"name": { "type": "string" },
|
|
58
|
+
"networkVolumeId": { "type": "string" },
|
|
59
|
+
"templateId": { "type": "string" }
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "create_pod",
|
|
65
|
+
"description": "Create and optionally deploy a RunPod Pod. For GPU instances set computeType=GPU, imageName or templateId, gpuTypeIds, gpuCount, ports, containerDiskInGb, volumeInGb, and env. Use interruptible=true for spot/interruptible pricing.",
|
|
66
|
+
"method": "POST",
|
|
67
|
+
"path": "/pods",
|
|
68
|
+
"input_schema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"name": { "type": "string", "description": "User-facing pod name." },
|
|
72
|
+
"computeType": { "type": "string", "enum": ["GPU", "CPU"], "default": "GPU" },
|
|
73
|
+
"cloudType": { "type": "string", "enum": ["SECURE", "COMMUNITY"], "default": "SECURE" },
|
|
74
|
+
"imageName": { "type": "string", "description": "Docker image, e.g. runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04. Use either imageName or templateId." },
|
|
75
|
+
"templateId": { "type": "string", "description": "RunPod template id. Use either templateId or imageName." },
|
|
76
|
+
"gpuTypeIds": { "type": "array", "items": { "type": "string" }, "description": "Ordered GPU type preferences, e.g. [\"NVIDIA GeForce RTX 4090\", \"NVIDIA RTX A5000\"]." },
|
|
77
|
+
"gpuTypePriority": { "type": "string", "enum": ["availability", "custom"], "default": "availability" },
|
|
78
|
+
"gpuCount": { "type": "integer", "minimum": 1, "default": 1 },
|
|
79
|
+
"allowedCudaVersions": { "type": "array", "items": { "type": "string" } },
|
|
80
|
+
"dataCenterIds": { "type": "array", "items": { "type": "string" } },
|
|
81
|
+
"dataCenterPriority": { "type": "string", "enum": ["availability", "custom"], "default": "availability" },
|
|
82
|
+
"countryCodes": { "type": "array", "items": { "type": "string" } },
|
|
83
|
+
"interruptible": { "type": "boolean", "default": false },
|
|
84
|
+
"supportPublicIp": { "type": "boolean" },
|
|
85
|
+
"globalNetworking": { "type": "boolean", "default": false },
|
|
86
|
+
"ports": { "type": "array", "items": { "type": "string" }, "description": "Ports like [\"8888/http\", \"22/tcp\"]." },
|
|
87
|
+
"env": { "type": "object", "description": "Environment variables for the container." },
|
|
88
|
+
"dockerEntrypoint": { "type": "array", "items": { "type": "string" } },
|
|
89
|
+
"dockerStartCmd": { "type": "array", "items": { "type": "string" } },
|
|
90
|
+
"containerDiskInGb": { "type": "integer", "default": 50 },
|
|
91
|
+
"volumeInGb": { "type": "integer", "default": 20 },
|
|
92
|
+
"volumeMountPath": { "type": "string", "default": "/workspace" },
|
|
93
|
+
"networkVolumeId": { "type": "string" },
|
|
94
|
+
"containerRegistryAuthId": { "type": "string" },
|
|
95
|
+
"minVCPUPerGPU": { "type": "integer", "default": 2 },
|
|
96
|
+
"minRAMPerGPU": { "type": "integer", "default": 8 },
|
|
97
|
+
"minDownloadMbps": { "type": "number" },
|
|
98
|
+
"minUploadMbps": { "type": "number" },
|
|
99
|
+
"minDiskBandwidthMBps": { "type": "number" },
|
|
100
|
+
"cpuFlavorIds": { "type": "array", "items": { "type": "string" } },
|
|
101
|
+
"cpuFlavorPriority": { "type": "string", "enum": ["availability", "custom"], "default": "availability" },
|
|
102
|
+
"vcpuCount": { "type": "integer" },
|
|
103
|
+
"locked": { "type": "boolean", "default": false }
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "get_pod",
|
|
109
|
+
"description": "Get a single RunPod Pod by ID.",
|
|
110
|
+
"method": "GET",
|
|
111
|
+
"path": "/pods/{podId}",
|
|
112
|
+
"input_schema": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": { "podId": { "type": "string" } },
|
|
115
|
+
"required": ["podId"]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "update_pod",
|
|
120
|
+
"description": "Patch a Pod. This update can trigger a reset for fields like imageName, env, ports, volume, or disk settings.",
|
|
121
|
+
"method": "PATCH",
|
|
122
|
+
"path": "/pods/{podId}",
|
|
123
|
+
"input_schema": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"podId": { "type": "string" },
|
|
127
|
+
"name": { "type": "string" },
|
|
128
|
+
"imageName": { "type": "string" },
|
|
129
|
+
"env": { "type": "object" },
|
|
130
|
+
"dockerEntrypoint": { "type": "array", "items": { "type": "string" } },
|
|
131
|
+
"dockerStartCmd": { "type": "array", "items": { "type": "string" } },
|
|
132
|
+
"ports": { "type": "array", "items": { "type": "string" } },
|
|
133
|
+
"containerDiskInGb": { "type": "integer" },
|
|
134
|
+
"volumeInGb": { "type": "integer" },
|
|
135
|
+
"volumeMountPath": { "type": "string" },
|
|
136
|
+
"containerRegistryAuthId": { "type": "string" },
|
|
137
|
+
"globalNetworking": { "type": "boolean" },
|
|
138
|
+
"locked": { "type": "boolean" }
|
|
139
|
+
},
|
|
140
|
+
"required": ["podId"]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "update_pod_in_place",
|
|
145
|
+
"description": "Update lightweight Pod fields in place, currently name and locked.",
|
|
146
|
+
"method": "POST",
|
|
147
|
+
"path": "/pods/{podId}/update",
|
|
148
|
+
"input_schema": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"podId": { "type": "string" },
|
|
152
|
+
"name": { "type": "string" },
|
|
153
|
+
"locked": { "type": "boolean" }
|
|
154
|
+
},
|
|
155
|
+
"required": ["podId"]
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "start_pod",
|
|
160
|
+
"description": "Start or resume a stopped Pod.",
|
|
161
|
+
"method": "POST",
|
|
162
|
+
"path": "/pods/{podId}/start",
|
|
163
|
+
"input_schema": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": { "podId": { "type": "string" } },
|
|
166
|
+
"required": ["podId"]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "stop_pod",
|
|
171
|
+
"description": "Stop a running Pod.",
|
|
172
|
+
"method": "POST",
|
|
173
|
+
"path": "/pods/{podId}/stop",
|
|
174
|
+
"input_schema": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": { "podId": { "type": "string" } },
|
|
177
|
+
"required": ["podId"]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "reset_pod",
|
|
182
|
+
"description": "Reset a Pod.",
|
|
183
|
+
"method": "POST",
|
|
184
|
+
"path": "/pods/{podId}/reset",
|
|
185
|
+
"input_schema": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": { "podId": { "type": "string" } },
|
|
188
|
+
"required": ["podId"]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "restart_pod",
|
|
193
|
+
"description": "Restart a Pod.",
|
|
194
|
+
"method": "POST",
|
|
195
|
+
"path": "/pods/{podId}/restart",
|
|
196
|
+
"input_schema": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": { "podId": { "type": "string" } },
|
|
199
|
+
"required": ["podId"]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "delete_pod",
|
|
204
|
+
"description": "Delete a Pod permanently.",
|
|
205
|
+
"method": "DELETE",
|
|
206
|
+
"path": "/pods/{podId}",
|
|
207
|
+
"input_schema": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": { "podId": { "type": "string" } },
|
|
210
|
+
"required": ["podId"]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "list_endpoints",
|
|
215
|
+
"description": "List Serverless endpoints. Set includeWorkers=true to include running workers.",
|
|
216
|
+
"method": "GET",
|
|
217
|
+
"path": "/endpoints",
|
|
218
|
+
"query_params": ["includeTemplate", "includeWorkers"],
|
|
219
|
+
"input_schema": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"properties": {
|
|
222
|
+
"includeTemplate": { "type": "boolean", "default": false },
|
|
223
|
+
"includeWorkers": { "type": "boolean", "default": false }
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "create_endpoint",
|
|
229
|
+
"description": "Create a RunPod Serverless endpoint from a template. Use workersMin=0 for scale-to-zero; workersMin > 0 keeps warm workers running and billable.",
|
|
230
|
+
"method": "POST",
|
|
231
|
+
"path": "/endpoints",
|
|
232
|
+
"input_schema": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"name": { "type": "string" },
|
|
236
|
+
"templateId": { "type": "string" },
|
|
237
|
+
"computeType": { "type": "string", "enum": ["GPU", "CPU"], "default": "GPU" },
|
|
238
|
+
"gpuTypeIds": { "type": "array", "items": { "type": "string" } },
|
|
239
|
+
"gpuCount": { "type": "integer", "minimum": 1, "default": 1 },
|
|
240
|
+
"allowedCudaVersions": { "type": "array", "items": { "type": "string" } },
|
|
241
|
+
"minCudaVersion": { "type": "string" },
|
|
242
|
+
"dataCenterIds": { "type": "array", "items": { "type": "string" } },
|
|
243
|
+
"networkVolumeId": { "type": "string" },
|
|
244
|
+
"networkVolumeIds": { "type": "array", "items": { "type": "string" } },
|
|
245
|
+
"workersMin": { "type": "integer", "minimum": 0, "default": 0 },
|
|
246
|
+
"workersMax": { "type": "integer", "minimum": 0 },
|
|
247
|
+
"idleTimeout": { "type": "integer", "minimum": 1, "maximum": 3600, "default": 5 },
|
|
248
|
+
"executionTimeoutMs": { "type": "integer", "description": "Per-job execution timeout in milliseconds." },
|
|
249
|
+
"scalerType": { "type": "string", "enum": ["QUEUE_DELAY", "REQUEST_COUNT"], "default": "QUEUE_DELAY" },
|
|
250
|
+
"scalerValue": { "type": "integer", "minimum": 1, "default": 4 },
|
|
251
|
+
"flashboot": { "type": "boolean" },
|
|
252
|
+
"cpuFlavorIds": { "type": "array", "items": { "type": "string" } },
|
|
253
|
+
"vcpuCount": { "type": "integer" }
|
|
254
|
+
},
|
|
255
|
+
"required": ["templateId"]
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "get_endpoint",
|
|
260
|
+
"description": "Get a Serverless endpoint by ID.",
|
|
261
|
+
"method": "GET",
|
|
262
|
+
"path": "/endpoints/{endpointId}",
|
|
263
|
+
"input_schema": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"properties": { "endpointId": { "type": "string" } },
|
|
266
|
+
"required": ["endpointId"]
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "update_endpoint",
|
|
271
|
+
"description": "Patch an endpoint. This can trigger a rolling release when changing template/worker resource fields.",
|
|
272
|
+
"method": "PATCH",
|
|
273
|
+
"path": "/endpoints/{endpointId}",
|
|
274
|
+
"input_schema": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"endpointId": { "type": "string" },
|
|
278
|
+
"name": { "type": "string" },
|
|
279
|
+
"templateId": { "type": "string" },
|
|
280
|
+
"gpuTypeIds": { "type": "array", "items": { "type": "string" } },
|
|
281
|
+
"gpuCount": { "type": "integer" },
|
|
282
|
+
"dataCenterIds": { "type": "array", "items": { "type": "string" } },
|
|
283
|
+
"networkVolumeId": { "type": "string" },
|
|
284
|
+
"networkVolumeIds": { "type": "array", "items": { "type": "string" } },
|
|
285
|
+
"workersMin": { "type": "integer" },
|
|
286
|
+
"workersMax": { "type": "integer" },
|
|
287
|
+
"idleTimeout": { "type": "integer" },
|
|
288
|
+
"executionTimeoutMs": { "type": "integer" },
|
|
289
|
+
"scalerType": { "type": "string", "enum": ["QUEUE_DELAY", "REQUEST_COUNT"] },
|
|
290
|
+
"scalerValue": { "type": "integer" },
|
|
291
|
+
"flashboot": { "type": "boolean" },
|
|
292
|
+
"cpuFlavorIds": { "type": "array", "items": { "type": "string" } },
|
|
293
|
+
"vcpuCount": { "type": "integer" }
|
|
294
|
+
},
|
|
295
|
+
"required": ["endpointId"]
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "update_endpoint_in_place",
|
|
300
|
+
"description": "Update lightweight endpoint fields in place, such as name, scaler, idle timeout, execution timeout, and worker min/max.",
|
|
301
|
+
"method": "POST",
|
|
302
|
+
"path": "/endpoints/{endpointId}/update",
|
|
303
|
+
"input_schema": {
|
|
304
|
+
"type": "object",
|
|
305
|
+
"properties": {
|
|
306
|
+
"endpointId": { "type": "string" },
|
|
307
|
+
"name": { "type": "string" },
|
|
308
|
+
"workersMin": { "type": "integer" },
|
|
309
|
+
"workersMax": { "type": "integer" },
|
|
310
|
+
"idleTimeout": { "type": "integer" },
|
|
311
|
+
"executionTimeoutMs": { "type": "integer" },
|
|
312
|
+
"scalerType": { "type": "string", "enum": ["QUEUE_DELAY", "REQUEST_COUNT"] },
|
|
313
|
+
"scalerValue": { "type": "integer" },
|
|
314
|
+
"flashboot": { "type": "boolean" }
|
|
315
|
+
},
|
|
316
|
+
"required": ["endpointId"]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "delete_endpoint",
|
|
321
|
+
"description": "Delete a Serverless endpoint.",
|
|
322
|
+
"method": "DELETE",
|
|
323
|
+
"path": "/endpoints/{endpointId}",
|
|
324
|
+
"input_schema": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"properties": { "endpointId": { "type": "string" } },
|
|
327
|
+
"required": ["endpointId"]
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "run_endpoint_sync",
|
|
332
|
+
"description": "Submit a synchronous job to a queue-based Serverless endpoint and wait for completion. Body must include input. Optional wait query is milliseconds, 1000-300000.",
|
|
333
|
+
"method": "POST",
|
|
334
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/runsync",
|
|
335
|
+
"query_params": ["wait"],
|
|
336
|
+
"timeout_ms": 300000,
|
|
337
|
+
"input_schema": {
|
|
338
|
+
"type": "object",
|
|
339
|
+
"properties": {
|
|
340
|
+
"endpointId": { "type": "string" },
|
|
341
|
+
"input": { "type": "object", "description": "Worker handler input payload." },
|
|
342
|
+
"webhook": { "type": "string" },
|
|
343
|
+
"policy": { "type": "object", "description": "Optional execution policy: executionTimeout, lowPriority, ttl." },
|
|
344
|
+
"s3Config": { "type": "object" },
|
|
345
|
+
"wait": { "type": "integer", "description": "Wait time in milliseconds, 1000-300000." }
|
|
346
|
+
},
|
|
347
|
+
"required": ["endpointId", "input"]
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "run_endpoint_async",
|
|
352
|
+
"description": "Submit an asynchronous job to a queue-based Serverless endpoint. Use get_job_status with the returned id.",
|
|
353
|
+
"method": "POST",
|
|
354
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/run",
|
|
355
|
+
"input_schema": {
|
|
356
|
+
"type": "object",
|
|
357
|
+
"properties": {
|
|
358
|
+
"endpointId": { "type": "string" },
|
|
359
|
+
"input": { "type": "object", "description": "Worker handler input payload." },
|
|
360
|
+
"webhook": { "type": "string" },
|
|
361
|
+
"policy": { "type": "object", "description": "Optional execution policy: executionTimeout, lowPriority, ttl." },
|
|
362
|
+
"s3Config": { "type": "object" }
|
|
363
|
+
},
|
|
364
|
+
"required": ["endpointId", "input"]
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "get_job_status",
|
|
369
|
+
"description": "Get status, execution details, and output for a Serverless endpoint job. Async job results are retained for about 30 minutes after completion.",
|
|
370
|
+
"method": "GET",
|
|
371
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/status/{jobId}",
|
|
372
|
+
"query_params": ["ttl"],
|
|
373
|
+
"input_schema": {
|
|
374
|
+
"type": "object",
|
|
375
|
+
"properties": {
|
|
376
|
+
"endpointId": { "type": "string" },
|
|
377
|
+
"jobId": { "type": "string" },
|
|
378
|
+
"ttl": { "type": "integer", "description": "Optional status-result TTL in milliseconds." }
|
|
379
|
+
},
|
|
380
|
+
"required": ["endpointId", "jobId"]
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "stream_job",
|
|
385
|
+
"description": "Fetch incremental output chunks for a streaming-capable Serverless job.",
|
|
386
|
+
"method": "GET",
|
|
387
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/stream/{jobId}",
|
|
388
|
+
"timeout_ms": 300000,
|
|
389
|
+
"input_schema": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {
|
|
392
|
+
"endpointId": { "type": "string" },
|
|
393
|
+
"jobId": { "type": "string" }
|
|
394
|
+
},
|
|
395
|
+
"required": ["endpointId", "jobId"]
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "cancel_job",
|
|
400
|
+
"description": "Cancel a queued or running Serverless endpoint job.",
|
|
401
|
+
"method": "POST",
|
|
402
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/cancel/{jobId}",
|
|
403
|
+
"input_schema": {
|
|
404
|
+
"type": "object",
|
|
405
|
+
"properties": {
|
|
406
|
+
"endpointId": { "type": "string" },
|
|
407
|
+
"jobId": { "type": "string" }
|
|
408
|
+
},
|
|
409
|
+
"required": ["endpointId", "jobId"]
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "retry_job",
|
|
414
|
+
"description": "Retry a failed or timed-out Serverless endpoint job with the same job id and original input.",
|
|
415
|
+
"method": "POST",
|
|
416
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/retry/{jobId}",
|
|
417
|
+
"input_schema": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"properties": {
|
|
420
|
+
"endpointId": { "type": "string" },
|
|
421
|
+
"jobId": { "type": "string" }
|
|
422
|
+
},
|
|
423
|
+
"required": ["endpointId", "jobId"]
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "purge_endpoint_queue",
|
|
428
|
+
"description": "Remove pending jobs from a queue-based Serverless endpoint queue. Jobs already in progress continue to run.",
|
|
429
|
+
"method": "POST",
|
|
430
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/purge-queue",
|
|
431
|
+
"input_schema": {
|
|
432
|
+
"type": "object",
|
|
433
|
+
"properties": { "endpointId": { "type": "string" } },
|
|
434
|
+
"required": ["endpointId"]
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "get_endpoint_health",
|
|
439
|
+
"description": "Get queue and worker health for a queue-based Serverless endpoint.",
|
|
440
|
+
"method": "GET",
|
|
441
|
+
"path": "https://api.runpod.ai/v2/{endpointId}/health",
|
|
442
|
+
"input_schema": {
|
|
443
|
+
"type": "object",
|
|
444
|
+
"properties": { "endpointId": { "type": "string" } },
|
|
445
|
+
"required": ["endpointId"]
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "list_templates",
|
|
450
|
+
"description": "List RunPod templates. Include RunPod/community/endpoint-bound templates with flags.",
|
|
451
|
+
"method": "GET",
|
|
452
|
+
"path": "/templates",
|
|
453
|
+
"query_params": ["includeEndpointBoundTemplates", "includePublicTemplates", "includeRunpodTemplates"],
|
|
454
|
+
"input_schema": {
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"includeEndpointBoundTemplates": { "type": "boolean", "default": false },
|
|
458
|
+
"includePublicTemplates": { "type": "boolean", "default": false },
|
|
459
|
+
"includeRunpodTemplates": { "type": "boolean", "default": false }
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "create_template",
|
|
465
|
+
"description": "Create a Pod or Serverless template from a Docker image, env, ports, volume settings, and optional registry auth.",
|
|
466
|
+
"method": "POST",
|
|
467
|
+
"path": "/templates",
|
|
468
|
+
"input_schema": {
|
|
469
|
+
"type": "object",
|
|
470
|
+
"properties": {
|
|
471
|
+
"name": { "type": "string" },
|
|
472
|
+
"imageName": { "type": "string" },
|
|
473
|
+
"category": { "type": "string", "enum": ["NVIDIA", "AMD", "CPU"], "default": "NVIDIA" },
|
|
474
|
+
"isServerless": { "type": "boolean", "default": false },
|
|
475
|
+
"isPublic": { "type": "boolean", "default": false },
|
|
476
|
+
"env": { "type": "object" },
|
|
477
|
+
"ports": { "type": "array", "items": { "type": "string" } },
|
|
478
|
+
"containerDiskInGb": { "type": "integer", "default": 50 },
|
|
479
|
+
"volumeInGb": { "type": "integer", "default": 20 },
|
|
480
|
+
"volumeMountPath": { "type": "string", "default": "/workspace" },
|
|
481
|
+
"containerRegistryAuthId": { "type": "string" },
|
|
482
|
+
"dockerEntrypoint": { "type": "array", "items": { "type": "string" } },
|
|
483
|
+
"dockerStartCmd": { "type": "array", "items": { "type": "string" } },
|
|
484
|
+
"readme": { "type": "string" }
|
|
485
|
+
},
|
|
486
|
+
"required": ["name", "imageName"]
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "get_template",
|
|
491
|
+
"description": "Get a template by ID.",
|
|
492
|
+
"method": "GET",
|
|
493
|
+
"path": "/templates/{templateId}",
|
|
494
|
+
"input_schema": {
|
|
495
|
+
"type": "object",
|
|
496
|
+
"properties": { "templateId": { "type": "string" } },
|
|
497
|
+
"required": ["templateId"]
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "update_template",
|
|
502
|
+
"description": "Patch a template. This can trigger rolling release for associated endpoints.",
|
|
503
|
+
"method": "PATCH",
|
|
504
|
+
"path": "/templates/{templateId}",
|
|
505
|
+
"input_schema": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"templateId": { "type": "string" },
|
|
509
|
+
"name": { "type": "string" },
|
|
510
|
+
"imageName": { "type": "string" },
|
|
511
|
+
"isPublic": { "type": "boolean" },
|
|
512
|
+
"env": { "type": "object" },
|
|
513
|
+
"ports": { "type": "array", "items": { "type": "string" } },
|
|
514
|
+
"containerDiskInGb": { "type": "integer" },
|
|
515
|
+
"volumeInGb": { "type": "integer" },
|
|
516
|
+
"volumeMountPath": { "type": "string" },
|
|
517
|
+
"containerRegistryAuthId": { "type": "string" },
|
|
518
|
+
"dockerEntrypoint": { "type": "array", "items": { "type": "string" } },
|
|
519
|
+
"dockerStartCmd": { "type": "array", "items": { "type": "string" } },
|
|
520
|
+
"readme": { "type": "string" }
|
|
521
|
+
},
|
|
522
|
+
"required": ["templateId"]
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "update_template_in_place",
|
|
527
|
+
"description": "Update lightweight template fields in place: name, isPublic, readme, volumeInGb, and volumeMountPath.",
|
|
528
|
+
"method": "POST",
|
|
529
|
+
"path": "/templates/{templateId}/update",
|
|
530
|
+
"input_schema": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"templateId": { "type": "string" },
|
|
534
|
+
"name": { "type": "string" },
|
|
535
|
+
"isPublic": { "type": "boolean" },
|
|
536
|
+
"readme": { "type": "string" },
|
|
537
|
+
"volumeInGb": { "type": "integer" },
|
|
538
|
+
"volumeMountPath": { "type": "string" }
|
|
539
|
+
},
|
|
540
|
+
"required": ["templateId"]
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "delete_template",
|
|
545
|
+
"description": "Delete a template.",
|
|
546
|
+
"method": "DELETE",
|
|
547
|
+
"path": "/templates/{templateId}",
|
|
548
|
+
"input_schema": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"properties": { "templateId": { "type": "string" } },
|
|
551
|
+
"required": ["templateId"]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "list_network_volumes",
|
|
556
|
+
"description": "List network volumes.",
|
|
557
|
+
"method": "GET",
|
|
558
|
+
"path": "/networkvolumes",
|
|
559
|
+
"input_schema": { "type": "object", "properties": {} }
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "create_network_volume",
|
|
563
|
+
"description": "Create persistent network storage attachable to Pods/endpoints.",
|
|
564
|
+
"method": "POST",
|
|
565
|
+
"path": "/networkvolumes",
|
|
566
|
+
"input_schema": {
|
|
567
|
+
"type": "object",
|
|
568
|
+
"properties": {
|
|
569
|
+
"name": { "type": "string" },
|
|
570
|
+
"size": { "type": "integer", "minimum": 0, "maximum": 4000 },
|
|
571
|
+
"dataCenterId": { "type": "string", "description": "RunPod data center ID, e.g. EU-RO-1." }
|
|
572
|
+
},
|
|
573
|
+
"required": ["name", "size", "dataCenterId"]
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "get_network_volume",
|
|
578
|
+
"description": "Get a network volume by ID.",
|
|
579
|
+
"method": "GET",
|
|
580
|
+
"path": "/networkvolumes/{networkVolumeId}",
|
|
581
|
+
"input_schema": {
|
|
582
|
+
"type": "object",
|
|
583
|
+
"properties": { "networkVolumeId": { "type": "string" } },
|
|
584
|
+
"required": ["networkVolumeId"]
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "update_network_volume",
|
|
589
|
+
"description": "Patch a network volume. Size can only increase.",
|
|
590
|
+
"method": "PATCH",
|
|
591
|
+
"path": "/networkvolumes/{networkVolumeId}",
|
|
592
|
+
"input_schema": {
|
|
593
|
+
"type": "object",
|
|
594
|
+
"properties": {
|
|
595
|
+
"networkVolumeId": { "type": "string" },
|
|
596
|
+
"name": { "type": "string" },
|
|
597
|
+
"size": { "type": "integer", "minimum": 0, "maximum": 4000 }
|
|
598
|
+
},
|
|
599
|
+
"required": ["networkVolumeId"]
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "update_network_volume_in_place",
|
|
604
|
+
"description": "Update a network volume via the in-place update endpoint. Size can only increase.",
|
|
605
|
+
"method": "POST",
|
|
606
|
+
"path": "/networkvolumes/{networkVolumeId}/update",
|
|
607
|
+
"input_schema": {
|
|
608
|
+
"type": "object",
|
|
609
|
+
"properties": {
|
|
610
|
+
"networkVolumeId": { "type": "string" },
|
|
611
|
+
"name": { "type": "string" },
|
|
612
|
+
"size": { "type": "integer", "minimum": 0, "maximum": 4000 }
|
|
613
|
+
},
|
|
614
|
+
"required": ["networkVolumeId"]
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "delete_network_volume",
|
|
619
|
+
"description": "Delete a network volume.",
|
|
620
|
+
"method": "DELETE",
|
|
621
|
+
"path": "/networkvolumes/{networkVolumeId}",
|
|
622
|
+
"input_schema": {
|
|
623
|
+
"type": "object",
|
|
624
|
+
"properties": { "networkVolumeId": { "type": "string" } },
|
|
625
|
+
"required": ["networkVolumeId"]
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "list_container_registry_auths",
|
|
630
|
+
"description": "List container registry credentials.",
|
|
631
|
+
"method": "GET",
|
|
632
|
+
"path": "/containerregistryauth",
|
|
633
|
+
"input_schema": { "type": "object", "properties": {} }
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "create_container_registry_auth",
|
|
637
|
+
"description": "Create registry credentials for private Docker images.",
|
|
638
|
+
"method": "POST",
|
|
639
|
+
"path": "/containerregistryauth",
|
|
640
|
+
"input_schema": {
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"name": { "type": "string" },
|
|
644
|
+
"username": { "type": "string" },
|
|
645
|
+
"password": { "type": "string" }
|
|
646
|
+
},
|
|
647
|
+
"required": ["name", "username", "password"]
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "get_container_registry_auth",
|
|
652
|
+
"description": "Get container registry credentials metadata by ID.",
|
|
653
|
+
"method": "GET",
|
|
654
|
+
"path": "/containerregistryauth/{containerRegistryAuthId}",
|
|
655
|
+
"input_schema": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": { "containerRegistryAuthId": { "type": "string" } },
|
|
658
|
+
"required": ["containerRegistryAuthId"]
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "delete_container_registry_auth",
|
|
663
|
+
"description": "Delete container registry credentials.",
|
|
664
|
+
"method": "DELETE",
|
|
665
|
+
"path": "/containerregistryauth/{containerRegistryAuthId}",
|
|
666
|
+
"input_schema": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": { "containerRegistryAuthId": { "type": "string" } },
|
|
669
|
+
"required": ["containerRegistryAuthId"]
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "get_pod_billing",
|
|
674
|
+
"description": "Get Pod billing history, optionally grouped by gpuTypeId or podId.",
|
|
675
|
+
"method": "GET",
|
|
676
|
+
"path": "/billing/pods",
|
|
677
|
+
"query_params": ["bucketSize", "startTime", "endTime", "gpuTypeId", "podId", "grouping"],
|
|
678
|
+
"input_schema": {
|
|
679
|
+
"type": "object",
|
|
680
|
+
"properties": {
|
|
681
|
+
"bucketSize": { "type": "string", "enum": ["hour", "day", "week", "month", "year"], "default": "day" },
|
|
682
|
+
"startTime": { "type": "string", "description": "ISO timestamp." },
|
|
683
|
+
"endTime": { "type": "string", "description": "ISO timestamp." },
|
|
684
|
+
"gpuTypeId": { "type": "string" },
|
|
685
|
+
"podId": { "type": "string" },
|
|
686
|
+
"grouping": { "type": "string", "enum": ["podId", "gpuTypeId"], "default": "gpuTypeId" }
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "get_endpoint_billing",
|
|
692
|
+
"description": "Get Serverless endpoint billing history.",
|
|
693
|
+
"method": "GET",
|
|
694
|
+
"path": "/billing/endpoints",
|
|
695
|
+
"query_params": ["bucketSize", "startTime", "endTime", "dataCenterId", "endpointId", "gpuTypeId", "grouping", "imageName", "templateId"],
|
|
696
|
+
"input_schema": {
|
|
697
|
+
"type": "object",
|
|
698
|
+
"properties": {
|
|
699
|
+
"bucketSize": { "type": "string", "enum": ["hour", "day", "week", "month", "year"], "default": "day" },
|
|
700
|
+
"startTime": { "type": "string" },
|
|
701
|
+
"endTime": { "type": "string" },
|
|
702
|
+
"dataCenterId": { "type": "array", "items": { "type": "string" } },
|
|
703
|
+
"endpointId": { "type": "string" },
|
|
704
|
+
"gpuTypeId": { "type": "array", "items": { "type": "string" } },
|
|
705
|
+
"grouping": { "type": "string", "enum": ["endpointId", "podId", "gpuTypeId"], "default": "endpointId" },
|
|
706
|
+
"imageName": { "type": "string" },
|
|
707
|
+
"templateId": { "type": "string" }
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "get_network_volume_billing",
|
|
713
|
+
"description": "Get network volume billing history.",
|
|
714
|
+
"method": "GET",
|
|
715
|
+
"path": "/billing/networkvolumes",
|
|
716
|
+
"query_params": ["bucketSize", "startTime", "endTime"],
|
|
717
|
+
"input_schema": {
|
|
718
|
+
"type": "object",
|
|
719
|
+
"properties": {
|
|
720
|
+
"bucketSize": { "type": "string", "enum": ["hour", "day", "week", "month", "year"], "default": "day" },
|
|
721
|
+
"startTime": { "type": "string" },
|
|
722
|
+
"endTime": { "type": "string" }
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
]
|
|
727
|
+
}
|