younifyd
Menu

Update settings of a chat workspace

Update settings of a chat workspace

PATCH/chats/{workspace_uid}/settings

Use it in a workflow

  1. Add a step and choose the Meilisearch connector.
  2. Pick the Update settings of a chat workspace action (under Chats).
  3. Fill in the fields below, then reference the result from later steps as {{updateSettingsOfAChatWorkspace.response.data}}.

Request

Path parameters

workspace_uidstringrequired

The unique identifier of the chat workspace.

Request body

Enter the body as JSON in the step's Body field.

sourceoneOf
orgIdstring | null

Organization ID for the LLM provider

projectIdstring | null

Project ID for the LLM provider

apiVersionstring | null

API version for the LLM provider

deploymentIdstring | null

Deployment ID for Azure OpenAI

baseUrlstring | null

Base URL for the LLM API

apiKeystring | null

API key for authentication with the LLM provider

promptsoneOf

Custom prompts for chat completions

json
{
  "source": null,
  "orgId": "dcba4321...",
  "projectId": "4321dcba...",
  "apiVersion": "2024-02-01",
  "deploymentId": "1234abcd...",
  "baseUrl": "https://api.mistral.ai/v1",
  "apiKey": "abcd1234...",
  "prompts": null
}

Response

Returns 200 with a any. Read it in later steps with {{updateSettingsOfAChatWorkspace.response.data.<field>}}.

Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.