Create GigaSPOT orders
POST
https://api.clore.ai/v1/create_gigaspot_ordersRequest
Header Params
Content-Type
string
required
Example:
application/json
auth
string
required
clore.ai api token
Example:
NXj2bHUXHwzvd5-Lm6UfvgGtnNwaHxLu
Body Params application/json
array of:
currency
string
required
Currency of order
image
string
required
Image ID in CCR (You can only use images in CCR uploaded by your account)
renting_server
integer
required
Server ID
price
integer
required
Price in CLORE/day
oc
array [object {5}]
required
Overclock settings (use object for each GPU)
pl
integer
required
Power Limit (W)
core_lock
integer
optional
GPU Core Lock (MHz)
mem_lock
integer
optional
GPU Memory Lock (MHz)
mem_offset
integer
optional
GPU Memory Offset (MHz)
core_offset
integer
optional
GPU Core Offset (MHz)
env
object
optional
ENV variables passed to workload container.
Total stringified length must be under 12288 characters.
Key maximum length: 128 characters.
Value maximum length: 1536 characters
EXAMPLE_KEY
string
optional
Example
[
{
"currency": "CLORE-Blockchain",
"image": "6771db990479c1fac87da6cc",
"renting_server": 40329,
"price": 20,
"oc": [
{
"pl": 350,
"core_lock": 1000,
"mem_lock": 5000,
"mem_offset": 2000,
"core_offset": 200
}
],
"env": {
"EXAMPLE_KEY": "EXAMPLE_VALUE"
}
}
]
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
string
required
failed_to_oc_servers
array[integer]
required
Server IDs, that could not be rented because the OC input is invalid
failed_to_rent_servers
array[integer]
required
Server IDs, that failed to rent because of any reason
code
integer
required
clore.ai status code
Example
Success
{
"status": "ok",
"failed_to_oc_servers": [],
"failed_to_rent_servers": [],
"code": 0
}
Last modified: 7 days ago