---
title: "Get the binary data for a variable"
method: GET
path: "/cmmn-runtime/case-instances/{caseInstanceId}/variables/{variableName}/data"
tags: ["Case Instance Variables"]
---

# Get the binary data for a variable

`GET /cmmn-runtime/case-instances/{caseInstanceId}/variables/{variableName}/data`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-runtime/case-instances/{caseInstanceId}/variables/{variableName}/data`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-runtime/case-instances/:caseInstanceId/variables/:variableName/data/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `caseInstanceId` string, required
- `variableName` string, required

## Query parameters

- `scope` string

## Response `200`

Indicates the case instance was found and the requested variables are returned.

- string[]

## Other responses

- `404`: Indicates the requested case was not found or the case does not have a variable with the given name (in the given scope). Status message provides additional information.

---

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