Agent API

This sections documents the Agent API

circle-exclamation

About

The Agent API is the next evolution of Katoshi - Allowing you to send complex commands to your AI Agents using natural language via simple POST requests or using webhooks. Read more about agent capabilities here:

Agentschevron-right

Quick Start

POST https://api.katoshi.ai/agent?id=USER_ID

Replace USER_ID with your unique ID, which can be found in the Settings Pagearrow-up-right

Headers

Name
Type
Description

Content-Type*

String

application/json

Request Body

Name
Type
Description

api_key*

String

Katoshi API Key

agent_id*

Number

ID of your agent

message*

String

Message sent to your agent

circle-info

The message field is required if no task_id is specified

Example Request

circle-info

For TradingView, add the Request JSON directly in the alert message field.


Testing

Test your commands using the Agents chat interface in Katoshi.

circle-info

Results can vary tremendously based on your selected LLM model, system prompt, and message sent.

Agentschevron-right

Last updated