# Get ai refresh preview

`service_requests.get_ai_refresh_preview`

Preview applications that can receive refreshed AI suggestions; no answers are changed.

[Service requests guide](https://docs.levr.ai/mcp/resources/service_requests.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: read. Required OAuth scopes: mcp.

## Client portal input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "organization_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "service_request_slug": {
      "maxLength": 100,
      "pattern": "^srq_",
      "type": "string"
    }
  },
  "required": [
    "service_request_slug",
    "organization_slug",
    "provider_slug"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "application_count": {
          "minimum": 0,
          "type": "integer"
        },
        "applications": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "deal_slug": {
                "type": "string"
              },
              "recipient_name": {
                "type": "string"
              },
              "remaining_field_count": {
                "type": "integer"
              },
              "source_count": {
                "type": "integer"
              }
            },
            "required": [
              "deal_slug",
              "recipient_name",
              "remaining_field_count",
              "source_count"
            ],
            "type": "object"
          },
          "maxItems": 100,
          "type": "array"
        },
        "has_more_applications": {
          "type": "boolean"
        },
        "is_model_limit_reached": {
          "type": "boolean"
        },
        "refreshable_count": {
          "minimum": 0,
          "type": "integer"
        },
        "up_to_date_count": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "application_count",
        "up_to_date_count",
        "refreshable_count",
        "is_model_limit_reached",
        "applications",
        "has_more_applications"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```
