business_knowledge

Ask a business knowledge sandbox question

Start a sandbox agent that can search only this project's business knowledge. Returns immediately.

post/api/projects/{project_id}/business_knowledge/sandbox/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/business_knowledge/sandbox/
  • 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

questionstring required

Question to answer from this project's business knowledge. Blank questions are rejected. Maximum 4000 characters.

Response

The sandbox run has started.

task_idstring uuid required

Sandbox task id. Poll this id until the run finishes.

run_idstring uuid required

Run id for this question.

Changes

No recorded changes to this operation across all 1 revision of this API.