{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gradientj/main/json-schema/gradientj-post-api-v0-deploy-inference-request-schema.json",
  "title": "PostApiV0DeployInferenceRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gradientj-openapi-generated.yml#/components/schemas/PostApiV0DeployInferenceRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The UUID of the model to be used for inference."
    },
    "deployment_version": {
      "type": "string",
      "description": "The ID of the specific deployment version to use. If not provided, the default version will be used."
    },
    "params": {
      "type": "object",
      "description": "Parameters for the inference job."
    },
    "chat_history": {
      "type": "array",
      "description": "Optional chat history to provide context for chat-based models."
    }
  },
  "required": [
    "model",
    "params"
  ]
}