V Ms
Create a VM
Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer vl_….
In: header
Path Parameters
orgId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orgs/string/vms/create" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "string",
"organizationId": "string",
"name": "string",
"status": "string",
"statusReason": "string",
"gpuModelId": "string",
"gpuCount": 0,
"endpointUrl": "string",
"createdAt": "string",
"provisioningStage": "string",
"resourceSize": "string",
"tier": "string",
"diskSizeGb": 0,
"gpuModelName": "string",
"pricePerHourCents": 0
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}