Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Topic Create

post/api/v1/skills/topic.create/invoke

Create a Topic in the caller's workspace (optionally bound to a client). The topic is stamped created_by_type=archie.

Creates a new Topic in your workspace, for example one for a client's year-end work. It needs a name, and you can also set type (client by default), client_id and theme_color. It returns the new topic's permakey, name, type and workspace, and the permakey is the id to use in every later topic call.

Request bodyapplication/json

FieldTypeDescription
namerequiredstringThe new topic's name, from 1 to 200 characters.
typestringTopic type: client | matter | process_period | advisory | compliance | internal (DB-enforced enum)
client_idstring | nullUUID of the client to bind
theme_colorstring | nullHex like #DAFBE1; default applied server-side

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
topic_idstringThe new topic's permakey (the public id).
permakeystringThe 7-char public topic id β€” THE id to show users and reuse in later topic_* calls (UUIDs are internal).
namestringβ€”
typestringβ€”
workspace_idstringβ€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/topic.create/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "name": "string",
       "type": "string",
       "client_id": null,
       "theme_color": null
     }'