curl --request POST \
--url https://{controlPlaneURL}/api/ml/v1/artifact-versions/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"path": "<string>",
"limit": 123,
"page_token": "<string>"
}'
{
"data": [
{
"path": "<string>",
"is_dir": true,
"file_size": 123,
"signed_url": "<string>",
"last_modified": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"previous_page_token": "<string>",
"next_page_token": "<string>"
}
}
curl --request POST \
--url https://{controlPlaneURL}/api/ml/v1/artifact-versions/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"path": "<string>",
"limit": 123,
"page_token": "<string>"
}'
{
"data": [
{
"path": "<string>",
"is_dir": true,
"file_size": 123,
"signed_url": "<string>",
"last_modified": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"previous_page_token": "<string>",
"next_page_token": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.
Was this page helpful?