GET /data-sources/{id}/fields

Authentication

Bearer Token (hu_api_key)

Path Parameters

id string required path

Responses

200 Ordered list of monitoring fields for the source

No response body

curl -X GET 'https://happyuptime.com/api/v1/data-sources/string/fields' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://happyuptime.com/api/v1/data-sources/string/fields', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://happyuptime.com/api/v1/data-sources/string/fields', headers=headers)print(response.json())