You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**custom_metadata:**`typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Optional JSON representing any custom metadata for this document
933
+
**custom_metadata:**`typing.Optional[typing.Dict[str, CustomMetadataValue]]` — Optional JSON representing any custom metadata for this document
934
934
935
935
</dd>
936
936
</dl>
937
937
938
938
<dl>
939
939
<dd>
940
940
941
-
**collection_id:**`typing.Optional[str]` — If specified, document will also be added to a particular document collection
941
+
**collection_id:**`typing.Optional[str]` — If specified, the document will also be added to the provided document collection. The document does not immediately start appearing in searches of that collection due to an asynchronous embedding process. To await this process and have this endpoint return only when that embedding process is complete, use the `awaitVectorStoreSync` parameter.
**await_vector_store_sync:**`typing.Optional[bool]` — If specified, the API will wait for the vector store to be updated before returning. This is useful if you want to ensure that the document is immediately searchable after this call returns.
**resource_identifiers:**`typing.Sequence[ResourceIdentifier]` — The set of resource identifier for which you want to check authorization. Currently limited to 20 resources.
1951
-
1952
-
</dd>
1953
-
</dl>
1954
-
1955
-
<dl>
1956
-
<dd>
1957
-
1958
-
**user_email:**`str` — The user email to check authorization for.
1959
-
1960
-
</dd>
1961
-
</dl>
1962
-
1963
-
<dl>
1964
-
<dd>
1965
-
1966
-
**disable_cache:**`typing.Optional[bool]` — If specified, Credal will bypass the permissions cache and check current permissions for all resources specified.
Admin endpoint to list all resources that the specified user is authorized to read. Note this endpoint returns cached results and may not be up-to-date. You can use the checkResourceAuthorizationForUser endpoint with disableCache set to true to get the most up-to-date results.
0 commit comments