Skip to content
GitmoapAPIBeta
Schema

ActorEgressUsageView

Your own budget for data downloaded from gitmoap, for the current hour and day.

Shape

  • actor_keystringWhich budget this is: USER#{id} for a user, SA#{id} for a service account, PRT#{id} for a pipeline run. Lets a caller holding several credentials tell them apart.
  • dayEgressWindowUsageThe current day's budget, which limits sustained downloading.
    • The EgressWindowUsage schema
    • limit_bytesinteger · int640–∞The limit for this window, in bytes — reported even where the limit is not enforced, so you can see what you would be held to.
    • used_bytesinteger · int640–∞Bytes charged to this window so far.
    • windowstringThe period this covers: YYYY-MM-DDTHH for an hour, YYYY-MM-DD for a day.
  • hourEgressWindowUsageThe current hour's budget, which limits bursts.
    • The EgressWindowUsage schema
    • limit_bytesinteger · int640–∞The limit for this window, in bytes — reported even where the limit is not enforced, so you can see what you would be held to.
    • used_bytesinteger · int640–∞Bytes charged to this window so far.
    • windowstringThe period this covers: YYYY-MM-DDTHH for an hour, YYYY-MM-DD for a day.

Example

Synthesized example
{
"actor_key": "actor-key-cf6f",
"day": {
"limit_bytes": 61,
"used_bytes": 1,
"window": "window-a655"
},
"hour": {
"limit_bytes": 10,
"used_bytes": 64,
"window": "window-69fa"
}
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.