[GH-ISSUE #4239] [FEAT]: Custom metadata on workspaces #2695

Closed
opened 2026-02-22 18:30:50 -05:00 by yindo · 1 comment
Owner

Originally created by @terencemcdevitt-argondigital on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4239

What would you like to see?

We create workspaces via the AnythingLLM API and would like to be able to provide custom metadata about those workspaces such that we can then fetch workspaces based on that metadata.

As an example, we may create temporary workspaces in our app but we also have permanent workspaces. Without using some sort of naming convention on the workspaces, we have no way to programmatically remove the temporary workspaces but leave the permanent ones.

We'd love a way to add something like the following to the payload on workspace create:

{
    "customMetadata" : {
         "isTemporary": true,
         "someOtherKey" : "Some value",
         etc.
    }
}

where "customMetadata" can contain arbitrary JSON.
We'd also like the workspaces GET endpoint to support searching/filtering based on values within the custom JSON.

Originally created by @terencemcdevitt-argondigital on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4239 ### What would you like to see? We create workspaces via the AnythingLLM API and would like to be able to provide custom metadata about those workspaces such that we can then fetch workspaces based on that metadata. As an example, we may create temporary workspaces in our app but we also have permanent workspaces. Without using some sort of naming convention on the workspaces, we have no way to programmatically remove the temporary workspaces but leave the permanent ones. We'd love a way to add something like the following to the payload on workspace create: ``` { "customMetadata" : { "isTemporary": true, "someOtherKey" : "Some value", etc. } } ``` where "customMetadata" can contain arbitrary JSON. We'd also like the workspaces GET endpoint to support searching/filtering based on values within the custom JSON.
yindo added the enhancementfeature request labels 2026-02-22 18:30:50 -05:00
yindo closed this issue 2026-02-22 18:30:50 -05:00
Author
Owner

@timothycarambat commented on GitHub (Aug 4, 2025):

This seems too specific for a particular use case currently. Ill leave it open to see if it gets more upvotes, but I dont forsee temporary workspaces like this being a use case we intend to adopt.

We have sessionID available for ephemeral chats that are non-persistent for any specific user or otherwise and that could be useful here. However you need to maintain these sessionID on your end since they are simply used for chat history partitioning

@timothycarambat commented on GitHub (Aug 4, 2025): This seems too specific for a particular use case currently. Ill leave it open to see if it gets more upvotes, but I dont forsee temporary workspaces like this being a use case we intend to adopt. We have `sessionID` available for ephemeral chats that are non-persistent for any specific user or otherwise and that could be useful here. However you need to maintain these sessionID on your end since they are simply used for chat history partitioning
yindo changed title from [FEAT]: Custom metadata on workspaces to [GH-ISSUE #4239] [FEAT]: Custom metadata on workspaces 2026-06-05 14:48:02 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2695