clearCopilotMemory
Requires permission catalog:copilot:chat.
Forget every fact Minori saved about the CALLER. Returns how many facts were live.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation ClearCopilotMemory {
clearCopilotMemory
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation ClearCopilotMemory {\n clearCopilotMemory\n}"
}
EOF
Response:
{
"data": {
"clearCopilotMemory": 0
}
}
clearCopilotMemory: Int!
Type
Int scalar
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.