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

Experiment Criteria

Operations related to Experiment Criteria for defining test parameters and success metrics in experimentation frameworks.

Search for experiments criteria in a datamart

get
/datamarts/{datamart_id}/experiments/criteria
Path parameters
datamart_idinteger · int64Required

The Datamart id from which to get the representativeness criteria

Query parameters
archivedbooleanOptional

If true the result will contain only archived experiments criteria

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
statusstring · enumRequiredPossible values:
totalintegerRequired
countintegerRequired
get/datamarts/{datamart_id}/experiments/criteria
GET /v1/datamarts/{datamart_id}/experiments/criteria HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "max_results": 1,
  "data": [
    {
      "created_ts": 0,
      "last_modified_ts": 0,
      "datamart_id": "text",
      "last_modified_by": "text",
      "query_id": "text",
      "created_by": "text",
      "archived": false,
      "archived_ts": 0,
      "id": "text",
      "name": "text",
      "archived_by": "text"
    }
  ],
  "status": "ok",
  "total": 1,
  "count": 1
}

Create a representativeness criterion in a datamart

post
/datamarts/{datamart_id}/experiments/criteria
Path parameters
datamart_idinteger · int64Required

The Datamart id from which to get the representativeness criteria

Body
created_tsinteger · int64Read-onlyRequiredDefault: 0
last_modified_tsinteger · int64Read-onlyRequiredDefault: 0
datamart_idstringRequired
last_modified_bystringRead-onlyRequired
query_idstringRequired
created_bystringRead-onlyRequired
archivedbooleanRead-onlyRequiredDefault: false
archived_tsinteger · int64Read-onlyOptionalDefault: 0
idstringRead-onlyRequired
namestringRequired
archived_bystringRead-onlyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/datamarts/{datamart_id}/experiments/criteria
POST /v1/datamarts/{datamart_id}/experiments/criteria HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "datamart_id": "text",
  "query_id": "text",
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "created_ts": 0,
    "last_modified_ts": 0,
    "datamart_id": "text",
    "last_modified_by": "text",
    "query_id": "text",
    "created_by": "text",
    "archived": false,
    "archived_ts": 0,
    "id": "text",
    "name": "text",
    "archived_by": "text"
  }
}

Last updated

Was this helpful?