Learnings

Update a learning

Changed on

Replaces canonical learning text and refreshes its LanceDB embedding. The text is trimmed and recognized credentials are redacted before persistence and indexing. Enterprise plan and learning:write permission required.

patch/v1/learnings/{learning_id}

Request

  • Base URL
    https://api.coderabbit.ai
  • Auth
    API key in header x-coderabbitai-api-key

Path parameters

learning_idstring required

Learning ID returned by GET /v1/learnings.

Request body

org_idstring

Required for workspace API keys; the git-provider organization ID to target. Ignored for organization keys.

learningstring required

Response

Learning updated and, when shared, reindexed.

Changes