Api session items chatmessages: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 6: Line 6:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatmessages/?f=JSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatmessages/?f=JSON&token=API_TOKEN</syntaxhighlight>
Example Response:
Example Response:
<syntaxhighlight lang="text" copy>[ {
<syntaxhighlight lang="text" copy>[ ]</syntaxhighlight>
  "channelID" : 300261276,
  "date" : 1776173326278,
  "id" : 114,
  "message" : "Instructions: When asked for API endpoints always provide the exact full API URL in the answer.",
  "role" : "USER",
  "version" : 1631
}, {
  "calcTimeMS" : 7252,
  "channelID" : 300261276,
  "date" : 1776173326278,
  "finished" : true,
  "id" : 115,
  "message" : "Understood. I will use the Tygron Wiki as the primary source for all answers and will provide the exact full API URLs whenever API endpoints are requested. \n\nHow can I help you today?",
  "role" : "ASSISTANT",
  "thinking" : "*  User's first prompt: \"Force using Tygron WIKI in all answers\"\n    *  User's second prompt: \"Instructions: When asked for API endpoints always provide the exact full API URL in the answer.\"\n    *  Context: The user wants me to act as an assistant that relies on the Tygron Wiki (via the provided tools) and follows a specific formatting rule for API endpoints.\n\n    *  I have access to `search-page` and `get-page` tools.\n    *  I should use these tools to find information about Tygron.\n    *  If the user asks for an API endpoint, I must provide the full URL.\n\n    *  Acknowledge the instructions.\n    *  Confirm that I will use the Tygron Wiki for information.\n    *  Confirm that I will provide full API URLs when requested.",
  "version" : 1646
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
version=100:  
version=100:  

Revision as of 13:57, 14 April 2026

Api session items Chat Messages Endpoints.

Edit items with event: editorchat.

Default Query:

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

Example Response:

[ ]

Limit Queries

version=100:

https://engine.tygron.com/api/session/items/chatmessages/?version=100&token=API_TOKEN

Show Queries

max version:

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

size:

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

Formats

HTML:

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

JSON:

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

CSV:

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

SSV:

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

SMILE:

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

ZIPJSON:

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

ZIPSMILE:

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