copilotMemoryFacts
Requires permission catalog:copilot:chat.
Facts Minori has saved about the CALLER (subjectType USER, the default) or about the organization (TENANT, which additionally requires settings:organization:read). Newest first.
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
query CopilotMemoryFacts {
copilotMemoryFacts {
category
confidence
key
origin
sourceSessionId
subjectType
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CopilotMemoryFacts {\n copilotMemoryFacts {\n category\n confidence\n key\n origin\n sourceSessionId\n subjectType\n }\n}"
}
EOF
Response:
{
"data": {
"copilotMemoryFacts": [
{
"category": "CONSTRAINT",
"confidence": 0,
"key": "string",
"origin": "string",
"sourceSessionId": "id",
"subjectType": "TENANT"
}
]
}
}
copilotMemoryFacts(
subjectType: CopilotMemorySubjectType
): [CopilotMemoryFactType!]!
Arguments
copilotMemoryFacts.subjectType ● CopilotMemorySubjectType enum
Only facts about this kind of subject.
Type
CopilotMemoryFactType object
A fact the copilot remembers.