Discussions

Ask a Question

Reporting + alerting

Hi, is that possible to have data reporting like each month or the data are only available from the dashboard ? Other question, is that possible to set alerts ? (ex : +500 comments within 10 minutes, or high percentage of hateful message) Thx you

Dashboard中用户是哪来的

Dashboard中用户是哪来的

image upload API failing

Dear people, How do you use the image upload in the visual content moderation API? I mean uploading the data, not publicly hosting it and uploading the URL. I tried to generate a request via the API docs: https://docs.thehive.ai/reference/post_v2-task-sync I've downloaded the 1x1 pixel (https://en.wikipedia.org/wiki/File:1x1.png) and uploaded it via the option "media stream". This generates the following requests on the docs page: ---------- curl --request POST \ --url https://api.thehive.ai/api/v2/task/sync \ --header 'Authorization: Token {MY_API_TOKEN}' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "image": "data:image/png;name=1x1.png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=" } ' ---------- However, executing the request results in the following error: ---------- { "return_code": 400, "message": "Expected input to be an object, received: data:image/png;name=1x1.png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII= - context: [\"image\"]" } ---------- What is the proper way of using this image upload API? (And could you maybe fix the docs page?) Thanks in advance!
ANSWERED

localhost cross origin issue [CORS]

Is there a way that we can request from localhost?
ANSWERED

how to verify the POST-request(callback) comes from TheHive

My question related to this section: https://docs.thehive.ai/reference/submit-a-task-asynchronously How can we verify that the request received to our callback endpoint is coming from the Hive?
ANSWERED

Report an incident

How do I report an incident? I am facing a problem in production with your API domain (the DNS is routing requests to https://api.thehive.ai/api/v2/task/sync to a down IP, 199.83.232.127:443).

monitoring

Where i can find monitoring from hive API ?

How to setup a project?

Hello, I am struggling to create and set up a project in the dashboard. I have created a project. In the first step "settings" under the general tab, I have filled all the required fields. Then I moved to the classes tab. I have added two classes and when I click save, I am receiving "2 label groups approve / reject should be present" message. What should I do?
ANSWERED

Support brazilian portuguese?

About text moderation, is there support for Brazilian Portuguese? In supported languages (https://docs.thehive.ai/docs/classification-text#supported-languages), the portuguese language does not have all the matches. Example promotions and spam, and please what means '22 Q1? Sexual Violence Hate Bullying Promotions Spam Pattern Match '22 Q1 Pattern Match '22 Q1 - - Thanks!
ANSWERED

False positives on short text

Hey there. We're submitting text reviews but are noticing that on short strings (~5 words or less), it sometimes responds with potential profanity (ie. "Joe Dick" returns profanity on the word "Dick"). At first glance, it makes sense, but it is there a recommended minimum amount of words within a string to avoid false positives?