> ## 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 Identifier

> Return one identifier of the tenant the caller is acting in. Responds 404 `NOT_FOUND` when the identifier does not exist in that tenant, and 400 `INVALID_IDENTIFIER_SOURCE` or `INVALID_IDENTIFIER_TYPE` when the identifier is managed by the system or its type is not exposed by this API. Requires read access to the identifier.

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


## OpenAPI

````yaml firework-v4-openapi get /firework/v4/identifiers/{identifier_id}
openapi: 3.1.0
info:
  title: Firework API
  version: v4
servers:
  - url: https://api.flare.io
security:
  - BearerAuth: []
tags:
  - name: Audit Logs
    description: Audit trail of actions performed in the platform.
  - name: Credentials
    description: >-
      Leaked credentials: search across all sources or within a tenant, and
      remediate or ignore them.
  - name: Entities
    description: >-
      Threat intelligence entities such as actors, chat channels, forum threads
      and domains, and the relations between them.
  - name: Events
    description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
  - name: Identifiers
    description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
  - name: Matching Policies
    description: >-
      Matching policies refine which events match identifiers. Manage policies
      and their assignment to identifiers.
  - name: Sandbox
    description: File uploads and their sandbox analysis.
  - name: Threat Flow
    description: >-
      Threat Flow intelligence requests, generated reports and conversation
      summaries.
paths:
  /firework/v4/identifiers/{identifier_id}:
    get:
      tags:
        - Identifiers
      summary: Get an identifier
      description: >-
        Return one identifier of the tenant the caller is acting in. Responds
        404 `NOT_FOUND` when the identifier does not exist in that tenant, and
        400 `INVALID_IDENTIFIER_SOURCE` or `INVALID_IDENTIFIER_TYPE` when the
        identifier is managed by the system or its type is not exposed by this
        API. Requires read access to the identifier.
      operationId: get_identifier_public_identifiers__identifier_id__get
      parameters:
        - name: identifier_id
          in: path
          required: true
          schema:
            type: integer
            description: ID of the identifier.
            title: Identifier Id
          description: ID of the identifier.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicIdentifierResponse'
        '400':
          description: INVALID_IDENTIFIER_SOURCE, INVALID_IDENTIFIER_TYPE
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - INVALID_IDENTIFIER_SOURCE
                          - INVALID_IDENTIFIER_TYPE
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '401':
          description: UNAUTHORIZED
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - UNAUTHORIZED
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '403':
          description: FORBIDDEN
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - FORBIDDEN
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '404':
          description: NOT_FOUND
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PublicIdentifierResponse:
      properties:
        id:
          type: integer
          title: Id
          description: Unique ID of the identifier.
        name:
          type: string
          title: Name
          description: Display name of the identifier.
        tenant_id:
          type: integer
          title: Tenant Id
          description: ID of the tenant the identifier belongs to.
        data:
          oneOf:
            - $ref: '#/components/schemas/CCBinData'
            - $ref: '#/components/schemas/IPData'
            - $ref: '#/components/schemas/KeywordData'
            - $ref: '#/components/schemas/AzureTenantData'
            - $ref: '#/components/schemas/DomainData'
            - $ref: '#/components/schemas/SearchQueryData'
            - $ref: '#/components/schemas/GithubRepositoryData'
            - $ref: '#/components/schemas/SecretData'
            - $ref: '#/components/schemas/PublicIdentityData'
          title: Data
          description: >-
            The monitored asset; `type` gives the kind of identifier and
            determines the other fields of the object.
          discriminator:
            propertyName: type
            mapping:
              azure_tenant: '#/components/schemas/AzureTenantData'
              bin: '#/components/schemas/CCBinData'
              domain: '#/components/schemas/DomainData'
              github_repository: '#/components/schemas/GithubRepositoryData'
              identity: '#/components/schemas/PublicIdentityData'
              ip: '#/components/schemas/IPData'
              keyword: '#/components/schemas/KeywordData'
              search_query: '#/components/schemas/SearchQueryData'
              secret: '#/components/schemas/SecretData'
        categories:
          items:
            $ref: '#/components/schemas/SearchType'
          type: array
          title: Categories
          description: Event categories the identifier monitors.
        emerging_categories:
          items:
            type: string
          type: array
          title: Emerging Categories
          description: >-
            Names of the emerging (experimental) event categories the identifier
            monitors.
        severities:
          items:
            $ref: '#/components/schemas/Severity'
          type: array
          title: Severities
          description: Event severities the identifier monitors.
        group_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Group Id
          description: >-
            ID of the identifier group the identifier belongs to, or `null` when
            it is in no group.
        enrichments:
          anyOf:
            - $ref: '#/components/schemas/IdentifierEnrichments'
            - type: 'null'
          description: Computed information about the identifier.
        is_disabled:
          type: boolean
          title: Is Disabled
          description: Whether the identifier is disabled.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Date and time the identifier's data was last updated.
      type: object
      required:
        - id
        - name
        - tenant_id
        - data
        - categories
        - emerging_categories
        - severities
        - group_id
        - enrichments
        - is_disabled
        - updated_at
      title: IdentifierResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CCBinData:
      properties:
        type:
          type: string
          const: bin
          title: Type
          default: bin
        bin:
          type: string
          minLength: 1
          title: Bin
          description: Bank identification number, digits only.
      type: object
      required:
        - bin
      title: CCBinData
    IPData:
      properties:
        type:
          type: string
          const: ip
          title: Type
          default: ip
        ip:
          type: string
          minLength: 1
          title: Ip
          description: IPv4 address or network in dot-decimal notation.
      type: object
      required:
        - ip
      title: IPData
    KeywordData:
      properties:
        type:
          type: string
          const: keyword
          title: Type
          default: keyword
        keyword:
          type: string
          minLength: 1
          title: Keyword
          description: Keyword to monitor, not surrounded by quotes.
      type: object
      required:
        - keyword
      title: KeywordData
    AzureTenantData:
      properties:
        type:
          type: string
          const: azure_tenant
          title: Type
          default: azure_tenant
        tenant_id:
          type: string
          minLength: 1
          title: Tenant Id
          description: UUID of the Azure tenant.
      type: object
      required:
        - tenant_id
      title: AzureTenantData
    DomainData:
      properties:
        type:
          type: string
          const: domain
          title: Type
          default: domain
        fqdn:
          type: string
          minLength: 1
          title: Fqdn
          description: >-
            Domain name to monitor. When a URL is sent, its domain name is
            extracted.
      type: object
      required:
        - fqdn
      title: DomainData
    SearchQueryData:
      properties:
        type:
          type: string
          const: search_query
          title: Type
          default: search_query
        search_query:
          type: string
          minLength: 1
          title: Search Query
          description: Search query whose matching events are monitored.
      type: object
      required:
        - search_query
      title: SearchQueryData
    GithubRepositoryData:
      properties:
        type:
          type: string
          const: github_repository
          title: Type
          default: github_repository
        repo_name:
          type: string
          minLength: 1
          title: Repo Name
          description: Name of the GitHub repository.
        repo_owner:
          type: string
          minLength: 1
          title: Repo Owner
          description: User or organization owning the GitHub repository.
      type: object
      required:
        - repo_name
        - repo_owner
      title: GithubRepositoryData
    SecretData:
      properties:
        type:
          type: string
          const: secret
          title: Type
          default: secret
        secret:
          type: string
          minLength: 1
          title: Secret
          description: >-
            Secret to monitor. It is stored and returned as its BLAKE2b
            hexadecimal hash; a value that is already such a hash is kept as is.
      type: object
      required:
        - secret
      title: SecretData
    PublicIdentityData:
      properties:
        type:
          type: string
          const: identity
          title: Type
          default: identity
        attributes:
          items:
            oneOf:
              - $ref: '#/components/schemas/EmailData'
              - $ref: '#/components/schemas/UsernameData'
              - $ref: '#/components/schemas/NameData'
            discriminator:
              propertyName: type
              mapping:
                email: '#/components/schemas/EmailData'
                name: '#/components/schemas/NameData'
                username: '#/components/schemas/UsernameData'
          type: array
          maxItems: 15
          minItems: 1
          title: Attributes
          description: Emails, usernames and names identifying the person.
      type: object
      required:
        - attributes
      title: IdentityData
    SearchType:
      type: string
      enum:
        - attachment
        - listing
        - ransomleak
        - forum_post
        - forum_topic
        - forum_profile
        - blog_post
        - seller
        - paste
        - leak
        - chat_message
        - domain
        - bot
        - stealer_log
        - infected_devices
        - driller
        - driller_forum_topic
        - driller_forum_post
        - driller_profile
        - cc
        - ccbin
        - financial_data
        - leaked_data
        - leaked_file
        - document
        - account
        - actor
        - forum_content
        - blog_content
        - profile
        - leaked_credential
        - valid_credential
        - invalid_credential
        - mitigated_credential
        - illicit_networks
        - open_web
        - domains
        - intelligence_object
        - leaks
        - social_media_account
        - social_media
        - source_code
        - source_code_secrets_np
        - source_code_secrets
        - source_code_files
        - secret
        - docker
        - stack_exchange
        - google
        - service
        - driller_host
        - buckets
        - bucket
        - bucket_object
        - whois
        - ad
        - ads
        - cookie
        - pii
        - experimental
        - lookalike_discovery
        - lookalike_title
        - lookalike_favicon
        - lookalike_screenshot
        - lookalike_ip_address
        - lookalike_dns
        - lookalike_whois_rdap
        - lookalike_ssl_certificate
      title: SearchType
    Severity:
      type: string
      enum:
        - info
        - low
        - medium
        - high
        - critical
      title: Severity
    IdentifierEnrichments:
      properties:
        domain_reachable_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Domain Reachable At
          description: >-
            Date and time the domain was last reachable; `null` when it was
            never reachable or when the identifier is not a domain.
        domain_resolves_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Domain Resolves At
          description: >-
            Date and time the domain's `resolves` status was last updated;
            `null` when unavailable or when the identifier is not a domain.
        usage_count:
          type: integer
          title: Usage Count
          description: >-
            Number of identifiers this identifier counts for against the
            identifier limit; an IP range counts once per address.
        event_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Event Count
          description: >-
            Number of events matched by the identifier; populated when listing
            identifiers and `null` when it was not computed.
        authorization_status:
          anyOf:
            - $ref: '#/components/schemas/IdentifierAuthorizationStatus'
            - type: 'null'
          description: >-
            Authorization status of the identifier: `authorized`, or `pending`
            or `rejected` according to its authorization request; `null` when
            none applies.
          examples:
            - authorized
            - pending
            - rejected
      type: object
      required:
        - domain_reachable_at
        - domain_resolves_at
        - usage_count
        - event_count
        - authorization_status
      title: IdentifierEnrichments
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    EmailData:
      properties:
        type:
          type: string
          const: email
          title: Type
          default: email
        email:
          type: string
          format: email
          title: Email
          description: Email address to monitor.
      type: object
      required:
        - email
      title: EmailData
    UsernameData:
      properties:
        type:
          type: string
          const: username
          title: Type
          default: username
        username:
          type: string
          minLength: 1
          title: Username
          description: Username to monitor.
      type: object
      required:
        - username
      title: UsernameData
    NameData:
      properties:
        type:
          type: string
          const: name
          title: Type
          default: name
        first_name:
          type: string
          title: First Name
          description: First name. Can be empty when `last_name` is set.
        last_name:
          type: string
          title: Last Name
          description: Last name. Can be empty when `first_name` is set.
        is_strict:
          type: boolean
          title: Is Strict
      type: object
      required:
        - first_name
        - last_name
        - is_strict
      title: NameData
    IdentifierAuthorizationStatus:
      type: string
      enum:
        - pending
        - rejected
        - authorized
      title: IdentifierAuthorizationStatus
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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