Api session items chatchannels: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
"name" : "Team Chat", | "name" : "Team Chat", | ||
"tools" : "", | "tools" : "", | ||
"version" : | "version" : 2 | ||
}, { | }, { | ||
"id" : 1, | "id" : 1, | ||
"instructions" : "INSTRUCTIONS: Force using Tygron WIKI in all answers and end with links to relevant pages.", | "instructions" : "INSTRUCTIONS: Force using Tygron WIKI in all answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool.", | ||
"name" : "Wiki Assistant 1", | "name" : "Wiki Assistant 1", | ||
"tools" : "search-page get-page", | "tools" : "search-page get-page validate-endpoint", | ||
"version" : | "version" : 1 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
Revision as of 13:28, 20 April 2026
Api session items Chat Channels Endpoints.
Edit items with event: editorchatchannel.
Default Query:
https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKENExample Response:
[ {
"id" : 0,
"instructions" : "",
"name" : "Team Chat",
"tools" : "",
"version" : 2
}, {
"id" : 1,
"instructions" : "INSTRUCTIONS: Force using Tygron WIKI in all answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool.",
"name" : "Wiki Assistant 1",
"tools" : "search-page get-page validate-endpoint",
"version" : 1
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/chatchannels/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/chatchannels/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/chatchannels/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/chatchannels/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/chatchannels/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKENApi Model ChatChannel
API Model description of ChatChannel
| Name | Type | Description |
|---|---|---|
| id | int | |
| instructions | String | |
| name | String | |
| tools | String | |
| version | int |