> 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-account.md). Agents can also search and read this documentation through its [MCP server](https://doc-api.blurit.io/~gitbook/mcp).

# Blur It API V2 Account

## Read billing, trial quota, supported formats, and the current rate limit

> Call this before creating jobs when you need the accepted media types (supportedFormats) or the jobs-per-minute limit. The resource is 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":{"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"]},"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":{"/account":{"get":{"operationId":"ApiV2AccountController_get","summary":"Read billing, trial quota, supported formats, and the current rate limit","description":"Call this before creating jobs when you need the accepted media types (supportedFormats) or the jobs-per-minute limit. The resource is in data.","parameters":[],"responses":{"200":{"description":"Account snapshot inside 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":{"$ref":"#/components/schemas/ApiV2AccountEnvelopeDto"}}}},"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 - Account"]}}}}
```
