> For the complete documentation index, see [llms.txt](https://developers.felt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.felt.com/rest-api/api-reference/maps/print-pages.md). Agents can also search and read this documentation through its [MCP server](https://developers.felt.com/~gitbook/mcp).

# Print Pages

APIs to design print pages

Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.

With these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.

## Check print export status

> Check a print page export's status and the pages it prints, in order. \`in\_progress\` means the export is still rendering; \`completed\` and \`failed\` are final, so stop polling on either. Once \`status\` is \`completed\`, the response includes a \`download\_url\` for the file; when it is \`failed\`, \`error\` says why. A \`completed\` export's download link lasts 24 hours; after that \`download\_url\` is null and \`error\` says to export again.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"With these APIs, you can render a map to a PNG, JPG, PDF or SVG file, or print the pages designed on a map in Felt's print editor.\n","name":"Print Exports"},{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageExportStatus":{"additionalProperties":false,"properties":{"download_url":{"description":"Set once `status` is `completed`, until the link expires 24 hours later. It redirects to the file, so follow redirects.","nullable":true,"type":"string"},"error":{"description":"Why there is no file: the export failed, or its download link expired.","nullable":true,"type":"string"},"expires_at":{"description":"When `download_url` stops working.","format":"date-time","nullable":true,"type":"string"},"export_id":{"$ref":"#/components/schemas/FeltID"},"filename":{"nullable":true,"type":"string"},"pages":{"description":"The print pages the export prints, in order.","items":{"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/FeltID"},"name":{"type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"status":{"enum":["in_progress","completed","failed"],"nullable":false,"type":"string"}},"required":["export_id","status","pages","filename","download_url","expires_at","error"],"title":"PrintPageExportStatus","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_page_exports/{export_id}":{"get":{"callbacks":{},"description":"Check a print page export's status and the pages it prints, in order. `in_progress` means the export is still rendering; `completed` and `failed` are final, so stop polling on either. Once `status` is `completed`, the response includes a `download_url` for the file; when it is `failed`, `error` says why. A `completed` export's download link lasts 24 hours; after that `download_url` is null and `error` says to export again.\n","operationId":"poll_map_print_page_export","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the export","in":"path","name":"export_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageExportStatus"}}},"description":"Print export status"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Check print export status","tags":["Print Pages","Print Exports"]}}}}
```

## List print pages

> List the pages designed on a map in Felt's print editor, in the editor's order. Each page is a fixed composition in its own size and units, and prints to the format and resolution set on it.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageList":{"items":{"$ref":"#/components/schemas/PrintPage"},"title":"PrintPageList","type":"array"},"PrintPage":{"additionalProperties":false,"description":"A page designed in Felt's print editor: a fixed composition, laid out by hand, of maps, locator maps, legends, text and images on a page of a set size.\n","properties":{"contents":{"additionalProperties":false,"description":"What is on the page.","properties":{"images":{"description":"Uploaded images, such as logos.","type":"integer"},"legends":{"type":"integer"},"locators":{"description":"Locator maps: small overview maps.","type":"integer"},"maps":{"description":"The names of the page's maps. Each has its own view and visible layers.","items":{"type":"string"},"type":"array"},"sections":{"description":"Background sections: filled boxes.","type":"integer"},"text":{"description":"The page's text as authored. Text can hold Liquid tokens that are filled in when the page is printed: `{{ map.title }}`, `{{ map.description }}` and `{{ date }}` (the print date).\n","items":{"type":"string"},"type":"array"}},"required":["maps","text","locators","legends","images","sections"],"type":"object"},"id":{"$ref":"#/components/schemas/FeltID"},"name":{"nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page":{"additionalProperties":false,"properties":{"height":{"description":"Page height in `units`.","type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"The units the page was designed in. `px` are CSS pixels, 96 to the inch.","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Page width in `units`.","type":"number"}},"required":["size","orientation","width","height","units"],"type":"object"},"url":{"description":"Opens the page in Felt's print editor, for people who can edit the map.","type":"string"}},"required":["id","name","page","output","contents","url"],"title":"PrintPage","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages":{"get":{"callbacks":{},"description":"List the pages designed on a map in Felt's print editor, in the editor's order. Each page is a fixed composition in its own size and units, and prints to the format and resolution set on it.\n","operationId":"list_map_print_pages","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageList"}}},"description":"Print pages"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"List print pages","tags":["Print Pages","Print Pages"]}}}}
```

## Create print page

> Create a print page, blank or from a layout (see \`GET /maps/:map\_id/print\_layouts\`). A layout's maps show the map's saved view and visible layers unless \`map\_view\` says otherwise, and \`items\` adds to or edits the result in the same request.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageCreateParams":{"additionalProperties":false,"properties":{"items":{"description":"Items to add to the new page, after the layout's own.","items":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"basemap_theme":{"description":"Locator: basemap style.","enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"description":"Frame border, in CSS pixels. Width 0 hides it.","properties":{"color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"width_px":{"maximum":50,"minimum":0,"type":"number"}},"type":"object"},"color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"font_size_pt":{"description":"Text or legend: type size in points. A legend's names its largest text.","maximum":288,"minimum":1,"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"description":"Position and size in the page's units, measured from the page's top-left corner. Omitted fields keep their value.","properties":{"height":{"exclusiveMinimum":true,"minimum":0,"type":"number"},"width":{"exclusiveMinimum":true,"minimum":0,"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"graticule_degrees":{"description":"Map: latitude/longitude grid spacing; null for none.","enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"description":"Legend: `auto` grows to fit; `fixed` keeps the frame height, shrinking text to 6 pt and reflowing into up to 6 columns, then cutting off what still doesn't fit. Setting `frame.height` without `height_mode` makes it `fixed`.","enum":["auto","fixed"],"type":"string"},"id":{"description":"An existing item to update. Omit to create one.","type":"string"},"layer_group_ids":{"description":"Map: whole layer groups to show, added to `layer_ids`.","items":{"type":"string"},"type":"array"},"layer_ids":{"description":"Map: the layers it shows, replacing the current set. Defaults to the layers visible on the map.","items":{"type":"string"},"type":"array"},"line_height":{"description":"Text: multiple of the font size.","maximum":4,"minimum":0.5,"type":"number"},"name":{"description":"Map: label shown in the editor's pickers.","maxLength":200,"type":"string"},"outline_color":{"description":"Locator: color of the target map's outline.","pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"outline_width_px":{"maximum":20,"minimum":0,"type":"number"},"rendered_bounds":{"description":"Read-only, as returned for a map or locator; ignored on write.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"description":"Legend: list layer components (charts, statistics) under their layers.","type":"boolean"},"show_north_arrow":{"description":"Map: north arrow below the map.","type":"boolean"},"show_scale_bar":{"description":"Map: scale bar below the map.","type":"boolean"},"target_map_item_id":{"description":"Locator or legend: the id of the map item on this page it describes. Null leaves a locator unbound, and makes a legend follow the page's first map.","nullable":true,"type":"string"},"text":{"description":"Text: content. Can hold Liquid tokens filled in when printed: `{{ map.title }}`, `{{ map.description }}`, `{{ date }}`.","maxLength":10000,"type":"string"},"type":{"description":"Required when creating. `map` is a view of this map; `locator` is a small reference map outlining another map's extent; `legend` lists a map item's layers; `text` is a text box; `image` is a picture; `section` is a filled/bordered rectangle drawn behind other items.","enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"description":"Image: a Felt-hosted image URL, such as one from another image item. Null leaves an empty placeholder.","nullable":true,"type":"string"},"view":{"additionalProperties":false,"description":"Map or locator: what it shows. A map defaults to the map's saved view; a locator to an inset of its target map.","properties":{"bearing":{"description":"Rotation in degrees, clockwise.","maximum":360,"minimum":-360,"type":"number"},"bounds":{"description":"`[west, south, east, north]` in degrees, fitted inside the map's area on the page. An `east` west of `west` crosses the antimeridian.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"viewport":{"additionalProperties":false,"description":"The camera, as in image exports' `view.viewport`.","properties":{"latitude":{"maximum":85.051129,"minimum":-85.051129,"type":"number"},"longitude":{"maximum":180,"minimum":-180,"type":"number"},"zoom":{"description":"Web-map zoom at the item's printed size (96 CSS px per inch), so a small item showing a wide area goes below 0. Prefer `bounds` to frame an area.","maximum":23,"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"type":"object"},"z_index":{"description":"Stacking order, higher on top. New items go on top (sections at the back).","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"maxItems":50,"type":"array"},"layout_id":{"description":"A layout from the layout list to start from. Omit for a blank page.","type":"string"},"map_view":{"additionalProperties":false,"description":"What every map from the layout shows. Defaults to the map's saved view.","properties":{"bearing":{"description":"Rotation in degrees, clockwise.","maximum":360,"minimum":-360,"type":"number"},"bounds":{"description":"`[west, south, east, north]` in degrees, fitted inside the map's area on the page. An `east` west of `west` crosses the antimeridian.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"viewport":{"additionalProperties":false,"description":"The camera, as in image exports' `view.viewport`.","properties":{"latitude":{"maximum":85.051129,"minimum":-85.051129,"type":"number"},"longitude":{"maximum":180,"minimum":-180,"type":"number"},"zoom":{"description":"Web-map zoom at the item's printed size (96 CSS px per inch), so a small item showing a wide area goes below 0. Prefer `bounds` to frame an area.","maximum":23,"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"type":"object"},"name":{"maxLength":200,"type":"string"},"output":{"additionalProperties":false,"description":"The file the page prints to. A page from a workspace layout takes that layout's settings for what this omits.","properties":{"dpi":{"default":300,"description":"Print resolution of a page in physical units.","enum":[150,300,600],"type":"integer"},"format":{"default":"pdf","description":"`svg` keeps map data layers, legends and text as vectors, over a raster basemap.","enum":["pdf","png","jpg","svg"],"type":"string"},"jpg_quality":{"default":0.9,"maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"default":2,"description":"Output pixels per CSS pixel, for a page in `px` units.","enum":[1,2,3,4],"type":"integer"}},"type":"object"},"page":{"additionalProperties":false,"description":"Page size. Changing the size rescales what is on the page, as the editor does.","properties":{"height":{"description":"Custom page height in `units`.","exclusiveMinimum":true,"minimum":0,"type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"description":"Paper size. `tabloid` is 11 × 17 in. `custom` uses `width` and `height`.","enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"Length unit for the page's dimensions and every item frame: `in`, `cm`, `mm`, or `px` (CSS pixels at 96 per inch).","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Custom page width in `units`. Giving `width` or `height` makes the size custom.","exclusiveMinimum":true,"minimum":0,"type":"number"}},"type":"object"}},"title":"PrintPageCreateParams","type":"object"},"PrintPageDetail":{"additionalProperties":false,"description":"A print page and the items on it. Item frames are in the page's `units`, measured from its top-left corner; `warnings` flags likely layout problems such as items off the page.\n","properties":{"id":{"$ref":"#/components/schemas/FeltID"},"items":{"description":"Back to front.","items":{"$ref":"#/components/schemas/PrintPageItem"},"type":"array"},"name":{"nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page":{"additionalProperties":false,"properties":{"height":{"description":"Page height in `units`.","type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"The units the page was designed in. `px` are CSS pixels, 96 to the inch.","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Page width in `units`.","type":"number"}},"required":["size","orientation","width","height","units"],"type":"object"},"url":{"description":"Opens the page in Felt's print editor.","type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["id","name","page","output","url","items","warnings"],"title":"PrintPageDetail","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageItem":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"nullable":true,"type":"string"},"basemap_theme":{"enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"width_px":{"type":"number"}},"required":["width_px","color"],"type":"object"},"color":{"nullable":true,"type":"string"},"font_size_pt":{"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"graticule_degrees":{"enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"enum":["auto","fixed"],"type":"string"},"id":{"type":"string"},"layer_ids":{"items":{"type":"string"},"type":"array"},"line_height":{"type":"number"},"name":{"type":"string"},"outline_color":{"type":"string"},"outline_width_px":{"type":"number"},"rendered_bounds":{"description":"`[west, south, east, north]` the map area covers, ignoring bearing. Read-only.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"type":"boolean"},"show_north_arrow":{"type":"boolean"},"show_scale_bar":{"type":"boolean"},"target_map_item_id":{"description":"Null: a locator is unbound, and a legend follows the page's first map.","nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"nullable":true,"type":"string"},"view":{"additionalProperties":false,"properties":{"bearing":{"type":"number"},"viewport":{"additionalProperties":false,"properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"zoom":{"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"required":["viewport","bearing"],"type":"object"},"z_index":{"type":"number"}},"required":["id","type","frame","z_index"],"title":"PrintPageItem","type":"object"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages":{"post":{"callbacks":{},"description":"Create a print page, blank or from a layout (see `GET /maps/:map_id/print_layouts`). A layout's maps show the map's saved view and visible layers unless `map_view` says otherwise, and `items` adds to or edits the result in the same request.\n","operationId":"create_map_print_page","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageCreateParams"}}},"description":"Print page","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageDetail"}}},"description":"Print page"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Create print page","tags":["Print Pages"]}}}}
```

## Update print layout

> Rename a workspace layout, or replace its contents with a page's (\`page\_id\`). The change applies on every map in the workspace. Built-in layouts can't change.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintLayoutUpdateParams":{"additionalProperties":false,"properties":{"name":{"description":"A new name for the layout.","type":"string"},"page_id":{"description":"A print page whose contents replace the layout's, as the editor's \"Replace\" does.","type":"string"}},"title":"PrintLayoutUpdateParams","type":"object"},"PrintLayout":{"additionalProperties":false,"properties":{"contents":{"additionalProperties":false,"properties":{"images":{"type":"number"},"legends":{"type":"number"},"locators":{"type":"number"},"maps":{"description":"The names of the layout's maps, as on a page's contents.","items":{"type":"string"},"type":"array"},"sections":{"type":"number"},"text":{"description":"Text as authored, Liquid tokens included.","items":{"type":"string"},"type":"array"}},"required":["maps","locators","legends","text","images","sections"],"type":"object"},"id":{"type":"string"},"kind":{"description":"`built_in` layouts fit any page; `workspace` layouts were saved from a page.","enum":["built_in","workspace"],"type":"string"},"name":{"type":"string"},"orientation":{"description":"A workspace layout's saved orientation; null for built-ins, which fit either.","enum":["portrait","landscape"],"nullable":true,"type":"string"}},"required":["id","name","kind","orientation","contents"],"title":"PrintLayout","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_layouts/{layout_id}":{"post":{"callbacks":{},"description":"Rename a workspace layout, or replace its contents with a page's (`page_id`). The change applies on every map in the workspace. Built-in layouts can't change.\n","operationId":"update_map_print_layout","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of a workspace layout. Built-in layouts have plain-word IDs such as `standard`.","in":"path","name":"layout_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintLayoutUpdateParams"}}},"description":"Layout","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintLayout"}}},"description":"Print layout"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Update print layout","tags":["Print Pages"]}}}}
```

## Delete print layout

> Delete a workspace layout from the workspace's library, for every map in the workspace. Pages already made from it keep their contents. Built-in layouts can't be deleted.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_layouts/{layout_id}":{"delete":{"callbacks":{},"description":"Delete a workspace layout from the workspace's library, for every map in the workspace. Pages already made from it keep their contents. Built-in layouts can't be deleted.\n","operationId":"delete_map_print_layout","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of a workspace layout. Built-in layouts have plain-word IDs such as `standard`.","in":"path","name":"layout_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Delete print layout","tags":["Print Pages"]}}}}
```

## Get print page

> A print page and the print page items on it: each item's type, frame and settings, in the page's units. \`warnings\` flags likely layout problems, such as an item off the page.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageDetail":{"additionalProperties":false,"description":"A print page and the items on it. Item frames are in the page's `units`, measured from its top-left corner; `warnings` flags likely layout problems such as items off the page.\n","properties":{"id":{"$ref":"#/components/schemas/FeltID"},"items":{"description":"Back to front.","items":{"$ref":"#/components/schemas/PrintPageItem"},"type":"array"},"name":{"nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page":{"additionalProperties":false,"properties":{"height":{"description":"Page height in `units`.","type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"The units the page was designed in. `px` are CSS pixels, 96 to the inch.","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Page width in `units`.","type":"number"}},"required":["size","orientation","width","height","units"],"type":"object"},"url":{"description":"Opens the page in Felt's print editor.","type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["id","name","page","output","url","items","warnings"],"title":"PrintPageDetail","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageItem":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"nullable":true,"type":"string"},"basemap_theme":{"enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"width_px":{"type":"number"}},"required":["width_px","color"],"type":"object"},"color":{"nullable":true,"type":"string"},"font_size_pt":{"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"graticule_degrees":{"enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"enum":["auto","fixed"],"type":"string"},"id":{"type":"string"},"layer_ids":{"items":{"type":"string"},"type":"array"},"line_height":{"type":"number"},"name":{"type":"string"},"outline_color":{"type":"string"},"outline_width_px":{"type":"number"},"rendered_bounds":{"description":"`[west, south, east, north]` the map area covers, ignoring bearing. Read-only.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"type":"boolean"},"show_north_arrow":{"type":"boolean"},"show_scale_bar":{"type":"boolean"},"target_map_item_id":{"description":"Null: a locator is unbound, and a legend follows the page's first map.","nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"nullable":true,"type":"string"},"view":{"additionalProperties":false,"properties":{"bearing":{"type":"number"},"viewport":{"additionalProperties":false,"properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"zoom":{"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"required":["viewport","bearing"],"type":"object"},"z_index":{"type":"number"}},"required":["id","type","frame","z_index"],"title":"PrintPageItem","type":"object"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}":{"get":{"callbacks":{},"description":"A print page and the print page items on it: each item's type, frame and settings, in the page's units. `warnings` flags likely layout problems, such as an item off the page.\n","operationId":"show_map_print_page","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageDetail"}}},"description":"Print page"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Get print page","tags":["Print Pages"]}}}}
```

## Update print page

> Rename a page, move it in the page list, or change its size and output. A size change rescales what is on the page, as the editor does.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageUpdateParams":{"additionalProperties":false,"properties":{"name":{"maxLength":200,"type":"string"},"output":{"additionalProperties":false,"description":"The file the page prints to.","properties":{"dpi":{"description":"Print resolution of a page in physical units.","enum":[150,300,600],"type":"integer"},"format":{"description":"`svg` keeps map data layers, legends and text as vectors, over a raster basemap.","enum":["pdf","png","jpg","svg"],"type":"string"},"jpg_quality":{"maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page in `px` units.","enum":[1,2,3,4],"type":"integer"}},"type":"object"},"page":{"additionalProperties":false,"description":"Page size. Changing the size rescales what is on the page, as the editor does.","properties":{"height":{"description":"Custom page height in `units`.","exclusiveMinimum":true,"minimum":0,"type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"description":"Paper size. `tabloid` is 11 × 17 in. `custom` uses `width` and `height`.","enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"Length unit for the page's dimensions and every item frame: `in`, `cm`, `mm`, or `px` (CSS pixels at 96 per inch).","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Custom page width in `units`. Giving `width` or `height` makes the size custom.","exclusiveMinimum":true,"minimum":0,"type":"number"}},"type":"object"},"position":{"description":"Place in the map's page list, 0 for first.","maximum":9007199254740991,"minimum":0,"type":"integer"}},"title":"PrintPageUpdateParams","type":"object"},"PrintPageDetail":{"additionalProperties":false,"description":"A print page and the items on it. Item frames are in the page's `units`, measured from its top-left corner; `warnings` flags likely layout problems such as items off the page.\n","properties":{"id":{"$ref":"#/components/schemas/FeltID"},"items":{"description":"Back to front.","items":{"$ref":"#/components/schemas/PrintPageItem"},"type":"array"},"name":{"nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page":{"additionalProperties":false,"properties":{"height":{"description":"Page height in `units`.","type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"The units the page was designed in. `px` are CSS pixels, 96 to the inch.","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Page width in `units`.","type":"number"}},"required":["size","orientation","width","height","units"],"type":"object"},"url":{"description":"Opens the page in Felt's print editor.","type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["id","name","page","output","url","items","warnings"],"title":"PrintPageDetail","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageItem":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"nullable":true,"type":"string"},"basemap_theme":{"enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"width_px":{"type":"number"}},"required":["width_px","color"],"type":"object"},"color":{"nullable":true,"type":"string"},"font_size_pt":{"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"graticule_degrees":{"enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"enum":["auto","fixed"],"type":"string"},"id":{"type":"string"},"layer_ids":{"items":{"type":"string"},"type":"array"},"line_height":{"type":"number"},"name":{"type":"string"},"outline_color":{"type":"string"},"outline_width_px":{"type":"number"},"rendered_bounds":{"description":"`[west, south, east, north]` the map area covers, ignoring bearing. Read-only.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"type":"boolean"},"show_north_arrow":{"type":"boolean"},"show_scale_bar":{"type":"boolean"},"target_map_item_id":{"description":"Null: a locator is unbound, and a legend follows the page's first map.","nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"nullable":true,"type":"string"},"view":{"additionalProperties":false,"properties":{"bearing":{"type":"number"},"viewport":{"additionalProperties":false,"properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"zoom":{"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"required":["viewport","bearing"],"type":"object"},"z_index":{"type":"number"}},"required":["id","type","frame","z_index"],"title":"PrintPageItem","type":"object"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}":{"post":{"callbacks":{},"description":"Rename a page, move it in the page list, or change its size and output. A size change rescales what is on the page, as the editor does.\n","operationId":"update_map_print_page","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageUpdateParams"}}},"description":"Print page","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageDetail"}}},"description":"Print page"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Update print page","tags":["Print Pages"]}}}}
```

## DELETE /api/v2/maps/{map\_id}/print\_pages/{page\_id}

> Delete print page

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}":{"delete":{"callbacks":{},"operationId":"delete_map_print_page","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Delete print page","tags":["Print Pages"]}}}}
```

## Export print pages

> Exports every print page of the map as one PDF, in the editor's order, in the background. To export some pages, or a different order, pass \`page\_ids\`: those pages, in that order, up to 100. Each page keeps its own size and resolution, and the file is always a PDF, whatever format the pages are set to; to export one page in its own format, use \`POST /api/v2/maps/{map\_id}/print\_pages/{page\_id}/exports\`.\
> \
> The request returns \`202\` at once with an \`export\_id\` and a \`poll\_endpoint\`, which is also the \`Location\` header. Poll it, waiting \`Retry-After\` seconds between requests, until \`status\` is \`completed\` or \`failed\`, then follow \`download\_url\` before \`expires\_at\`. Rendering takes up to 60 seconds plus 10 seconds a page, capped at 10 minutes. An export whose renderer never answers reads as \`in\_progress\` for up to about 25 minutes before it is marked \`failed\`. An unknown or deleted page in \`page\_ids\` returns \`404\`, and nothing is exported. Returns \`503\` when the export can't be started.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"With these APIs, you can render a map to a PNG, JPG, PDF or SVG file, or print the pages designed on a map in Felt's print editor.\n","name":"Print Exports"},{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageExportParams":{"additionalProperties":false,"properties":{"page_ids":{"description":"The print pages to export, in the order they appear in the PDF. Leave it out to export every page in the editor's order.","items":{"type":"string"},"maxItems":100,"minItems":1,"type":"array","uniqueItems":true}},"title":"PrintPageExportParams","type":"object"},"PrintPageExportRequest":{"additionalProperties":false,"properties":{"export_id":{"$ref":"#/components/schemas/FeltID"},"poll_endpoint":{"nullable":false,"type":"string"}},"required":["export_id","poll_endpoint"],"title":"PrintPageExportRequest","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"},"ServiceUnavailableError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"ServiceUnavailableError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_page_exports":{"post":{"callbacks":{},"description":"Exports every print page of the map as one PDF, in the editor's order, in the background. To export some pages, or a different order, pass `page_ids`: those pages, in that order, up to 100. Each page keeps its own size and resolution, and the file is always a PDF, whatever format the pages are set to; to export one page in its own format, use `POST /api/v2/maps/{map_id}/print_pages/{page_id}/exports`.\n\nThe request returns `202` at once with an `export_id` and a `poll_endpoint`, which is also the `Location` header. Poll it, waiting `Retry-After` seconds between requests, until `status` is `completed` or `failed`, then follow `download_url` before `expires_at`. Rendering takes up to 60 seconds plus 10 seconds a page, capped at 10 minutes. An export whose renderer never answers reads as `in_progress` for up to about 25 minutes before it is marked `failed`. An unknown or deleted page in `page_ids` returns `404`, and nothing is exported. Returns `503` when the export can't be started.\n","operationId":"create_map_print_page_export_all_pages","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageExportParams"}}},"description":"Print export","required":false},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageExportRequest"}}},"description":"Print export started","headers":{"Location":{"description":"The export's `poll_endpoint`.","schema":{"type":"string"},"style":"simple"},"Retry-After":{"description":"Seconds to wait before polling.","schema":{"type":"integer"},"style":"simple"}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}},"description":"ServiceUnavailableError"}},"summary":"Export print pages","tags":["Print Pages","Print Exports"]}}}}
```

## List print layouts

> The layouts a new print page can start from: Felt's built-in layouts, which fit any page size and orientation, and the workspace's own, saved from pages on any of its maps. Like the editor's layout picker, this needs edit access to the map.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintLayoutList":{"items":{"$ref":"#/components/schemas/PrintLayout"},"title":"PrintLayoutList","type":"array"},"PrintLayout":{"additionalProperties":false,"properties":{"contents":{"additionalProperties":false,"properties":{"images":{"type":"number"},"legends":{"type":"number"},"locators":{"type":"number"},"maps":{"description":"The names of the layout's maps, as on a page's contents.","items":{"type":"string"},"type":"array"},"sections":{"type":"number"},"text":{"description":"Text as authored, Liquid tokens included.","items":{"type":"string"},"type":"array"}},"required":["maps","locators","legends","text","images","sections"],"type":"object"},"id":{"type":"string"},"kind":{"description":"`built_in` layouts fit any page; `workspace` layouts were saved from a page.","enum":["built_in","workspace"],"type":"string"},"name":{"type":"string"},"orientation":{"description":"A workspace layout's saved orientation; null for built-ins, which fit either.","enum":["portrait","landscape"],"nullable":true,"type":"string"}},"required":["id","name","kind","orientation","contents"],"title":"PrintLayout","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_layouts":{"get":{"callbacks":{},"description":"The layouts a new print page can start from: Felt's built-in layouts, which fit any page size and orientation, and the workspace's own, saved from pages on any of its maps. Like the editor's layout picker, this needs edit access to the map.\n","operationId":"list_map_print_layouts","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintLayoutList"}}},"description":"Print layouts"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"List print layouts","tags":["Print Pages"]}}}}
```

## Save print page as layout

> Save a page as a workspace layout, as the editor's "Save as layout" does. New pages on any of the workspace's maps can then start from it.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintLayoutCreateParams":{"additionalProperties":false,"properties":{"name":{"description":"Defaults to the page's name.","type":"string"},"page_id":{"description":"The print page to save as a layout.","type":"string"}},"required":["page_id"],"title":"PrintLayoutCreateParams","type":"object"},"PrintLayout":{"additionalProperties":false,"properties":{"contents":{"additionalProperties":false,"properties":{"images":{"type":"number"},"legends":{"type":"number"},"locators":{"type":"number"},"maps":{"description":"The names of the layout's maps, as on a page's contents.","items":{"type":"string"},"type":"array"},"sections":{"type":"number"},"text":{"description":"Text as authored, Liquid tokens included.","items":{"type":"string"},"type":"array"}},"required":["maps","locators","legends","text","images","sections"],"type":"object"},"id":{"type":"string"},"kind":{"description":"`built_in` layouts fit any page; `workspace` layouts were saved from a page.","enum":["built_in","workspace"],"type":"string"},"name":{"type":"string"},"orientation":{"description":"A workspace layout's saved orientation; null for built-ins, which fit either.","enum":["portrait","landscape"],"nullable":true,"type":"string"}},"required":["id","name","kind","orientation","contents"],"title":"PrintLayout","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_layouts":{"post":{"callbacks":{},"description":"Save a page as a workspace layout, as the editor's \"Save as layout\" does. New pages on any of the workspace's maps can then start from it.\n","operationId":"create_map_print_layout","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintLayoutCreateParams"}}},"description":"Layout","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintLayout"}}},"description":"Print layout"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Save print page as layout","tags":["Print Pages"]}}}}
```

## Delete print page item

> Remove one item from a page. A locator that pointed at a removed map is unbound.

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}/items/{item_id}":{"delete":{"callbacks":{},"description":"Remove one item from a page. A locator that pointed at a removed map is unbound.","operationId":"delete_map_print_page_item","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page item","in":"path","name":"item_id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Delete print page item","tags":["Print Pages"]}}}}
```

## Export print page

> Print a page designed in Felt's print editor to the file set on the page: a PNG, JPG, PDF or SVG at the page's size and resolution, drawn exactly as designed.\
> \
> The request waits up to 55 seconds and returns \`200\` with a completed export. Follow \`download\_url\` to download the file before \`expires\_at\`. Rendering failures return \`503\`. A render that exceeds the request deadline returns \`504\` with the \`export\_id\` and a \`poll\_endpoint\`, so the export can still be collected by polling. To start an export without waiting, or to export every page as one PDF, use \`POST /api/v2/maps/{map\_id}/print\_page\_exports\`.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"With these APIs, you can render a map to a PNG, JPG, PDF or SVG file, or print the pages designed on a map in Felt's print editor.\n","name":"Print Exports"},{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageExport":{"additionalProperties":false,"properties":{"download_url":{"description":"A URL for the finished file; it redirects to the file, so follow redirects. Expires at `expires_at`.","nullable":false,"type":"string"},"expires_at":{"description":"When `download_url` stops working.","format":"date-time","nullable":false,"type":"string"},"filename":{"nullable":false,"type":"string"},"id":{"$ref":"#/components/schemas/FeltID"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page_id":{"$ref":"#/components/schemas/FeltID"}},"required":["id","page_id","output","filename","download_url","expires_at"],"title":"PrintPageExport","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"},"ServiceUnavailableError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"ServiceUnavailableError","type":"object"},"PrintPageExportTimeout":{"properties":{"errors":{"items":{"properties":{"code":{"type":"string"},"detail":{"type":"string"},"title":{"type":"string"}},"type":"object"},"type":"array"},"export_id":{"$ref":"#/components/schemas/FeltID"},"poll_endpoint":{"nullable":false,"type":"string"}},"required":["errors","export_id","poll_endpoint"],"title":"PrintPageExportTimeout","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}/exports":{"post":{"callbacks":{},"description":"Print a page designed in Felt's print editor to the file set on the page: a PNG, JPG, PDF or SVG at the page's size and resolution, drawn exactly as designed.\n\nThe request waits up to 55 seconds and returns `200` with a completed export. Follow `download_url` to download the file before `expires_at`. Rendering failures return `503`. A render that exceeds the request deadline returns `504` with the `export_id` and a `poll_endpoint`, so the export can still be collected by polling. To start an export without waiting, or to export every page as one PDF, use `POST /api/v2/maps/{map_id}/print_page_exports`.\n","operationId":"create_map_print_page_export","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageExport"}}},"description":"Completed print page export"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}},"description":"ServiceUnavailableError"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageExportTimeout"}}},"description":"Gateway timeout","headers":{"Location":{"description":"The export's `poll_endpoint`.","schema":{"type":"string"},"style":"simple"},"Retry-After":{"description":"Seconds to wait before polling.","schema":{"type":"integer"},"style":"simple"}}}},"summary":"Export print page","tags":["Print Pages","Print Exports"]}}}}
```

## Create or update print page items

> Add print page items to a page (no \`id\`, a \`type\`) or edit existing ones by \`id\`; fields left out keep their values. Frames are in the page's units. Returns the whole page.<br>

```json
{"openapi":"3.0.0","info":{"title":"Felt","version":"2.0"},"tags":[{"description":"Print pages are fixed compositions designed in Felt's print editor: one or more maps, plus locator maps, legends, text and images, on a page of a set size.\n\nWith these APIs, you can create pages from scratch or from a layout, edit what is on them, and save them as layouts the workspace's other maps can start from.\n","name":"Print Pages"}],"servers":[{"url":"https://felt.com","variables":{}}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"YOUR_API_KEY","scheme":"bearer","type":"http"}},"schemas":{"PrintPageItemsUpsertParams":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"basemap_theme":{"description":"Locator: basemap style.","enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"description":"Frame border, in CSS pixels. Width 0 hides it.","properties":{"color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"width_px":{"maximum":50,"minimum":0,"type":"number"}},"type":"object"},"color":{"description":"Hex color, `#RRGGBB`, or `#RRGGBBAA` with alpha.","nullable":true,"pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"font_size_pt":{"description":"Text or legend: type size in points. A legend's names its largest text.","maximum":288,"minimum":1,"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"description":"Position and size in the page's units, measured from the page's top-left corner. Omitted fields keep their value.","properties":{"height":{"exclusiveMinimum":true,"minimum":0,"type":"number"},"width":{"exclusiveMinimum":true,"minimum":0,"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"graticule_degrees":{"description":"Map: latitude/longitude grid spacing; null for none.","enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"description":"Legend: `auto` grows to fit; `fixed` keeps the frame height, shrinking text to 6 pt and reflowing into up to 6 columns, then cutting off what still doesn't fit. Setting `frame.height` without `height_mode` makes it `fixed`.","enum":["auto","fixed"],"type":"string"},"id":{"description":"An existing item to update. Omit to create one.","type":"string"},"layer_group_ids":{"description":"Map: whole layer groups to show, added to `layer_ids`.","items":{"type":"string"},"type":"array"},"layer_ids":{"description":"Map: the layers it shows, replacing the current set. Defaults to the layers visible on the map.","items":{"type":"string"},"type":"array"},"line_height":{"description":"Text: multiple of the font size.","maximum":4,"minimum":0.5,"type":"number"},"name":{"description":"Map: label shown in the editor's pickers.","maxLength":200,"type":"string"},"outline_color":{"description":"Locator: color of the target map's outline.","pattern":"^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$","type":"string"},"outline_width_px":{"maximum":20,"minimum":0,"type":"number"},"rendered_bounds":{"description":"Read-only, as returned for a map or locator; ignored on write.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"description":"Legend: list layer components (charts, statistics) under their layers.","type":"boolean"},"show_north_arrow":{"description":"Map: north arrow below the map.","type":"boolean"},"show_scale_bar":{"description":"Map: scale bar below the map.","type":"boolean"},"target_map_item_id":{"description":"Locator or legend: the id of the map item on this page it describes. Null leaves a locator unbound, and makes a legend follow the page's first map.","nullable":true,"type":"string"},"text":{"description":"Text: content. Can hold Liquid tokens filled in when printed: `{{ map.title }}`, `{{ map.description }}`, `{{ date }}`.","maxLength":10000,"type":"string"},"type":{"description":"Required when creating. `map` is a view of this map; `locator` is a small reference map outlining another map's extent; `legend` lists a map item's layers; `text` is a text box; `image` is a picture; `section` is a filled/bordered rectangle drawn behind other items.","enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"description":"Image: a Felt-hosted image URL, such as one from another image item. Null leaves an empty placeholder.","nullable":true,"type":"string"},"view":{"additionalProperties":false,"description":"Map or locator: what it shows. A map defaults to the map's saved view; a locator to an inset of its target map.","properties":{"bearing":{"description":"Rotation in degrees, clockwise.","maximum":360,"minimum":-360,"type":"number"},"bounds":{"description":"`[west, south, east, north]` in degrees, fitted inside the map's area on the page. An `east` west of `west` crosses the antimeridian.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"viewport":{"additionalProperties":false,"description":"The camera, as in image exports' `view.viewport`.","properties":{"latitude":{"maximum":85.051129,"minimum":-85.051129,"type":"number"},"longitude":{"maximum":180,"minimum":-180,"type":"number"},"zoom":{"description":"Web-map zoom at the item's printed size (96 CSS px per inch), so a small item showing a wide area goes below 0. Prefer `bounds` to frame an area.","maximum":23,"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"type":"object"},"z_index":{"description":"Stacking order, higher on top. New items go on top (sections at the back).","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"maxItems":50,"minItems":1,"type":"array"}},"required":["items"],"title":"PrintPageItemsUpsertParams","type":"object"},"PrintPageDetail":{"additionalProperties":false,"description":"A print page and the items on it. Item frames are in the page's `units`, measured from its top-left corner; `warnings` flags likely layout problems such as items off the page.\n","properties":{"id":{"$ref":"#/components/schemas/FeltID"},"items":{"description":"Back to front.","items":{"$ref":"#/components/schemas/PrintPageItem"},"type":"array"},"name":{"nullable":true,"type":"string"},"output":{"$ref":"#/components/schemas/PrintPageOutput"},"page":{"additionalProperties":false,"properties":{"height":{"description":"Page height in `units`.","type":"number"},"orientation":{"enum":["portrait","landscape"],"type":"string"},"size":{"enum":["letter","tabloid","a4","a3","custom"],"type":"string"},"units":{"description":"The units the page was designed in. `px` are CSS pixels, 96 to the inch.","enum":["in","cm","mm","px"],"type":"string"},"width":{"description":"Page width in `units`.","type":"number"}},"required":["size","orientation","width","height","units"],"type":"object"},"url":{"description":"Opens the page in Felt's print editor.","type":"string"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["id","name","page","output","url","items","warnings"],"title":"PrintPageDetail","type":"object"},"FeltID":{"format":"felt_id","nullable":false,"title":"FeltID","type":"string"},"PrintPageItem":{"additionalProperties":false,"properties":{"align":{"enum":["left","center","right"],"type":"string"},"background_color":{"nullable":true,"type":"string"},"basemap_theme":{"enum":["light","dark"],"type":"string"},"border":{"additionalProperties":false,"properties":{"color":{"nullable":true,"type":"string"},"width_px":{"type":"number"}},"required":["width_px","color"],"type":"object"},"color":{"nullable":true,"type":"string"},"font_size_pt":{"type":"number"},"font_weight":{"enum":[400,500,700],"type":"integer"},"frame":{"additionalProperties":false,"properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"graticule_degrees":{"enum":[0.01,0.1,1,5,10],"nullable":true,"type":"number"},"height_mode":{"enum":["auto","fixed"],"type":"string"},"id":{"type":"string"},"layer_ids":{"items":{"type":"string"},"type":"array"},"line_height":{"type":"number"},"name":{"type":"string"},"outline_color":{"type":"string"},"outline_width_px":{"type":"number"},"rendered_bounds":{"description":"`[west, south, east, north]` the map area covers, ignoring bearing. Read-only.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"show_components":{"type":"boolean"},"show_north_arrow":{"type":"boolean"},"show_scale_bar":{"type":"boolean"},"target_map_item_id":{"description":"Null: a locator is unbound, and a legend follows the page's first map.","nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["map","locator","legend","text","image","section"],"type":"string"},"url":{"nullable":true,"type":"string"},"view":{"additionalProperties":false,"properties":{"bearing":{"type":"number"},"viewport":{"additionalProperties":false,"properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"zoom":{"type":"number"}},"required":["latitude","longitude","zoom"],"type":"object"}},"required":["viewport","bearing"],"type":"object"},"z_index":{"type":"number"}},"required":["id","type","frame","z_index"],"title":"PrintPageItem","type":"object"},"PrintPageOutput":{"additionalProperties":false,"description":"The file a page prints to, as set on the page.","properties":{"dpi":{"description":"The page's print resolution, for a page designed in physical units. A page too large to render at this resolution prints at the highest one the renderer supports.\n","enum":[150,300,600],"type":"integer"},"format":{"enum":["png","jpg","pdf","svg"],"type":"string"},"jpg_quality":{"description":"Only for `jpg`.","maximum":1,"minimum":0,"type":"number"},"pixel_ratio":{"description":"Output pixels per CSS pixel, for a page designed in `px`.","enum":[1,2,3,4],"type":"integer"}},"required":["format"],"title":"PrintPageOutput","type":"object"},"UnauthorizedError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"header":{"enum":["authorization"],"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"UnauthorizedError","type":"object"},"NotFoundError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"NotFoundError","type":"object"},"JsonErrorResponse":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"pointer":{"type":"string"}},"required":["pointer"],"type":"object"},"title":{"type":"string"}},"required":["title","source","detail"],"type":"object"},"type":"array"}},"required":["errors"],"title":"JsonErrorResponse","type":"object"},"InternalServerError":{"properties":{"errors":{"items":{"properties":{"detail":{"type":"string"},"source":{"properties":{"parameter":{"type":"string"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"type":"array"}},"title":"InternalServerError","type":"object"}}},"paths":{"/api/v2/maps/{map_id}/print_pages/{page_id}/items":{"post":{"callbacks":{},"description":"Add print page items to a page (no `id`, a `type`) or edit existing ones by `id`; fields left out keep their values. Frames are in the page's units. Returns the whole page.\n","operationId":"upsert_map_print_page_items","parameters":[{"description":"The ID of the map","in":"path","name":"map_id","required":true,"schema":{"type":"string"}},{"description":"The ID of the print page","in":"path","name":"page_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageItemsUpsertParams"}}},"description":"Items","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintPageDetail"}}},"description":"Print page"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}},"description":"UnauthorizedError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}},"description":"NotFoundError"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonErrorResponse"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"InternalServerError"}},"summary":"Create or update print page items","tags":["Print Pages"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.felt.com/rest-api/api-reference/maps/print-pages.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
