メインコンテンツへスキップ
GET
/
v2
/
enterprise
/
snapshots
/
{snapshot_id}
Get Snapshot
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/snapshots/{snapshot_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "is_default": true,
  "org": {
    "created_at": "2023-11-07T05:31:56Z",
    "display_name": "<string>",
    "org_id": "<string>"
  },
  "snapshot_id": "<string>",
  "snapshot_name": "<string>",
  "status": "<string>",
  "pending_scripts": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "script_id": "<string>",
      "script_name": "<string>",
      "status": "<string>"
    }
  ]
}
Enterprise 管理者の個人用 APIキーが必要です。 このエンドポイントでは、Enterprise 内の特定の Machine Snapshot に関する詳細情報を取得します。

承認

Authorization
string
header
必須

Personal API Key (apk_user_*) for Enterprise Admins only

パスパラメータ

snapshot_id
string
必須

レスポンス

Successful Response

created_at
string<date-time>
必須
description
string | null
必須
is_default
boolean
必須
org
EnterpriseOrganizationResponse · object
必須
snapshot_id
string
必須
snapshot_name
string
必須
status
string
必須
pending_scripts
EnterpriseSnapshotScriptResponse · object[] | null