For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dataset

Create a Segment catalog dataset from your datamart

POST https://api.mediarithmics.com/v1/datasets?bunker_id={{bunker_id}}

Body parameters

Name
Type
Description

organisation_id

string

ID of the organisation attached to the bunker

datamart_id

string

ID of the datamart attached to the bunker

bunker_id

string

ID of the bunker in which to create the dataset

name

string

Name of the dataset

description

string

Description of the dataset

label_ids

array of strings

All segments linked to at least one of the provided labels will be added in the dataset

expiration_ts

integer

Expiration timestamp of the dataset in ms

Body example

{
  "dataset":{
    "source":"DATAMART",
    "type":"SEGMENT_CATALOG",
    "organisation_id":"1912",
    "datamart_id": "1996",
    "bunker_id":"110",
    "name":"Insights catalog",
    "description":"Catalog for insights generation",
    "label_ids": ["1263","1264"],
    "expiration_ts":1806157679000
  }
}  

Response

Last updated

Was this helpful?