Text Asset Search

Query for events related to text assets in the BrandGuard platform

Specification

Endpoint: /bg/text/{bid:uuid}/

Method: GET

URL Parameters:  bid: uuid

Request Type: {

     query string

     offset uuid

     queues []uuid

     uploaded_by []uuid

     limit integer

}

Response Type: {

     items [ ] {

         media {

              id uuid

             account_id uuid

             brand_id uuid

             uploaded_by uuid

             md5 uuid

             mimetype string

             mimetype_md5 uuid

             created_at ISO8601

             updated_at ISO8601

             tombstoned_at ISO8601

             scored_at ISO8601

             description string

         }

         event {

             id uuid

             account_id uuid

             brand_id uuid

             approved integer,

             observation integer,

             queue uuid

             confidence float

             onbrand float

             grammar float

             profanity float

             racism float

             text_tone_and_voice float

         }

     }

     next {

         offset integer

         queues []uuid

         uploaded_by []uuid

         brand_id uuid

         created {

             start_date ISO8601

             end_date ISO8601

         }

         limit integer

         observation []integer

         approved []integer

         confidence {

             min float

             max float

         }

     }

}

Sample Request: curl -X GET https://api.novacloud.ai/bg/text/00000000-0000-0000-0000-000000000000/

Sample Response: {

     items": [

         {

             "media": {

                 "id": "00000000-0000-0000-0000-000000000000",

                 "account_id": "00000000-0000-0000-0000-000000000000",

                 "brand_id": "00000000-0000-0000-0000-000000000000",

                 "uploaded_by": "00000000-0000-0000-0000-000000000000",

                  "md5": "00000000-0000-0000-0000-000000000000",

                 "mimetype": "image/png",

                 "mimetype_md5": "00000000-0000-0000-0000-000000000000",

                 "created_at": "2023-10-16T00:00:00Z",

                 "updated_at": "2023-10-16T00:00:00Z",

                 "tombstoned_at": "2023-10-16T00:00:00Z",

                 "scored_at": "2023-10-16T00:00:00Z",

                 "description": "description"

             },

             "event": {

                 "id": "00000000-0000-0000-0000-000000000000",

                 "account_id": "00000000-0000-0000-0000-000000000000",

                 "brand_id": "00000000-0000-0000-0000-000000000000",

                 "approved": 0,

                 "observation": 0,

                 "queue": "00000000-0000-0000-0000-000000000000",

                 "confidence": 0.0,

                 "onbrand": 0.0,

                 "grammar": 0.0,

                 "profanity": 0.0,

                 "racism": 0.0,

                 "text_tone_and_voice": 0.0

             }

         }

     ],

     "next": {

         "offset": 0,

         "queues": ["00000000-0000-0000-0000-000000000000"],

         "uploaded_by": ["00000000-0000-0000-0000-000000000000"],

         "brand_id": "00000000-0000-0000-0000-000000000000",

         "created": {

             "start_date": "2023-10-16T00:00:00Z",

             "end_date": "2023-10-16T00:00:00Z"

         },

         "limit": 0,

         "observation": [],

         "approved": [],

         "confidence": {

             "min": 0.0,

             "max": 0.0

         }

     }

}