Skip to main content

unarchiveCopilotSession

Requires permission catalog:copilot:chat.

Bring one of the CALLER'S OWN archived chats back into their list.

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:

mutation UnarchiveCopilotSession($id: ID!) {
unarchiveCopilotSession(id: $id) {
id
title
status
createdAt
awaitingApprovalCount
lastMessageAt
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"unarchiveCopilotSession": {
"id": "id",
"title": "string",
"status": "string",
"createdAt": 0,
"awaitingApprovalCount": 0,
"lastMessageAt": 0
}
}
}
unarchiveCopilotSession(
id: ID!
): CopilotSessionSummary!

Arguments​

unarchiveCopilotSession.id ● ID! non-null scalar​

The ID of the Copilot session.

Type​

CopilotSessionSummary object​

One row in the user's own conversation list.