---
title: "Repair Ship"
method: POST
path: "/my/ships/{shipSymbol}/repair"
tags: ["Fleet"]
---

# Repair Ship

`POST /my/ships/{shipSymbol}/repair`

Repair a ship, restoring the ship to maximum condition. The ship must be docked at a waypoint that has the `Shipyard` trait in order to use this function. To preview the cost of repairing the ship, use the Get action.

## Path parameters

- `shipSymbol` string, required

## Response `200`

Ship repaired successfully.

- object
  - `data` object, required
    - `agent` AgentJson, required — unresolved $ref
    - `ship` ShipJson, required — unresolved $ref
    - `transaction` RepairTransactionJson, required — unresolved $ref

---

[API](https://skmtc.net/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.net/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacetradersapi/spacetraders-api/revisions/197cf9b9a2b6/schema)
