Invoke Skill Topic Create
post
/api/v1/skills/topic.create/invokeCreate 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
| Field | Type | Description |
|---|---|---|
namerequired | string | The new topic's name, from 1 to 200 characters. |
type | string | Topic type: client | matter | process_period | advisory | compliance | internal (DB-enforced enum) |
client_id | string | null | UUID of the client to bind |
theme_color | string | null | Hex like #DAFBE1; default applied server-side |
Responses
200Skill executed successfully
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | ||||||||||||||||||||||||
outputrequired | object | βshow nested
| ||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
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
}'