{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-prepare-embedding-model-request-schema.json",
  "title": "PrepareEmbeddingModelRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-ai-models-providers-api-openapi.yml#/components/schemas/PrepareEmbeddingModelRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "HuggingFace repo id of the local embedding model to prepare, in\n`owner/name` or bare-model-id form. Must match\n`^[\\w.-]+(\\/[\\w.-]+)?$`.\n"
    },
    "trustRemoteCode": {
      "type": "boolean",
      "default": false,
      "description": "Forwarded to the embedding server as `trust_remote_code`.\nRejected with 403 unless the server has\n`EMBEDDING_SERVER_ALLOW_REMOTE_CODE=true` set.\n"
    }
  }
}