Microsoft Copilot · Schema
RetrievalRequest
AgentsAI AssistantArtificial IntelligenceChatbotsCopilotExtensibilityGenerative AIMicrosoft-365Productivity
Properties
| Name | Type | Description |
|---|---|---|
| queryString | string | Natural language query string used to retrieve relevant text extracts. Should be a single sentence. Avoid spelling errors in context-rich keywords. |
| dataSource | string | Indicates whether extracts should be retrieved from SharePoint, OneDrive, or Copilot connectors. |
| dataSourceConfiguration | object | |
| filterExpression | string | Keyword Query Language (KQL) expression with queryable properties to scope retrieval. Supports AND, OR, NOT, and inequality operators. Supported SharePoint/OneDrive properties include Author, FileExte |
| resourceMetadata | array | List of metadata fields to return for each item. Only retrievable metadata properties can be included. By default, no metadata is returned. |
| maximumNumberOfResults | integer | Number of results to return. Must be between 1 and 25. Defaults to 25. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RetrievalRequest",
"title": "RetrievalRequest",
"type": "object",
"required": [
"queryString",
"dataSource"
],
"properties": {
"queryString": {
"type": "string",
"maxLength": 1500,
"description": "Natural language query string used to retrieve relevant text extracts. Should be a single sentence. Avoid spelling errors in context-rich keywords.",
"example": "example_value"
},
"dataSource": {
"type": "string",
"enum": [
"sharePoint",
"oneDriveBusiness",
"externalItem"
],
"description": "Indicates whether extracts should be retrieved from SharePoint, OneDrive, or Copilot connectors.",
"example": "sharePoint"
},
"dataSourceConfiguration": {
"$ref": "#/components/schemas/DataSourceConfiguration"
},
"filterExpression": {
"type": "string",
"description": "Keyword Query Language (KQL) expression with queryable properties to scope retrieval. Supports AND, OR, NOT, and inequality operators. Supported SharePoint/OneDrive properties include Author, FileExtension, Filename, FileType, InformationProtectionLabelId, LastModifiedTime, ModifiedBy, Path, SiteID, and Title.",
"example": "example_value"
},
"resourceMetadata": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of metadata fields to return for each item. Only retrievable metadata properties can be included. By default, no metadata is returned.",
"example": []
},
"maximumNumberOfResults": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"default": 25,
"description": "Number of results to return. Must be between 1 and 25. Defaults to 25.",
"example": 10
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-copilot-retrievalrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.