Skip to main content
POST

Authorizations

optimaze-api-key
string
header
required

Raw Optimaze API key (format omz_...). Created in the dashboard with the required scopes.

optimaze-org-id
string
header
required

Optimaze organisation ID for the integration.

Body

application/json
metric_id
string
required

Customer metric ID defined in the Optimaze dashboard.

data
object[]
required
Minimum array length: 1
source
string

Originating system identifier. Defaults to ingest-api when omitted.

sample_rate
number

Sampling rate between 0 and 1. Defaults to 1.0.

Required range: 0 <= x <= 1

Response

Datapoints accepted and queued for processing