> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.flare.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Tenant

> Return a tenant, including a disabled one, with its identifier and user counts and its identifier, global search and sandbox submission limits and usage. Requires read permission on the tenant.

&#x20;Required API key permission: **Read Organization**


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/tenants/{tenant_id}
openapi: 3.0.1
info:
  description: >

    Manage and access Firework resources.


    Requests are authenticated with API tokens, which are obtained using an API
    key:


    1. Generate an API key from the [Profile
    page](https://app.flare.io/#/profile).

    2. Send a `POST` request to `https://api.flare.io/tokens/generate` with the
    `Authorization: <api-key>` header to get an API token. API tokens expire
    after 1 hour.

    3. Call the API endpoints with the `Authorization: Bearer <api-token>`
    header.


    See [Authentication](https://api.docs.flare.io/concepts/authentication) for
    details.
  title: Firework API
  version: v2
servers:
  - url: https://api.flare.io/
security:
  - BearerAuth: []
tags:
  - description: >-
      The authenticated user, its API keys, organizations, tenants, onboarding
      and usage.
    name: Account
  - description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
    name: Events
  - description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
    name: Identifiers
  - description: Report groups, reports, their sections, schedules and delivery channels.
    name: Reports
paths:
  /firework/v2/tenants/{tenant_id}:
    get:
      tags:
        - Account
      summary: Get a tenant
      description: >-
        Return a tenant, including a disabled one, with its identifier and user
        counts and its identifier, global search and sandbox submission limits
        and usage. Requires read permission on the tenant.
      operationId: get_tenant_api
      parameters:
        - description: ID of the tenant.
          in: path
          name: tenant_id
          required: true
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantWithCounts'
          description: Success
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: >-
            The tenant does not exist or is not visible to the caller (code
            `NOT_FOUND`).
components:
  schemas:
    TenantWithCounts:
      properties:
        tenant:
          allOf:
            - $ref: '#/components/schemas/Tenant'
          description: The tenant.
          type: object
        identifier_count:
          description: >-
            Number of identifiers counted against the identifier limit of the
            tenant.
          type: integer
        user_count:
          description: Number of users that are members of the tenant.
          type: integer
        identities_limit:
          description: Maximum number of identities for the tenant.
          type: integer
        sandbox_submissions_limit:
          description: Maximum number of sandbox submissions for the tenant.
          type: integer
        sandbox_submissions_usage:
          description: Number of sandbox submissions used by the tenant.
          type: integer
      type: object
    HttpError:
      properties:
        message:
          description: Human-readable description of the error.
          type: string
        code:
          description: Machine-readable error code.
          type: string
      type: object
    Tenant:
      properties:
        id:
          description: Tenant ID
          type: integer
        name:
          description: Tenant name
          type: string
        type:
          description: Tenant type
          type: string
        description:
          description: This tenant's purpose
          type: string
        organization_id:
          description: ID of the owner organization
          type: integer
        urn:
          description: The uniform resource name of the tenant.
          type: string
        number_of_employees:
          description: The number of employees for the tenant.
          type: integer
        industry:
          description: The industry of the tenant.
          type: string
        is_disabled:
          description: Indicates if the tenant is disabled
          type: boolean
        is_archived:
          description: Indicates if the tenant is archived
          type: boolean
        feed_id:
          description: ID of the feed
          type: integer
        permissions:
          items:
            type: string
          type: array
        prevent_global_search:
          description: Indicates if the tenant can perform global searches
          type: boolean
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.