33Types:
44
55``` python
6- from agility.types import Assistant, AssistantWithConfig, AssistantListResponse
6+ from agility.types import Assistant, AssistantWithConfig
77```
88
99Methods:
1010
1111- <code title =" post /api/assistants/ " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >create</a >(\*\* <a href =" src/agility/types/assistant_create_params.py " >params</a >) -> <a href =" ./src/agility/types/assistant.py " >Assistant</a ></code >
1212- <code title =" get /api/assistants/{assistant_id} " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >retrieve</a >(assistant_id) -> <a href =" ./src/agility/types/assistant_with_config.py " >AssistantWithConfig</a ></code >
1313- <code title =" put /api/assistants/{assistant_id} " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >update</a >(assistant_id, \*\* <a href =" src/agility/types/assistant_update_params.py " >params</a >) -> <a href =" ./src/agility/types/assistant_with_config.py " >AssistantWithConfig</a ></code >
14- - <code title =" get /api/assistants/ " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >list</a >(\*\* <a href =" src/agility/types/assistant_list_params.py " >params</a >) -> <a href =" ./src/agility/types/assistant_list_response .py " >AssistantListResponse </a ></code >
14+ - <code title =" get /api/assistants/ " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >list</a >(\*\* <a href =" src/agility/types/assistant_list_params.py " >params</a >) -> <a href =" ./src/agility/types/assistant_with_config .py " >SyncMyOffsetPage [ AssistantWithConfig ] </a ></code >
1515- <code title =" delete /api/assistants/{assistant_id} " >client.assistants.<a href =" ./src/agility/resources/assistants/assistants.py " >delete</a >(assistant_id) -> None</code >
1616
1717## AccessKeys
1818
1919Types:
2020
2121``` python
22- from agility.types.assistants import AccessKey, AccessKeyListResponse
22+ from agility.types.assistants import AccessKey
2323```
2424
2525Methods:
2626
2727- <code title =" post /api/assistants/{assistant_id}/access_keys/ " >client.assistants.access_keys.<a href =" ./src/agility/resources/assistants/access_keys.py " >create</a >(assistant_id, \*\* <a href =" src/agility/types/assistants/access_key_create_params.py " >params</a >) -> <a href =" ./src/agility/types/assistants/access_key.py " >AccessKey</a ></code >
28- - <code title =" get /api/assistants/{assistant_id}/access_keys/{access_key_id} " >client.assistants.access_keys.<a href =" ./src/agility/resources/assistants/access_keys.py " >retrieve</a >(access_key_id, \* , assistant_id) -> <a href =" ./src/agility/types/assistants/access_key.py " >AccessKey</a ></code >
29- - <code title =" get /api/assistants/{assistant_id}/access_keys/ " >client.assistants.access_keys.<a href =" ./src/agility/resources/assistants/access_keys.py " >list</a >(assistant_id, \*\* <a href =" src/agility/types/assistants/access_key_list_params.py " >params</a >) -> <a href =" ./src/agility/types/assistants/access_key_list_response.py " >AccessKeyListResponse</a ></code >
28+ - <code title =" get /api/assistants/{assistant_id}/access_keys/ " >client.assistants.access_keys.<a href =" ./src/agility/resources/assistants/access_keys.py " >list</a >(assistant_id, \*\* <a href =" src/agility/types/assistants/access_key_list_params.py " >params</a >) -> <a href =" ./src/agility/types/assistants/access_key.py " >SyncMyOffsetPage[ AccessKey] </a ></code >
3029
3130# KnowledgeBases
3231
3332Types:
3433
3534``` python
36- from agility.types import KnowledgeBaseWithConfig, KnowledgeBaseListResponse
35+ from agility.types import KnowledgeBaseWithConfig
3736```
3837
3938Methods:
4039
4140- <code title =" post /api/knowledge_bases/ " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >create</a >(\*\* <a href =" src/agility/types/knowledge_base_create_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_base_with_config.py " >KnowledgeBaseWithConfig</a ></code >
4241- <code title =" get /api/knowledge_bases/{knowledge_base_id} " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >retrieve</a >(knowledge_base_id) -> <a href =" ./src/agility/types/knowledge_base_with_config.py " >KnowledgeBaseWithConfig</a ></code >
4342- <code title =" put /api/knowledge_bases/{knowledge_base_id} " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >update</a >(knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_base_update_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_base_with_config.py " >KnowledgeBaseWithConfig</a ></code >
44- - <code title =" get /api/knowledge_bases/ " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >list</a >(\*\* <a href =" src/agility/types/knowledge_base_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_base_list_response .py " >KnowledgeBaseListResponse </a ></code >
43+ - <code title =" get /api/knowledge_bases/ " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >list</a >(\*\* <a href =" src/agility/types/knowledge_base_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_base_with_config .py " >SyncMyOffsetPage [ KnowledgeBaseWithConfig ] </a ></code >
4544- <code title =" delete /api/knowledge_bases/{knowledge_base_id} " >client.knowledge_bases.<a href =" ./src/agility/resources/knowledge_bases/knowledge_bases.py " >delete</a >(knowledge_base_id) -> None</code >
4645
4746## Sources
4847
4948Types:
5049
5150``` python
52- from agility.types.knowledge_bases import (
53- Source,
54- SourceStatusResponse,
55- SourceListResponse,
56- SourceSyncResponse,
57- )
51+ from agility.types.knowledge_bases import Source, SourceStatusResponse, SourceSyncResponse
5852```
5953
6054Methods:
6155
6256- <code title =" post /api/knowledge_bases/{knowledge_base_id}/sources/ " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >create</a >(knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/source_create_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/source.py " >Source</a ></code >
6357- <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/{source_id} " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >retrieve</a >(source_id, \* , knowledge_base_id) -> <a href =" ./src/agility/types/knowledge_bases/source.py " >Source</a ></code >
6458- <code title =" put /api/knowledge_bases/{knowledge_base_id}/sources/{source_id} " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >update</a >(source_id, \* , knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/source_update_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/source.py " >Source</a ></code >
65- - <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/ " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >list</a >(knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/source_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/source_list_response .py " >SourceListResponse </a ></code >
59+ - <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/ " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >list</a >(knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/source_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/source .py " >SyncMyOffsetPage [ Source ] </a ></code >
6660- <code title =" delete /api/knowledge_bases/{knowledge_base_id}/sources/{source_id} " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >delete</a >(source_id, \* , knowledge_base_id) -> None</code >
6761- <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/{source_id}/status " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >status</a >(source_id, \* , knowledge_base_id) -> <a href =" ./src/agility/types/knowledge_bases/source_status_response.py " >SourceStatusResponse</a ></code >
6862- <code title =" post /api/knowledge_bases/{knowledge_base_id}/sources/{source_id}/sync " >client.knowledge_bases.sources.<a href =" ./src/agility/resources/knowledge_bases/sources/sources.py " >sync</a >(source_id, \* , knowledge_base_id) -> <a href =" ./src/agility/types/knowledge_bases/source_sync_response.py " >object</a ></code >
@@ -72,25 +66,13 @@ Methods:
7266Types:
7367
7468``` python
75- from agility.types.knowledge_bases.sources import Document, DocumentListResponse
69+ from agility.types.knowledge_bases.sources import Document
7670```
7771
7872Methods:
7973
8074- <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/{source_id}/documents/{document_id} " >client.knowledge_bases.sources.documents.<a href =" ./src/agility/resources/knowledge_bases/sources/documents.py " >retrieve</a >(document_id, \* , knowledge_base_id, source_id) -> <a href =" ./src/agility/types/knowledge_bases/sources/document.py " >Document</a ></code >
81- - <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/{source_id}/documents/ " >client.knowledge_bases.sources.documents.<a href =" ./src/agility/resources/knowledge_bases/sources/documents.py " >list</a >(source_id, \* , knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/sources/document_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/sources/document_list_response.py " >DocumentListResponse</a ></code >
82-
83- # Health
84-
85- Types:
86-
87- ``` python
88- from agility.types import HealthCheckResponse
89- ```
90-
91- Methods:
92-
93- - <code title =" get /api/health/ " >client.health.<a href =" ./src/agility/resources/health.py " >check</a >() -> <a href =" ./src/agility/types/health_check_response.py " >HealthCheckResponse</a ></code >
75+ - <code title =" get /api/knowledge_bases/{knowledge_base_id}/sources/{source_id}/documents/ " >client.knowledge_bases.sources.documents.<a href =" ./src/agility/resources/knowledge_bases/sources/documents.py " >list</a >(source_id, \* , knowledge_base_id, \*\* <a href =" src/agility/types/knowledge_bases/sources/document_list_params.py " >params</a >) -> <a href =" ./src/agility/types/knowledge_bases/sources/document.py " >SyncMyOffsetPage[ Document] </a ></code >
9476
9577# Users
9678
@@ -122,29 +104,29 @@ Methods:
122104Types:
123105
124106``` python
125- from agility.types import Thread, ThreadListResponse
107+ from agility.types import Thread
126108```
127109
128110Methods:
129111
130112- <code title =" post /api/threads/ " >client.threads.<a href =" ./src/agility/resources/threads/threads.py " >create</a >() -> <a href =" ./src/agility/types/thread.py " >Thread</a ></code >
131113- <code title =" get /api/threads/{thread_id} " >client.threads.<a href =" ./src/agility/resources/threads/threads.py " >retrieve</a >(thread_id) -> <a href =" ./src/agility/types/thread.py " >Thread</a ></code >
132- - <code title =" get /api/threads/ " >client.threads.<a href =" ./src/agility/resources/threads/threads.py " >list</a >(\*\* <a href =" src/agility/types/thread_list_params.py " >params</a >) -> <a href =" ./src/agility/types/thread_list_response .py " >ThreadListResponse </a ></code >
114+ - <code title =" get /api/threads/ " >client.threads.<a href =" ./src/agility/resources/threads/threads.py " >list</a >(\*\* <a href =" src/agility/types/thread_list_params.py " >params</a >) -> <a href =" ./src/agility/types/thread .py " >SyncMyOffsetPage [ Thread ] </a ></code >
133115- <code title =" delete /api/threads/{thread_id} " >client.threads.<a href =" ./src/agility/resources/threads/threads.py " >delete</a >(thread_id) -> None</code >
134116
135117## Messages
136118
137119Types:
138120
139121``` python
140- from agility.types.threads import Message, MessageListResponse
122+ from agility.types.threads import Message
141123```
142124
143125Methods:
144126
145127- <code title =" post /api/threads/{thread_id}/messages/ " >client.threads.messages.<a href =" ./src/agility/resources/threads/messages.py " >create</a >(thread_id, \*\* <a href =" src/agility/types/threads/message_create_params.py " >params</a >) -> <a href =" ./src/agility/types/threads/message.py " >Message</a ></code >
146128- <code title =" get /api/threads/{thread_id}/messages/{message_id} " >client.threads.messages.<a href =" ./src/agility/resources/threads/messages.py " >retrieve</a >(message_id, \* , thread_id) -> <a href =" ./src/agility/types/threads/message.py " >Message</a ></code >
147- - <code title =" get /api/threads/{thread_id}/messages/ " >client.threads.messages.<a href =" ./src/agility/resources/threads/messages.py " >list</a >(thread_id, \*\* <a href =" src/agility/types/threads/message_list_params.py " >params</a >) -> <a href =" ./src/agility/types/threads/message_list_response .py " >MessageListResponse </a ></code >
129+ - <code title =" get /api/threads/{thread_id}/messages/ " >client.threads.messages.<a href =" ./src/agility/resources/threads/messages.py " >list</a >(thread_id, \*\* <a href =" src/agility/types/threads/message_list_params.py " >params</a >) -> <a href =" ./src/agility/types/threads/message .py " >SyncMyOffsetPage [ Message ] </a ></code >
148130- <code title =" delete /api/threads/{thread_id}/messages/{message_id} " >client.threads.messages.<a href =" ./src/agility/resources/threads/messages.py " >delete</a >(message_id, \* , thread_id) -> None</code >
149131
150132## Runs
0 commit comments