From acb993632a23a8420d659d621b977e6ca902942c Mon Sep 17 00:00:00 2001
From: Zach Giordano <zgmx22@gmail.com>
Date: Mon, 29 Apr 2024 11:20:35 -0400
Subject: [PATCH] Add cloud docs

---
 docs/griptape-cloud/api/api-reference.md | 1 +
 docs/griptape-cloud/index.md             | 3 +++
 docs/index.md                            | 4 ++++
 docs/plugins/swagger_ui_plugin.py        | 2 +-
 mkdocs.yml                               | 3 +++
 5 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 docs/griptape-cloud/api/api-reference.md
 create mode 100644 docs/griptape-cloud/index.md

diff --git a/docs/griptape-cloud/api/api-reference.md b/docs/griptape-cloud/api/api-reference.md
new file mode 100644
index 000000000..95ed4459e
--- /dev/null
+++ b/docs/griptape-cloud/api/api-reference.md
@@ -0,0 +1 @@
+# Content overriden by Swagger Plugin
\ No newline at end of file
diff --git a/docs/griptape-cloud/index.md b/docs/griptape-cloud/index.md
new file mode 100644
index 000000000..6a841dccc
--- /dev/null
+++ b/docs/griptape-cloud/index.md
@@ -0,0 +1,3 @@
+# Griptape Cloud
+
+Griptape Cloud is a managed platform for running AI-powered agents, pipelines, and workflows.
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index 727761f87..5d22224e7 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -6,6 +6,10 @@ Welcome to Griptape Docs! This documentation is organized into the following sec
 
 Griptape Topic Guides discuss key topics at a high level and provide useful background information and explanation.
 
+### Griptape Cloud
+
+[Griptape Cloud](griptape-cloud/api/api-reference.md) provides an overview of the APIs available in the managed cloud service. 
+
 ### Griptape Framework
 
 [Griptape Framework](griptape-framework/index.md) provides an overview of the key topics within Griptape, and how you can get started building agents.
diff --git a/docs/plugins/swagger_ui_plugin.py b/docs/plugins/swagger_ui_plugin.py
index 0243f6900..6d5fb52da 100644
--- a/docs/plugins/swagger_ui_plugin.py
+++ b/docs/plugins/swagger_ui_plugin.py
@@ -5,7 +5,7 @@
 from markupsafe import Markup
 
 config_scheme = {
-    "spec_url": "https://cloud-preview.griptape.ai/public/openapi.yaml",
+    "spec_url": "https://griptape-cloud-assets.s3.amazonaws.com/Griptape.openapi.yaml",
     "template": "swagger.md.tmpl",
     "outfile": "griptape-cloud/api/api-reference.md",
 }
diff --git a/mkdocs.yml b/mkdocs.yml
index bb90117a3..a083f2b8b 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -74,6 +74,9 @@ nav:
   - Home:
       - Overview: "index.md"
       - Contributing: "contributing.md"
+  - Cloud:
+      - Cloud API:
+          - API Reference: "griptape-cloud/api/api-reference.md"
   - Framework:
       - Overview: "griptape-framework/index.md"
       - Structures: