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

単発実行

一時的なエージェント実行を 1 回行い、最終結果を返します。

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