knowledge-graph

Build Product Graph

Trigger a Product Context Graph build for a product from its connected git repo.

Reuses build_product_graph_for_user (the MCP tool's path) so token handling lives in one place. Returns {job_id} on success; poll GET /knowledge-graph/products/jobs/{job_id}.

post/knowledge-graph/products/{product_id}/build

Request

  • Base URL
    https://api.evidenso.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

product_idstring required

Request body

repo_urlstring

GitHub/GitLab repo URL to clone + analyze (optional).

website_urlstring

Single public product website URL to crawl + web-search (optional).

website_urlsstring[]

Multiple public sites to crawl in one build (marketing + docs/help). First is primary (gets web-search discovery); the rest are crawl-only. Takes precedence over website_url.

repo_subdirstring

Analyze only this path within the repo (monorepo).

providerstring

'github' | 'gitlab'; inferred from repo_url host when blank.

product_namestring

Scope the git token by product name; resolved from id when blank.

include_repo_docsboolean
run_extractionboolean
clear_existingboolean
crawl_max_pagesinteger
discover_countinteger
selected_integrationsstring[]

Connected integration slugs (slack/googledrive/…) to ingest into the product graph via fetch-for-bronze (Mode-2 parity).

scope_by_integrationobject

Per-integration item selection from the Manage-Access picker {slug: {mode, channel_ids?/folder_ids?/file_ids?/…}}.

Response

Successful Response

unknown required

Changes

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