List sites for server
List all sites associated with the server.
Processing mode: <small><code>sync</code></small>
Request
- Base URLhttps://forge.laravel.com/api
- AuthOAuth 2Authorization codehttps://forge.laravel.com/oauth/authorizeToken URLhttps://forge.laravel.com/oauth/tokenScopesserver:view
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The organization slug
The server ID
Query parameters
Available sorts are name, created_at, updated_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -name.
Available includes are server, serverCount, serverExists, tags, tagsCount, tagsExists, latestDeployment, latestDeploymentCount, latestDeploymentExists, securityRules, securityRulesCount, securityRulesExists, redirectRules, redirectRulesCount, redirectRulesExists. You can include multiple options by separating them with a comma.
The number of results that will be returned per page.
The cursor to start the pagination from.
The name of the site.
Response
Paginated set of SiteResource
Example response
{
"included": [
{
"attributes": {
"created_at": "2025-07-29T09:00:00Z",
"updated_at": "2025-07-30T09:00:00Z"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.