---
title: "Get all derived variables from all run prompt columns in a dataset."
method: GET
path: "/model-hub/datasets/{dataset_id}/derived-variables/"
tags: ["model-hub"]
---

# Get all derived variables from all run prompt columns in a dataset.

`GET /model-hub/datasets/{dataset_id}/derived-variables/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/datasets/{dataset_id}/derived-variables/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

This aggregates derived variables from run prompt columns that
produce JSON outputs, making them available for use in other
prompts, evals, and experiments.

Path params:
    - dataset_id: UUID of the dataset

## Response `200`

OK

- DatasetDerivedVariablesResponse
  - `status` boolean, required
  - `result` DatasetDerivedVariablesResult, required
    - `derived_variables` object, required

## 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)
