Microsoft Azure AI Foundry · Schema
BuildDocumentModelRequest
Request body to build a new custom document model.
Artificial IntelligenceGenerative AIAI AgentsFoundation ModelsMachine LearningCloudMicrosoft AzureA2A
Properties
| Name | Type | Description |
|---|---|---|
| modelId | string | Unique document model name. |
| description | string | Document model description. |
| buildMode | object | Custom document model build mode. |
| azureBlobSource | object | Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified. |
| azureBlobFileListSource | object | Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified. |
| tags | object | List of key-value tag attributes associated with the document model. |
| maxTrainingHours | number | Max number of V100-equivalent GPU hours to use for model training. Default=0.5. |
| allowOverwrite | boolean | Allow overwriting an existing model with the same name. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/azure-ai-foundry/json-schema/azure-ai-foundry-build-document-model-request-schema.json",
"title": "BuildDocumentModelRequest",
"description": "Request body to build a new custom document model.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/azure-ai-foundry-document-models-build-api-openapi.yml#/components/schemas/BuildDocumentModelRequest",
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "Unique document model name.",
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$"
},
"description": {
"type": "string",
"description": "Document model description.",
"maxLength": 4096
},
"buildMode": {
"$ref": "#/$defs/DocumentBuildMode",
"description": "Custom document model build mode."
},
"azureBlobSource": {
"$ref": "#/$defs/AzureBlobContentSource",
"description": "Azure Blob Storage location containing the training data. Either\nazureBlobSource or azureBlobFileListSource must be specified."
},
"azureBlobFileListSource": {
"$ref": "#/$defs/AzureBlobFileListContentSource",
"description": "Azure Blob Storage file list specifying the training data. Either\nazureBlobSource or azureBlobFileListSource must be specified."
},
"tags": {
"type": "object",
"description": "List of key-value tag attributes associated with the document model.",
"additionalProperties": {
"type": "string"
}
},
"maxTrainingHours": {
"type": "number",
"format": "float",
"description": "Max number of V100-equivalent GPU hours to use for model training. Default=0.5.",
"default": 0.5
},
"allowOverwrite": {
"type": "boolean",
"description": "Allow overwriting an existing model with the same name.",
"default": false
}
},
"required": [
"modelId",
"buildMode"
],
"$defs": {
"AzureBlobContentSource": {
"type": "object",
"description": "Azure Blob Storage content.",
"properties": {
"containerUrl": {
"type": "string",
"format": "uri",
"description": "Azure Blob Storage container URL."
},
"prefix": {
"type": "string",
"description": "Blob name prefix."
}
},
"required": [
"containerUrl"
]
},
"AzureBlobFileListContentSource": {
"type": "object",
"description": "File list in Azure Blob Storage.",
"properties": {
"containerUrl": {
"type": "string",
"format": "uri",
"description": "Azure Blob Storage container URL."
},
"fileList": {
"type": "string",
"description": "Path to a JSONL file within the container specifying a subset of documents."
}
},
"required": [
"containerUrl",
"fileList"
]
},
"DocumentBuildMode": {
"type": "string",
"description": "Custom document model build mode.",
"enum": [
"template",
"neural"
],
"x-ms-enum": {
"name": "DocumentBuildMode",
"modelAsString": true,
"values": [
{
"name": "template",
"value": "template",
"description": "Target documents with similar visual templates."
},
{
"name": "neural",
"value": "neural",
"description": "Support documents with diverse visual templates."
}
]
}
}
}
}
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/azure-ai-foundry-build-document-model-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.