---
title: "Obtain information about an interview's variables"
method: GET
path: "/api/interview_data"
tags: ["Interviews"]
---

# Obtain information about an interview's variables

`GET /api/interview_data`

Returns information about the Python names used in the given interview.
Useful for building autocomplete or variable-inspection tools.
Requires `admin`, `developer`, or the `interview_data` permission.

## Query parameters

- `i` string, required

## Response `200`

Variable and vocabulary information.

- object
  - `names` object
  - `vocabulary` string[]

## Other responses

- `400` — Bad request.
- `403` — Access denied.

---

[API](https://skmtc.dev/docassemble/apis/docassemble-api.md) · [All operations](https://skmtc.dev/docassemble/apis/docassemble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docassemble/docassemble-api/revisions/a75d7eea6826/schema)
