---
title: "Get Operation Search Availability"
method: GET
path: "/api/operations/search/availability"
tags: ["Operations"]
---

# Get Operation Search Availability

`GET /api/operations/search/availability`

## Request

- Base URL: `https://app.polytomic.com`
- URL: `https://app.polytomic.com/api/operations/search/availability`
- Auth: none declared

Reports whether operation search is configured on this API deployment.

When a request for one question would exceed an Organization-minute,
Organization-day, or deployment-minute question budget, the response includes
`rate_limited` with a reason and a UTC `reset_at` timestamp. If more than one
budget is exhausted, the timestamp reflects the latest reset. The check does
not use any question allowance.

> ⚠️ The result is a snapshot. A later request can be limited even if this
> response has no `rate_limited` field, especially if it contains two or three
> questions or other requests use the shared budget. Concurrent-call limits
> are not included. The search request's `429` response and `Retry-After` header
> are authoritative.

If your request does not identify an Organization, the response reports only
`enabled`. When `enabled` is `false`, `rate_limited` is omitted. If Polytomic
cannot check the question budgets, the endpoint returns `503`.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- OperationSearchAvailabilityEnvelope
  - `data` object: Operation search availability
    - `enabled` boolean, required: Whether operation search is configured on this API deployment
    - `rate_limited` OperationSearchRateLimit
      - `reason` 'organization.minute.limit' | 'organization.daily.limit' | 'global.minute.limit', required: The exhausted question budget
      - `reset_at` string, date-time, required: UTC time when this exhausted budget resets

## Other responses

- `503`: Service Unavailable

## Changes

- **2026-10-21** `61c2b96f65ba`: 3 breaking, 1 info
  - the `data/rate_limited` response's property type changed from `object` to no type for status `200`
  - removed the required property `data/rate_limited/reason` from the response with the `200` status
  - removed the required property `data/rate_limited/reset_at` from the response with the `200` status
  - added `#/components/schemas/OperationSearchRateLimit` to the `data/rate_limited` response property `allOf` list for the response status `200`
- **2026-09-25** `19a8683c3363`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/polytomic/apis/polytomic-api/changes/api/operations/search/availability/get.md)

---

[API](https://skmtc.dev/polytomic/apis/polytomic-api.md) - [All operations](https://skmtc.dev/polytomic/apis/polytomic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polytomic/apis/polytomic-api/revisions/3c88180d2470?raw)
