AI Assistant API

Leverage AI-powered content generation and automation

Base URL: https://api.wemasy.nl/api
ⓘ Settings are saved in browser localStorage for convenience. Don't use production tokens on shared computers.

Chat

POST /services/ai/v1/chat/config Auth

Send Chat Message

POST /services/ai/v1/chat Auth
POST /services/ai/v1/chat/images/upload Auth
POST /services/ai/v1/chat/images/upload-url Auth
POST /services/ai/v1/chat/images/delete Auth

Chat Settings

Get Chat Settings

POST /services/ai/v1/chat/settings/get Auth

Update Chat Settings

POST /services/ai/v1/chat/settings/update Auth

Connections

Create Connection

POST /services/ai/v1/user/connections/create Auth

List Connections

POST /services/ai/v1/user/connections/list Auth

Test Connection

POST /services/ai/v1/user/connections/test Auth

Update Connection

POST /services/ai/v1/user/connections/update Auth

Toggle Connection Status

POST /services/ai/v1/user/connections/toggle-status Auth

Delete Connection

POST /services/ai/v1/user/connections/delete Auth

Conversations

List Conversations

POST /services/ai/v1/conversations/list Auth

Get Conversation

POST /services/ai/v1/conversations/get Auth

Rename Conversation

POST /services/ai/v1/conversations/rename Auth

Sets a user-chosen title. A non-empty title overrides the title that would otherwise be derived from the first message / goal. Passing an empty/blank title clears the custom name and reverts to the derived one.

Archive a conversation (soft-delete). Data is retained; the user can restore from Archived

POST /services/ai/v1/conversations/archive Auth

Restore an archived conversation back to the active sidebar list

POST /services/ai/v1/conversations/restore Auth

Permanently remove a chat from the user's account while retaining the row for audit

POST /services/ai/v1/conversations/unlink Auth

The run stays archived; we copy user_id → original_user_id and clear user_id so it no longer appears in active or archived lists for that user.

POST /services/ai/v1/conversations/update-deployment-canvas Auth

Archive a conversation (soft-delete). Data is retained; the user can restore from Archived

POST /services/ai/v1/conversations/delete Auth

Credits

Get the authenticated user's remaining AI balance (EUR + display credits)

POST /services/ai/v1/credits/balance Auth

Get EUR usage rolled up for one user message turn (including cancelled turns)

POST /services/ai/v1/credits/turn-usage Auth

McpProjectSettingsGet

POST /services/ai/v1/mcp/project-settings/get Auth

McpProjectSettingsUpdate

POST /services/ai/v1/mcp/project-settings/update Auth

Memory

Save Memory

POST /services/ai/v1/memory/save Auth

Search Memory

POST /services/ai/v1/memory/search Auth

Providers

List Providers

POST /services/ai/v1/user/providers/list Auth

Users can only view which providers are available. They cannot create, update, or delete providers.

Tools

Preview Tool

POST /services/ai/v1/tools/preview Auth

List Tools

POST /services/ai/v1/tools/list Auth

Execute Tool

POST /services/ai/v1/tools/execute Auth