---
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

---

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