---
title: "Fetch Instances"
method: GET
path: "/instance/fetchInstances"
tags: ["Instance Controller"]
---

# Fetch Instances

`GET /instance/fetchInstances`

Returns the instance with the name informed in the parameter, or all the instances if empty.

## Query parameters

- `instanceName` string
- `instanceId` string

## Response `200`

Ok

- object
  - `status` integer — The HTTP status of the response
  - `error` string — The error message indicating the type of error
  - `response` object
    - `message` string[] — List of detailed error messages

---

[API](https://skmtc.net/evolution-foundation/apis/evolution-api-2.md) · [All operations](https://skmtc.net/evolution-foundation/apis/evolution-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/evolution-foundation/evolution-api-2/revisions/153363ee7f38/schema)
