# Search Images

Lists an account’s email-editor image library by path, paginated by cursor. Returns public URLs suitable for image blocks, file names, types and upload times. Has no text filter. New pictures come from open-email-editor-image-upload (local file) or upload-email-editor-image-from-url (public URL).

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "limit": {
      "type": [
        "null",
        "integer"
      ],
      "description": "Images per page, 1 to 100; default 20",
      "default": null,
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "type": [
        "null",
        "string"
      ],
      "description": "nextCursor of the previous page; omit for the first page",
      "default": null,
      "maxLength": 1000
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "count",
    "hasNextPage",
    "nextCursor",
    "images"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "hasNextPage": {
      "type": "boolean"
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "url",
          "path",
          "fileName",
          "mimeType",
          "sizeBytes",
          "uploadedAt",
          "width",
          "height"
        ],
        "properties": {
          "url": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer"
          },
          "uploadedAt": {
            "type": "string"
          },
          "width": {
            "type": [
              "integer",
              "null"
            ]
          },
          "height": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      }
    }
  }
}
```

