Laravel Commands API

The Commands API from Laravel — 5 operation(s) for commands.

Operations 8

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

GET /environments/{environment}/commands List commands run on a Cloud environment · List commands #
Ask an LLM
“Which commands have been run against my Laravel Cloud environment?”
“Can I filter an environment's command history by status or command text?”
Tell an agent
List the commands run on environment {environment}.
Find commands on environment {environment} matching {command}.
POST /environments/{environment}/commands Run a command on a Cloud environment · Run command #
Ask an LLM
“How do I run php artisan migrate on a cloud environment?”
“Can an agent execute a one-off command in an environment?”
Tell an agent
Run {command} on environment {environment}.
Execute the command {command} in cloud environment {environment}.
GET /commands/{command} Get a Cloud command run's details · Get command #
Ask an LLM
“Did the cloud command I ran finish successfully?”
“What output and status does a specific environment command have?”
Tell an agent
Show the details of cloud command {command}.
Check the status of environment command run {command}.
GET /orgs/{organization}/servers/{server}/sites/{site}/commands List command runs on a Forge site · List commands #
Ask an LLM
“Which commands have been run on my Forge site?”
“Can I filter a site's command history by the user who ran it?”
Tell an agent
List command runs for site {site} on server {server} in {organization}.
Show site {site} commands on server {server} ({organization}) run by user {user_id}.
POST /orgs/{organization}/servers/{server}/sites/{site}/commands Run a command on a Forge site · Create command #
Ask an LLM
“How do I run an artisan command in a site's directory on my server?”
“Can I execute a shell command for a site without SSHing in?”
Tell an agent
Run {command} on site {site} on server {server} in {organization}.
Execute {command} in site {site}'s directory on server {server}, org {organization}.
GET /orgs/{organization}/servers/{server}/sites/{site}/commands/{command} Get one command run on a Forge site · Get command #
Ask an LLM
“What status did a specific site command finish with?”
“Can I look up one past command run on a site?”
Tell an agent
Show command run {command} on site {site}, server {server}, {organization}.
Get the details of site {site} command {command} on server {server} in {organization}.
DELETE /orgs/{organization}/servers/{server}/sites/{site}/commands/{command} Delete a site command from history · Delete command #
Ask an LLM
“Can I clear a command I ran from a site's command history?”
“What removes one entry from a site's command log?”
Tell an agent destructive · confirm first
Delete command {command} from the history of site {site} on server {server} in {organization}.
Remove command history entry {command} for site {site}, server {server}, org {organization}.
GET /orgs/{organization}/servers/{server}/sites/{site}/commands/{command}/output Read the output of a site command run · Get command output #
Ask an LLM
“What did a command print when it ran on my site?”
“Where do I find the console output of a site command?”
Tell an agent
Show the output of command {command} on site {site}, server {server}, {organization}.
Fetch what site {site} command {command} printed on server {server} in {organization}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/laravel:laravel-commands-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

laravel-commands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Laravel Commands API
  version: 0.0.1
  description: 'Operations tagged Commands across 2 of this provider''s published API definitions: laravel-cloud-openapi.json, laravel-forge-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.laravel.com/api
- url: https://forge.laravel.com/api
tags:


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/laravel/refs/heads/main/openapi/laravel-commands-api-openapi.yml