v2

latestOpenAPI 3.0.02026-08-073221853.1 MB
Experiments
Experiments (Warehouse Native)

Post Entity Property Source

post/console/v1/experiments/entity_property/{name}

Path parameters

namestring required

name

Request body

namestring

Optional new name for the entity property source.

descriptionstring

Optional updated context for the entity property source.

tagsstring[]

Optional updated tags for categorization.

sqlstring required

SQL query defining the data source.

timestampColumnstring

Optional column name for timestamp.

timestampAsDayboolean

Indicates if the timestamp is treated as a day.

isReadOnlyboolean

Specifies if the source can only be edited via the Console API.

teamstring nullable

Optional field indicating the team name responsible for the entity property source, aiding in accountability and management.

teamIDstring nullable

Optional field indicating the team ID responsible for the entity property source, aiding in accountability and management.

dryRunboolean

Skips persisting the entity property source (used to validate that inputs are correct)

Response

Post Entity Property Source response

messagestring required

A simple string explaining the result of the operation.

Example response

{
  "message": "Entity Property Sources updated successfully.",
  "data": {
    "name": "Location",
    "description": "This is the the location description",
    "tags": [],
    "sql": "SELECT * FROM  shoppy-sales.setup.user_properties",
    "timestampColumn": "",
    "idTypeMapping": [
      {
        "statsigUnitID": "stableID",
        "column": "user_id"
      }
    ],
    "timestampAsDay": true
  }
}