---
updatedAt: 2025-05-19T20:48:30.000Z
agentTools:
  projectIndex: https://docs.metaplane.dev/llms.txt
---

# Fetch all objects for tag

Fetches all objects that have the target tag. This response is paginated

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Metaplane Api",
    "description": "MetaplanePublicApi API description",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://dev.api.metaplane.dev"
    }
  ],
  "security": [
    {
      "Authorization": []
    }
  ],
  "paths": {
    "/v1/tags/tagged-objects/{tag}": {
      "get": {
        "tags": [
          "Tags"
        ],
        "summary": "Fetch all objects for tag",
        "description": "Fetches all objects that have the target tag. This response is paginated",
        "operationId": "fetchTaggedObjects",
        "parameters": [
          {
            "name": "tag",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nextPageToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaggedObjectResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PublicEntity": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TABLE",
              "COLUMN",
              "DATABASE",
              "SCHEMA"
            ]
          },
          "absolutePath": {
            "type": "string",
            "description": "Path of entity type delimited by `.`"
          }
        }
      },
      "TaggedObjectResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicEntity"
            }
          },
          "nextPageToken": {
            "type": "string",
            "nullable": true
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      }
    },
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "description": "Copy in your API key generated from metaplane",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": false
  }
}
```