skills/get-chat-thread/SKILL.md
# Get a Chat Thread Retrieve details of an existing conversational thread with Microsoft 365 Copilot. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: GET - **Path**: `/copilot/chat/threads/{threadId}` - **Operation ID**: `getChatThreadById` - **Tag**: Chat Completions - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads/{threadId}`
npx skillsauth add naftiko/microsoft-365-copilot-sandbox skills/get-chat-threadInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieve details of an existing conversational thread with Microsoft 365 Copilot.
/copilot/chat/threads/{threadId}getChatThreadByIdMock server URL: http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads/{threadId}
Authorization: Bearer {access-token}Copilot.Chat.ReadWrite| Parameter | In | Type | Required | Description |
|-----------|-----|------|----------|-------------|
| threadId | path | string | Yes | Unique identifier of the chat thread |
curl -X GET "http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads/thread-abc-123" \
-H "Authorization: Bearer {access-token}"
{
"id": "thread-abc-123",
"displayName": "Travel Policy Questions",
"createdDateTime": "2025-09-10T16:00:00Z",
"lastUpdatedDateTime": "2025-09-10T16:45:00Z"
}
When the user wants to retrieve details about an existing chat thread, use this operation by making a GET request to /copilot/chat/threads/{threadId}. Provide the thread ID as a path parameter. This returns the thread metadata including display name and timestamps.
development
# Renew or Update a Subscription Renew or update the configuration of an existing Copilot change notification subscription. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/subscriptions/{subscriptionId}` - **Operation ID**: `updateCopilotSubscription` - **Tag**: Change Notifications - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-a
development
# Update a Package Update configuration or status of an app or agent deployed in Microsoft 365. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/packages/{packageId}` - **Operation ID**: `updateCopilotPackage` - **Tag**: Packages - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/packages/{packageId}` ## Required He
development
# Send a Message to Microsoft 365 Copilot Enable conversational experiences powered by Microsoft 365 Copilot. Send user messages and receive AI-generated responses grounded in Microsoft 365 data and user context. Supports multi-turn conversations. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/chat/completions` - **Operation ID**: `createChatCompletion` - **Tag**: Chat Completions - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft
development
# Search OneDrive Content Using Natural Language Perform hybrid search (semantic and lexical) across OneDrive for work or school content using natural language queries. Results are returned with contextual understanding and intelligent ranking while maintaining security and compliance. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/search/query` - **Operation ID**: `querySearchContent` - **Tag**: Content Search - **OpenAPI**: [microsoft-copilot-ap