Get a single metadata record

Returns a single metadata record.

GET https://betteruptime.com/api/v2/metadata/{metadata_id}

URL parameters

metadata_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "123456789",
    "type": "metadata",
    "attributes": {
      "key": "KEY_1",
      "value": "value-1"
    },
    "relationships": {
      "owner": {
        "data": {
          "id": "2",
          "type": "Monitor"
        }
      }
    }
  }
}

Example cURL

curl --request GET \
  --url https://betteruptime.com/api/v2/metadata/123456789 \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!