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"
}