List a def's pinned versions
GET
/v1/datasets/versions
const url = 'https://example.com/v1/datasets/versions?def_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&page_size=100';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/datasets/versions?def_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&page_size=100'Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” def_id
required
Dataset def id
string format: uuid
Dataset def id
account_id
Act on this account (active)
string | null format: uuid
Act on this account (active)
page_size
integer
page_token
string | null
Header Parameters
Section titled “Header Parameters ” x-api-key
string | null
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}