Needs keys Returns the workspace memory prompt. The prompt tells the model what to keep in each contact's memory brief when a conversation is saved. It is used only when an OpenAI key is set; in mock mode memory updates append dated lines and ignore the prompt.
Request#
This endpoint takes no path, query or body parameters.
Example request#
curl https://api.tried.com.au/contact-memory-settings \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/contact-memory-settings", {
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const settings = await res.json();import os, requests
res = requests.get(
"https://api.tried.com.au/contact-memory-settings",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
settings = res.json()Response#
200 OK
{
"memory_prompt": "Keep a short, factual brief about this contact for future conversations: who they are, what they asked for, decisions and commitments made, open follow-ups, and stated preferences (time, channel, language). Drop small talk. Update or remove facts that the latest conversation changed. Use short bullet points.",
"is_default": true,
"default_memory_prompt": "Keep a short, factual brief about this contact for future conversations: who they are, what they asked for, decisions and commitments made, open follow-ups, and stated preferences (time, channel, language). Drop small talk. Update or remove facts that the latest conversation changed. Use short bullet points.",
"max_chars": 2000,
"price_per_conversation": 0.01
}| Field | Type | Description |
|---|---|---|
memory_prompt |
string | The prompt in use: your custom prompt, or the default. |
is_default |
boolean | true when no custom prompt is set. |
default_memory_prompt |
string | The built-in prompt. |
max_chars |
integer | Longest prompt accepted. |
price_per_conversation |
number | AUD billed for each conversation saved to memory. |
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the calls scope. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.