﻿# Kagi Search API inherits account settings: separate retrieval state from Assistant threads

Record the Kagi account search settings that influence API retrieval, and keep that state separate from Assistant models, web toggles, and conversation threads.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-kagi-search-api-account-settings/
Language: en

## Identify the hidden input

A regression comparison sends the same query to Kagi Search on different days and notices different publishers. Before attributing the change to the search index, inspect the account's search preferences. The request string may be identical while account-level settings that shape retrieval have changed. Treat those settings as configuration evidence for the comparison.

## Read the current Search boundary

The [Search API guide](https://help.kagi.com/kagi/api/search.html) documents the current search route and explicitly says the API inherits account settings, including website promotion or blocking and snippet length. Do not assume a raw API request is automatically free of personalization. Preserve the effective account configuration or a documented configuration revision with the run.

## Separate eligibility from presentation

[Personalized Results](https://help.kagi.com/kagi/features/website-info-personalized-results.html) describes website controls. A blocked publisher changes which evidence can appear; a snippet-length preference changes the material available in the result preview. These effects need separate diagnostics. The application can otherwise mistake a missing publisher for poor recall or a shorter excerpt for a changed page.

For a documentation assistant, record approved source preferences independently of the user's question. If a preference changes between evaluations, rerun the relevant baseline under the new state rather than silently combining measurements taken under incompatible configurations.

## Keep Assistant state distinct

The [Assistant guide](https://help.kagi.com/kagi/ai/assistant.html) separately describes model choice, optional web access, uploaded context, and saved threads. Those features belong to an interactive assistant workflow. A Search API response does not establish that the same conversation history, uploaded files, or model selection was applied to its results.

## Design a reproducible comparison

Store query, time, API surface, account configuration revision, and the actual returned material. When comparing the consumer Assistant with a custom Search-based application, declare which extra steps each performs. A custom client may own answer generation and conversation storage, so matching search input alone does not make the workflows equivalent.

The local guides to [task contracts](/journal/learn-codex-task-contract/) and [response validation](/journal/learn-openrouter-response-contract/) help specify that boundary. Use stored examples with a changed publisher preference and changed snippet setting to verify that the integration reports configuration changes before making claims about provider quality.
