Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-key
string

A header for idempotency purposes

Path Parameters

targetEnvironmentId
string
required

Target environment ID (MongoDB ObjectId) to compare against

Body

application/json

Diff request configuration

sourceEnvironmentId
string

Source environment ID to compare from. Defaults to the Development environment if not provided.

Example:

"507f1f77bcf86cd799439011"

Response

OK

sourceEnvironmentId
string
required

Source environment ID

targetEnvironmentId
string
required

Target environment ID

resources
object[]
required

Diff resources by resource type

summary
object
required

Overall summary