business_knowledge

Create a business knowledge library

Changed on
post/api/projects/{project_id}/business_knowledge/libraries/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/business_knowledge/libraries/
  • Auth: HTTP bearer

Path parameters

project_idstring required

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

Request body

namestring required

Name for the new library.

Response

idstring uuid required

Library id.

namestring required

Library name. Unique in this project, ignoring case.

is_defaultboolean required

True for the library new learned sources join. There is at most one.

source_countinteger required

How many sources are in this library.

reposstring[] required

Selected repositories in this library that this environment is allowed to read.

Changes