Azure AI Search Knowledgesources('{source Name}') API

The Knowledgesources('{sourceName}') API from Azure AI Search — 4 operation(s) for knowledgesources('{sourcename}').

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /knowledgesources('{sourceName}') Get a knowledge source · Knowledge sources get #
Ask an LLM
“What kind of knowledge source is defined for a given source name?”
“Can I read the definition of one knowledge source?”
Tell an agent
Get knowledge source {sourceName}.
Show the definition of knowledge source {sourceName}.
PUT /knowledgesources('{sourceName}') Create or update a knowledge source · Knowledge sources create or update #
Ask an LLM
“How do I create a new knowledge source in Azure AI Search?”
“Can I update an existing knowledge source's description by sending its definition again?”
Tell an agent
Create knowledge source {sourceName} named {name} of kind {kind}.
Update knowledge source {sourceName} with description {description}, kind {kind} and name {name}.
DELETE /knowledgesources('{sourceName}') Delete a knowledge source · Knowledge sources delete #
Ask an LLM
“How do I remove a knowledge source from my search service?”
“Can I delete a knowledge source only if its ETag matches?”
Tell an agent destructive · confirm first
Delete knowledge source {sourceName}.
Remove knowledge source {sourceName} if its ETag is {etag}.
GET /knowledgesources('{sourceName}')/files List files in a File knowledge source · Knowledge sources list files #
Ask an LLM
“Which files are in a File knowledge source?”
“Can I list only the files under a directory prefix?”
Tell an agent
List files in knowledge source {sourceName}.
List files in {sourceName} whose path starts with {prefix}.
POST /knowledgesources('{sourceName}')/files Upload a file to a File knowledge source · Knowledge sources upload file multipart #
Ask an LLM
“How do I upload a document so it gets indexed in a File knowledge source?”
“Can I upload a file with custom metadata in multipart form?”
Tell an agent
Upload file {content} to knowledge source {sourceName} with metadata {metadata}.
Add a new file to {sourceName} described by {metadata} and containing {content}.
PUT /knowledgesources('{sourceName}')/files('{fileId}') Replace the content of a file in a File knowledge source · Knowledge sources update file #
Ask an LLM
“How do I re-index an existing file by replacing its content?”
“Can I update a file in place without deleting and re-adding it?”
Tell an agent
Replace the content of file {fileId} in knowledge source {sourceName} with {content}, metadata {metadata}.
Re-index existing file {fileId} in {sourceName} using {metadata} and {content}.
DELETE /knowledgesources('{sourceName}')/files('{fileId}') Delete a file from a File knowledge source · Knowledge sources delete file #
Ask an LLM
“How do I remove a file from a File knowledge source and its index?”
“Can I delete a single file by its ID?”
Tell an agent destructive · confirm first
Delete file {fileId} from knowledge source {sourceName}.
Remove the indexed content of file {fileId} in {sourceName}.
GET /knowledgesources('{sourceName}')/status Get the status of a knowledge source · Knowledge sources get status #
Ask an LLM
“Is my knowledge source ready to use?”
“What is the current status of a knowledge source?”
Tell an agent
Get the status of knowledge source {sourceName}.
Check whether knowledge source {sourceName} is ready.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-ai-search:azure-ai-search-knowledgesources-sourcename-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-ai-search-knowledgesources-sourcename-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure AI Search Knowledgesources('{source Name}') API
  version: '2026-10-01'
  description: Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- ApiKeyAuth: []
- OAuth2Auth:
  - https://search.azure.com/.default
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/azure-ai-search/openapi/azure-ai-search-knowledgesources-sourcename-api-openapi.yml