---
title: "Get scoped variables"
method: GET
path: "/scoped-variables/{scopeId}/{scopeType}"
tags: ["Inspect"]
---

# Get scoped variables

`GET /scoped-variables/{scopeId}/{scopeType}`

## Request

- Base URL: `http://localhost:8090/inspect-api`
- URL: `http://localhost:8090/inspect-api/scoped-variables/{scopeId}/{scopeType}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/docs/scoped-variables/:scopeId/:scopeType/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `scopeId` string, required
- `scopeType` string, required

## Query parameters

- `subScopeId` string

## Response `200`

Indicates the scoped instance was found and form payload is returned.

- VariableDTO[]
  - `id` string
  - `scope` string
  - `name` string
  - `type` string
  - `value` object

## Other responses

- `404`: Indicates the requested scoped instance was not found.

---

[API](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/revisions/5c72eb80b6c5?raw)
