Api session items chatchannels: Difference between revisions

From Tygron Support wiki
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: Force using Tygron WIKI in all answers and end with links to relevant pages.",
   "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" : 3
   "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&lt;String,double[]&gt;
|
|-
|-
|id
|id
Line 55: Line 64:
|instructions
|instructions
|String
|String
|
|-
|maquetteOverride
|Map&lt;String,double[]&gt;
|
|
|-
|-
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_TOKEN

Example 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_TOKEN

Show Queries

max version:

https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKEN

size:

https://engine.tygron.com/api/session/items/chatchannels/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/chatchannels/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/chatchannels/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/chatchannels/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/chatchannels/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN

Api 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