---
title: "Get a Fleet"
method: GET
path: "/v1/fleet/{fleet_name}"
tags: ["Fleets"]
---

# Get a Fleet

`GET /v1/fleet/{fleet_name}`

## Request

- Base URL: `https://api.edgegap.com`
- URL: `https://api.edgegap.com/v1/fleet/{fleet_name}`
- Auth: API key in header `authorization`

Retrieve a fleet with its details.

## Path parameters

- `fleet_name` string, required

## Response `200`

Success

- FleetGetResponse
  - `name` string, required: Name of the Fleet
  - `enabled` boolean: If the Fleet is enabled. Defaults to false.
  - `create_time` string: UTC time of fleet creation
  - `last_updated` string: UTC time of fleet last update

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/edgegap/apis/edgegap-v1.md) · [All operations](https://skmtc.dev/edgegap/apis/edgegap-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/edgegap/apis/edgegap-v1/revisions/9fa2b393a6be?raw)
