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

# Get Entity

> [!NOTE]
>
> Access to Flare CTI is required for this feature.
> Please contact your Customer Success Manager for more details.


## OpenAPI

````yaml firework-v4-openapi get /firework/v4/entities/{id}
openapi: 3.1.0
info:
  title: Firework API
  version: v4
servers:
  - url: https://api.flare.io
security:
  - BearerAuth: []
paths:
  /firework/v4/entities/{id}:
    get:
      tags:
        - public
        - team=data-intelligence
      summary: Get Entity
      operationId: get_entity_entities__id__get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityAPIResponseTypes'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EntityAPIResponseTypes:
      anyOf:
        - $ref: '#/components/schemas/ActorAPIResponse'
        - $ref: '#/components/schemas/AttackPatternEntityAPIResponse'
        - $ref: '#/components/schemas/CampaignEntityAPIResponse'
        - $ref: '#/components/schemas/ChatChannelEntityAPIResponse'
        - $ref: '#/components/schemas/ExternalReportEntityAPIResponse'
        - $ref: '#/components/schemas/ForumThreadAPIResponse'
        - $ref: '#/components/schemas/IndicatorEntityAPIResponse'
        - $ref: '#/components/schemas/InfrastructureEntityAPIResponse'
        - $ref: '#/components/schemas/LocationEntityAPIResponse'
        - $ref: '#/components/schemas/MalwareEntityAPIResponse'
        - $ref: '#/components/schemas/ThreatActorEntityAPIResponse'
        - $ref: '#/components/schemas/ThreatActorGroupEntityAPIResponse'
        - $ref: '#/components/schemas/ToolEntityAPIResponse'
        - $ref: '#/components/schemas/VulnerabilityEntityAPIResponse'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ActorAPIResponse:
      properties:
        entity_type:
          type: string
          const: actor
          title: Entity Type
          default: actor
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ActorAPIData'
      type: object
      required:
        - metadata
        - data
      title: ActorAPIResponse
    AttackPatternEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: attack_pattern
          title: Entity Type
          default: attack_pattern
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/AttackPatternEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: AttackPatternEntityAPIResponse
    CampaignEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: campaign
          title: Entity Type
          default: campaign
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/CampaignEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: CampaignEntityAPIResponse
    ChatChannelEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: chat_channel
          title: Entity Type
          default: chat_channel
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ChatChannelEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: ChatChannelEntityAPIResponse
    ExternalReportEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: external_report
          title: Entity Type
          default: external_report
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ExternalReportEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: ExternalReportEntityAPIResponse
    ForumThreadAPIResponse:
      properties:
        entity_type:
          type: string
          const: forum_thread
          title: Entity Type
          default: forum_thread
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ForumThreadAPIData'
      type: object
      required:
        - metadata
        - data
      title: ForumThreadAPIResponse
    IndicatorEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: indicator
          title: Entity Type
          default: indicator
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/IndicatorEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: IndicatorEntityAPIResponse
    InfrastructureEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: infrastructure
          title: Entity Type
          default: infrastructure
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/InfrastructureEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: InfrastructureEntityAPIResponse
    LocationEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: location
          title: Entity Type
          default: location
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/LocationEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: LocationEntityAPIResponse
    MalwareEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: malware
          title: Entity Type
          default: malware
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/MalwareEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: MalwareEntityAPIResponse
    ThreatActorEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: threat_actor
          title: Entity Type
          default: threat_actor
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ThreatActorEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: ThreatActorEntityAPIResponse
    ThreatActorGroupEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: threat_actor_group
          title: Entity Type
          default: threat_actor_group
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ThreatActorGroupEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: ThreatActorGroupEntityAPIResponse
    ToolEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: tool
          title: Entity Type
          default: tool
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/ToolEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: ToolEntityAPIResponse
    VulnerabilityEntityAPIResponse:
      properties:
        entity_type:
          type: string
          const: vulnerability
          title: Entity Type
          default: vulnerability
        metadata:
          $ref: '#/components/schemas/EntityMetadataAPIResponse'
        data:
          $ref: '#/components/schemas/VulnerabilityEntityAPIData'
      type: object
      required:
        - metadata
        - data
      title: VulnerabilityEntityAPIResponse
    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
    EntityMetadataAPIResponse:
      properties:
        id:
          type: string
          title: Id
        created_by:
          type: string
          title: Created By
        sources:
          items:
            $ref: '#/components/schemas/EntitySourceAPIResponse'
          type: array
          title: Sources
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        first_seen_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: First Seen At
        last_seen_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Seen At
        confidence:
          anyOf:
            - type: integer
            - type: 'null'
          title: Confidence
      type: object
      required:
        - id
        - created_by
        - sources
        - created_at
        - updated_at
      title: EntityMetadataAPIResponse
    ActorAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
      type: object
      required:
        - name
        - description
      title: ActorAPIData
    AttackPatternEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        kill_chain_phases:
          items:
            $ref: '#/components/schemas/KillChainAPIResponse'
          type: array
          title: Kill Chain Phases
      type: object
      required:
        - name
        - description
        - marking_definitions
        - kill_chain_phases
      title: AttackPatternEntityAPIData
    CampaignEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        aliases:
          items:
            type: string
          type: array
          title: Aliases
      type: object
      required:
        - name
        - description
        - marking_definitions
        - aliases
      title: CampaignEntityAPIData
    ChatChannelEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        topics:
          items:
            $ref: '#/components/schemas/ThreadTopic'
          type: array
          title: Topics
        conversation_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Conversation Link
        chat_channel_profile_overview:
          anyOf:
            - type: string
            - type: 'null'
          title: Chat Channel Profile Overview
        chat_channel_profile_content_and_activity:
          anyOf:
            - type: string
            - type: 'null'
          title: Chat Channel Profile Content And Activity
        chat_channel_profile_nature_and_sophistication:
          anyOf:
            - type: string
            - type: 'null'
          title: Chat Channel Profile Nature And Sophistication
      type: object
      required:
        - name
        - description
        - topics
        - conversation_link
        - chat_channel_profile_overview
        - chat_channel_profile_content_and_activity
        - chat_channel_profile_nature_and_sophistication
      title: ChatChannelEntityAPIData
    ExternalReportEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        report_types:
          items:
            type: string
          type: array
          title: Report Types
        published:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Published
      type: object
      required:
        - name
        - description
        - marking_definitions
        - report_types
        - published
      title: ExternalReportEntityAPIData
    ForumThreadAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        topics:
          items:
            $ref: '#/components/schemas/ThreadTopic'
          type: array
          title: Topics
        intents:
          items:
            $ref: '#/components/schemas/ThreadIntent'
          type: array
          title: Intents
        original_post_overview:
          anyOf:
            - type: string
            - type: 'null'
          title: Original Post Overview
        original_post_actor_intent:
          anyOf:
            - type: string
            - type: 'null'
          title: Original Post Actor Intent
        replies_overview:
          anyOf:
            - type: string
            - type: 'null'
          title: Replies Overview
        replies_sentiment_analysis:
          anyOf:
            - type: string
            - type: 'null'
          title: Replies Sentiment Analysis
        top_actors_overview:
          anyOf:
            - type: string
            - type: 'null'
          title: Top Actors Overview
      type: object
      required:
        - name
        - description
        - topics
        - intents
        - original_post_overview
        - original_post_actor_intent
        - replies_overview
        - replies_sentiment_analysis
        - top_actors_overview
      title: ForumThreadAPIData
    IndicatorEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        pattern:
          type: string
          title: Pattern
        valid_from:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Valid From
        valid_until:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Valid Until
        pattern_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Pattern Version
        pattern_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Pattern Type
        indicator_types:
          items:
            type: string
          type: array
          title: Indicator Types
        observable_types:
          items:
            type: string
          type: array
          title: Observable Types
        kill_chain_phases:
          items:
            $ref: '#/components/schemas/KillChainAPIResponse'
          type: array
          title: Kill Chain Phases
      type: object
      required:
        - name
        - description
        - marking_definitions
        - pattern
        - valid_from
        - valid_until
        - pattern_version
        - pattern_type
        - indicator_types
        - observable_types
        - kill_chain_phases
      title: IndicatorEntityAPIData
    InfrastructureEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        aliases:
          items:
            type: string
          type: array
          title: Aliases
        infrastructure_types:
          items:
            type: string
          type: array
          title: Infrastructure Types
        kill_chain_phases:
          items:
            $ref: '#/components/schemas/KillChainAPIResponse'
          type: array
          title: Kill Chain Phases
      type: object
      required:
        - name
        - description
        - marking_definitions
        - aliases
        - infrastructure_types
        - kill_chain_phases
      title: InfrastructureEntityAPIData
    LocationEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        country_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Country Code
      type: object
      required:
        - name
        - description
        - marking_definitions
        - country_code
      title: LocationEntityAPIData
    MalwareEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        aliases:
          items:
            type: string
          type: array
          title: Aliases
        malware_types:
          items:
            type: string
          type: array
          title: Malware Types
        kill_chain_phases:
          items:
            $ref: '#/components/schemas/KillChainAPIResponse'
          type: array
          title: Kill Chain Phases
      type: object
      required:
        - name
        - description
        - marking_definitions
        - aliases
        - malware_types
        - kill_chain_phases
      title: MalwareEntityAPIData
    ThreatActorEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        aliases:
          items:
            type: string
          type: array
          title: Aliases
        threat_actor_types:
          items:
            type: string
          type: array
          title: Threat Actor Types
        roles:
          items:
            type: string
          type: array
          title: Roles
        goals:
          items:
            type: string
          type: array
          title: Goals
        sophistication:
          anyOf:
            - type: string
            - type: 'null'
          title: Sophistication
        resource_level:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Level
        primary_motivation:
          anyOf:
            - type: string
            - type: 'null'
          title: Primary Motivation
        secondary_motivation:
          items:
            type: string
          type: array
          title: Secondary Motivation
        personal_motivations:
          items:
            type: string
          type: array
          title: Personal Motivations
      type: object
      required:
        - name
        - description
        - marking_definitions
        - aliases
        - threat_actor_types
        - roles
        - goals
        - sophistication
        - resource_level
        - primary_motivation
        - secondary_motivation
        - personal_motivations
      title: ThreatActorEntityAPIData
    ThreatActorGroupEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        aliases:
          items:
            type: string
          type: array
          title: Aliases
        goals:
          items:
            type: string
          type: array
          title: Goals
        resource_level:
          items:
            type: string
          type: array
          title: Resource Level
        primary_motivation:
          anyOf:
            - type: string
            - type: 'null'
          title: Primary Motivation
        secondary_motivations:
          items:
            type: string
          type: array
          title: Secondary Motivations
      type: object
      required:
        - name
        - description
        - marking_definitions
        - aliases
        - goals
        - resource_level
        - primary_motivation
        - secondary_motivations
      title: ThreatActorGroupEntityAPIData
    ToolEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
        tool_types:
          items:
            type: string
          type: array
          title: Tool Types
        kill_chain_phases:
          items:
            $ref: '#/components/schemas/KillChainAPIResponse'
          type: array
          title: Kill Chain Phases
        tool_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Tool Version
      type: object
      required:
        - name
        - description
        - marking_definitions
        - tool_types
        - kill_chain_phases
        - tool_version
      title: ToolEntityAPIData
    VulnerabilityEntityAPIData:
      properties:
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        marking_definitions:
          items:
            $ref: '#/components/schemas/MarkingDefinition'
          type: array
          title: Marking Definitions
      type: object
      required:
        - name
        - description
        - marking_definitions
      title: VulnerabilityEntityAPIData
    EntitySourceAPIResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        confidence:
          anyOf:
            - type: integer
            - type: 'null'
          title: Confidence
      type: object
      required:
        - id
      title: EntitySourceAPIResponse
    MarkingDefinition:
      properties:
        id:
          type: string
          title: Id
        definition_type:
          $ref: '#/components/schemas/MarkingDefinitionType'
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - definition_type
        - name
      title: MarkingDefinition
    KillChainAPIResponse:
      properties:
        kill_chain_name:
          type: string
          title: Kill Chain Name
        phase_name:
          type: string
          title: Phase Name
      type: object
      required:
        - kill_chain_name
        - phase_name
      title: KillChainAPIResponse
    ThreadTopic:
      properties:
        topic_id:
          $ref: '#/components/schemas/Topic'
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
      type: object
      required:
        - topic_id
        - label
        - description
      title: ThreadTopic
    ThreadIntent:
      properties:
        intent_id:
          $ref: '#/components/schemas/Intent'
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
      type: object
      required:
        - intent_id
        - label
        - description
      title: ThreadIntent
    MarkingDefinitionType:
      type: string
      enum:
        - tlp
      title: MarkingDefinitionType
    Topic:
      type: string
      enum:
        - malware_development_and_customization
        - malware_operations
        - exploit_research_development_and_brokerage
        - coding_and_software_development
        - unauthorized_intrusion_and_system_compromise
        - initial_access_brokerage
        - account_takeover_and_credential_abuse
        - insider_recruitment_corruption_and_coerced_access
        - supply_chain_and_third_party_service_compromise
        - data_breach_database_theft_and_data_trade
        - bulk_unattributed_data_dump
        - identity_fraud_kyc_bypass_and_document_forgery
        - financial_fraud_banking_and_payment_system_abuse
        - gift_card_and_prepaid_payment_fraud
        - subscription_and_entitlement_fraud
        - pos_atm_and_hardware_based_payment_fraud
        - social_engineering_fraud_and_human_manipulation
        - telecommunications_and_sms_fraud
        - gaming_virtual_asset_and_platform_economy_crime
        - ai_enabled_fraud_and_deepfake_services
        - commercial_scams_non_cyber
        - spam_and_traffic_distribution_services
        - seo_manipulation_and_search_abuse
        - fraudulent_websites_phishing_kits_and_impersonation_infrastructure
        - lookalike_domains_dns_abuse_and_brand_impersonation
        - bulletproof_hosting_bphs_and_abuse_tolerant_infrastructure
        - malicious_hosting_and_server_abuse
        - command_and_control_botnet_and_operational_infrastructure
        - cloud_resource_abuse_and_cryptojacking
        - ddos_and_availability_attacks
        - automated_platform_abuse
        - information_operations_disinformation_and_manipulative_campaigns
        - hacktivism_and_ideologically_motivated_cyber_operations
        - non_financial_destructive_operations_and_sabotage
        - political_discourse_and_influence_channels
        - illegal_and_harmful_content_distribution
        - illicit_goods_trafficking
        - violence_and_physical_coercion
        - pirated_content_sharing
        - private_digital_surveillance_stalkerware_and_mercenary_services
        - ransomware_and_extortion_operations
        - money_laundering_crypto_obfuscation_and_financial_mover_networks
        - physical_logistics_drop_networks_and_reshipping
        - underground_markets_forums_and_ecosystem_services
        - legal_regulatory_and_takedown_abuse
        - community_ecosystem_and_meta_activities
        - osint_research_and_threat_intelligence
        - unclassified_and_other_activity
      title: Topic
    Intent:
      type: string
      enum:
        - sell
        - buy
        - free_release
        - trade
        - seeking_work
        - request_help
        - discussion
        - hiring
        - unknown
      title: Intent
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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