---
title: "Read data based on filters"
method: POST
path: "/data"
tags: ["Internal Generic API"]
---

# Read data based on filters

`POST /data`

Retrieves entities that match the specified filters. Each filter must include a type to determine what kind of data to return.

## Request body

- Filters
  - `filters` ApiIntV2Filter[] — The filters to apply to the request
    - `type` string
    - `filter` string
    - `sorting` string
    - `fields` string
    - `mode` string
    - `resultStart` integer
    - `resultLimit` integer
  - `owners` string[] — List of owner names

## Response `200`

Filtered data

- DataApiIntV2Response
  - `message` string
  - `success` boolean
  - `statusCode` 'BAD_REQUEST' | 'CREATED' | 'FORBIDDEN' | 'INTERNAL_SERVER_ERROR' | 'NO_CONTENT' | 'NOT_FOUND' | 'OK' | 'SERVICE_UNAVAILABLE' | 'UNAUTHORIZED'
  - `responses` object
  - `response` object
    - `links` object[]
      - `rel` string
      - `uri` string, uri
      - `title` string
      - `uriBuilder` object
      - `rels` string[]
      - `type` string
      - `params` object
    - `mediaType` object
      - `type` string
      - `subtype` string
      - `parameters` object
      - `wildcardType` boolean
      - `wildcardSubtype` boolean
    - `metadata` object
    - `stringHeaders` object
    - `entityTag` object
      - `value` string
      - `weak` boolean
    - `allowedMethods` string[]
    - `statusInfo` object
      - `reasonPhrase` string
      - `family` 'INFORMATIONAL' | 'SUCCESSFUL' | 'REDIRECTION' | 'CLIENT_ERROR' | 'SERVER_ERROR' | 'OTHER'
      - `statusCode` integer
    - `cookies` object
    - `entity` object
    - `length` integer
    - `location` string, uri
    - `language` object
      - `language` string
      - `displayName` string
      - `country` string
      - `variant` string
      - `script` string
      - `unicodeLocaleAttributes` string[]
      - `unicodeLocaleKeys` string[]
      - `displayLanguage` string
      - `displayScript` string
      - `displayCountry` string
      - `displayVariant` string
      - `extensionKeys` string[]
      - `iso3Language` string
      - `iso3Country` string
    - `date` string, date-time
    - `lastModified` string, date-time
    - `status` integer
    - `headers` object

## Other responses

- `400` — Bad request - invalid filters
- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/threatconnect/apis/threatconnect-api.md) · [All operations](https://skmtc.net/threatconnect/apis/threatconnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/threatconnect/threatconnect-api/revisions/730b8a350ae7/schema)
