[go: up one dir, main page]

Explore documentation

Get a single metadata record

Returns a single metadata record.

GET https://uptime.betterstack.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"
      "owner_id": "2",
      "owner_type": "Monitor"
    }
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/metadata/123456789 \
  --header "Authorization: Bearer $TOKEN"