Skip to main content
POST
Apply a config-as-code document (idempotent upsert by config_key)

Authorizations

Authorization
string
header
required

An organization API key (obs_pub_…) sent as Authorization: Bearer <key>. Each key carries scopes; an endpoint lists the scope it needs.

Query Parameters

dryRun
boolean
default:false

Plan only: return the diff and change nothing. dry_run is accepted too.

prune
boolean
default:false

Also delete config-managed objects that the document no longer names.

Body

The ConfigDocument as YAML.

Response

Applied, or planned when dryRun is set. warnings is always present (empty when there is nothing to report); each entry is { path, message }: ignored top-level keys, and agent-run metrics that name no agent.

dry_run
boolean
pruned
boolean
summary
object
diff
object

Per bucket, one entry per object the document names (and, with prune, each pruned object).

warnings
object[]