provider business_knowledge POST /api/projects/{project_id}/business_knowledge/sources/
@utdk/posthog /api/projects/{project_id}/business_knowledge/sources/
business_knowledge_sources_create
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
businessKnowledgeSourcesCreate
POST/api/projects/{project_id}/business_knowledge/sources/

Parameters

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

Short human label for the source. Shown in the settings list and in agent citations.

required

Raw text to index. Capped at 1 MB; larger payloads should be split into multiple sources or wait for URL/file support in Stage 2/3.

When true, this source's content is injected into every support reply prompt as general context (tone, policies, direction).

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.businessKnowledgeSourcesCreate({
  "always_include": false
})