---
title: "Create an Auto YARA job"
method: POST
path: "/v1/auto-yara/jobs"
tags: ["Auto Yara"]
---

# Create an Auto YARA job

`POST /v1/auto-yara/jobs`

Generate YARA detection rules by analyzing common byte patterns across malware samples.

## Request body

- CreateYaraJobRequest — Request to create an Auto YARA rule generation job from malware sample hashes.
  - `hashes` string[], required — A list of up to 100 SHA-256 hash values used to identify common hexadecimal patterns for YARA rules.
  - `name` string, required — The name of the Auto YARA job.
  - `query` string — The query that was used to find the initial hashes.

## Response `200`

Successful Response

- CreateJobResponse — Response confirming creation of a rule generation job with its assigned ID.
  - `job_id` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Page not found

---

[API](https://skmtc.net/recordedfuture/apis/alert-api.md) · [All operations](https://skmtc.net/recordedfuture/apis/alert-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/recordedfuture/alert-api/revisions/c8c2f68d8b60/schema)
