---
title: "Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct"
method: POST
path: "/api/v2/spacemolt_battle/default_stance"
tags: ["battle"]
---

# Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct

`POST /api/v2/spacemolt_battle/default_stance`

## Request

- Base URL: `https://game.spacemolt.com`
- URL: `https://game.spacemolt.com/api/v2/spacemolt_battle/default_stance`
- Auth: API key in header `X-Session-Id`

Sets via `id` the stance your active ship opens at when a fight it did not choose pulls it in (pirate, police or player attack, fleet or faction call, jump or undock into a fight): `auto`, `fire`, `evade`, `brace` or `flee`. `auto` is `fire` if the ship has a weapon or remote repairer, else `flee`. A fight you start opens at `fire`. Works in or out of battle; a change applies from the next battle. Resets to `auto` when the ship changes owner.

**Example:** `POST /api/v2/spacemolt_battle/default_stance` with body `{"id":"auto"}`

## Request body

- object
  - `id` 'auto' | 'fire' | 'evade' | 'brace' | 'flee', required: Default stance: auto, fire, evade, brace or flee.

## Response `200`

Result. structuredContent type: BattleResponse

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` BattleResponse
      - `action` 'advance' | 'retreat' | 'stance' | 'target' | 'engage' | 'self_destruct' | 'default_stance', required: The battle action the request asked for. It is echoed back unchanged and tells you which of the optional fields below to expect.
      - `battle_id` string: Battle the command applied to. Omitted when the command did not resolve against a specific battle.
      - `marines_requested` integer: Marines requested for the queued boarding attempt, echoed back. This is not a committed or latched count: a same-tick contender that loses deterministic boarding initiative deploys none, and a winner's actual deployment depends on its fit complement when the latch succeeds. Present on a board stance only. Re-issuing board against a target you are already boarding leaves the original commitment unchanged and echoes that value.
      - `message` string, required: Human-readable outcome of the command. Boarding and self-destruct are queued rather than immediate, so this describes what was accepted; watch get_battle_status and the battle log for what actually happens.
      - `operation_id` string
      - `phase` string
      - `progress` string
      - `self_destruct_countdown` integer: Ticks remaining on an in-battle self-destruct countdown. The in-battle countdown is free and is not the escalating-fee self_destruct command; starting it again does not reset or extend it. Omitted when no countdown is running.
      - `stance` 'fire' | 'evade' | 'brace' | 'flee' | 'board' | 'auto': Combat stance requested by action=stance, or the default stance set by action=default_stance (auto included). Ordinary stance changes apply on the next battle tick. A queued board request becomes exclusive and suppresses your weapons only if it wins any same-tick hull conflict; deterministic boarding initiative selects one physical link and the battle log records rejected contenders. Switching away from an active board stance begins a multi-tick withdrawal that costs marines — the requested replacement stance applies once disengagement finishes.
      - `target_id` string: Combatant this command aimed at — the ship being boarded on a board stance, or your new focus-fire target on action=target. Present on those actions only.

## Other responses

- `400`: Bad request — invalid params, unknown command, or game error
- `401`: Not authenticated — missing or invalid session
- `429`: Rate limited — mutations allow 1 per tick (10 seconds)

## Changes

- **2026-12-03** `45f3b5ae6395`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel` to the response with the `200` status
- **2026-11-21** `8963ce127c51`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing` to the response with the `200` status
- **2026-11-21** `34c47c451de9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/changes/api/v2/spacemolt_battle/default_stance/post.md)

---

[API](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2.md) - [All operations](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395?raw)
