Delete a learning
curl --request DELETE \
--url https://api.coderabbit.ai/v1/learnings/{learning_id} \
--header 'x-coderabbitai-api-key: <api-key>'import requests
url = "https://api.coderabbit.ai/v1/learnings/{learning_id}"
headers = {"x-coderabbitai-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-coderabbitai-api-key': '<api-key>'}};
fetch('https://api.coderabbit.ai/v1/learnings/{learning_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Delete a learning
Idempotently deletes a canonical learning from PostgreSQL, the LanceDB knowledge index, and patterned-learning caches. Enterprise plan and learning:write permission required.
DELETE
/
v1
/
learnings
/
{learning_id}
Delete a learning
curl --request DELETE \
--url https://api.coderabbit.ai/v1/learnings/{learning_id} \
--header 'x-coderabbitai-api-key: <api-key>'import requests
url = "https://api.coderabbit.ai/v1/learnings/{learning_id}"
headers = {"x-coderabbitai-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-coderabbitai-api-key': '<api-key>'}};
fetch('https://api.coderabbit.ai/v1/learnings/{learning_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));- CLI Tool
- MCP Server
coderabbit api request -X DELETE "/learnings/$LEARNING_ID"
This operation isn’t a tool on the CodeRabbit MCP server. Call it over REST or from the CLI.
Authorizations
See Authentication for the key types and where to create a key.
Query Parameters
Response
Learning deleted or already absent.
Was this page helpful?