{
  "request": {
    "method": "POST",
    "url": "https://api.vectara.io/v2/corpora/product-docs/documents",
    "headers": {
      "x-api-key": "{VECTARA_API_KEY}",
      "Content-Type": "application/json"
    },
    "body": {
      "id": "auth-keys-guide",
      "type": "core",
      "metadata": {
        "section": "Authentication",
        "version": "v2",
        "source_url": "https://docs.example.com/auth/keys"
      },
      "document_parts": [
        {
          "text": "API keys can be rotated from the Authentication settings in the Vectara console.",
          "metadata": { "heading": "Rotating keys" }
        },
        {
          "text": "Once rotated, the old key remains valid for 60 minutes to allow rollover.",
          "metadata": { "heading": "Rollover window" }
        }
      ]
    }
  },
  "response": {
    "status": 201,
    "body": {
      "id": "auth-keys-guide",
      "type": "core"
    }
  }
}
