Talk with Archie
API reference › Topics
Skills › Topics

Update a Topic's Metadata

POST/api/v1/skills/topic.update/invoke
Changes the details of an existing Topic, such as its name or the client it is bound to. It needs topic_id and changes only the fields you supply: name, type, status, theme colour, client, description or icon. Setting status to active restores an archived topic, but a deleted topic cannot be updated. It returns the topic's permakey, name, type and status.
Body parameters
topic_idstringRequired
Topic permakey (preferred) or UUID
namestring
New topic name (rename)
typestring
client | matter | process_period | advisory | compliance | internal
statusstring
active | archived. Set 'active' to unarchive; soft-deleted topics are terminal and answer not-found.
theme_colorstring
Hex like #DAFBE1
client_idstring
UUID of the client to bind
descriptionstring
Free-text topic description
iconstring
Topic icon
Returns

Skill executed successfully

skillstringRequired
Example topic_update
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.topic_idstring · default
The topic's permakey (the public id).
output.permakeystring · default
The 7-char public topic id — THE id to show users and reuse in later topic_* calls (UUIDs are internal).
output.namestring · default
output.typestring · default
output.statusstring · default
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/topic.update/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "topic_id": "string",
       "name": null,
       "type": null,
       "status": null,
       "theme_color": null,
       "client_id": null,
       "description": null,
       "icon": null
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "topic.update",
    topic_id="string",
    name=None,
    type=None,
    status=None,
    theme_color=None,
    client_id=None,
    description=None,
    icon=None,
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("topic.update", {
  "topic_id": "string",
  "name": null,
  "type": null,
  "status": null,
  "theme_color": null,
  "client_id": null,
  "description": null,
  "icon": null
});
console.log(result);
Response
{
  "skill": "topic_update",
  "output": {
    "name": "Northwind Trading Ltd - FY2026 year-end",
    "permakey": "K7M2QX9",
    "status": "active",
    "topic_id": "K7M2QX9",
    "type": "client"
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.