Admin

Get project usage

get/projects/v1/admin/{project_id}/usage

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/admin/{project_id}/usage
  • Auth: HTTP bearer

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042

Response

Usage stats

project_idstring

Run402 project ID. Public IDs are not UUIDs.

tierstring
api_callsinteger
api_calls_limitinteger
storage_bytesinteger
storage_limit_bytesinteger
storage_limitstring

storage_limit_bytes as a human string, derived from the tier constant.

lease_expires_atstring date-time nullable

ISO timestamp of the owning organization's tier lease expiry; null when the lease is perpetual (lease_perpetual: true) or the project has no organization.

lease_perpetualboolean

True when the owning organization's lease never expires (lease_expires_at is then null); false otherwise, including a project with no organization.

statusstring

Example response

{
  "project_id": "prj_1741340000_0042",
  "storage_limit": "250 MB"
}

Changes

No recorded changes to this operation across all 1 revision of this API.