---
title: "Export Namespace"
method: GET
path: "/api/agent-data/namespaces/{namespace_id}/export"
tags: ["agent-data"]
---

# Export Namespace

`GET /api/agent-data/namespaces/{namespace_id}/export`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agent-data/namespaces/{namespace_id}/export`
- Auth: none declared

Export one database (namespace) as plain SQL (TOS-7350: Download in Explorer).

Same authority as the environment export: the export reads every
subject's rows through the environment's admin DSN, so only the owner of
the environment the database lives in (or a platform admin) may take it.

## Path parameters

- `namespace_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
