---
title: "CreateProcessor"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: OCR API

`POST /v1/organizations/{orgId}/projects/{projectId}/ocr/processors`

## Authentication

Requires one of the following:

- `apiKey`, http, header `Authorization`
- `sessionCookie`, apiKey, in cookie
- `oauth`, http, header `Authorization`

## Path parameters

- `CreateProcessor.path.orgId` (string, required)
  - format `uuid`
- `CreateProcessor.path.projectId` (string, required)
  - format `uuid`

## Header parameters

- `CreateProcessor.header.Idempotency-Key` (string, optional) — Makes a retry safe: the same key and request get the stored response (contracts/api-conventions.md, "Idempotency keys").
  - minLength 1; maxLength 200

## Request body

_Required._

- `CreateProcessor.model` (string, required)
- `CreateProcessor.modelVersion` (string, required) — Exact catalog version or latest (the model’s code-reviewed floating alias).
- `CreateProcessor.name` (string, required)
  - minLength 1; maxLength 100
- `CreateProcessor.outputFormat` (string, required)
  - one of `"text"`, `"json-layout"`
- `CreateProcessor.description` (string, optional)
  - maxLength 2000
- `CreateProcessor.languages` (array<string>, optional)
- `CreateProcessor.options` (object, optional)
  - `CreateProcessor.options.detail` (string, optional) — One of the model's capabilities.details (standard is currently not offered). A processor still configured with a withdrawn level can be edited or disabled, but enabling it is refused (400) and processing returns 409 detail_unavailable.
    - one of `"high"`, `"standard"`; default `"high"`
  - `CreateProcessor.options.detectHandwriting` (boolean, optional)
    - default `false`
  - `CreateProcessor.options.detectTables` (boolean, optional)
    - default `false`
- `CreateProcessor.tags` (map<string>, optional)

## Example request

```json
{
  "description": "string",
  "languages": [
    "string"
  ],
  "model": "string",
  "modelVersion": "string",
  "name": "string",
  "options": {
    "detail": "high",
    "detectHandwriting": false,
    "detectTables": false
  },
  "outputFormat": "text",
  "tags": {
    "property1": "string",
    "property2": "string"
  }
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://ocr.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/ocr/processors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "string",
  "languages": [
    "string"
  ],
  "model": "string",
  "modelVersion": "string",
  "name": "string",
  "options": {
    "detail": "high",
    "detectHandwriting": false,
    "detectTables": false
  },
  "outputFormat": "text",
  "tags": {
    "property1": "string",
    "property2": "string"
  }
}
'
```

### TypeScript

```typescript
const url = 'https://ocr.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/ocr/processors';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({
    description: 'string',
    languages: ['string'],
    model: 'string',
    modelVersion: 'string',
    name: 'string',
    options: {detail: 'high', detectHandwriting: false, detectTables: false},
    outputFormat: 'text',
    tags: {property1: 'string', property2: 'string'}
  })
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://ocr.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/ocr/processors"

payload = {
    "description": "string",
    "languages": ["string"],
    "model": "string",
    "modelVersion": "string",
    "name": "string",
    "options": {
        "detail": "high",
        "detectHandwriting": False,
        "detectTables": False
    },
    "outputFormat": "text",
    "tags": {
        "property1": "string",
        "property2": "string"
    }
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 201

Success

#### Example

```json
{
  "createdAt": "2019-08-24T14:15:22Z",
  "description": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "languages": [
    "string"
  ],
  "model": "string",
  "modelVersion": "string",
  "name": "string",
  "options": {
    "detail": "high",
    "detectHandwriting": false,
    "detectTables": false
  },
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "outputFormat": "text",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "region": "string",
  "resolvedModelVersion": "string",
  "resourceName": "string",
  "slug": "string",
  "state": "active",
  "status": "active",
  "tags": {
    "property1": "string",
    "property2": "string"
  },
  "updatedAt": "2019-08-24T14:15:22Z",
  "warnings": [
    {
      "code": "string",
      "message": "string"
    }
  ]
}
```

- `CreateProcessor.response.201.createdAt` (string, required)
  - format `date-time`
- `CreateProcessor.response.201.description` (string, required)
  - maxLength 2000
- `CreateProcessor.response.201.id` (string, required)
  - format `uuid`
- `CreateProcessor.response.201.languages` (array<string>, required)
- `CreateProcessor.response.201.model` (string, required)
- `CreateProcessor.response.201.modelVersion` (string, required) — Exact catalog version or latest (the model’s code-reviewed floating alias).
- `CreateProcessor.response.201.name` (string, required)
  - minLength 1; maxLength 100
- `CreateProcessor.response.201.options` (object, required)
  - `CreateProcessor.response.201.options.detail` (string, optional) — One of the model's capabilities.details (standard is currently not offered). A processor still configured with a withdrawn level can be edited or disabled, but enabling it is refused (400) and processing returns 409 detail_unavailable.
    - one of `"high"`, `"standard"`; default `"high"`
  - `CreateProcessor.response.201.options.detectHandwriting` (boolean, optional)
    - default `false`
  - `CreateProcessor.response.201.options.detectTables` (boolean, optional)
    - default `false`
- `CreateProcessor.response.201.organizationId` (string, required)
  - format `uuid`
- `CreateProcessor.response.201.outputFormat` (string, required)
  - one of `"text"`, `"json-layout"`
- `CreateProcessor.response.201.projectId` (string, required)
  - format `uuid`
- `CreateProcessor.response.201.region` (string, required)
- `CreateProcessor.response.201.resolvedModelVersion` (string, required)
- `CreateProcessor.response.201.resourceName` (string, required)
- `CreateProcessor.response.201.slug` (string, required)
- `CreateProcessor.response.201.state` (string, required)
  - one of `"active"`, `"disabled"`
- `CreateProcessor.response.201.status` (string, required) — Platform resource status, equal to state.
  - one of `"active"`, `"disabled"`
- `CreateProcessor.response.201.tags` (map<string>, required)
- `CreateProcessor.response.201.updatedAt` (string, required)
  - format `date-time`
- `CreateProcessor.response.201.warnings` (array<object>, required)
  - `CreateProcessor.response.201.warnings.code` (string, required)
  - `CreateProcessor.response.201.warnings.message` (string, required)

### 400

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.400.error` (object, required)
  - `CreateProcessor.response.400.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.400.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.400.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.400.error.issues.message` (string, required)
    - `CreateProcessor.response.400.error.issues.path` (string, required)
  - `CreateProcessor.response.400.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.400.error.quota.id` (string, required)
    - `CreateProcessor.response.400.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.400.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.400.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.400.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.400.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.400.error.quota.region` (string, optional)
    - `CreateProcessor.response.400.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.400.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.400.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.400.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 401

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.401.error` (object, required)
  - `CreateProcessor.response.401.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.401.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.401.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.401.error.issues.message` (string, required)
    - `CreateProcessor.response.401.error.issues.path` (string, required)
  - `CreateProcessor.response.401.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.401.error.quota.id` (string, required)
    - `CreateProcessor.response.401.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.401.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.401.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.401.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.401.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.401.error.quota.region` (string, optional)
    - `CreateProcessor.response.401.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.401.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.401.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.401.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 403

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.403.error` (object, required)
  - `CreateProcessor.response.403.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.403.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.403.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.403.error.issues.message` (string, required)
    - `CreateProcessor.response.403.error.issues.path` (string, required)
  - `CreateProcessor.response.403.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.403.error.quota.id` (string, required)
    - `CreateProcessor.response.403.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.403.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.403.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.403.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.403.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.403.error.quota.region` (string, optional)
    - `CreateProcessor.response.403.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.403.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.403.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.403.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 404

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.404.error` (object, required)
  - `CreateProcessor.response.404.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.404.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.404.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.404.error.issues.message` (string, required)
    - `CreateProcessor.response.404.error.issues.path` (string, required)
  - `CreateProcessor.response.404.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.404.error.quota.id` (string, required)
    - `CreateProcessor.response.404.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.404.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.404.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.404.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.404.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.404.error.quota.region` (string, optional)
    - `CreateProcessor.response.404.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.404.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.404.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.404.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 409

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.409.error` (object, required)
  - `CreateProcessor.response.409.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.409.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.409.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.409.error.issues.message` (string, required)
    - `CreateProcessor.response.409.error.issues.path` (string, required)
  - `CreateProcessor.response.409.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.409.error.quota.id` (string, required)
    - `CreateProcessor.response.409.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.409.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.409.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.409.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.409.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.409.error.quota.region` (string, optional)
    - `CreateProcessor.response.409.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.409.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.409.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.409.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 412

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.412.error` (object, required)
  - `CreateProcessor.response.412.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.412.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.412.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.412.error.issues.message` (string, required)
    - `CreateProcessor.response.412.error.issues.path` (string, required)
  - `CreateProcessor.response.412.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.412.error.quota.id` (string, required)
    - `CreateProcessor.response.412.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.412.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.412.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.412.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.412.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.412.error.quota.region` (string, optional)
    - `CreateProcessor.response.412.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.412.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.412.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.412.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 413

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.413.error` (object, required)
  - `CreateProcessor.response.413.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.413.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.413.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.413.error.issues.message` (string, required)
    - `CreateProcessor.response.413.error.issues.path` (string, required)
  - `CreateProcessor.response.413.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.413.error.quota.id` (string, required)
    - `CreateProcessor.response.413.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.413.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.413.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.413.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.413.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.413.error.quota.region` (string, optional)
    - `CreateProcessor.response.413.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.413.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.413.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.413.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 429

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.429.error` (object, required)
  - `CreateProcessor.response.429.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.429.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.429.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.429.error.issues.message` (string, required)
    - `CreateProcessor.response.429.error.issues.path` (string, required)
  - `CreateProcessor.response.429.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.429.error.quota.id` (string, required)
    - `CreateProcessor.response.429.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.429.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.429.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.429.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.429.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.429.error.quota.region` (string, optional)
    - `CreateProcessor.response.429.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.429.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.429.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.429.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 500

internal_error: a bug; the details are in the logs, under the request ID.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.500.error` (object, required)
  - `CreateProcessor.response.500.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.500.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.500.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.500.error.issues.message` (string, required)
    - `CreateProcessor.response.500.error.issues.path` (string, required)
  - `CreateProcessor.response.500.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.500.error.quota.id` (string, required)
    - `CreateProcessor.response.500.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.500.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.500.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.500.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.500.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.500.error.quota.region` (string, optional)
    - `CreateProcessor.response.500.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.500.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.500.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.500.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 503

Platform error; quota_exceeded has no Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `CreateProcessor.response.503.error` (object, required)
  - `CreateProcessor.response.503.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `CreateProcessor.response.503.error.message` (string, required)
    - maxLength 1024
  - `CreateProcessor.response.503.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `CreateProcessor.response.503.error.issues.message` (string, required)
    - `CreateProcessor.response.503.error.issues.path` (string, required)
  - `CreateProcessor.response.503.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `CreateProcessor.response.503.error.quota.id` (string, required)
    - `CreateProcessor.response.503.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `CreateProcessor.response.503.error.quota.limit` (integer, required)
      - min 0
    - `CreateProcessor.response.503.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `CreateProcessor.response.503.error.quota.inFlight` (integer, optional)
      - min 0
    - `CreateProcessor.response.503.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.503.error.quota.region` (string, optional)
    - `CreateProcessor.response.503.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `CreateProcessor.response.503.error.quota.scopeResourceName` (string, optional)
    - `CreateProcessor.response.503.error.quota.used` (integer, optional)
      - min 0
    - `CreateProcessor.response.503.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.


Source: https://docs.ezghcloud.com/ocr-api/CreateProcessor/index.md
