File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed
Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 26
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-b40318167017a9b927f3b415832f84c6b04e63a758b14325294ef48eb3f03440 .yml
3- openapi_spec_hash : f886839ae51ba11dac4601aeb3881155
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-8a2f638d23709e5ca31c359b3b82ac806c4f2dbb238ca28ee2afed599b3f7be3 .yml
3+ openapi_spec_hash : 87a76bf487509cec077df5d5679a03de
44config_hash : f3eb5ca71172780678106f6d46f15dda
Original file line number Diff line number Diff line change 11# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22
3- from typing import List
4- from typing_extensions import TypeAlias
3+ from typing import List , Optional
54
65from .._models import BaseModel
76
8- __all__ = ["DocumentBatchAddResponse" , "DocumentBatchAddResponseItem " ]
7+ __all__ = ["DocumentBatchAddResponse" , "Result " ]
98
109
11- class DocumentBatchAddResponseItem (BaseModel ):
10+ class Result (BaseModel ):
1211 id : str
13- """Unique identifier of the document"""
12+ """Unique identifier of the document (empty string for failed items) """
1413
1514 status : str
16- """Status of the document"""
15+ """Status of the document (e.g. 'done', 'queued', 'error') """
1716
17+ details : Optional [str ] = None
18+ """Additional error details when status is 'error'"""
1819
19- DocumentBatchAddResponse : TypeAlias = List [DocumentBatchAddResponseItem ]
20+ error : Optional [str ] = None
21+ """Error message when status is 'error'"""
22+
23+
24+ class DocumentBatchAddResponse (BaseModel ):
25+ failed : float
26+ """Count of documents that failed to add"""
27+
28+ results : List [Result ]
29+ """Array of results for each document in the batch"""
30+
31+ success : float
32+ """Count of documents successfully added"""
You can’t perform that action at this time.
0 commit comments