> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/saved-searches/openapi.json](/docs/api/saved-searches/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Saved searches: Create a saved search

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

One endpoint of [Saved searches](/docs/api/saved-searches.md). Authentication, workspaces and errors: [/docs.md](/docs.md).

## Create a saved search

`POST /v1/saved-searches` - operationId `saved-searches.create`

| Permission | Rate limit |
| --- | --- |
| Search edit | 4,800 requests a minute per API key |

Save a set of Search filters under a name. The saved search belongs to you, in this workspace.

The body takes:

- `name`: the name shown in the list.
- `searchType`: `People` for a people search, `Account` for a company search, or `JobPosts`
for a job post search. Any casing works.
- `filtersJson`: the search body, as a JSON string. For `JobPosts` it must be an object with both
`jobFilters` and `peopleFilters`, as `POST /v1/job-post-searches/people` takes them.
- `isShared`: true shares the search with the whole workspace. Omitted means true.

The call answers `201` with the saved search and a `Location` header.

Errors:

- `400 validation_failed`: `searchType` is unknown or `filtersJson` is not valid for it.
- `400 lookalike_not_storable`: the filters carry a lookalike filter. A lookalike search is a snapshot, so
save its results instead.
- `402 plan_required`: `filtersJson` holds a funding filter (as on `POST /v1/search/people`) and the
workspace's plan does not include funding signals (`error.refusal` feature `funding_signals`).

Requires Search edit.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/saved-searches/POST/v1/saved-searches)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Response 201

`data` is a `SavedSearch`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | The saved search's id. |
| `clientId` | string | The id of the workspace the saved search belongs to, as a string. |
| `userId` | string | The Kenso user id of the member who created the saved search, as a string. |
| `ownerId` | string | The Kenso user id of the saved search's owner, its creator, as a string. |
| `ownerName` | string | The owner's display name, or their user id when Kenso has no name for them. |
| `name` | string | The name shown in the list. |
| `searchType` | string | What the filters search: `People`, `Account` (companies), `JobPosts` or `Places`. |
| `filtersJson` | string | The saved filters: the search body, as a JSON-encoded string. |
| `resultCount` | integer (int64) | How many matches the filters had when the saved search last ran. Null when it never ran, or since the filters changed. |
| `currentCount` | integer (int64) | Not filled: always null. |
| `isShared` | boolean | True when the saved search is shared with the whole workspace. |
| `sharedWithMe` | boolean | True when the saved search is someone else's and you have access to it. |
| `orgWide` | boolean | True when the whole workspace has access to the saved search. |
| `permissions` | string | Your access to the saved search: `read`, `edit`, `admin` or `none`. |
| `createdAt` | string | When the saved search was created, in UTC. ISO 8601, such as `2026-11-15T10:00:00`, with or without a trailing `Z`. |
| `cachedAt` | string | When `resultCount` was last counted, in UTC. ISO 8601, such as `2026-11-15T10:00:00`, with or without a trailing `Z`. Null when it never was, or since the filters changed. |
| `lastExecutedAt` | string | When the saved search last ran, in UTC. ISO 8601, such as `2026-11-15T10:00:00`, with or without a trailing `Z`. Null when it never ran, or since the filters changed. |
| `isValid` | boolean | False when the saved filters can no longer run. `invalidReason` then says why. |
| `invalidReason` | string | Why the saved filters can no longer run: `technology_filters_retired`, `unknown_filter_fields` or `web_tech_filters_disabled`. Null when they can. |

### Request

```bash
curl -X POST "https://api.ken.so/v1/saved-searches" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 812,
    "clientId": "string",
    "userId": "string",
    "ownerId": "string",
    "ownerName": "string",
    "name": "string",
    "searchType": "string",
    "filtersJson": "string",
    "resultCount": 1,
    "currentCount": 1,
    "isShared": true,
    "sharedWithMe": true,
    "orgWide": true,
    "permissions": "read",
    "createdAt": "2026-11-15T10:00:00",
    "cachedAt": "2026-11-15T10:00:00",
    "lastExecutedAt": "2026-11-15T10:00:00",
    "isValid": true,
    "invalidReason": "technology_filters_retired"
  }
}
```
