SNA
엔드포인트 레퍼런스

단발 실행

임시 에이전트 실행을 한 번 수행하고 최종 결과를 반환합니다.

POST
/agent/run-once

인증

bearerAuth
인증Bearer <token>

In: header

요청 본문

application/json

TypeScript 정의

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

응답 본문

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/agent/run-once" \  -H "Content-Type: application/json" \  -d '{    "message": "string"  }'
{
  "result": "string",
  "usage": {
    "property1": null,
    "property2": null
  }
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}