Update or create a sampling rule by origin or ID

Updates an existing sampling rule or creates a new one if it doesn't exist. Useful for Infrastructure-as-Code workflows.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Sampling rule origin or UUID

Query Params
string

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Body Params
string
enum
required
Allowed:
metadata
object
required
spec
object
required
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json