From 04aa2d88053ab133038e53295b991af5098f0988 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
 <142633134+stainless-app[bot]@users.noreply.github.com>
Date: Tue, 14 Jan 2025 19:22:58 +0000
Subject: [PATCH] docs(api): updates to API spec (#160)

---
 .stats.yml                  | 2 +-
 src/writerai/types/graph.py | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.stats.yml b/.stats.yml
index ded85c07..7f182d46 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,2 +1,2 @@
 configured_endpoints: 21
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-efae0fba75d52fb4c68e8f0332de2486bea6777516ef5cc90163a7c504d95194.yml
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-95e5c41bc4917566fc6ee1f849795bac2e34e5609afd25bb927252ac7e33e2f0.yml
diff --git a/src/writerai/types/graph.py b/src/writerai/types/graph.py
index 2d83ddc3..51bd9cc1 100644
--- a/src/writerai/types/graph.py
+++ b/src/writerai/types/graph.py
@@ -2,6 +2,7 @@
 
 from typing import Optional
 from datetime import datetime
+from typing_extensions import Literal
 
 from .._models import BaseModel
 
@@ -34,5 +35,11 @@ class Graph(BaseModel):
     name: str
     """The name of the graph."""
 
+    type: Literal["manual", "connector"]
+    """
+    The type of graph, either `manual` (files are uploaded via UI or API) or
+    `connector` (files are uploaded via a connector).
+    """
+
     description: Optional[str] = None
     """A description of the graph."""