---
title: "get_tenant"
method: GET
path: "/v1/tenants/{external_ref}"
tags: ["tenants"]
---

# get_tenant

`GET /v1/tenants/{external_ref}`

## Request

- Base URL: `https://ndi-api.nace.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://ndi-api.nace.ai/v1/tenants/{external_ref}`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-service/docs/v1/tenants/:external_ref/get.ts> (a function with typed inputs; its response is checked against the schema)

Read one tenant. Cost class: cacheable.

## Path parameters

- `external_ref` string, required: The partner's own reference for the tenant, such as its account id.

## Response `200`

Successful Response

- Tenant: One of the partner's child tenants. Send ``X-NDI-Tenant: ext:<external_ref>`` to act for it.
  - `id` string, uuid, required: NDI's id for the tenant; X-NDI-Tenant accepts it too.
  - `external_ref` string, required: The partner's own reference for the tenant, unique per partner.
  - `display_name` string, nullable, required: Human-readable name of the tenant.
  - `disabled` boolean, required: Whether the tenant is disabled. Its data is kept.
  - `limits` TenantLimits, required: The limits in force for a tenant.
    - `rpm` integer, required: Requests per minute this tenant may make.
    - `max_concurrent_jobs` integer, required: Parse, split, classify, categorize, extract, ground and agent jobs this tenant may have running at once; more wait in the queue. NDI's own per-tenant cap applies when it is lower.
  - `data_retention` 'short' | 'zero_retention', required: Retention for document operations — a **client** setting, not a request field. A data-handling guarantee a caller can accidentally opt out of on one endpoint is not a guarantee, so this is configured per client at onboarding and appears in no request body.
  - `created_at` string, date-time, required: When the tenant was created.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `410`: Gone
- `413`: Request Entity Too Large
- `422`: Unprocessable Entity
- `424`: Failed Dependency
- `429`: Too Many Requests
- `500`: Internal Server Error
- `501`: Not Implemented
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/nace/apis/ndi-service.md) - [All operations](https://skmtc.dev/nace/apis/ndi-service/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-service/revisions/d9d1f8ec2207?raw)
