---
title: "Import a galaxy cluster"
method: POST
path: "/galaxies/import"
tags: ["Galaxies"]
---

# Import a galaxy cluster

`POST /galaxies/import`

## Request body

- ImportGalaxyClusterItem[]
  - `GalaxyCluster` GalaxyClusterNoIdWithGalaxy
    - `uuid` string, uuid
    - `collection_uuid` string, uuid
    - `type` string
    - `value` string
    - `tag_name` string
    - `description` string
    - `galaxy_id` string
    - `source` string
    - `authors` string[]
    - `version` string, nullable
    - `distribution` '0' | '1' | '2' | '3' | '4' | '5' — Who will be able to see this event once it becomes published and eventually when it becomes pulled: * `0` - Your organization only * `1` - This community only * `2` - Connected communities * `3` - All communities * `4` - Sharing group * `5` - Inherit Event
    - `sharing_group_id` union
      - string, nullable
      - string, uuid, nullable
    - `org_id` string
    - `orgc_id` string
    - `default` boolean
    - `locked` boolean
    - `extends_uuid` string, nullable
    - `extends_version` string, nullable
    - `published` boolean
    - `deleted` boolean
    - `GalaxyElement` GalaxyElement[]
      - `id` string
      - `galaxy_cluster_id` string
      - `key` string
      - `value` string
    - `Galaxy` object
      - `uuid` string, uuid

## Response `200`

Import galaxy cluster response

- object
  - `saved` boolean, nullable — Present and `true` if the galaxy was successfully imported.
  - `success` boolean, nullable — Present and `true` if the galaxy was successfully imported.
  - `name` string
  - `message` string
  - `url` string

## Other responses

- `403` — Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.
- `404` — The specified resource was not found
- `default` — Unexpected API error

## Changes

- **2025-12-11** `0a9c9382121a` — 2 breaking, 2 info
  - the request property `items/GalaxyCluster/allOf[#/components/schemas/GalaxyClusterNoId]/sharing_group_id` became not nullable
  - the `items/GalaxyCluster/allOf[#/components/schemas/GalaxyClusterNoId]/sharing_group_id` request property type/format changed from `string`/`` to ``/``
  - added `#/components/schemas/SharingGroupIntId, #/components/schemas/SharingGroupUuidId` to the `items/GalaxyCluster/allOf[#/components/schemas/GalaxyClusterNoId]/sharing_group_id` request property `oneOf` list
  - removed the pattern `^\d+$|^$` from the request property `items/GalaxyCluster/allOf[#/components/schemas/GalaxyClusterNoId]/sharing_group_id`
- **2025-12-01** `9a8377167f3c` — 2 breaking, 22 warning
  - added `#/components/schemas/GalaxyClusterNoId, subschema #2` to the `items/GalaxyCluster` request property `allOf` list
  - the `items/GalaxyCluster` request property type/format changed from `object`/`` to ``/``
  - removed the request property `items/Galaxy`
  - removed the request property `items/GalaxyCluster/GalaxyElement`
  - …20 more
- …earlier changes not shown

[Full history](https://skmtc.dev/misp/apis/misp-automation-api/changes/galaxies/import/post.md)

---

[API](https://skmtc.dev/misp/apis/misp-automation-api.md) · [All operations](https://skmtc.dev/misp/apis/misp-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/misp/misp-automation-api/revisions/88b34ff032a1/schema)
