---
title: "Get the schema for derived variables of a specific column."
method: GET
path: "/model-hub/prompt-templates/{prompt_id}/derived-variables/{column_name}/schema/"
tags: ["model-hub"]
---

# Get the schema for derived variables of a specific column.

`GET /model-hub/prompt-templates/{prompt_id}/derived-variables/{column_name}/schema/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt-templates/{prompt_id}/derived-variables/{column_name}/schema/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Returns detailed schema information including types and sample values.

Path params:
    - prompt_id: UUID of the prompt template
    - column_name: Name of the column

Query params:
    - version: Optional version filter

## Response `200`

OK

- DerivedVariableDetailResponse
  - `status` boolean, required
  - `result` DerivedVariableDetail, required
    - `paths` string[]
    - `schema` object
    - `full_variables` string[]
    - `raw_sample` object, nullable
    - `is_json` boolean

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
