cURL
curl --request GET \ --url https://api.nonce.app/private-api/v1/{workspace_id}/farms \ --header 'x-api-key: <api-key>'
{ "success": true, "data": [ { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "name": "Farm Name", "workspace_id": "org_xxxxxxxxxxxxxxxxxxxxxxxxxxx" } ], "pagination": { "total": 50, "limit": 10, "offset": 0, "hasNext": true, "hasPrevious": false }, "error": null }
Returns farm information associated with the workspace. The information includes farm ID and name
Legacy Private API Key for authentication
Page number (default: 1)
x >= 1
1
Number of items per page (default: 10, max: 10000)
1 <= x <= 10000
10
Successfully retrieved farms
Indicates if the request was successful
true
Array of items
Show child attributes
Pagination metadata
Error object (null on success)
null