diff --git a/sdk/collections.mdx b/sdk/collections.mdx
index 0ed9125d..6c1eaeee 100644
--- a/sdk/collections.mdx
+++ b/sdk/collections.mdx
@@ -423,6 +423,34 @@ collections.getVector(
An optional namespace to associate with the item.
+#### getLabels
+
+Get the labels for an item in a collection.
+
+
+
+```ts AssemblyScript
+collections.getLabels(
+ collection: string,
+ key: string,
+ namespace: string = "",
+): string[]
+```
+
+
+
+
+ Name of the collection, as [defined in the manifest](../define-collections).
+
+
+
+ The key of the item to retrieve.
+
+
+
+ An optional namespace to associate with the item.
+
+
### Maintenance Functions
#### recomputeSearchMethod
@@ -550,6 +578,7 @@ class CollectionSearchResultObject {
namespace: string;
key: string;
text: string;
+ labels: string[];
distance: f64;
score: f64;
}
diff --git a/styles/config/vocabularies/general/accept.txt b/styles/config/vocabularies/general/accept.txt
index 344604f7..9016be19 100644
--- a/styles/config/vocabularies/general/accept.txt
+++ b/styles/config/vocabularies/general/accept.txt
@@ -31,6 +31,7 @@ UUID
nnClassify
serverless
getVector
+getLabels
gRPC
[Dd]graph
alterSchema