Skip to main content
GET
/
v1
/
projects
/
{project_id}
/
dataset
/
snapshots
List Snapshots
curl --request GET \
  --url https://api.landing.ai/v1/projects/{project_id}/dataset/snapshots
import requests

url = "https://api.landing.ai/v1/projects/{project_id}/dataset/snapshots"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.landing.ai/v1/projects/{project_id}/dataset/snapshots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "data": [
    {
      "name": "<string>",
      "version": 123,
      "creationTime": "<string>"
    }
  ]
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Response

Successful Response

data
SnapshotItem · object[] | null
required