Start an AI Threat Generation
Initiates an AI-powered threat generation using one of the following input types:
- Public URL
- CVE ID
- Threat name
- Malware name
- Report file
Request Processing
The initial request checks are performed synchronously. Input validation and threat generation are processed asynchronously in the background.
Upon successful acceptance, the API returns 202 Accepted with a Location header. Poll the URL provided in this header to track the generation status and retrieve the result.
Idempotency
Resubmitting an identical request with the same Idempotency-Key returns 200 OK with the original generation rather than creating a new one.
If the original request is still being processed or the key has already been used with a different request, the API returns 409 Conflict.
Field-Level Validation Errors (422)
When the API returns 422 Unprocessable Entity, the errors object identifies the invalid fields and their corresponding validation codes.
| Validation Code | Description |
|---|---|
required_without | A required field is missing when an alternative field is not provided. |
max | The field exceeds its maximum allowed value or length. |
max_links | The maximum number of allowed links has been exceeded. |
url_not_allowed | The provided URL is not allowed. |
multiple_cves | Multiple CVE IDs are not supported in a single request. |
oneof | The provided value is not among the supported options. |
auto_save_false | The auto-save value must not be false. |
boolean | The field must contain a valid boolean value. |
extension | The uploaded file has an unsupported extension. |
format | The provided value does not match the expected format. |
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||