---
updatedAt: 2026-04-29T02:50:27.000Z
agentTools:
  projectIndex: https://developers.tetrascience.com/llms.txt
---

# List all schemas for namespace/slug

Returns a list of all schema artifacts given a namespace and slug

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Artifact Management Service",
    "description": "Artifact Management Service API for getting artifact data, posting artifacts, and deleting artifacts",
    "contact": {
      "name": "Data Pipelines Team",
      "url": "https://developers.tetrascience.com/",
      "email": "data-pipelines@tetrascience.com"
    },
    "version": "0.1.0"
  },
  "tags": [
    {
      "name": "schemas",
      "description": "List and retrieve Schema artifacts"
    }
  ],
  "servers": [
    {
      "url": "https://api.tetrascience.com",
      "description": "Production Server"
    },
    {
      "url": "https://api.tetrascience-uat.com",
      "description": "User Acceptance Server"
    },
    {
      "url": "https://api.tetrascience-dev.com",
      "description": "Development Server"
    }
  ],
  "security": [
    {
      "token": [],
      "orgSlug": []
    }
  ],
  "paths": {
    "/v1/artifacts/schemas/{namespace}/{slug}": {
      "get": {
        "description": "Returns a list of all schema artifacts given a namespace and slug",
        "summary": "List all schemas for namespace/slug",
        "tags": [
          "schemas"
        ],
        "operationId": "getSchemaArtifactByNamespaceAndSlug",
        "parameters": [
          {
            "$ref": "#/components/parameters/ArtifactNamespace"
          },
          {
            "$ref": "#/components/parameters/ArtifactSlug"
          },
          {
            "$ref": "#/components/parameters/LatestOnlyQuery"
          },
          {
            "$ref": "#/components/parameters/IncludePrereleasesQuery"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/200SchemaObjectList"
          },
          "404": {
            "$ref": "#/components/responses/404Any"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "token": {
        "type": "apiKey",
        "description": "JWT Token for authentication",
        "in": "header",
        "name": "ts-auth-token"
      },
      "orgSlug": {
        "type": "apiKey",
        "description": "Your organization slug",
        "in": "header",
        "name": "x-org-slug"
      }
    },
    "responses": {
      "200SchemaObjectList": {
        "description": "Successfully fetched SchemaObject list",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/SchemaObjectList"
            }
          }
        }
      },
      "404Any": {
        "description": "Not found or not visible to user",
        "content": {
          "application/json": {
            "schema": {},
            "example": {
              "error": "Not Found",
              "message": "Artifact not found"
            }
          }
        }
      }
    },
    "parameters": {
      "LatestOnlyQuery": {
        "description": "Only return the latest version of each artifact",
        "name": "latest_only",
        "in": "query",
        "required": false,
        "schema": {
          "type": "boolean"
        },
        "example": true
      },
      "IncludePrereleasesQuery": {
        "description": "Include prerelease artifacts in search",
        "name": "include_prereleases",
        "in": "query",
        "required": false,
        "schema": {
          "type": "boolean"
        },
        "example": true
      },
      "ArtifactNamespace": {
        "description": "Artifact namespace. Should be common, private-*, or client-*",
        "in": "path",
        "name": "namespace",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/ArtifactNamespace"
        },
        "example": "common"
      },
      "ArtifactSlug": {
        "description": "Artifact slug",
        "name": "slug",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "demo-slug"
      }
    },
    "schemas": {
      "ArtifactNamespace": {
        "type": "string",
        "pattern": "^(common|(private|client)-).*$"
      },
      "ArtifactObjectBase": {
        "type": "object",
        "properties": {
          "namespace": {
            "$ref": "#/components/schemas/ArtifactNamespace"
          },
          "slug": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "otherVersions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "supportedPlatformVersion": {
            "$ref": "#/components/schemas/SupportedPlatformVersion"
          }
        },
        "required": [
          "namespace",
          "slug",
          "version",
          "createdAt",
          "lastUpdatedAt"
        ]
      },
      "SchemaObject": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArtifactObjectBase"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "schema"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        ],
        "example": {
          "type": "schema",
          "namespace": "private-test",
          "slug": "tabular",
          "version": "v0.5.0",
          "createdAt": "2024-04-25T15:15:34.269Z",
          "lastUpdatedAt": "2023-04-25T17:15:34.269Z",
          "name": "Tabular schema",
          "description": "A tabular schema",
          "otherVersions": [
            "v0.1.0",
            "v0.5.0"
          ]
        }
      },
      "SupportedPlatformVersion": {
        "type": "object",
        "nullable": true,
        "properties": {
          "minPlatformVersion": {
            "type": "string",
            "nullable": false
          },
          "maxPlatformVersion": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SchemaObjectList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/SchemaObject"
        }
      }
    }
  }
}
```