Project Context

Replace project knowledge

Replaces the whole project knowledge document. Send the updatedAt you loaded as expectedUpdatedAt to fail with conflict instead of overwriting newer text; send an empty string to clear it. Prefer the edit operation for targeted changes.

put/websiteKnowledge/projectKnowledge

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websiteKnowledge/projectKnowledge
  • Auth: HTTP bearer

Request body

websiteIdstring required
contentstring required
expectedUpdatedAtstring date-time nullable

The updatedAt you loaded (null when the text was empty). When supplied and stale, the request fails with conflict instead of overwriting newer text.

Response

The saved project knowledge.

contentstring required
updatedAtstring date-time nullable required
agentNotesstring required
agentNotesUpdatedAtstring date-time nullable required

Changes

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