Store Items
Inspect items within an instance store.
Store Items object
Attributes
object
StringString representing the object's type
id
Stringkind
Enumpath
Stringstore_id
Stringdirectory_id
StringNullablefile
ObjectNullabledocument
ObjectNullablecreated_at
Dateupdated_at
Date{"object": "store.item","kind": "file","file": {"object": "file","id": "fil_9jKlMnPqRsTuVwXy","status": "active","file_name": "company-logo.png","file_size": 245760,"file_type": "image/png","title": "Company Logo","purpose": "organization_logo","created_by": {"type": "organization_actor","organization_actor": {"object": "organization.actor","id": "omem_5fGhJkLmNpQrStUv","type": "member","organization_id": "org_7hNkPqRsTuVwXyZa","name": "Alex Chen","email": "[email protected]","image_url": "https://avatar-cdn.metorial.com/aimg_1234567890","teams": [{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"},{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"}]},"consumer": {"object": "consumer"}}},"document": {"object": "document","status": "active","created_by": {"type": "organization_actor","organization_actor": {"object": "organization.actor","id": "omem_5fGhJkLmNpQrStUv","type": "member","organization_id": "org_7hNkPqRsTuVwXyZa","name": "Alex Chen","email": "[email protected]","image_url": "https://avatar-cdn.metorial.com/aimg_1234567890","teams": [{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"},{"id": "tm_3eFgHjKlMnPqRsTu","name": "Engineering","slug": "engineering","assignment_id": "tmas_8jKlMnPqRsTuVwXy"}]},"consumer": {"object": "consumer"}}}}
List store items
Returns a paginated list of items for a specific store.
URL Parameters
store_id
StringThe unique identifier for the store
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalid
UnionOptionalFilter by store item ID
file_id
UnionOptionalFilter by file ID
document_id
UnionOptionalFilter by document ID
type
UnionOptionalFilter by store item type. Repeat `type` to include multiple values. Defaults to `file` and `document`.
created_at
ObjectOptionalFilter Filter by creation time by date range
updated_at
ObjectOptionalFilter Filter by update time by date range
GEThttp://api.metorial.com/stores/:store_id/items
curl -X GET "https://api.metorial.com/stores/sto_Rm4Mnheq2bfEPhBhP7SY/items" \-H "Authorization: Bearer metorial_sk_..."
Get store item by ID
Retrieves a specific item within a store.
URL Parameters
store_id
StringThe unique identifier for the store
item_id
StringThe unique identifier for the item
GEThttp://api.metorial.com/stores/:store_id/items/:item_id
curl -X GET "https://api.metorial.com/stores/sto_Rm4Mnheq2bfEPhBhP7SY/items/ite_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."