---
title: "Retrieve search criteria details"
method: GET
path: "/api_gateway/cortex/v1/criteria/{id}"
---

# Retrieve search criteria details

`GET /api_gateway/cortex/v1/criteria/{id}`

This API enables you to retrieve the search criteria details using the search criteria ID obtained during creation of the search criteria.

## Path parameters

- `id` string, required

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `orgId` integer
    - `name` string
    - `entityType` string
    - `fieldDefinitions` object[]
      - `fieldId` string
      - `fieldAlias` string
      - `dataSourceDetails` object
        - `fieldReference` string
      - `dataType` string
    - `searchDataPolicy` object
      - `dataRetentionPolicy` object
        - `unit` string
        - `value` integer
      - `expireDataFrom` string
    - `active` boolean
    - `bulkJobStatus` string
    - `auditInfo` object
      - `createdOn` string
      - `createdBy` integer
      - `lastUpdatedOn` string
      - `lastUpdatedBy` integer
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.dev/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
