Get the cache summary for the most recent training job in the project.
cURL
curl --request GET \ --url https://api.baseten.co/v1/training_projects/{training_project_id}/cache/summary \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "timestamp": "<string>", "project_id": "<string>", "file_summaries": [ { "path": "<string>", "size_bytes": 123, "modified": "<string>", "file_type": "<string>", "permissions": "<string>" } ] }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
Response for getting cache summary.
Timestamp when the cache summary was captured
Project ID associated with the cache
List of files in the cache
Show child attributes
Was this page helpful?