<GET> Job Metadata
2 min
Get api/ais/v1.5/job_detail
Job metadata
The Job Status API allows you to fetch metadata for a given job ID.
GET
https://api.aws.boschaishield.com/prod/api/ais/v1.5/job_detail
import requests
jobID = "<< Enter Job ID >>"
url = "https://api.aws.boschaishield.com/prod/api/ais/v1.5/job_detail?job_id="+jobID+""
payload = {}
headers = {
'x-api-key': '########################################',
'Org-Id': '####################################################################################################'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)job_id To get the Job meta data, enter the job id you recevied during model analysis.
For example, response for image classification job meta data contains e.g., attack type, encryption strategy, Input dimensions, model information, data normalization, number of attack queries, vulnerability threshold, etc.
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