forgetCopilotMemoryFact
Requires permission catalog:copilot:chat.
Forget one fact Minori saved about the CALLER, by the key copilotMemoryFacts returned. Returns false when no live fact has that key.
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 ForgetCopilotMemoryFact($key: String!) {
forgetCopilotMemoryFact(key: $key)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation ForgetCopilotMemoryFact($key: String!) {\n forgetCopilotMemoryFact(key: $key)\n}",
"variables": {
"key": "string"
}
}
EOF
Variables:
{
"key": "string"
}
Response:
{
"data": {
"forgetCopilotMemoryFact": true
}
}
forgetCopilotMemoryFact(
key: String!
): Boolean!
Arguments
forgetCopilotMemoryFact.key ● String! non-null scalar
The key of the fact.
Type
Boolean scalar
The Boolean scalar type represents true or false.