---
title: "Health returns OK when server is running."
url: "https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1/operations/ContentSearch_Health"
---

> Full API specification: https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1.md

# Health returns OK when server is running.

`GET` `/migros/contentsearch/v1/healthz`

Operation ID: `ContentSearch_Health`

## Responses

- `200` - A successful response.
- `default` - An unexpected error response.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API QUAL
  version: v1.115.0
servers:
  - url: https://api-qual.migros.ch
paths:
  /migros/contentsearch/v1/healthz:
    get:
      operationId: ContentSearch_Health
      responses:
        "200":
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/contentsearchHealthResponse"
          description: A successful response.
        default:
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/googlerpcStatus"
          description: An unexpected error response.
      security:
        - apiKeyAuth: []
      summary: Health returns OK when server is running.
      tags:
        - ContentSearch
security:
  - apiKeyAuth: []
components:
  schemas:
    contentsearchHealthResponse:
      properties:
        info:
          description: Provides info to the current health state, e.g. "UP".
          type: string
      type: object
    googlerpcStatus:
      properties:
        code:
          format: int32
          type: integer
        details:
          items:
            allOf:
              - $ref: "#/components/schemas/protobufAny"
            type: object
          type: array
        message:
          type: string
      type: object
    protobufAny:
      additionalProperties: {}
      properties:
        "@type":
          type: string
      type: object
  securitySchemes:
    apiKeyAuth:
      in: header
      name: X-Api-Key
      type: apiKey
```
