cURL
curl --request GET \ --url https://supply-api.compute-index.com/resources \ --header 'Authorization: Bearer <token>'
{ "resources": [ { "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resource_type": "<string>", "vendor": "<string>", "vendor_region": "<string>", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "status_message": "<string>", "access": { "external_ip": "<string>", "internal_ip": "<string>", "ssh_command": "<string>", "ssh_port": 123 }, "spec": {}, "linked_resources": [ { "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resource_type": "<string>", "status": "<string>", "link_type": "<string>", "linked_since": "2023-11-07T05:31:56Z", "name": "<string>", "linked_until": "2023-11-07T05:31:56Z" } ], "offer_history": [ { "offer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "offer_type": "<string>", "role": "<string>", "created_at": "2023-11-07T05:31:56Z" } ], "pricing_total_hourly": 123, "valid_from": "2023-11-07T05:31:56Z", "valid_to": "2023-11-07T05:31:56Z", "last_synced_at": "2023-11-07T05:31:56Z" } ], "total": 123, "limit": 123, "offset": 123 }
List user’s resources.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Paginated list of resources.
Show child attributes