Only for TypingMind Team:
New Agent Chat API – Deprecating v1 Chat API Endpoint
The v1 Chat API on TypingMind (
/v1/chat/completions
) is now deprecated and will be removed soon. If you are currently using this endpoint, please update your code to use the new Agent Chat API (
/api/v2/agents/{agent_id}/chat
) at your earliest convenience.
image
The new Agent Chat API offers a more powerful and flexible way to interact with your agents. It includes support for plugin execution, knowledge base lookup across all models, multiple agent handling, improved performance, and more features coming soon.
Key updates:
  • New public API:
    /v2/agents/{id}/chat
    replaces the old
    /v1/chat/completions
    endpoint
  • Deprecation timeline:
    Old API will be removed on
    20 May 2025
    (1-month notice). Customers using this endpoint will be notified via email
  • Documentation:
  • New:
    Metrics from messages created via API calls are now tracked under a special user labeled
    "api-user"
    , which can be seen on the user list. This will occupy
    1 seat per API key integration
    on your instance. If the API key is no longer in use, the associated seat can be removed.
image
Follow us on X, LinkedIn, Facebook, to stay informed about the latest updates, tips, and tutorials.