Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Search Documentation | 2025.2

# Ready check

## Get P4 Search ready state

### Summary

Get the ready state of P4 Search.

GET api/v1.3/search/ready

### Description

Get the ready state of P4 Search, returning either 200 (ready) or 503 (not ready).

### Parameters

Parameter | Description | Required | Type
--- | --- | --- | ---
waitFor | Duration (in seconds) to wait before making the request. During this period, further requests are blocked. | No | integer

### Example usage

curl -X GET --location "http://localhost:1601/api/v1.3/search/ready"
-H "Content-Type: application/json" \
-H "Authorization: Bearer <JWT>"

If ready, P4 Search responds with:

    {
      "status": {
        "code": 200,
        "message": "P4Search is ready"
      }
    }

### If a request fails

<error code>:

- 503 P4 Search is not ready.

Your search for returned results