WorkloadsBillingResponseSchema
Schema representing the response from the workloads billing endpoint.
End of the time window, use as start_datetime for next poll (ISO 8601 format)
Start of the time window for which usage data is returned (ISO 8601 format)
workloads object[]required
List of workload usage records within the specified time window.
Current status of the workload.
Number of GPUs used for the workload.
Type of GPU used for the workload.
Unique identifier of the Hyperstack organization.
status_transitions object[]required
List of status transitions within the time window.
The status the workload transitioned to.
The timestamp when the transition occurred (ISO 8601 format)
time_deltas_in_minutes_per_status objectrequired
Time spent in each status in minutes (can be negative for refunds)
Human-readable display name for the workload.
Unique identifier of the workload (Pod ID)
Type of workload (currently only 'fine-tuning')
{
"next_datetime": "2024-07-29T15:51:28.071Z",
"start_datetime": "2024-07-29T15:51:28.071Z",
"workloads": [
{
"current_status": "pending",
"gpu_count": 0,
"gpu_type": "string",
"hyperstack_org_id": 0,
"status_transitions": [
{
"destination_status": "pending",
"transition_datetime": "2024-07-29T15:51:28.071Z"
}
],
"time_deltas_in_minutes_per_status": {},
"workload_display_name": "string",
"workload_id": 0,
"workload_type": "fine-tuning"
}
]
}