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

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

`POST /api/v2/spacemolt_battle/stance`

## Request

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

Sets your combat posture via `id`: `fire` (100% damage dealt and taken), `evade` (0% dealt / 50% taken, burns extra fuel), `brace` (0% dealt / 25% taken, shields regenerate at 2x), `flee` (0% dealt / 100% taken, escapes after auto-retreat), or `board` (no weapons or defensive reduction; automatically closes for repeated latch attempts). `board` requires `target` and a positive `marines` commitment, and takes an optional `intent`: `capture` (default) or `plunder` (rob another player's cargo; players only); creatures, drones, and stations are not capturable and are rejected immediately. A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. If same-tick eligible boarding requests share either hull, deterministic boarding initiative starts one physical link; rejected contenders retain their prior stance and weapon fire, and the battle log records `boarding_rejected` with reason `contested_same_tick`. Changing away from `board` begins a costly, non-instant withdrawal; the requested stance takes effect only after disengagement. `board` against a pilot whose grant of safe passage binds you returns `safe_passage`. Requires being in an active battle.

**Example:** `POST /api/v2/spacemolt_battle/stance` with body `{"id":"fire","intent":"capture","marines":1,"target":"example"}`

## Request body

- object
  - `id` 'fire' | 'evade' | 'brace' | 'flee' | 'board', required: Stance: fire, evade, brace, flee or board.
  - `intent` 'capture' | 'plunder': Boarding goal for stance=board: capture (default) takes the intact hull; plunder robs another player's ship of its cargo and leaves the hull with its pilot. Plunder targets only players, never NPCs, prizes or arena opponents.
  - `marines` integer: Positive fit-marine commitment required when setting stance=board. The battle tick caps it to the fit marines actually available.
  - `target` string: ID or name of the enemy — required when focusing a target and when entering the board stance. Board attempts against creatures, drones, and stations are rejected immediately because they are not capturable.

## 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`: 2 warning, 1 info
  - added the new `auto` enum value to the `allOf[subschema #2]/structuredContent/stance` response property for the response status `200`
  - added the new `default_stance` enum value to the `allOf[subschema #2]/structuredContent/action` response property for the response status `200`
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_exchange_fill]/counterparty` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/changes/api/v2/spacemolt_battle/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)
