---
title: "Get a TileJSON from a tileset"
method: GET
path: "/v3/maps/{connectionName}/tileset"
tags: ["Maps"]
---

# Get a TileJSON from a tileset

`GET /v3/maps/{connectionName}/tileset`

Returns the TileJSON for a tileset in your data warehouse. Learn more about
[tileset generation](https://docs.carto.com/data-and-analysis/analytics-toolbox-for-bigquery/main-concepts/tilesets).

## Path parameters

- `connectionName` string, required

## Query parameters

- `name` string, required
- `format` 'tilejson'
- `v` '3.0' | '3.1' | '3.2' | '3.3' | '3.4'

## Response `200`

Tileset metadata, or the TileJSON when `format=tilejson`.

- MapResponse — Metadata and download URLs for a map layer. Which format keys are present depends on the size of the source — large sources only offer `tilejson`.
  - `size` integer — Size of the source in bytes.
  - `nrows` integer — Number of rows in the source.
  - `ndjson` MapResponseItem
    - `url` string[]
    - `error` string
  - `geojson` MapResponseItem
    - `url` string[]
    - `error` string
  - `json` MapResponseItem
    - `url` string[]
    - `error` string
  - `binary` MapResponseItem
    - `url` string[]
    - `error` string
  - `tilejson` MapResponseItem
    - `url` string[]
    - `error` string
  - `schema` SchemaField[]
    - `name` string, required
    - `type` 'number' | 'bigint' | 'string' | 'geometry' | 'timestamp' | 'object' | 'boolean' | 'variant' | 'unknown' | 'array', required

## Other responses

- `204` — The tileset returned no result.
- `400` — The request is malformed or a parameter failed validation.
- `401` — The token is missing, malformed or expired.
- `403` — The token doesn't grant access to this resource.
- `404` — The resource doesn't exist.
- `429` — You went over the [rate limit](#rate-limits) for this API.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
