> For the complete documentation index, see [llms.txt](https://doc-api.blurit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc-api.blurit.io/api-v2/using-the-api-v2/api-documentation/blur-it-api-v2-jobs.md).

# Blur It API V2 Jobs

## Anonymize a small image synchronously

> One image of at most 20 MB. Waits up to 30 seconds and returns the finished job in data. Video, ZIP, and larger images must use POST /jobs. If this returns 502, the job was accepted: poll GET /jobs/{id}.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2JobEnvelopeDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string","description":"Request path, including the query string when present."},"requestId":{"type":"string","description":"Present when the server assigned a request id."},"data":{"$ref":"#/components/schemas/ApiV2JobDto"}},"required":["timestamp","path","data"]},"ApiV2JobDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["image","video","batch"]},"status":{"type":"string","enum":["queued","processing","succeeded","failed"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"retryAfter":{"type":"number","description":"Seconds to wait before polling again. Absent once the job is terminal."},"input":{"$ref":"#/components/schemas/ApiV2JobInputDto"},"options":{"$ref":"#/components/schemas/ApiV2JobOptionsDto"},"result":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobResultDto"}]},"error":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobErrorDto"}]},"billing":{"$ref":"#/components/schemas/ApiV2JobBillingDto"},"metadata":{"nullable":true,"description":"Caller-supplied JSON echoed back verbatim. Any JSON value: object, array, string, number, boolean, or null.","oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{}},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["id","type","status","createdAt","updatedAt","input","options","billing"]},"ApiV2JobInputDto":{"type":"object","properties":{"filename":{"type":"string"},"sizeBytes":{"type":"number"},"contentType":{"type":"string"}},"required":["filename","sizeBytes","contentType"]},"ApiV2JobOptionsDto":{"type":"object","properties":{"faces":{"type":"boolean"},"plates":{"type":"boolean"},"style":{"$ref":"#/components/schemas/ApiV2JobStyleDto"},"regionOfInterest":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2RegionDto"}]},"keepAudio":{"type":"boolean"},"generateJsonDetections":{"type":"boolean","description":"When true, GET /jobs/{id}/detections is available after success."}},"required":["faces","plates","style","keepAudio","generateJsonDetections"]},"ApiV2JobStyleDto":{"type":"object","properties":{"type":{"type":"string","enum":["blur","pixelate","opaque"]},"intensity":{"type":"number","minimum":1,"maximum":10,"description":"Present when type is blur."},"pixels":{"type":"number","minimum":2,"maximum":10,"description":"Present when type is pixelate."},"color":{"type":"string","description":"Present when type is opaque. #RRGGBB."}},"required":["type"]},"ApiV2RegionDto":{"type":"object","properties":{"top":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."},"left":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"right":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"bottom":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."}},"required":["top","left","right","bottom"]},"ApiV2JobResultDto":{"type":"object","properties":{"retainedUntil":{"type":"string","format":"date-time","description":"When the result (and detections, if any) will be purged. Present only when status is succeeded. Download via GET /jobs/{id}/result using this job's id — the JSON never embeds URLs or paths."}},"required":["retainedUntil"]},"ApiV2JobErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ApiV2JobBillingDto":{"type":"object","properties":{"method":{"type":"string","enum":["credits","usage","trial"]},"creditsCharged":{"type":"number"}},"required":["method"]},"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs/sync":{"post":{"operationId":"ApiV2JobsController_createSync","summary":"Anonymize a small image synchronously","description":"One image of at most 20 MB. Waits up to 30 seconds and returns the finished job in data. Video, ZIP, and larger images must use POST /jobs. If this returns 502, the job was accepted: poll GET /jobs/{id}.","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"One image, at most 20 MB. Video and ZIP are rejected. The part name must be file."},"faces":{"type":"string","enum":["true","false"],"default":"true","description":"Text boolean. Default true. Blur faces."},"plates":{"type":"string","enum":["true","false"],"default":"true","description":"Text boolean. Default true. Blur license plates."},"style":{"type":"string","description":"JSON object serialized as text. {\"type\":\"blur\",\"intensity\":1} (intensity 1-10), {\"type\":\"pixelate\",\"pixels\":7} (pixels 2-10), or {\"type\":\"opaque\",\"color\":\"#000000\"}."},"regionOfInterest":{"type":"string","description":"JSON object {\"top\",\"left\",\"right\",\"bottom\"} with each value from 0 to 1, or omit the field. Sent as text."},"keepAudio":{"type":"string","enum":["true","false"],"default":"false","description":"Text boolean. Default false. Applies to video."},"generateJsonDetections":{"type":"string","enum":["true","false"],"default":"false","description":"Text boolean. Default false. When true, GET /jobs/{id}/detections is available after success."},"metadata":{"type":"string","description":"Any JSON value, serialized as text. Echoed back on the job as parsed JSON."}}}}}},"responses":{"200":{"description":"Finished job. Read it from data. status is succeeded or failed.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2JobEnvelopeDto"}}}},"400":{"description":"Missing file, invalid style, or neither faces nor plates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"402":{"description":"Not enough credits, or the payment method is missing or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"403":{"description":"Trial limit reached, or the anonymization service is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"413":{"description":"Image larger than 20 MB. Use POST /jobs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"415":{"description":"Not an image, or a media type this account does not accept. details.supportedFormats lists the accepted types.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"502":{"description":"The image was accepted but did not finish within 30 seconds. Poll GET /jobs/{id} using details.jobId.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## List jobs

> All jobs for the account, including those created from the Manager or API v1. Soft-deleted jobs are omitted. Ordered by createdAt descending. Page starts at 1, pageSize defaults to 20 and cannot exceed 100.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2JobListEnvelopeDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string","description":"Request path, including the query string when present."},"requestId":{"type":"string","description":"Present when the server assigned a request id."},"data":{"$ref":"#/components/schemas/ApiV2JobListDto"}},"required":["timestamp","path","data"]},"ApiV2JobListDto":{"type":"object","properties":{"elements":{"type":"array","items":{"$ref":"#/components/schemas/ApiV2JobDto"}},"meta":{"$ref":"#/components/schemas/ApiV2PaginationMetaDto"}},"required":["elements","meta"]},"ApiV2JobDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["image","video","batch"]},"status":{"type":"string","enum":["queued","processing","succeeded","failed"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"retryAfter":{"type":"number","description":"Seconds to wait before polling again. Absent once the job is terminal."},"input":{"$ref":"#/components/schemas/ApiV2JobInputDto"},"options":{"$ref":"#/components/schemas/ApiV2JobOptionsDto"},"result":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobResultDto"}]},"error":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobErrorDto"}]},"billing":{"$ref":"#/components/schemas/ApiV2JobBillingDto"},"metadata":{"nullable":true,"description":"Caller-supplied JSON echoed back verbatim. Any JSON value: object, array, string, number, boolean, or null.","oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{}},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["id","type","status","createdAt","updatedAt","input","options","billing"]},"ApiV2JobInputDto":{"type":"object","properties":{"filename":{"type":"string"},"sizeBytes":{"type":"number"},"contentType":{"type":"string"}},"required":["filename","sizeBytes","contentType"]},"ApiV2JobOptionsDto":{"type":"object","properties":{"faces":{"type":"boolean"},"plates":{"type":"boolean"},"style":{"$ref":"#/components/schemas/ApiV2JobStyleDto"},"regionOfInterest":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2RegionDto"}]},"keepAudio":{"type":"boolean"},"generateJsonDetections":{"type":"boolean","description":"When true, GET /jobs/{id}/detections is available after success."}},"required":["faces","plates","style","keepAudio","generateJsonDetections"]},"ApiV2JobStyleDto":{"type":"object","properties":{"type":{"type":"string","enum":["blur","pixelate","opaque"]},"intensity":{"type":"number","minimum":1,"maximum":10,"description":"Present when type is blur."},"pixels":{"type":"number","minimum":2,"maximum":10,"description":"Present when type is pixelate."},"color":{"type":"string","description":"Present when type is opaque. #RRGGBB."}},"required":["type"]},"ApiV2RegionDto":{"type":"object","properties":{"top":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."},"left":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"right":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"bottom":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."}},"required":["top","left","right","bottom"]},"ApiV2JobResultDto":{"type":"object","properties":{"retainedUntil":{"type":"string","format":"date-time","description":"When the result (and detections, if any) will be purged. Present only when status is succeeded. Download via GET /jobs/{id}/result using this job's id — the JSON never embeds URLs or paths."}},"required":["retainedUntil"]},"ApiV2JobErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ApiV2JobBillingDto":{"type":"object","properties":{"method":{"type":"string","enum":["credits","usage","trial"]},"creditsCharged":{"type":"number"}},"required":["method"]},"ApiV2PaginationMetaDto":{"type":"object","properties":{"page":{"type":"number"},"pageSize":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["page","pageSize","total","totalPages"]},"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs":{"get":{"operationId":"ApiV2JobsController_list","summary":"List jobs","description":"All jobs for the account, including those created from the Manager or API v1. Soft-deleted jobs are omitted. Ordered by createdAt descending. Page starts at 1, pageSize defaults to 20 and cannot exceed 100.","parameters":[{"name":"status","required":false,"in":"query","schema":{"enum":["queued","processing","succeeded","failed"],"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["image","video","batch"],"type":"string"}},{"name":"createdAfter","required":false,"in":"query","description":"ISO-8601 date-time. Inclusive lower bound on createdAt.","schema":{"type":"string","format":"date-time"}},{"name":"createdBefore","required":false,"in":"query","description":"ISO-8601 date-time. Inclusive upper bound on createdAt.","schema":{"type":"string","format":"date-time"}},{"name":"page","required":false,"in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","required":false,"in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Page of jobs inside data.elements, with data.meta.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2JobListEnvelopeDto"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## Create an anonymization job

> Returns 202 with the queued job in data. Use data.id to poll GET /jobs/{id}: wait retryAfter seconds (and the Retry-After header) while status is queued or processing. Stop when status is succeeded or failed. Download only after succeeded via GET /jobs/{id}/result — responses never embed URLs or paths.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2JobEnvelopeDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string","description":"Request path, including the query string when present."},"requestId":{"type":"string","description":"Present when the server assigned a request id."},"data":{"$ref":"#/components/schemas/ApiV2JobDto"}},"required":["timestamp","path","data"]},"ApiV2JobDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["image","video","batch"]},"status":{"type":"string","enum":["queued","processing","succeeded","failed"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"retryAfter":{"type":"number","description":"Seconds to wait before polling again. Absent once the job is terminal."},"input":{"$ref":"#/components/schemas/ApiV2JobInputDto"},"options":{"$ref":"#/components/schemas/ApiV2JobOptionsDto"},"result":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobResultDto"}]},"error":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobErrorDto"}]},"billing":{"$ref":"#/components/schemas/ApiV2JobBillingDto"},"metadata":{"nullable":true,"description":"Caller-supplied JSON echoed back verbatim. Any JSON value: object, array, string, number, boolean, or null.","oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{}},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["id","type","status","createdAt","updatedAt","input","options","billing"]},"ApiV2JobInputDto":{"type":"object","properties":{"filename":{"type":"string"},"sizeBytes":{"type":"number"},"contentType":{"type":"string"}},"required":["filename","sizeBytes","contentType"]},"ApiV2JobOptionsDto":{"type":"object","properties":{"faces":{"type":"boolean"},"plates":{"type":"boolean"},"style":{"$ref":"#/components/schemas/ApiV2JobStyleDto"},"regionOfInterest":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2RegionDto"}]},"keepAudio":{"type":"boolean"},"generateJsonDetections":{"type":"boolean","description":"When true, GET /jobs/{id}/detections is available after success."}},"required":["faces","plates","style","keepAudio","generateJsonDetections"]},"ApiV2JobStyleDto":{"type":"object","properties":{"type":{"type":"string","enum":["blur","pixelate","opaque"]},"intensity":{"type":"number","minimum":1,"maximum":10,"description":"Present when type is blur."},"pixels":{"type":"number","minimum":2,"maximum":10,"description":"Present when type is pixelate."},"color":{"type":"string","description":"Present when type is opaque. #RRGGBB."}},"required":["type"]},"ApiV2RegionDto":{"type":"object","properties":{"top":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."},"left":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"right":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"bottom":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."}},"required":["top","left","right","bottom"]},"ApiV2JobResultDto":{"type":"object","properties":{"retainedUntil":{"type":"string","format":"date-time","description":"When the result (and detections, if any) will be purged. Present only when status is succeeded. Download via GET /jobs/{id}/result using this job's id — the JSON never embeds URLs or paths."}},"required":["retainedUntil"]},"ApiV2JobErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ApiV2JobBillingDto":{"type":"object","properties":{"method":{"type":"string","enum":["credits","usage","trial"]},"creditsCharged":{"type":"number"}},"required":["method"]},"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs":{"post":{"operationId":"ApiV2JobsController_create","summary":"Create an anonymization job","description":"Returns 202 with the queued job in data. Use data.id to poll GET /jobs/{id}: wait retryAfter seconds (and the Retry-After header) while status is queued or processing. Stop when status is succeeded or failed. Download only after succeeded via GET /jobs/{id}/result — responses never embed URLs or paths.","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"Image, video, or ZIP. The part name must be file."},"faces":{"type":"string","enum":["true","false"],"default":"true","description":"Text boolean. Default true. Blur faces."},"plates":{"type":"string","enum":["true","false"],"default":"true","description":"Text boolean. Default true. Blur license plates."},"style":{"type":"string","description":"JSON object serialized as text. {\"type\":\"blur\",\"intensity\":1} (intensity 1-10), {\"type\":\"pixelate\",\"pixels\":7} (pixels 2-10), or {\"type\":\"opaque\",\"color\":\"#000000\"}."},"regionOfInterest":{"type":"string","description":"JSON object {\"top\",\"left\",\"right\",\"bottom\"} with each value from 0 to 1, or omit the field. Sent as text."},"keepAudio":{"type":"string","enum":["true","false"],"default":"false","description":"Text boolean. Default false. Applies to video."},"generateJsonDetections":{"type":"string","enum":["true","false"],"default":"false","description":"Text boolean. Default false. When true, GET /jobs/{id}/detections is available after success."},"metadata":{"type":"string","description":"Any JSON value, serialized as text. Echoed back on the job as parsed JSON."}}}}}},"responses":{"202":{"description":"Queued job in data. Use data.id to poll GET /jobs/{id}. Retry-After repeats retryAfter.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before the first poll. Same value as data.retryAfter.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2JobEnvelopeDto"}}}},"400":{"description":"Missing file, invalid JSON in style, regionOfInterest, or metadata, or neither faces nor plates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"402":{"description":"Not enough credits, or the payment method is missing or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"403":{"description":"Trial limit reached, or the anonymization service is not enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"415":{"description":"File extension or media type is not supported. See GET /account supportedFormats.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## Download the anonymized file

> Raw bytes of the anonymized image, video, or ZIP. Call this only after GET /jobs/{id} reports status succeeded. The body is not wrapped in data.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs/{id}/result":{"get":{"operationId":"ApiV2JobsController_downloadResult","summary":"Download the anonymized file","description":"Raw bytes of the anonymized image, video, or ZIP. Call this only after GET /jobs/{id} reports status succeeded. The body is not wrapped in data.","parameters":[{"name":"id","required":true,"in":"path","description":"Public job id (job_...)","schema":{"type":"string"}}],"responses":{"200":{"description":"Binary file. Content-Type is the stored media type. Content-Disposition carries the filename. Not wrapped in data.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}}},"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"404":{"description":"No job with this id for the authenticated account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"409":{"description":"The job is not succeeded yet. details.status is the current status. Wait and poll GET /jobs/{id}.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"410":{"description":"The anonymized file was deleted after the retention period.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## Download the detections JSON

> Raw JSON file of detections. Call this only after status is succeeded and only when the job was created with generateJsonDetections true. The body is not wrapped in data.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs/{id}/detections":{"get":{"operationId":"ApiV2JobsController_downloadDetections","summary":"Download the detections JSON","description":"Raw JSON file of detections. Call this only after status is succeeded and only when the job was created with generateJsonDetections true. The body is not wrapped in data.","parameters":[{"name":"id","required":true,"in":"path","description":"Public job id (job_...)","schema":{"type":"string"}}],"responses":{"200":{"description":"JSON file of detections. Content-Disposition filename ends with -detections.json. Not wrapped in data.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"404":{"description":"Detections were not requested (generateJsonDetections was false), or the job does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"409":{"description":"The job is not succeeded yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## Get a job

> Poll this endpoint until data.status is succeeded or failed. While status is queued or processing, wait data.retryAfter seconds (also the Retry-After header) before calling again. When succeeded, download with GET /jobs/{id}/result (and /detections when options.generateJsonDetections was true). The JSON never embeds URLs or paths.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2JobEnvelopeDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string","description":"Request path, including the query string when present."},"requestId":{"type":"string","description":"Present when the server assigned a request id."},"data":{"$ref":"#/components/schemas/ApiV2JobDto"}},"required":["timestamp","path","data"]},"ApiV2JobDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["image","video","batch"]},"status":{"type":"string","enum":["queued","processing","succeeded","failed"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"retryAfter":{"type":"number","description":"Seconds to wait before polling again. Absent once the job is terminal."},"input":{"$ref":"#/components/schemas/ApiV2JobInputDto"},"options":{"$ref":"#/components/schemas/ApiV2JobOptionsDto"},"result":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobResultDto"}]},"error":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2JobErrorDto"}]},"billing":{"$ref":"#/components/schemas/ApiV2JobBillingDto"},"metadata":{"nullable":true,"description":"Caller-supplied JSON echoed back verbatim. Any JSON value: object, array, string, number, boolean, or null.","oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{}},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["id","type","status","createdAt","updatedAt","input","options","billing"]},"ApiV2JobInputDto":{"type":"object","properties":{"filename":{"type":"string"},"sizeBytes":{"type":"number"},"contentType":{"type":"string"}},"required":["filename","sizeBytes","contentType"]},"ApiV2JobOptionsDto":{"type":"object","properties":{"faces":{"type":"boolean"},"plates":{"type":"boolean"},"style":{"$ref":"#/components/schemas/ApiV2JobStyleDto"},"regionOfInterest":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2RegionDto"}]},"keepAudio":{"type":"boolean"},"generateJsonDetections":{"type":"boolean","description":"When true, GET /jobs/{id}/detections is available after success."}},"required":["faces","plates","style","keepAudio","generateJsonDetections"]},"ApiV2JobStyleDto":{"type":"object","properties":{"type":{"type":"string","enum":["blur","pixelate","opaque"]},"intensity":{"type":"number","minimum":1,"maximum":10,"description":"Present when type is blur."},"pixels":{"type":"number","minimum":2,"maximum":10,"description":"Present when type is pixelate."},"color":{"type":"string","description":"Present when type is opaque. #RRGGBB."}},"required":["type"]},"ApiV2RegionDto":{"type":"object","properties":{"top":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."},"left":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"right":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame width, from the left."},"bottom":{"type":"number","minimum":0,"maximum":1,"description":"Fraction of the frame height, from the top."}},"required":["top","left","right","bottom"]},"ApiV2JobResultDto":{"type":"object","properties":{"retainedUntil":{"type":"string","format":"date-time","description":"When the result (and detections, if any) will be purged. Present only when status is succeeded. Download via GET /jobs/{id}/result using this job's id — the JSON never embeds URLs or paths."}},"required":["retainedUntil"]},"ApiV2JobErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ApiV2JobBillingDto":{"type":"object","properties":{"method":{"type":"string","enum":["credits","usage","trial"]},"creditsCharged":{"type":"number"}},"required":["method"]},"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs/{id}":{"get":{"operationId":"ApiV2JobsController_get","summary":"Get a job","description":"Poll this endpoint until data.status is succeeded or failed. While status is queued or processing, wait data.retryAfter seconds (also the Retry-After header) before calling again. When succeeded, download with GET /jobs/{id}/result (and /detections when options.generateJsonDetections was true). The JSON never embeds URLs or paths.","parameters":[{"name":"id","required":true,"in":"path","description":"Public job id (job_...)","schema":{"type":"string"}}],"responses":{"200":{"description":"Current job. retryAfter and Retry-After are present only while the job is queued or processing. On success, result contains retainedUntil only — build download paths from data.id.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before polling again. Omitted once the job is succeeded or failed.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2JobEnvelopeDto"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"404":{"description":"No job with this id for the authenticated account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```

## Delete a finished job

> Purges stored source, result, thumbnail, and detections files, then hides the job. status is not rewritten. A batch job deletes every file of the batch. Irreversible. Only a succeeded or failed job can be deleted. After this call, GET /jobs/{id}, the list, and the download endpoints return 404 JOB\_NOT\_FOUND.

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"servers":[{"url":"https://api.blurit.io/v2"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"API key","type":"http","description":"Long-lived API key created in the BlurIt app. There is no token exchange. Send Authorization: Bearer blrt_..."}},"schemas":{"ApiV2JobDeleteEnvelopeDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string","description":"Request path, including the query string when present."},"requestId":{"type":"string","description":"Present when the server assigned a request id."},"data":{"$ref":"#/components/schemas/ApiV2JobDeleteDto"}},"required":["timestamp","path","data"]},"ApiV2JobDeleteDto":{"type":"object","properties":{"id":{"type":"string","description":"Public job id that was deleted."},"deleted":{"type":"boolean","description":"Always true. The job is gone from list, get, and downloads."}},"required":["id","deleted"]},"ApiV2ErrorDto":{"type":"object","properties":{"statusCode":{"type":"number"},"code":{"type":"string","description":"Stable machine code. Common values: AUTH_ERROR, VALIDATION_ERROR, NO_FILE, NO_ANONYMIZATION_TARGET, UNSUPPORTED_FILE_FORMAT, FILE_TOO_LARGE, INSUFFICIENT_CREDITS, PAYMENT_METHOD_EXPIRED, PAYMENT_METHOD_MISSING, TRIAL_LIMIT_EXCEEDED, SERVICE_NOT_SUBSCRIBED, RATE_LIMITED, JOB_NOT_FOUND, JOB_NOT_READY, JOB_NOT_TERMINAL, JOB_ALREADY_DELETED, FILE_PURGED, EXTERNAL_SERVICE_ERROR."},"message":{"type":"string"},"retryable":{"type":"boolean"},"timestamp":{"type":"string","format":"date-time"},"path":{"type":"string"},"method":{"type":"string"},"requestId":{"type":"string"},"details":{"description":"Either a list of validation issues, or an object whose keys depend on code. Object examples: { jobId } on the sync timeout, { status } on JOB_NOT_READY, { creditsRequired, creditsAvailable } on INSUFFICIENT_CREDITS, { maxSizeBytes } on FILE_TOO_LARGE, { supportedFormats } on UNSUPPORTED_FILE_FORMAT, { detectionsRequested } when detections were not requested, { limitBytes, usedBytes } on TRIAL_LIMIT_EXCEEDED. Absent when there is nothing to add.","oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/ApiV2ValidationIssueDto"}},{"type":"object","additionalProperties":true}]}},"required":["statusCode","code","message","retryable","timestamp","path","method"]},"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}},"paths":{"/jobs/{id}":{"delete":{"operationId":"ApiV2JobsController_delete","summary":"Delete a finished job","description":"Purges stored source, result, thumbnail, and detections files, then hides the job. status is not rewritten. A batch job deletes every file of the batch. Irreversible. Only a succeeded or failed job can be deleted. After this call, GET /jobs/{id}, the list, and the download endpoints return 404 JOB_NOT_FOUND.","parameters":[{"name":"id","required":true,"in":"path","description":"Public job id (job_...)","schema":{"type":"string"}}],"responses":{"200":{"description":"The job was deleted. Read data.id. Later reads of this id return 404.","headers":{"X-RateLimit-Limit":{"description":"Jobs allowed per minute for this API key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Jobs still allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2JobDeleteEnvelopeDto"}}}},"401":{"description":"Missing or unknown API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"404":{"description":"No job with this id for the authenticated account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"409":{"description":"The job is still queued or processing. details.status is the current status. Wait, then retry. retryable is true.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}},"429":{"description":"Too many jobs in the current minute. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiV2ErrorDto"}}}}},"tags":["BlurIt API v2 - Jobs"]}}}}
```
