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

# GET /views

`GET /views`

## Request

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

Lists the views in the organization, including views shared with it by other organizations.

## Response `200`

Views.

- View[]
  - `aplQuery` string, required: APL query that defines the view
  - `datasets` string[]: Datasets the view queries. Axiom derives this from `aplQuery` and ignores it in requests.
  - `description` string
  - `edgeDeployment` string: Region of the source datasets; ignored in requests
  - `edgeDeploymentUrl` string: URL of the edge deployment; ignored in requests
  - `name` string, required: Name of the view. Use it as the view ID and to query the view like a dataset.
  - `sharedByOrg` string: ID of the org that shared this resource, if it's shared
  - `sharedByOrgName` string: The name of the org that shared this resource, if it's shared

## Changes

- **2026-11-02** (v2) `e3baf3b85e8d`: 2 info
  - added the optional property `items/edgeDeployment` to the response with the `200` status
  - added the optional property `items/edgeDeploymentUrl` to the response with the `200` status

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/views/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)
