Config as code
Export config
Returns a document that /config/apply accepts unchanged. Heartbeat metrics are exported without agent or thresholds, and the ping URL is never included, so an exported document carries no credential.
GET
Export the org's config as a canonical apply document
Authorizations
An organization API key (obs_pub_…) sent as Authorization: Bearer <key>. Each key carries scopes; an endpoint lists the scope it needs.
Query Parameters
Include console-managed objects, not only config-managed ones.
json returns { document, yaml }; yaml returns the raw YAML body.
Available options:
json, yaml 
