Invoke Skill Topic Link Conversation
post
/api/v1/skills/topic.link.conversation/invokeLink a conversation to a Topic (idempotent on same-topic re-link; a conversation belongs to at most one topic).
Links an existing conversation to a Topic so the discussion sits with the client's work. It needs topic_id and conversation_id. A conversation belongs to at most one topic, and linking it again to the same topic changes nothing. It returns linked, which is true once the conversation is in the topic.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
topic_idrequired | string | Topic permakey (preferred) or UUID |
conversation_idrequired | string | Conversation UUID to link |
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.link.conversation/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"topic_id": "string",
"conversation_id": "string"
}'