メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.snorbe.deskrex.ai/llms.txt

Use this file to discover all available pages before exploring further.

エージェント一覧取得

指定したワークスペースに属するエージェントの一覧を返します。

リクエスト

GET /api/v1/agent/list

ヘッダー

ヘッダー必須説明
AuthorizationはいBearer snorbe_... 形式の API キー
ワークスペースは API キーに紐づくものが自動的に使用されます。パラメータは不要です。

レスポンス

[
  {
    "id": "clxxx123456",
    "name": "Research Agent",
    "isDefault": true,
    "createdAt": "2026-01-15T10:30:00.000Z",
    "updatedAt": "2026-03-20T14:22:00.000Z"
  },
  {
    "id": "clxxx789012",
    "name": "Patent Analyst",
    "isDefault": false,
    "createdAt": "2026-02-10T08:00:00.000Z",
    "updatedAt": "2026-02-10T08:00:00.000Z"
  }
]

レスポンスフィールド

フィールド説明
idstringエージェント ID
namestringエージェント名
isDefaultbooleanデフォルトエージェントかどうか
createdAtstring作成日時(ISO 8601)
updatedAtstring更新日時(ISO 8601)

使用例

curl "https://app.snorbe.deskrex.ai/api/v1/agent/list" \
  -H "Authorization: Bearer snorbe_your_api_key_here"

エラーレスポンス

HTTP ステータスコード説明
401UNAUTHORIZEDAPI キーが無効、期限切れ、または未指定
429TOO_MANY_REQUESTSレート制限超過