Skip to main content
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>

Path Parameters

training_project_id
string
required

Response

200 - application/json

Response for getting cache summary.

Response for getting cache summary.

timestamp
string
required

Timestamp when the cache summary was captured

project_id
string
required

Project ID associated with the cache

file_summaries
FileSummary · object[]
required

List of files in the cache