[GH-ISSUE #2840] [FEAT]: API endpoint /workspace/new append writable fields on creation #1819

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

Originally created by @PulzWave on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2840

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

When you create a new workspace via the API, it ignores additional settings, such as "openAiPrompt", and "similarityThreshold".

The /workspace/update endpoint works correctly.

I'm using the "mintplexlabs/anythingllm:latest" Docker image.

Are there known steps to reproduce?

Curl example:

curl -X 'POST' \
  'http://localhost:3001/api/v1/workspace/new' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer xxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Bleh",
  "slug": "bleh",
  "similarityThreshold": 0.75,
  "queryRefusalResponse": "null",
   "openAiPrompt": "Only say'\''bleh'\'' in responses"
}'

Response:

{
  "workspace": {
    "id": 22,
    "name": "Bleh",
    "slug": "bleh",
    "vectorTag": null,
    "createdAt": "2024-12-16T08:54:59.666Z",
    "openAiTemp": null,
    "openAiHistory": 20,
    "lastUpdatedAt": "2024-12-16T08:54:59.666Z",
    "openAiPrompt": null,
    "similarityThreshold": 0.25,
    "chatProvider": null,
    "chatModel": null,
    "topN": 4,
    "chatMode": "chat",
    "pfpFilename": null,
    "agentProvider": null,
    "agentModel": null,
    "queryRefusalResponse": null
  },
  "message": null
}

When checking settings in front-end, they are still the default.

Originally created by @PulzWave on GitHub (Dec 16, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2840 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? When you create a new workspace via the API, it ignores additional settings, such as "openAiPrompt", and "similarityThreshold". The /workspace/update endpoint works correctly. I'm using the "mintplexlabs/anythingllm:latest" Docker image. ### Are there known steps to reproduce? Curl example: ``` curl -X 'POST' \ 'http://localhost:3001/api/v1/workspace/new' \ -H 'accept: application/json' \ -H 'Authorization: Bearer xxx' \ -H 'Content-Type: application/json' \ -d '{ "name": "Bleh", "slug": "bleh", "similarityThreshold": 0.75, "queryRefusalResponse": "null", "openAiPrompt": "Only say'\''bleh'\'' in responses" }' ``` Response: ``` { "workspace": { "id": 22, "name": "Bleh", "slug": "bleh", "vectorTag": null, "createdAt": "2024-12-16T08:54:59.666Z", "openAiTemp": null, "openAiHistory": 20, "lastUpdatedAt": "2024-12-16T08:54:59.666Z", "openAiPrompt": null, "similarityThreshold": 0.25, "chatProvider": null, "chatModel": null, "topN": 4, "chatMode": "chat", "pfpFilename": null, "agentProvider": null, "agentModel": null, "queryRefusalResponse": null }, "message": null } ``` When checking settings in front-end, they are still the default.
yindo added the enhancementfeature request labels 2026-02-22 18:26:40 -05:00
yindo closed this issue 2026-02-22 18:26:40 -05:00
Author
Owner

@FrankBolleri commented on GitHub (Dec 30, 2025):

Running Desktop version 1.9.1 on Mac Silicon I face the same issue.
Should be possible that the issue is still present in Desktop version?
NOTE: I can't reopen issue because of missing permissions.
Thanks

@FrankBolleri commented on GitHub (Dec 30, 2025): Running Desktop version 1.9.1 on Mac Silicon I face the same issue. Should be possible that the issue is still present in Desktop version? NOTE: I can't reopen issue because of missing permissions. Thanks
yindo changed title from [FEAT]: API endpoint /workspace/new append `writable` fields on creation to [GH-ISSUE #2840] [FEAT]: API endpoint /workspace/new append `writable` fields on creation 2026-06-05 14:42:51 -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#1819