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

Dashboards

Operations related to Dashboards for visualizing and monitoring platform metrics, campaign performance, and audience analytics. Supports custom dashboard creation with OTQL queries, multiple visualization types (metrics, charts, tables), data transformations. Dashboards can be attached to segments for dynamic audience insights during segment building.

Search dashboard charts

get
/charts
Query parameters
organisation_idinteger · int64Required
titlestringOptional

Chart title (or a part of title)

typestringOptional

Chart type

archivedbooleanOptional

If true the result will contain only archived charts

order_bystring[]Optional

Fields used to order the result

first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
get/charts
GET /v1/charts?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "total": 1,
  "first_result": 1,
  "data": [
    {
      "type": "text",
      "created_by": "text",
      "content": "text",
      "id": "text",
      "created_ts": 0,
      "title": "text",
      "last_modified_ts": 0,
      "organisation_id": "text",
      "last_modified_by": "text",
      "archived": false
    }
  ],
  "status": "ok",
  "count": 1
}

Create dashboard chart

post
/charts
Body
typestringRequired
created_bystringRead-onlyRequired
contentstringRequired
idstringRead-onlyRequired
created_tsinteger · int64Read-onlyRequiredDefault: 0
titlestringRequired
last_modified_tsinteger · int64Read-onlyOptionalDefault: 0
organisation_idstringRequired
last_modified_bystringRead-onlyOptional
archivedbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/charts
POST /v1/charts HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 89

{
  "type": "text",
  "content": "text",
  "title": "text",
  "organisation_id": "text",
  "archived": false
}
{
  "status": "ok",
  "data": {
    "type": "text",
    "created_by": "text",
    "content": "text",
    "id": "text",
    "created_ts": 0,
    "title": "text",
    "last_modified_ts": 0,
    "organisation_id": "text",
    "last_modified_by": "text",
    "archived": false
  }
}

Search dashboard contents

get
/dashboards/{dashboard_registration_id}/contents
Path parameters
dashboard_registration_idstringRequired
Query parameters
organisation_idinteger · int64Required
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
countintegerRequired
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
get/dashboards/{dashboard_registration_id}/contents
GET /v1/dashboards/{dashboard_registration_id}/contents?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "max_results": 1,
  "total": 1,
  "first_result": 1,
  "status": "ok",
  "data": [
    {
      "id": "text",
      "created_ts": 0,
      "created_by": "text",
      "dashboard_registration_id": "text",
      "content": "text",
      "organisation_id": "text"
    }
  ]
}

Search dashboard registrations

get
/dashboards
Query parameters
organisation_idinteger · int64Optional
community_idinteger · int64Optional
is_communitybooleanOptionalDeprecated

Deprecated, interpret the organisation id as a community id

archivedbooleanOptional

If true the result will contain only archived dashboards

first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
first_resultintegerRequired
max_resultsintegerRequired
countintegerRequired
totalintegerRequired
statusstring · enumRequiredPossible values:
get/dashboards
GET /v1/dashboards HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "max_results": 1,
  "count": 1,
  "data": [
    {
      "builder_ids": [
        "text"
      ],
      "last_modified_ts": 0,
      "archived": false,
      "organisation_id": "text",
      "scopes": [
        "text"
      ],
      "created_ts": 0,
      "segment_ids": [
        "text"
      ],
      "dashboard_content_id": "text",
      "last_modified_by": "text",
      "title": "text",
      "id": "text",
      "community_id": "text",
      "created_by": "text"
    }
  ],
  "total": 1,
  "status": "ok"
}

Create dashboard registration

post
/dashboards
Body
builder_idsstring[]Required
last_modified_tsinteger · int64Read-onlyOptionalDefault: 0
archivedbooleanRequiredDefault: false
organisation_idstringRead-onlyRequired
scopesstring[]Required
created_tsinteger · int64Read-onlyRequiredDefault: 0
segment_idsstring[]Required
dashboard_content_idstringOptional
last_modified_bystringRead-onlyOptional
titlestringRequired
idstringRead-onlyRequired
community_idstringRead-onlyRequired
created_bystringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/dashboards
POST /v1/dashboards HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 127

{
  "builder_ids": [
    "text"
  ],
  "archived": false,
  "scopes": [
    "text"
  ],
  "segment_ids": [
    "text"
  ],
  "dashboard_content_id": "text",
  "title": "text"
}
{
  "status": "ok",
  "data": {
    "builder_ids": [
      "text"
    ],
    "last_modified_ts": 0,
    "archived": false,
    "organisation_id": "text",
    "scopes": [
      "text"
    ],
    "created_ts": 0,
    "segment_ids": [
      "text"
    ],
    "dashboard_content_id": "text",
    "last_modified_by": "text",
    "title": "text",
    "id": "text",
    "community_id": "text",
    "created_by": "text"
  }
}

Get dashboard chart by id

get
/charts/{id}
Path parameters
idstringRequired
Query parameters
organisation_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/charts/{id}
GET /v1/charts/{id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "type": "text",
    "created_by": "text",
    "content": "text",
    "id": "text",
    "created_ts": 0,
    "title": "text",
    "last_modified_ts": 0,
    "organisation_id": "text",
    "last_modified_by": "text",
    "archived": false
  }
}

Update dashboard chart

put
/charts/{id}
Path parameters
idstringRequired
Body
typestringRequired
created_bystringRead-onlyRequired
contentstringRequired
idstringRead-onlyRequired
created_tsinteger · int64Read-onlyRequiredDefault: 0
titlestringRequired
last_modified_tsinteger · int64Read-onlyOptionalDefault: 0
organisation_idstringRequired
last_modified_bystringRead-onlyOptional
archivedbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/charts/{id}
PUT /v1/charts/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 89

{
  "type": "text",
  "content": "text",
  "title": "text",
  "organisation_id": "text",
  "archived": false
}
{
  "status": "ok",
  "data": {
    "type": "text",
    "created_by": "text",
    "content": "text",
    "id": "text",
    "created_ts": 0,
    "title": "text",
    "last_modified_ts": 0,
    "organisation_id": "text",
    "last_modified_by": "text",
    "archived": false
  }
}

Delete dashboard chart

delete
/charts/{id}
Path parameters
idstringRequired
Query parameters
organisation_idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/charts/{id}
DELETE /v1/charts/{id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get dashboard registration by id

get
/dashboards/{id}
Path parameters
idstringRequired
Query parameters
organisation_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/dashboards/{id}
GET /v1/dashboards/{id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "builder_ids": [
      "text"
    ],
    "last_modified_ts": 0,
    "archived": false,
    "organisation_id": "text",
    "scopes": [
      "text"
    ],
    "created_ts": 0,
    "segment_ids": [
      "text"
    ],
    "dashboard_content_id": "text",
    "last_modified_by": "text",
    "title": "text",
    "id": "text",
    "community_id": "text",
    "created_by": "text"
  }
}

Update dashboard registration

put
/dashboards/{id}
Path parameters
idstringRequired
Body
builder_idsstring[]Required
last_modified_tsinteger · int64Read-onlyOptionalDefault: 0
archivedbooleanRequiredDefault: false
organisation_idstringRead-onlyRequired
scopesstring[]Required
created_tsinteger · int64Read-onlyRequiredDefault: 0
segment_idsstring[]Required
dashboard_content_idstringOptional
last_modified_bystringRead-onlyOptional
titlestringRequired
idstringRead-onlyRequired
community_idstringRead-onlyRequired
created_bystringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/dashboards/{id}
PUT /v1/dashboards/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 127

{
  "builder_ids": [
    "text"
  ],
  "archived": false,
  "scopes": [
    "text"
  ],
  "segment_ids": [
    "text"
  ],
  "dashboard_content_id": "text",
  "title": "text"
}
{
  "status": "ok",
  "data": {
    "builder_ids": [
      "text"
    ],
    "last_modified_ts": 0,
    "archived": false,
    "organisation_id": "text",
    "scopes": [
      "text"
    ],
    "created_ts": 0,
    "segment_ids": [
      "text"
    ],
    "dashboard_content_id": "text",
    "last_modified_by": "text",
    "title": "text",
    "id": "text",
    "community_id": "text",
    "created_by": "text"
  }
}

Delete dashboard registration

delete
/dashboards/{id}
Path parameters
idstringRequired
Query parameters
organisation_idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/dashboards/{id}
DELETE /v1/dashboards/{id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Get dashboard content

get
/dashboards/{dashboard_registration_id}/content
Path parameters
dashboard_registration_idstringRequired
Query parameters
organisation_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/dashboards/{dashboard_registration_id}/content
GET /v1/dashboards/{dashboard_registration_id}/content?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "created_ts": 0,
    "created_by": "text",
    "dashboard_registration_id": "text",
    "content": "text",
    "organisation_id": "text"
  }
}

Create dashboard content

put
/dashboards/{dashboard_registration_id}/content
Path parameters
dashboard_registration_idstringRequired
Body
object · CustomizableContentResourceOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/dashboards/{dashboard_registration_id}/content
PUT /v1/dashboards/{dashboard_registration_id}/content HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "status": "ok",
  "data": {
    "id": "text",
    "created_ts": 0,
    "created_by": "text",
    "dashboard_registration_id": "text",
    "content": "text",
    "organisation_id": "text"
  }
}

Last updated

Was this helpful?