> 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/models.md).

# Models

## The ApiV2JobInputDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2JobInputDto":{"type":"object","properties":{"filename":{"type":"string"},"sizeBytes":{"type":"number"},"contentType":{"type":"string"}},"required":["filename","sizeBytes","contentType"]}}}}
```

## The ApiV2JobStyleDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2RegionDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2JobOptionsDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2JobResultDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2JobErrorDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2JobErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}
```

## The ApiV2JobBillingDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2JobBillingDto":{"type":"object","properties":{"method":{"type":"string","enum":["credits","usage","trial"]},"creditsCharged":{"type":"number"}},"required":["method"]}}}}
```

## The ApiV2JobDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2PaginationMetaDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2PaginationMetaDto":{"type":"object","properties":{"page":{"type":"number"},"pageSize":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["page","pageSize","total","totalPages"]}}}}
```

## The ApiV2JobListDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2JobDeleteDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"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"]}}}}
```

## The ApiV2JobEnvelopeDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"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"]}}}}
```

## The ApiV2JobListEnvelopeDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"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"]}}}}
```

## The ApiV2JobDeleteEnvelopeDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"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"]}}}}
```

## The ApiV2ValidationIssueDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2ValidationIssueDto":{"type":"object","properties":{"field":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}},"required":["field","message","code"]}}}}
```

## The ApiV2ErrorDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"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"]}}}}
```

## The ApiV2CreditsDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2CreditsDto":{"type":"object","properties":{"balance":{"type":"number"}},"required":["balance"]}}}}
```

## The ApiV2TrialDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2TrialDto":{"type":"object","properties":{"limitBytes":{"type":"number"},"usedBytes":{"type":"number"},"remainingBytes":{"type":"number"}},"required":["limitBytes","usedBytes","remainingBytes"]}}}}
```

## The ApiV2PaymentMethodDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2PaymentMethodDto":{"type":"object","properties":{"status":{"type":"string","enum":["valid","expiring_soon","expired","missing"]},"expiresAt":{"type":"string","format":"date","nullable":true,"description":"Card expiry date. Null when status is missing."}},"required":["status"]}}}}
```

## The ApiV2RateLimitDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2RateLimitDto":{"type":"object","properties":{"jobsPerMinute":{"type":"number"}},"required":["jobsPerMinute"]}}}}
```

## The ApiV2AccountDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2AccountDto":{"type":"object","properties":{"billingMethod":{"type":"string","enum":["credits","usage"]},"credits":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2CreditsDto"}]},"trial":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2TrialDto"}]},"paymentMethod":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2PaymentMethodDto"}]},"supportedFormats":{"type":"array","items":{"type":"string"}},"rateLimit":{"$ref":"#/components/schemas/ApiV2RateLimitDto"}},"required":["billingMethod","supportedFormats","rateLimit"]},"ApiV2CreditsDto":{"type":"object","properties":{"balance":{"type":"number"}},"required":["balance"]},"ApiV2TrialDto":{"type":"object","properties":{"limitBytes":{"type":"number"},"usedBytes":{"type":"number"},"remainingBytes":{"type":"number"}},"required":["limitBytes","usedBytes","remainingBytes"]},"ApiV2PaymentMethodDto":{"type":"object","properties":{"status":{"type":"string","enum":["valid","expiring_soon","expired","missing"]},"expiresAt":{"type":"string","format":"date","nullable":true,"description":"Card expiry date. Null when status is missing."}},"required":["status"]},"ApiV2RateLimitDto":{"type":"object","properties":{"jobsPerMinute":{"type":"number"}},"required":["jobsPerMinute"]}}}}
```

## The ApiV2AccountEnvelopeDto object

```json
{"openapi":"3.0.0","info":{"title":"BlurIt API v2","version":"1.31.1"},"components":{"schemas":{"ApiV2AccountEnvelopeDto":{"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/ApiV2AccountDto"}},"required":["timestamp","path","data"]},"ApiV2AccountDto":{"type":"object","properties":{"billingMethod":{"type":"string","enum":["credits","usage"]},"credits":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2CreditsDto"}]},"trial":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2TrialDto"}]},"paymentMethod":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ApiV2PaymentMethodDto"}]},"supportedFormats":{"type":"array","items":{"type":"string"}},"rateLimit":{"$ref":"#/components/schemas/ApiV2RateLimitDto"}},"required":["billingMethod","supportedFormats","rateLimit"]},"ApiV2CreditsDto":{"type":"object","properties":{"balance":{"type":"number"}},"required":["balance"]},"ApiV2TrialDto":{"type":"object","properties":{"limitBytes":{"type":"number"},"usedBytes":{"type":"number"},"remainingBytes":{"type":"number"}},"required":["limitBytes","usedBytes","remainingBytes"]},"ApiV2PaymentMethodDto":{"type":"object","properties":{"status":{"type":"string","enum":["valid","expiring_soon","expired","missing"]},"expiresAt":{"type":"string","format":"date","nullable":true,"description":"Card expiry date. Null when status is missing."}},"required":["status"]},"ApiV2RateLimitDto":{"type":"object","properties":{"jobsPerMinute":{"type":"number"}},"required":["jobsPerMinute"]}}}}
```
