Genies

Update a Genie

Changes a Genie: name, configuration (only the keys sent), knowledge bases, who may use it, active or not.

patch/v1/workspaces/{workspace_id}/genies/{genie_id}

Request

  • Base URL
    https://api.stacksync.com
  • URL
    https://api.stacksync.com/v1/workspaces/{workspace_id}/genies/{genie_id}
  • Auth
    HTTP bearer

Path parameters

workspace_idinteger required

The workspace. List the ones your key can reach with GET /v1/workspaces.

genie_idstring uuid required

The Genie.

Query parameters

region'besg' | 'usnv' required

Region of the genie: besg (Europe) or usnv (United States)

Request body

namestring nullable
public_access_rights'allow_without_authorization' | 'allow_with_authorization' | 'allow_selected_users_and_groups' nullable

Who may use the genie

status'active' | 'inactive' nullable

active or inactive

validate_onlyboolean

Run every check of the write and answer 204 without writing: a refused write answers the error the write would

Example request

{
  "name": "Support Genie"
}

Response

OK

genie_idstring required
namestring required
region'besg' | 'usnv' required
folder_idstring nullable
statusstring nullable
public_access_rightsstring nullable
is_shared_with_workspaceboolean nullable
has_api_keyboolean required

Whether an LLM API key of yours is stored (the key itself is never returned)

created_timestring date-time nullable
last_modified_timestring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.