---
title: "This command can be used as a predicate to ascertain the persistence of a given variable."
method: GET
path: "/mimic/agent/{agentNum}/store/persists/{var}"
tags: ["Agent"]
---

# This command can be used as a predicate to ascertain the persistence of a given variable.

`GET /mimic/agent/{agentNum}/store/persists/{var}`

It returns "1" if the variable is persistent, else "0".

## Path parameters

- `agentNum` integer, required
- `var` string, required

## Response `200`

successful operation

- string

## Other responses

- `400` — Invalid agent number value

---

[API](https://skmtc.net/gambitcomm/apis/mimic-rest-api.md) · [All operations](https://skmtc.net/gambitcomm/apis/mimic-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gambitcomm/mimic-rest-api/versions/eb67c54e9ec9/schema)
