<POST> Generate Model ID
1 min
The Generate Model ID API is used to create a unique model ID and generate a presigned URL for uploading a file. The model ID acts as an identifier for the Supply Chain Analysis when repo_type is set to "file".
generate_model_id
This API generates a unique model ID and provides a presigned URL for uploading a model file, which is required for Supply Chain Analysis when repo_type="file".
POST
https://api.aws.boschaishield.com/prod/api/ais/v1.5/generate_model_id
import requests
url = "https://api.aws.boschaishield.com/prod/api/ais/v1.5/generate_model_id"
payload = {}
headers = {
'x-api-key': 'string',
'Org-Id': 'string'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)