Skip to main content
POST
Create Workspace Data Definition Tag
Closed Beta
Available to a limited set of invited customers. Contact your account team to join. The request and response contract may change before general availability (GA).

Authorizations

Authorization
string
header
required

This endpoint uses Service Account authentication.

Headers

Mixpanel-Version
string
default:2026-08-13

Optional date-based API version pin.

If omitted, the request is served by the latest API version, and the caller accepts that a future release may introduce a breaking change to the response contract. If set to a supported version date, that version's contract is honored and will not receive a breaking change.

Idempotency-Key
string

Optional, client-provided key guaranteeing the operation is idempotent on success: if a request is replayed, the response includes Idempotent-Replayed: true.

Reusing a key with a different request body, or while a request with the same key is still in flight, returns a 409.

Use a unique, random value for each request (a UUID v4 works well).

Maximum string length: 255

Path Parameters

workspace_id
string
required

The unique identifier for the workspace.

Body

application/json
name
string
required

The tag's name. Unique within the project.

Required string length: 1 - 175

Response

Created

id
string
required

The tag's ID.

name
string
required

The tag's name.

entity_count
integer
required

The number of definitions carrying the tag.