SNA
엔드포인트 레퍼런스

에이전트 재시작

에이전트를 종료한 뒤 다시 spawn합니다.

POST
/agent/restart

인증

bearerAuth
인증Bearer <token>

In: header

쿼리 파라미터

session?string

요청 본문

application/json

TypeScript 정의

TypeScript에서 request body 타입을 사용합니다.

응답 본문

application/json

application/json

application/json

application/json

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