SNA
エンドポイントリファレンス

メッセージ送信

アクティブなエージェントへメッセージを送信します。画像も送信できます。

POST
/agent/send

認証

bearerAuth
認証Bearer <token>

In: header

クエリパラメータ

session?string

リクエスト本文

application/json

TypeScript 定義

TypeScript で request body 型を使用します。

レスポンス本文

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/agent/send" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "sent"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}