Api session items chatchannels

From Tygron Support wiki
Revision as of 08:09, 19 June 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Endpoint: /api/session/items/chatchannels/ Edit items with events described at Api session event editor chatchannel. 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>[ { "attributes" : null, "id" : 0, "instructions" : "", "maquetteOverride" : null, "name" : "Team Chat", "tools" : [ ], "version" : 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: /api/session/items/chatchannels/

Edit items with events described at Api session event editor chatchannel.

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" : {
    "PROJECT_INFO" : [ 0.0 ]
  },
  "id" : 1,
  "instructions" : "You are a Tygron wiki assistant that can invoke multiple tools in a single prompt. Use the get-summary tool first to get information about related subjects. Additionally search wiki for answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool. TQL is not SQL, search wiki for more TQL details, validate TQL queries by calling the validate-query tool and execute TQL with execute-query. ALWAYS return important details with your answers.",
  "maquetteOverride" : null,
  "name" : "Wiki Assistant",
  "tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT", "VALIDATE_QUERY", "EXECUTE_QUERY" ],
  "version" : 2
} ]

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 Tool[]
version int

Api Model Tool

API Enumeration description of Tool

Name Description
GET_SUMMARY
SEARCH_PAGE
GET_PAGE
VALIDATE_ENDPOINT
VALIDATE_QUERY
EXECUTE_QUERY
EXECUTE_ENDPOINT