---
title: "GET /vfields"
method: GET
path: "/vfields"
tags: ["vfields"]
---

# GET /vfields

`GET /vfields`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/vfields`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `virtualFields|read`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/vfields/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists the virtual fields of a dataset, ordered by creation time.

## Query parameters

- `dataset` string, required

## Response `200`

Virtual fields.

- VirtualFieldWithId[]
  - `dataset` string, required
  - `description` string
  - `expression` string, required
  - `name` string, required: Name of the virtual field. Use letters, digits, underscores, and hyphens, starting and ending with a letter or digit.
  - `type` string
  - `unit` string
  - `id` string, required

## Other responses

- `404`: You can't read the dataset.

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 1 info
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/vfields/get.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
