> For the complete documentation index, see [llms.txt](https://docs.carto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carto.com/carto-for-developers/reference/carto-api/resources-api/maps-and-workflows.md).

# Maps and workflows

These endpoints cover the maps and workflows **you** have access to — your own, plus anything shared with you. To act across the whole organization regardless of owner, use [Organization resources](/carto-for-developers/reference/carto-api/resources-api/organization-resources.md).

Both lists are paginated and support the same filters, so you can page through everything tagged a certain way or matching a search term.

| Endpoint                                         | What it does      |
| ------------------------------------------------ | ----------------- |
| `GET /v3/organization-maps`                      | List maps         |
| `DELETE /v3/organization-maps/{mapId}`           | Delete a map      |
| `GET /v3/organization-workflows`                 | List workflows    |
| `DELETE /v3/organization-workflows/{workflowId}` | Delete a workflow |

{% hint style="info" %}
These endpoints need an **OAuth Access Token**. See [Authorization](/carto-for-developers/reference/carto-api.md#authorization).
{% endhint %}

## Filtering

`search` matches the title. `tags` takes a JSON-encoded array such as `["new","biz"]`. `privacy` is `private`, `shared` or `public` for maps, and `private` or `shared` for workflows — workflows are never public.

Sort with `order_by` and `order_direction`, and page with `page` and `page_size` (default 12).

## Deleting

You can only delete what you own, and only when nobody else has it locked — otherwise the request returns `403`. Deletions are immediate and cannot be undone.

## Endpoints

{% openapi src="<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>" path="/v3/organization-maps" method="get" %}
<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>
{% endopenapi %}

{% openapi src="<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>" path="/v3/organization-maps/{mapId}" method="delete" %}
<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>
{% endopenapi %}

{% openapi src="<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>" path="/v3/organization-workflows" method="get" %}
<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>
{% endopenapi %}

{% openapi src="<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>" path="/v3/organization-workflows/{workflowId}" method="delete" %}
<https://openapi.gitbook.com/o/zP3LT2Qhlb5jPWQCfWV3/spec/carto-api>
{% endopenapi %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.carto.com/carto-for-developers/reference/carto-api/resources-api/maps-and-workflows.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
