Saltar al contenido principal
GET
/
v2
/
enterprise
/
snapshots
/
{snapshot_id}
Obtener instantánea
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>"
    }
  ]
}
Requiere una API key personal de administrador de Enterprise. Este endpoint devuelve información detallada sobre un Machine Snapshot específico de tu Enterprise.

Autorizaciones

Authorization
string
header
requerido

API key personal (apk_user_*) solo para administradores de Enterprise

Parámetros de ruta

snapshot_id
string
requerido

Respuesta

Respuesta satisfactoria

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