Skip to main content
POST
Enrich known entities

Authorizations

Authorization
string
header
required

Send your workspace API key as a bearer token:

Keys are scoped to a single workspace. See Authentication.

Headers

Idempotency-Key
string

A unique key, at most 255 characters. Retrying with the same key returns the original response instead of doing the work twice. Keys are retained for 24 hours.

Body

application/json
inputs
object[]
required
Required array length: 1 - 100 elements
fields
string[]

Dot-paths to return, for example metrics.revenue. Omit to return the full record. Narrowing the field set lowers the credit cost.

period
object

The window a metric is measured over. Supply either preset, or both start and end. Periods are whole days in the market's local time zone.

Examples:
currency
string
default:USD

Response

Enrichment results, in the order the inputs were sent.

object
string
Allowed value: "enrich_response"
data
object[]
period
object

The concrete window a request was measured over, after any preset was expanded and any channel-specific snapping was applied. Always read this rather than assuming you got back exactly the dates you asked for.

currency
string
credits_charged
integer