List contracts
List contracts
Query parameters
Filter by instance type
An ISO 8601 datetime string
Start of interval to find active contracts. Must be used with active_within_interval_end
An ISO 8601 datetime string
End of interval to find active contracts. Must be used with active_within_interval_start
Filter by contract state. Options: "All", "Upcoming", "Active", "Expired". Default excludes expired contracts
Include contracts managed by the Nodes API
Include contracts associated with procurements
Response
List of contracts
Example response
{
"object": "list",
"data": [
{
"object": "contract",
"id": "cont_k3R-nX9vLm7Qp2Yw5Jd8F",
"created_at": "2025-07-11T20:41:37.423Z",
"instance_type": "h100i",
"shape": {
"intervals": [
"2025-07-11T20:41:37.423Z"
]
},
"colocate_with": [
"cont_k3R-nX9vLm7Qp2Yw5Jd8F"
],
"cluster_id": "clus_k3R-nX9vLm7Qp2Yw5Jd8F",
"zone": "richmond",
"is_node": true,
"procurement_id": "proc_1234567890abcdef"
}
]
}Changes
Changed in 4 of the 44 revisions of this API.1312
- ▲
removed the required property
detailsfrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
detailsfrom the response with the500statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
messagefrom the response with the500statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the401statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the403statusresponse-required-property-removed
- ▲
removed the required property
typefrom the response with the500statusresponse-required-property-removed
- ○
added the required property
errorto the response with the400statusresponse-required-property-added
- ○
added the required property
errorto the response with the401statusresponse-required-property-added
- ○
added the required property
errorto the response with the403statusresponse-required-property-added
- ○
added the required property
errorto the response with the500statusresponse-required-property-added
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the
data/items/cluster_id/oneOf[market-api_ClusterId]/response's property pattern was changed from"clus"_[0-9a-zA-Z]+toclus_[0-9a-zA-Z_-]{1,21}for the status200response-property-pattern-changed
- ○
the
data/items/colocate_with/items/response's property pattern was changed from"cont"_[0-9a-zA-Z]+tocont_[0-9a-zA-Z_-]{1,21}for the status200response-property-pattern-changed
- ○
the
data/items/idresponse's property pattern was changed from"cont"_[0-9a-zA-Z]+tocont_[0-9a-zA-Z_-]{1,21}for the status200response-property-pattern-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added
market-api_ZoneNameto thedata/items/zoneresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
market-api_ClusterNamefrom thedata/items/zoneresponse propertyoneOflist for the response status200response-property-one-of-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional
queryrequest parameterinclude_nodesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterinclude_procurementsnew-optional-request-parameter
- ○
added the optional property
data/items/procurement_idto the response with the200statusresponse-optional-property-added
- ○
added the required property
data/items/is_nodeto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○