curl --request PATCH \
--url https://app.harmonica.chat/api/v1/projects/{id}/sensemaking \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"theme": "<string>",
"enabled": true,
"reasoningLensEnabled": true,
"knowledgeStatementsEnabled": true
}
'import requests
url = "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking"
payload = {
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"theme": "<string>",
"enabled": True,
"reasoningLensEnabled": True,
"knowledgeStatementsEnabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slug: '<string>',
title: '<string>',
description: '<string>',
intro: '<string>',
faq: [{q: '<string>', a: '<string>'}],
theme: '<string>',
enabled: true,
reasoningLensEnabled: true,
knowledgeStatementsEnabled: true
})
};
fetch('https://app.harmonica.chat/api/v1/projects/{id}/sensemaking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'slug' => '<string>',
'title' => '<string>',
'description' => '<string>',
'intro' => '<string>',
'faq' => [
[
'q' => '<string>',
'a' => '<string>'
]
],
'theme' => '<string>',
'enabled' => true,
'reasoningLensEnabled' => true,
'knowledgeStatementsEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.harmonica.chat/api/v1/projects/{id}/sensemaking")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.harmonica.chat/api/v1/projects/{id}/sensemaking")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"group_count": 123,
"statement_count": 123,
"voter_count": 123,
"gallery_status": "<string>",
"reasoning_lens_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"slug": "<string>",
"theme": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"computed_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "forbidden",
"message": "You don't have access to this session"
}
}{
"error": {
"code": "not_found",
"message": "Session not found"
}
}{
"error": {
"message": "<string>"
}
}Publish project as sensemaking topic
Authors and publishes the project as a public sensemaking topic — the
/explore hub entry + the /t/{slug} page. Send enabled: true with a
slug (in this request or already saved) to publish; publishing builds the
public snapshot from the project’s sessions. Editor access required.
curl --request PATCH \
--url https://app.harmonica.chat/api/v1/projects/{id}/sensemaking \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"theme": "<string>",
"enabled": true,
"reasoningLensEnabled": true,
"knowledgeStatementsEnabled": true
}
'import requests
url = "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking"
payload = {
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"theme": "<string>",
"enabled": True,
"reasoningLensEnabled": True,
"knowledgeStatementsEnabled": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
slug: '<string>',
title: '<string>',
description: '<string>',
intro: '<string>',
faq: [{q: '<string>', a: '<string>'}],
theme: '<string>',
enabled: true,
reasoningLensEnabled: true,
knowledgeStatementsEnabled: true
})
};
fetch('https://app.harmonica.chat/api/v1/projects/{id}/sensemaking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'slug' => '<string>',
'title' => '<string>',
'description' => '<string>',
'intro' => '<string>',
'faq' => [
[
'q' => '<string>',
'a' => '<string>'
]
],
'theme' => '<string>',
'enabled' => true,
'reasoningLensEnabled' => true,
'knowledgeStatementsEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.harmonica.chat/api/v1/projects/{id}/sensemaking"
payload := strings.NewReader("{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.harmonica.chat/api/v1/projects/{id}/sensemaking")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.harmonica.chat/api/v1/projects/{id}/sensemaking")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"<string>\",\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"intro\": \"<string>\",\n \"faq\": [\n {\n \"q\": \"<string>\",\n \"a\": \"<string>\"\n }\n ],\n \"theme\": \"<string>\",\n \"enabled\": true,\n \"reasoningLensEnabled\": true,\n \"knowledgeStatementsEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"group_count": 123,
"statement_count": 123,
"voter_count": 123,
"gallery_status": "<string>",
"reasoning_lens_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"slug": "<string>",
"theme": "<string>",
"title": "<string>",
"description": "<string>",
"intro": "<string>",
"faq": [
{
"q": "<string>",
"a": "<string>"
}
],
"computed_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}{
"error": {
"code": "forbidden",
"message": "You don't have access to this session"
}
}{
"error": {
"code": "not_found",
"message": "Session not found"
}
}{
"error": {
"message": "<string>"
}
}Authorizations
API key authentication. Pass your key as a Bearer token.
Keys use the format hm_live_<32 hex chars>.
Generate keys from your Harmonica dashboard settings.
Path Parameters
Body
Author + publish a project as a public sensemaking topic. All fields are optional; send enabled: true (with a slug in this request or already saved) to publish.
URL handle for /t/{slug}. Lowercase words separated by single hyphens.
200500Host-authored background paragraph.
200010Show child attributes
Show child attributes
Topic category powering the /explore hub filter.
Publish (true) or unpublish (false) the public topic page.
Opt the embedding-based Reasoning lens in.
Source opinion-map statements from project knowledge.
Response
Updated sensemaking topic
Show child attributes
Show child attributes