> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intelligence-management-platform.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Variables

> The variable type stores named configuration values and secrets used by agents, models, and integrations.

export const EditionBadge = ({edition}) => <Tooltip tip={edition === "ee" ? "Requires an Enterprise Edition license." : "Available in the Community Edition."}>
    <span style={{
  fontFamily: "RobotoMono, monospace",
  fontSize: "12px",
  textTransform: "uppercase",
  letterSpacing: "0.04em",
  border: "1px solid var(--imp-hair-light)",
  padding: "2px 8px"
}}>
      {edition === "ee" ? "Enterprise" : "Community"}
    </span>
  </Tooltip>;

`variable` records are named key-value pairs that agents and model configurations reference by name at runtime. Sensitive values can be encrypted at rest. See [Variables](/administration/variables) for product context.

```graphql theme={null}
type variable {
  name: String
  value: String
  encrypted: Boolean
  last_processed_at: Date
  embeddings_updated_at: Date
  createdAt: Date
  updatedAt: Date
  id: ID!
}
```

## Field notes

| Field                   | Notes                                                                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `name`                  | Unique identifier for this variable; referenced by `model.authvariable` and in agent tool configurations.                                  |
| `value`                 | The stored value. When `encrypted` is `true` this field is redacted in read responses; supply the plaintext value only in write mutations. |
| `encrypted`             | When `true`, the value is stored encrypted at rest and is not returned in query results.                                                   |
| `last_processed_at`     | Timestamp of the last knowledge-embedding pass over this record.                                                                           |
| `embeddings_updated_at` | Timestamp when vector embeddings were last regenerated.                                                                                    |

## Example query

```graphql theme={null}
query {
  variablesPagination(
    limit: 50
    filters: [{ encrypted: { eq: false } }]
    sort: { field: "name", direction: ASC }
  ) {
    items {
      id
      name
      encrypted
      updatedAt
    }
    pageInfo {
      currentPage
      hasNextPage
    }
  }
}
```
