Api session items chatchannels: Difference between revisions
Jump to navigation
Jump to search
Created page with "Api session items Chat Channels Endpoints. Edit items with event: editorchatchannel. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "id" : 0, "instructions" : "", "name" : "Team Chat", "tools" : "", "version" : 1 }, { "id" : 1, "instructions" : "INSTRUCTION..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
"attributes" : null, | |||
"id" : 0, | "id" : 0, | ||
"instructions" : "", | "instructions" : "", | ||
"maquetteOverride" : null, | |||
"name" : "Team Chat", | "name" : "Team Chat", | ||
"tools" : | "tools" : [ ], | ||
"version" : 1 | "version" : 1 | ||
}, { | }, { | ||
"attributes" : null, | |||
"id" : 1, | "id" : 1, | ||
"instructions" : "INSTRUCTIONS: | "instructions" : "INSTRUCTIONS: Search wiki for answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool, validate TQL queries by calling the validate-query tool and execute TQL with execute-query.", | ||
"maquetteOverride" : null, | |||
"name" : "Wiki Assistant 1", | "name" : "Wiki Assistant 1", | ||
"tools" : "search-page get-page", | "tools" : [ "search-page", "get-page", "validate-endpoint", "validate-query", "execute-query" ], | ||
"version" : | "version" : 4 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 42: | Line 46: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model ChatChannel==API Model description of ChatChannel | ==Api Model ChatChannel== | ||
API Model description of ChatChannel | |||
{|class=wikitable | {|class=wikitable | ||
| Line 48: | Line 53: | ||
!Type | !Type | ||
!Description | !Description | ||
|- | |||
|attributes | |||
|Map<String,double[]> | |||
| | |||
|- | |- | ||
|id | |id | ||
| Line 55: | Line 64: | ||
|instructions | |instructions | ||
|String | |String | ||
| | |||
|- | |||
|maquetteOverride | |||
|Map<String,double[]> | |||
| | | | ||
|- | |- | ||
| Line 62: | Line 75: | ||
|- | |- | ||
|tools | |tools | ||
|String | |String[] | ||
| | | | ||
|- | |- | ||
| Line 75: | Line 88: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:13, 24 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:
[ {
"attributes" : null,
"id" : 0,
"instructions" : "",
"maquetteOverride" : null,
"name" : "Team Chat",
"tools" : [ ],
"version" : 1
}, {
"attributes" : null,
"id" : 1,
"instructions" : "INSTRUCTIONS: Search wiki for answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool, validate TQL queries by calling the validate-query tool and execute TQL with execute-query.",
"maquetteOverride" : null,
"name" : "Wiki Assistant 1",
"tools" : [ "search-page", "get-page", "validate-endpoint", "validate-query", "execute-query" ],
"version" : 4
} ]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 |
|---|---|---|
| attributes | Map<String,double[]> | |
| id | int | |
| instructions | String | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| tools | String[] | |
| version | int |