{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/credal/main/json-schema/credal-post-v1-agents-sendmessage-request-schema.json",
  "title": "PostV1AgentsSendmessageRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/credal-openapi-generated.yml#/components/schemas/PostV1AgentsSendmessageRequest",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "description": "Credal-generated Agent ID to specify which agent to route the request to."
    },
    "message": {
      "type": "string",
      "description": "The message you want to send to your agent."
    },
    "userEmail": {
      "type": "string",
      "description": "The user profile you want to use when sending the message."
    },
    "conversationId": {
      "type": "string",
      "description": "Credal-generated conversation ID for sending follow up messages."
    },
    "inputVariables": {
      "type": "array",
      "description": "Beta Optional input variables to be used in the message."
    }
  },
  "required": [
    "agentId",
    "message",
    "userEmail"
  ]
}