Retrieve a knowledge store item
Authentication
Your API key.
You can find your API key on the API Keys page.
Path parameters
Response
The processing status of the item. For the meaning of each value, see the Item statuses section on The knowledge store item object page.
System-generated metadata for the source asset. Its asset_type field
always matches the item’s top-level asset_type field.
The custom metadata of the source asset. Keys are strings; each value is a string, a number, a boolean, or an array of strings.
The platform copies the custom metadata of the asset into this field. The copy has the following limits:
- Up to 50 key-value pairs. If the asset has more, the platform sorts the keys by Unicode code point and copies the first 50.
- Keys are strings of up to 128 characters.
- String values can have up to 8192 characters.
- The strings in an array can have up to 8192 characters in total.
The platform does not copy a key or a value over these limits. The asset keeps all its custom metadata.
The platform updates this field when the custom metadata of the asset changes. If you change a value on the asset to one over a limit, this field contains the earlier value. This field then differs from the asset.
To work with the custom metadata of the asset:
- To retrieve it, use the
GETmethod of the/assets/{asset_id}endpoint and read theuser_metadatafield of the response. - To change it, use the
PATCHmethod of the/assets/{asset_id}/user-metadataendpoint.
To set custom metadata for the knowledge store item only, use item_metadata.
The custom metadata of the knowledge store item. Keys are strings; each value is a string, a number, a boolean, or an array of strings.
This field is separate from the custom metadata of the source asset:
- A change to the custom metadata of the source asset does not change this field.
- The same key can have different values in the
metadatafield and in theitem_metadatafield.
You set it when you create the item or change it with the PATCH or PUT method of the /knowledge-stores/{knowledge_store_id}/items/{item_id}/item-metadata endpoint.
This field is absent when no item metadata has been set.
Metadata that the platform extracts from the whole item, as defined by the enrichment configuration of the knowledge store.
It contains the properties that have the granularity keyword set to video for a video, or to image for an image. Properties that have the granularity keyword set to shot do not appear in this field.
Keys are the property names; each value matches its property definition. A property with no value is omitted.
The field is present only when the item is ready and contains at least one value.