http
GET /accounts/{account_id}/usage/seriesChart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. Requires account.billing.read.
Servers
JSON
1[2 {3 "url": "https://api.veryfront.com"4 }5]Authentication
JSON
1[2 {3 "bearerAuth": []4 },5 {6 "apiKeyAuth": []7 }8]JSON
1{2 "bearerAuth": {3 "type": "http",4 "scheme": "bearer",5 "bearerFormat": "JWT or API Key",6 "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."7 },8 "apiKeyAuth": {9 "type": "apiKey",10 "in": "header",11 "name": "X-API-Key",12 "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."13 }14}Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| account_id | path | Yes | |
| preset | query | No | Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults. |
| from | query | No | Inclusive start. Supply both from and to; these bounds take precedence over preset. |
| to | query | No | Exclusive end, no later than the end of today in timezone. |
| timezone | query | No | |
| granularity | query | No | UTC hours, or local calendar days, Monday-based weeks and months. |
| group_by | query | No | Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list. |
| compare | query | No | Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise. |
| metric | query | Yes | Usage metric to chart. |
| project_reference | query | No | Project ID or slug that narrows the read to one project of the account. A project of another account is not found. |
Parameter contracts
JSON
1[2 {3 "schema": {4 "type": "string",5 "format": "uuid"6 },7 "required": true,8 "name": "account_id",9 "in": "path"10 },11 {12 "schema": {13 "$ref": "#/components/schemas/UsageQueryPreset"14 },15 "required": false,16 "description": "Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults.",17 "name": "preset",18 "in": "query"19 },20 {21 "schema": {22 "$ref": "#/components/schemas/UsageQueryFrom"23 },24 "required": false,25 "description": "Inclusive start. Supply both from and to; these bounds take precedence over preset.",26 "name": "from",27 "in": "query"28 },29 {30 "schema": {31 "$ref": "#/components/schemas/UsageQueryTo"32 },33 "required": false,34 "description": "Exclusive end, no later than the end of today in timezone.",35 "name": "to",36 "in": "query"37 },38 {39 "schema": {40 "$ref": "#/components/schemas/UsageQueryTimezone"41 },42 "required": false,43 "name": "timezone",44 "in": "query"45 },46 {47 "schema": {48 "$ref": "#/components/schemas/UsageQueryGranularity"49 },50 "required": false,51 "description": "UTC hours, or local calendar days, Monday-based weeks and months.",52 "name": "granularity",53 "in": "query"54 },55 {56 "schema": {57 "$ref": "#/components/schemas/UsageQueryGroupBy"58 },59 "required": false,60 "description": "Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list.",61 "name": "group_by",62 "in": "query",63 "style": "form",64 "explode": true65 },66 {67 "schema": {68 "$ref": "#/components/schemas/UsageQueryCompare"69 },70 "required": false,71 "description": "Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise.",72 "name": "compare",73 "in": "query"74 },75 {76 "schema": {77 "type": "string",78 "enum": [79 "credits",80 "storage",81 "bandwidth",82 "api_calls"83 ],84 "description": "Usage metric represented by this series."85 },86 "required": true,87 "description": "Usage metric to chart.",88 "name": "metric",89 "in": "query"90 },91 {92 "schema": {93 "type": "string",94 "minLength": 1,95 "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found."96 },97 "required": false,98 "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found.",99 "name": "project_reference",100 "in": "query"101 }102]Responses
200
Daily series of one usage metric of the account, optionally for one project.
JSON
1{2 "description": "Daily series of one usage metric of the account, optionally for one project.",3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "metric": {9 "type": "string",10 "enum": [11 "credits",12 "storage",13 "bandwidth",14 "api_calls"15 ],16 "description": "Usage metric represented by this series."17 },18 "label": {19 "type": "string",20 "description": "Human-readable metric label."21 },22 "unit": {23 "type": "string",24 "description": "Unit used by values, such as credits, calls, or bytes."25 },26 "summary": {27 "type": "object",28 "properties": {29 "value": {30 "type": "number"31 },32 "previous": {33 "type": "object",34 "properties": {35 "value": {36 "type": "number"37 }38 },39 "required": [40 "value"41 ]42 }43 },44 "required": [45 "value"46 ]47 },48 "timeframe": {49 "type": "object",50 "properties": {51 "from": {52 "type": "string",53 "format": "date-time",54 "description": "Inclusive start."55 },56 "to": {57 "type": "string",58 "format": "date-time",59 "description": "Exclusive end."60 },61 "timezone": {62 "type": "string"63 },64 "granularity": {65 "type": "string",66 "enum": [67 "hour",68 "day",69 "week",70 "month"71 ]72 },73 "bucket_count": {74 "type": "integer",75 "minimum": 076 },77 "previous": {78 "type": "object",79 "properties": {80 "from": {81 "type": "string",82 "format": "date-time",83 "description": "Inclusive start."84 },85 "to": {86 "type": "string",87 "format": "date-time",88 "description": "Exclusive end."89 },90 "timezone": {91 "type": "string"92 },93 "granularity": {94 "type": "string",95 "enum": [96 "hour",97 "day",98 "week",99 "month"100 ]101 },102 "bucket_count": {103 "type": "integer",104 "minimum": 0105 }106 },107 "required": [108 "from",109 "to",110 "timezone",111 "granularity",112 "bucket_count"113 ]114 }115 },116 "required": [117 "from",118 "to",119 "timezone",120 "granularity",121 "bucket_count"122 ]123 },124 "series": {125 "type": "array",126 "items": {127 "type": "object",128 "properties": {129 "bucket_start": {130 "type": "string",131 "description": "Bucket start timestamp."132 },133 "value": {134 "type": "number",135 "description": "Usage value in the bucket."136 },137 "projects": {138 "type": "array",139 "items": {140 "type": "object",141 "properties": {142 "project_id": {143 "type": [144 "string",145 "null"146 ],147 "format": "uuid",148 "description": "Project ID, or null for unscoped usage."149 },150 "project_name": {151 "type": "string",152 "description": "Project display name."153 },154 "project_slug": {155 "type": [156 "string",157 "null"158 ],159 "description": "Project slug, or null when unavailable."160 },161 "value": {162 "type": "number",163 "description": "Usage value for this project."164 }165 },166 "required": [167 "project_id",168 "project_name",169 "project_slug",170 "value"171 ]172 }173 },174 "groups": {175 "type": "array",176 "items": {177 "type": "object",178 "properties": {179 "dimensions": {180 "type": "object",181 "properties": {182 "project_id": {183 "type": [184 "string",185 "null"186 ],187 "format": "uuid"188 },189 "model": {190 "type": [191 "string",192 "null"193 ]194 },195 "model_provider": {196 "type": [197 "string",198 "null"199 ]200 },201 "api_key_id": {202 "type": [203 "string",204 "null"205 ],206 "format": "uuid"207 },208 "api_key_kind": {209 "type": "string",210 "enum": [211 "api_key",212 "no_api_key",213 "other_keys",214 "deleted_keys",215 "unattributed"216 ],217 "description": "Key-listing reports distinguish named keys, other/deleted keys, keyless and unattributed usage."218 },219 "member_id": {220 "type": [221 "string",222 "null"223 ],224 "format": "uuid"225 },226 "member_kind": {227 "type": "string",228 "enum": [229 "member",230 "former_member",231 "deleted_users",232 "automations",233 "unattributed"234 ],235 "description": "Project-member reports distinguish named people, deleted users, automations and unattributed usage."236 }237 }238 },239 "value": {240 "type": "number"241 }242 },243 "required": [244 "dimensions",245 "value"246 ]247 }248 }249 },250 "required": [251 "bucket_start",252 "value",253 "projects"254 ]255 }256 },257 "projects": {258 "type": "array",259 "items": {260 "type": "object",261 "properties": {262 "project_id": {263 "type": [264 "string",265 "null"266 ],267 "format": "uuid",268 "description": "Project ID, or null for unscoped usage."269 },270 "project_name": {271 "type": "string",272 "description": "Project display name."273 },274 "project_slug": {275 "type": [276 "string",277 "null"278 ],279 "description": "Project slug, or null when unavailable."280 },281 "value": {282 "type": "number",283 "description": "Usage value for this project."284 }285 },286 "required": [287 "project_id",288 "project_name",289 "project_slug",290 "value"291 ]292 }293 },294 "scope": {295 "type": "object",296 "properties": {297 "kind": {298 "type": "string",299 "enum": [300 "account"301 ]302 },303 "account_id": {304 "type": "string",305 "format": "uuid"306 },307 "project_id": {308 "type": [309 "string",310 "null"311 ],312 "format": "uuid"313 }314 },315 "required": [316 "kind",317 "account_id",318 "project_id"319 ]320 },321 "group_by": {322 "type": "array",323 "items": {324 "type": "string",325 "enum": [326 "project",327 "model",328 "api_key",329 "member"330 ]331 }332 }333 },334 "required": [335 "metric",336 "label",337 "unit",338 "summary",339 "timeframe",340 "series",341 "projects"342 ]343 }344 }345 }346}400
Bad request
JSON
1{2 "description": "Bad request",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
Unauthorized
JSON
1{2 "description": "Unauthorized",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
Forbidden
JSON
1{2 "description": "Forbidden",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}404
Not found
JSON
1{2 "description": "Not found",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}500
Server error
JSON
1{2 "description": "Server error",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}Referenced contracts
components/parameters/UsageQueryPreset
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryPreset"4 },5 "required": false,6 "description": "Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults.",7 "name": "preset",8 "in": "query"9}components/schemas/UsageQueryPreset
JSON
1{2 "type": "string",3 "enum": [4 "7d",5 "30d",6 "90d"7 ],8 "default": "30d",9 "description": "Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults."10}components/parameters/UsageQueryFrom
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryFrom"4 },5 "required": false,6 "description": "Inclusive start. Supply both from and to; these bounds take precedence over preset.",7 "name": "from",8 "in": "query"9}components/schemas/UsageQueryFrom
JSON
1{2 "type": "string",3 "format": "date-time",4 "description": "Inclusive start. Supply both from and to; these bounds take precedence over preset."5}components/parameters/UsageQueryTo
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryTo"4 },5 "required": false,6 "description": "Exclusive end, no later than the end of today in timezone.",7 "name": "to",8 "in": "query"9}components/schemas/UsageQueryTo
JSON
1{2 "type": "string",3 "format": "date-time",4 "description": "Exclusive end, no later than the end of today in timezone."5}components/parameters/UsageQueryTimezone
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryTimezone"4 },5 "required": false,6 "name": "timezone",7 "in": "query"8}components/schemas/UsageQueryTimezone
JSON
1{2 "type": "string",3 "default": "UTC"4}components/parameters/UsageQueryGranularity
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryGranularity"4 },5 "required": false,6 "description": "UTC hours, or local calendar days, Monday-based weeks and months.",7 "name": "granularity",8 "in": "query"9}components/schemas/UsageQueryGranularity
JSON
1{2 "type": "string",3 "enum": [4 "hour",5 "day",6 "week",7 "month"8 ],9 "default": "day",10 "description": "UTC hours, or local calendar days, Monday-based weeks and months."11}components/parameters/UsageQueryGroupBy
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryGroupBy"4 },5 "required": false,6 "description": "Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list.",7 "name": "group_by",8 "in": "query",9 "style": "form",10 "explode": true11}components/schemas/UsageQueryGroupBy
JSON
1{2 "type": "array",3 "items": {4 "type": "string",5 "enum": [6 "project",7 "model",8 "api_key",9 "member"10 ]11 },12 "maxItems": 4,13 "description": "Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list."14}components/parameters/UsageQueryCompare
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/UsageQueryCompare"4 },5 "required": false,6 "description": "Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise.",7 "name": "compare",8 "in": "query"9}components/schemas/UsageQueryCompare
JSON
1{2 "type": "string",3 "enum": [4 "previous_period"5 ],6 "description": "Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise."7}components/schemas/Problem
JSON
1{2 "type": "object",3 "properties": {4 "cause": {5 "type": "string",6 "enum": [7 "schedule_concurrency_forbidden",8 "schedule_fire_in_progress",9 "schedule_run_limit_reached"10 ],11 "description": "Schedule admission refusal."12 },13 "idempotency": {14 "type": "object",15 "properties": {16 "state": {17 "type": "string",18 "enum": [19 "in_progress",20 "payload_mismatch",21 "outcome_unknown"22 ]23 },24 "operation": {25 "type": "string",26 "minLength": 127 },28 "retryable": {29 "type": "boolean"30 },31 "retry_after_seconds": {32 "type": [33 "integer",34 "null"35 ],36 "minimum": 037 },38 "expires_at": {39 "type": [40 "string",41 "null"42 ]43 },44 "recovery": {45 "type": "object",46 "properties": {47 "available": {48 "type": "boolean"49 },50 "description": {51 "type": "string"52 },53 "resource_url": {54 "type": "string"55 }56 },57 "required": [58 "available",59 "description"60 ]61 }62 },63 "required": [64 "state",65 "operation",66 "retryable",67 "retry_after_seconds",68 "expires_at"69 ],70 "description": "Replay status, retry timing, and recovery lookup."71 },72 "type": {73 "type": "string",74 "description": "URI reference identifying the problem type",75 "example": "https://api.veryfront.com/errors/validation-failed"76 },77 "title": {78 "type": "string",79 "description": "Short human-readable summary of the problem",80 "example": "Validation Failed"81 },82 "status": {83 "type": "integer",84 "minimum": 100,85 "maximum": 599,86 "description": "HTTP status code",87 "example": 40088 },89 "code": {90 "type": "string",91 "description": "Stable machine-readable error code",92 "example": "RUN_INVALID_INPUT"93 },94 "detail": {95 "type": "string",96 "description": "Human-readable explanation specific to this occurrence",97 "example": "The 'email' field must be a valid email address"98 },99 "instance": {100 "type": "string",101 "description": "URI reference identifying the specific occurrence",102 "example": "/projects/my-project/members"103 },104 "slug": {105 "type": "string",106 "description": "Stable identifier for the problem type",107 "example": "validation-failed"108 },109 "category": {110 "type": "string",111 "enum": [112 "AUTH",113 "RESOURCE",114 "VALIDATION",115 "DATABASE",116 "SUBSCRIPTION",117 "INTEGRATION",118 "INTERNAL"119 ],120 "description": "API error category",121 "example": "VALIDATION"122 },123 "suggestion": {124 "type": "string",125 "description": "Suggested action to resolve the problem",126 "example": "Check the request body and query parameters against the API documentation."127 },128 "errors": {129 "type": "array",130 "items": {131 "type": "object",132 "properties": {133 "field": {134 "type": "string",135 "description": "Field path that caused the error",136 "example": "email"137 },138 "message": {139 "type": "string",140 "description": "Error message for this field",141 "example": "Invalid email format"142 },143 "code": {144 "type": "string",145 "description": "Error code for this field",146 "example": "INVALID_FORMAT"147 }148 },149 "required": [150 "field",151 "message"152 ]153 },154 "description": "Detailed field-level errors for validation failures"155 }156 },157 "required": [158 "type",159 "title",160 "status"161 ]162}Operation contract
JSON
1{2 "operationId": "getUsageSeries",3 "tags": [4 "billing-usage/Usage/Usage"5 ],6 "summary": "Get usage series",7 "description": "Chart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. Requires account.billing.read.",8 "parameters": [9 {10 "schema": {11 "type": "string",12 "format": "uuid"13 },14 "required": true,15 "name": "account_id",16 "in": "path"17 },18 {19 "$ref": "#/components/parameters/UsageQueryPreset"20 },21 {22 "$ref": "#/components/parameters/UsageQueryFrom"23 },24 {25 "$ref": "#/components/parameters/UsageQueryTo"26 },27 {28 "$ref": "#/components/parameters/UsageQueryTimezone"29 },30 {31 "$ref": "#/components/parameters/UsageQueryGranularity"32 },33 {34 "$ref": "#/components/parameters/UsageQueryGroupBy"35 },36 {37 "$ref": "#/components/parameters/UsageQueryCompare"38 },39 {40 "schema": {41 "type": "string",42 "enum": [43 "credits",44 "storage",45 "bandwidth",46 "api_calls"47 ],48 "description": "Usage metric represented by this series."49 },50 "required": true,51 "description": "Usage metric to chart.",52 "name": "metric",53 "in": "query"54 },55 {56 "schema": {57 "type": "string",58 "minLength": 1,59 "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found."60 },61 "required": false,62 "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found.",63 "name": "project_reference",64 "in": "query"65 }66 ],67 "responses": {68 "200": {69 "description": "Daily series of one usage metric of the account, optionally for one project.",70 "content": {71 "application/json": {72 "schema": {73 "type": "object",74 "properties": {75 "metric": {76 "type": "string",77 "enum": [78 "credits",79 "storage",80 "bandwidth",81 "api_calls"82 ],83 "description": "Usage metric represented by this series."84 },85 "label": {86 "type": "string",87 "description": "Human-readable metric label."88 },89 "unit": {90 "type": "string",91 "description": "Unit used by values, such as credits, calls, or bytes."92 },93 "summary": {94 "type": "object",95 "properties": {96 "value": {97 "type": "number"98 },99 "previous": {100 "type": "object",101 "properties": {102 "value": {103 "type": "number"104 }105 },106 "required": [107 "value"108 ]109 }110 },111 "required": [112 "value"113 ]114 },115 "timeframe": {116 "type": "object",117 "properties": {118 "from": {119 "type": "string",120 "format": "date-time",121 "description": "Inclusive start."122 },123 "to": {124 "type": "string",125 "format": "date-time",126 "description": "Exclusive end."127 },128 "timezone": {129 "type": "string"130 },131 "granularity": {132 "type": "string",133 "enum": [134 "hour",135 "day",136 "week",137 "month"138 ]139 },140 "bucket_count": {141 "type": "integer",142 "minimum": 0143 },144 "previous": {145 "type": "object",146 "properties": {147 "from": {148 "type": "string",149 "format": "date-time",150 "description": "Inclusive start."151 },152 "to": {153 "type": "string",154 "format": "date-time",155 "description": "Exclusive end."156 },157 "timezone": {158 "type": "string"159 },160 "granularity": {161 "type": "string",162 "enum": [163 "hour",164 "day",165 "week",166 "month"167 ]168 },169 "bucket_count": {170 "type": "integer",171 "minimum": 0172 }173 },174 "required": [175 "from",176 "to",177 "timezone",178 "granularity",179 "bucket_count"180 ]181 }182 },183 "required": [184 "from",185 "to",186 "timezone",187 "granularity",188 "bucket_count"189 ]190 },191 "series": {192 "type": "array",193 "items": {194 "type": "object",195 "properties": {196 "bucket_start": {197 "type": "string",198 "description": "Bucket start timestamp."199 },200 "value": {201 "type": "number",202 "description": "Usage value in the bucket."203 },204 "projects": {205 "type": "array",206 "items": {207 "type": "object",208 "properties": {209 "project_id": {210 "type": [211 "string",212 "null"213 ],214 "format": "uuid",215 "description": "Project ID, or null for unscoped usage."216 },217 "project_name": {218 "type": "string",219 "description": "Project display name."220 },221 "project_slug": {222 "type": [223 "string",224 "null"225 ],226 "description": "Project slug, or null when unavailable."227 },228 "value": {229 "type": "number",230 "description": "Usage value for this project."231 }232 },233 "required": [234 "project_id",235 "project_name",236 "project_slug",237 "value"238 ]239 }240 },241 "groups": {242 "type": "array",243 "items": {244 "type": "object",245 "properties": {246 "dimensions": {247 "type": "object",248 "properties": {249 "project_id": {250 "type": [251 "string",252 "null"253 ],254 "format": "uuid"255 },256 "model": {257 "type": [258 "string",259 "null"260 ]261 },262 "model_provider": {263 "type": [264 "string",265 "null"266 ]267 },268 "api_key_id": {269 "type": [270 "string",271 "null"272 ],273 "format": "uuid"274 },275 "api_key_kind": {276 "type": "string",277 "enum": [278 "api_key",279 "no_api_key",280 "other_keys",281 "deleted_keys",282 "unattributed"283 ],284 "description": "Key-listing reports distinguish named keys, other/deleted keys, keyless and unattributed usage."285 },286 "member_id": {287 "type": [288 "string",289 "null"290 ],291 "format": "uuid"292 },293 "member_kind": {294 "type": "string",295 "enum": [296 "member",297 "former_member",298 "deleted_users",299 "automations",300 "unattributed"301 ],302 "description": "Project-member reports distinguish named people, deleted users, automations and unattributed usage."303 }304 }305 },306 "value": {307 "type": "number"308 }309 },310 "required": [311 "dimensions",312 "value"313 ]314 }315 }316 },317 "required": [318 "bucket_start",319 "value",320 "projects"321 ]322 }323 },324 "projects": {325 "type": "array",326 "items": {327 "type": "object",328 "properties": {329 "project_id": {330 "type": [331 "string",332 "null"333 ],334 "format": "uuid",335 "description": "Project ID, or null for unscoped usage."336 },337 "project_name": {338 "type": "string",339 "description": "Project display name."340 },341 "project_slug": {342 "type": [343 "string",344 "null"345 ],346 "description": "Project slug, or null when unavailable."347 },348 "value": {349 "type": "number",350 "description": "Usage value for this project."351 }352 },353 "required": [354 "project_id",355 "project_name",356 "project_slug",357 "value"358 ]359 }360 },361 "scope": {362 "type": "object",363 "properties": {364 "kind": {365 "type": "string",366 "enum": [367 "account"368 ]369 },370 "account_id": {371 "type": "string",372 "format": "uuid"373 },374 "project_id": {375 "type": [376 "string",377 "null"378 ],379 "format": "uuid"380 }381 },382 "required": [383 "kind",384 "account_id",385 "project_id"386 ]387 },388 "group_by": {389 "type": "array",390 "items": {391 "type": "string",392 "enum": [393 "project",394 "model",395 "api_key",396 "member"397 ]398 }399 }400 },401 "required": [402 "metric",403 "label",404 "unit",405 "summary",406 "timeframe",407 "series",408 "projects"409 ]410 }411 }412 }413 },414 "400": {415 "description": "Bad request",416 "content": {417 "application/problem+json": {418 "schema": {419 "$ref": "#/components/schemas/Problem"420 }421 }422 }423 },424 "401": {425 "description": "Unauthorized",426 "content": {427 "application/problem+json": {428 "schema": {429 "$ref": "#/components/schemas/Problem"430 }431 }432 }433 },434 "403": {435 "description": "Forbidden",436 "content": {437 "application/problem+json": {438 "schema": {439 "$ref": "#/components/schemas/Problem"440 }441 }442 }443 },444 "404": {445 "description": "Not found",446 "content": {447 "application/problem+json": {448 "schema": {449 "$ref": "#/components/schemas/Problem"450 }451 }452 }453 },454 "500": {455 "description": "Server error",456 "content": {457 "application/problem+json": {458 "schema": {459 "$ref": "#/components/schemas/Problem"460 }461 }462 }463 }464 },465 "x-documentation-source-tag": "Account billing",466 "x-canonical-documentation": {467 "domain": "billing-usage",468 "resource": "Usage",469 "subgroup": "Usage",470 "name": "Get usage series",471 "description": "Chart one usage metric of an account by day, optionally for one project; returns the daily series with a total and a per-project breakdown. Requires account.billing.read.",472 "operationId": "getUsageSeries"473 },474 "x-mint": {475 "href": "/cloud/rest/api-reference/billing-usage-usage-usage/get-usage-series"476 }477}