Laravel Usage API
The Usage API from Laravel — 1 operation(s) for usage.
Operations 1
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
The Usage API from Laravel — 1 operation(s) for usage.
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/laravel:laravel-usage-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Laravel Cloud Usage API
version: 0.0.1
servers:
- url: https://cloud.laravel.com/api
security:
- http: []
tags:
- name: Usage
paths:
/usage:
get:
operationId: public.usage
description: Get billing and usage data for the authenticated organization.
summary: Get usage
tags:
- Usage
parameters:
- name: period
in: query
description: The billing period offset. 0 returns the current billing period, 1 returns the previous period, and so on. Periods are not necessarily month-long — they match your billing cycle. Must be between 0 and 3.
schema:
type:
- integer
- 'null'
minimum: 0
maximum: 3
example: 0
- name: environment
in: query
schema:
type:
- string
- 'null'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
summary:
type: object
properties:
current_spend_cents:
type: integer
bandwidth:
type:
- object
- 'null'
properties:
cost_cents:
type: integer
usage_percentage:
type: integer
allowance_bytes:
type: integer
required:
- cost_cents
- usage_percentage
- allowance_bytes
credits:
type:
- object
- 'null'
properties:
used_cents:
type: integer
total_cents:
type: integer
required:
- used_cents
- total_cents
alert:
type:
- object
- 'null'
properties:
threshold_cents:
type: integer
remaining_percentage:
type: integer
required:
- threshold_cents
- remaining_percentage
required:
- current_spend_cents
- bandwidth
- credits
- alert
resources:
type: object
properties:
total_cost_cents:
type: integer
databases:
type: array
items:
type: object
additionalProperties: {}
caches:
type: array
items:
type: object
additionalProperties: {}
buckets:
type: array
items:
type: object
additionalProperties: {}
websockets:
type: array
items:
type: object
additionalProperties: {}
required:
- total_cost_cents
- databases
- caches
- buckets
- websockets
addons:
type: object
properties:
total_cost_cents:
type: integer
items:
type: array
items:
type: object
properties:
name:
type: string
total_cents:
type: integer
required:
- name
- total_cents
required:
- total_cost_cents
- items
application_totals:
type: object
properties:
total_cost_cents:
type: integer
application_count:
type: integer
applications:
type: array
items:
type: object
additionalProperties: {}
required:
- total_cost_cents
- application_count
- applications
environment_usage:
type:
- object
- 'null'
properties:
total_cost_cents:
type: integer
items:
type: array
items:
type: object
additionalProperties: {}
required:
- total_cost_cents
- items
private_cloud:
type:
- object
- 'null'
properties:
total_cost_cents:
type: integer
sections:
type: object
additionalProperties:
type: array
items:
type: object
additionalProperties: {}
instances:
type: object
additionalProperties:
type: array
items:
type: object
additionalProperties: {}
required:
- total_cost_cents
- sections
- instances
required:
- summary
- resources
- addons
- application_totals
- environment_usage
- private_cloud
meta:
type: object
properties:
currency:
type: string
period:
type: integer
available_periods:
type: array
items:
type: object
properties:
from:
type:
- string
- 'null'
to:
type:
- string
- 'null'
required:
- from
- to
last_updated_at:
type: string
required:
- currency
- period
- available_periods
- last_updated_at
required:
- data
- meta
'401':
description: An error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
examples:
- ''
required:
- message
'403':
$ref: '#/components/responses/AuthorizationException'
'422':
$ref: '#/components/responses/ValidationException'
components:
responses:
ValidationException:
description: Validation error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Errors overview.
errors:
type: object
description: A detailed description of each field that failed validation.
additionalProperties:
type: array
items:
type: string
required:
- message
- errors
AuthorizationException:
description: Authorization error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
securitySchemes:
http:
type: http
description: The Bearer Token generated on the Cloud UI.
scheme: bearer
bearerFormat: bearer