---
title: "Simple search on resources"
method: POST
path: "/search/resources"
tags: ["search"]
---

# Simple search on resources

`POST /search/resources`

Simple search is a light weight API implementation exposing similar search capabilities as our main
platform search UI.

By default, the search response will return mixed result types including metadata resources, datasets,
projects, queries, insights, tables, and comments.

A free-text search term is required. Simple search does not support complex keyword or logical operator
grammar.  Light weight filters for resource owner and resource category are supported. You may optionally
specify the includeCommunityResults param to query for resources in the data.world open data community.

## Query parameters

- `sort` string[]
- `size` integer
- `from` integer
- `hydration` string[]

## Request body

- SimpleSearchRequest
  - `category` string[] — Filter by categories.
  - `includeCommunityResults` boolean
  - `owner` string[] — Filter by owners. Owners are identified by their IDs.
  - `query` string, required

## Response `200`

default response

- PaginatedGenericResultsSearchedResourceDto
  - `consistent` boolean
  - `count` integer
  - `hydrations` PubSearchHydrations
    - `agents` object
    - `catalogConcepts` object
    - `collections` object
    - `properties` object
    - `relationships` object
    - `resourceHierarchy` object
  - `next` string
  - `records` SearchedResourceDto[]
    - `assetStatus` AssetStatus
      - `assetStatusLabel` string
      - `dispositionLabel` string
    - `category` string, required
    - `collections` string[]
    - `created` string, date-time
    - `creator` string
    - `description` string
    - `fileCount` integer
    - `id` string, required
    - `iri` string
    - `numLikes` integer
    - `owner` string, required
    - `properties` object
    - `resourceDetails` ResourceDetails
      - `typeDetails` TypeDetails
        - `id` string
        - `label` string
        - `subtypeOf` string
    - `resourceLink` string, uri
    - `sourceId` string
    - `sourceOfRecord` string
    - `summary` string
    - `tableId` string
    - `tableIri` string
    - `tags` string[]
    - `title` string
    - `updated` string, date-time
    - `updatedBy` string

---

[API](https://skmtc.dev/data/apis/data-world-public-api.md) · [All operations](https://skmtc.dev/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/data/data-world-public-api/revisions/0a0cb1f94dad/schema)
