Starts a generation from a public link, a CVE ID, a threat name, report text or a file. The request is checked at once;
the validation and the build run in the background, so poll the Location of the 202. A replay with the same
Idempotency-Key answers 200 with the first generation.
Errors, in the order of the checks: 401 when the access token is missing, expired, invalid or revoked; 429 over 25
requests a minute for the account and token; 403 when the token has no write:threat_library:ai_threat_builder scope
or the deployment is not the cloud; 401 without the SCV licence, and 402 in its grace period; 413 for a file over
10,485,760 bytes; 422 for an invalid field, named in errors with its code (required_without, max, max_links,
url_not_allowed, multiple_cves, oneof, auto_save_false, boolean, extension or format); 403 when the token creator
is no longer active in the account; 402 without the AI Threat Builder entitlement; 403 when the token creator cannot
create custom threats; 409 with error_code 4050 (a request
with this key is in progress) or 4048 (the key was used with another request); 429 with error_code 4047 (monthly
threat limit), 4049 (monthly chat limit) or 4046 (3 generations still running).
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||