{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/podwise-ai/json-schema/podwise-ai-post-api-open-v1-ask-response-schema.json",
  "title": "PostApiOpenV1AskResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/podwise-ai-openapi-generated.yml#/components/schemas/PostApiOpenV1AskResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "result": {
      "type": "object",
      "description": "Result object containing answer and sources"
    },
    "result.hash": {
      "type": "string",
      "description": "Can be used to retrieve this answer later via the Get Ask History Detail endpoint"
    },
    "result.answer": {
      "type": "string",
      "description": "The AI-generated answer with [citation:N] references"
    },
    "result.relatedQuestions": {
      "type": "array"
    },
    "result.sources": {
      "type": "array",
      "description": "List of citation sources"
    },
    "result.sources.title": {
      "type": "string"
    },
    "result.sources.podName": {
      "type": "string"
    },
    "result.sources.text": {
      "type": "string",
      "description": "Relevant transcript excerpt"
    },
    "result.sources.startTime": {
      "type": "number",
      "description": "In seconds"
    },
    "result.sources.endTime": {
      "type": "number",
      "description": "In seconds"
    },
    "result.sources.speaker": {
      "type": "string"
    },
    "result.sources.epId": {
      "type": "string"
    },
    "result.sources.epSeq": {
      "type": "number"
    },
    "result.sources.audioLink": {
      "type": "string"
    },
    "result.sources.linkType": {
      "type": "string"
    },
    "result.sources.duration": {
      "type": "number",
      "description": "In seconds"
    },
    "result.sources.transcribed": {
      "type": "boolean"
    }
  }
}