provider business_knowledge POST /api/projects/{project_id}/business_knowledge/sources/{id}/refresh/
@utdk/posthog /api/projects/{project_id}/business_knowledge/sources/{id}/refresh/
business_knowledge_sources_refresh_create
id path required
A UUID string identifying this knowledge source.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
businessKnowledgeSourcesRefreshCreate
POST/api/projects/{project_id}/business_knowledge/sources/{id}/refresh/

Parameters

required

A UUID string identifying this knowledge source.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required
required
required
required
required
required
required

Number of documents belonging to this source.

required

Number of chunks belonging to this source.

required
required
required
required
required
required
required
required

When the background coordinator will next auto-refresh this source. Null for manual sources or sources never refreshed.

required

True when at least one document in this source was flagged unsafe by the content classifier and is therefore excluded from agent search.

required

Semantic-index state of this source. A `ready` source serves keyword (full-text) search immediately, but semantic search needs a background job to classify and embed its documents, which can take up to an hour. `pending` — at least one document is still awaiting classification or embedding. `completed` — every eligible document has been submitted to the embedding pipeline. `disabled` — the organization has not approved AI data processing, so embeddings never run and search stays keyword-only. Only meaningful while `status` is `ready`.

required
required
required
required
required
required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.businessKnowledgeSourcesRefreshCreate({
  "document_count": 0,
  "chunk_count": 0
})