Passer au contenu principal
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>"
    }
  ]
}
Nécessite l’API key personnelle d’un administrateur Enterprise. Ce point de terminaison récupère des informations détaillées sur un Machine Snapshot spécifique au sein de votre Enterprise.

Autorisations

Authorization
string
header
requis

Personal API Key (apk_user_*) for Enterprise Admins only

Paramètres de chemin

snapshot_id
string
requis

Réponse

Successful Response

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