Instances
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
next_cursorany · nullableOptional
sort_bystring · enum · nullableOptionalPossible values:
sort_dirstring · enum · nullableOptionalPossible values:
projectstringRequired
instance_typestring · nullableOptionalExample:
it_abc123456regionstring · nullableOptionalExample:
us-central1-abid_fid_instring[] · nullableOptional
Comma-separated list of bid FIDs
reservation_fid_instring[] · nullableOptional
Comma-separated list of reservation FIDs
limitinteger · min: 1 · max: 100 · nullableOptional
Responses
200
Successful Response
application/json
next_cursorstring · nullableOptional
422
Validation Error
application/json
get
/v2/instancesAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
instancesstring[]Required
statusstring · enumRequiredPossible values:
Responses
200
Successful Response
application/json
404
One of the provided instances did not exist.
409
One or more of the instances is not yet ready for this operation.
422
Validation Error
application/json
501
Spot bids are not yet supported.
patch
/v2/instancesAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
instance_fidstringRequiredExample:
inst_abc123456Responses
200
Successful Response
application/json
Response model for instance status endpoint.
fidstringRequiredExample:
inst_abc123456namestringRequired
statusstring · enumRequiredExample:
STATUS_NEWPossible values: bidstring · nullableOptionalExample:
bid_abc123456reservationstring · nullableOptionalExample:
res_abc123456end_timestring · datetime · nullableOptionalExample:
2024-01-01T00:00:00Z422
Validation Error
application/json
get
/v2/instances/{instance_fid}/statusAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
projectstringRequiredExample:
proj_abc123456instance_fidstring · nullableOptionalExample:
inst_abc123456bid_fidstring · nullableOptionalExample:
bid_abc123456reservation_fidstring · nullableOptionalExample:
res_abc123456limitinteger · min: 1 · max: 100 · nullableOptional
start_timestring · datetime · nullableOptionalExample:
2024-01-01T00:00:00Zend_timestring · datetime · nullableOptionalExample:
2024-01-01T00:00:00Znext_cursorstring · nullableOptional
Responses
200
Successful Response
application/json
Response model for instance status history endpoint.
next_cursorstring · nullableOptional
422
Validation Error
application/json
get
/v2/instances/status/historyAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
projectstringRequiredExample:
proj_abc123456instance_fidstring · nullableOptionalExample:
inst_abc123456bid_fidstring · nullableOptionalExample:
bid_abc123456reservation_fidstring · nullableOptionalExample:
res_abc123456limitinteger · min: 1 · max: 100 · nullableOptional
start_timestring · datetime · nullableOptionalExample:
2024-01-01T00:00:00Zend_timestring · datetime · nullableOptionalExample:
2024-01-01T00:00:00Znext_cursorstring · nullableOptional
Responses
200
Successful Response
application/json
Response model for instance pricing history endpoint.
next_cursorstring · nullableOptional
422
Validation Error
application/json
get
/v2/instances/pricing/historyLast updated