Skip to content

Model Data Decode

Request

Get Model details

Security
oauth2
Path
model_idstringrequired

model ID

namespacestringrequired

namespace

curl -i -X GET \
  'https://api.byoa.mediamath.com/data/decode/{namespace}/models/{model_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The Features (under Data under data) in the example below have been extremely abbreviated for easier readability. GoalType (under Data) is case-insensitive.

Bodyapplication/json
dataobject
metaobject
Response
{ "data": { "brain_type_id": 3, "created_on": "2019-06-04T19:10:37.951112Z", "Data": [ … ], "model_id": "aggregate_2", "Namespace": "100667", "updated_on": "2019-08-17T16:13:35.445614Z" }, "meta": { "status": "success" } }