API Documentation
...
<POST> Model Analysis
Text
Text Classification
3min
the below parameters are for text classification attack types to know more about the different attack input parameters see text classification docid\ smr1eb77saocryzljw07j the values presented below are examples used in the reference implementation it is important to customize these values to achieve the best performance for your particular model extraction { "use model api" "no", "model api details" "no", "number of classes" "2", "attack type" "blackbox", "input dimensions" "100", "number of attack queries" "20000", "model framework" "tensorflow", "vulnerability threshold" "0", "defense best only" "no", "encryption strategy" = "1" } note in the response, copy job id this value is required to trigger the get apis see \<get> job metadata docid\ s mz7r0hnzicdqy6q 6hq the "job id" is used to retrieve model analysis metadata and check the processing status of the request it is also used for generating reports for the analyzed model copy the dashboard link from the response and open it in a new tab this allows users to monitor the job progress and download reports for using nodejs sample code, install npm package request given ample code for python is tested for python version 3 7 given sample code for nodejs and javascript is tested for node v20lts