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

> Return the full detail of the event identified by `uid`, wrapped in an `activity` object: a `header` summarising the event, the `data` specific to its type and the `metadata` of its collection. The view is recorded in the audit log of the tenant. `tenant_id` selects another tenant the caller can access to read the event for; by default the tenant the caller is acting in is used. Returns 400 when `tenant_id` is not an integer (`INVALID_TENANT_ID`) or the event cannot be loaded, 403 when the caller cannot access that tenant and 404 when the event or the tenant is not found. This operation replaces the deprecated `GET /activities/{index}/{source}/{id}`. Deprecated: use `GET /firework/v4/events/` instead. It reads the event for the tenant the caller is acting in: to read it for another tenant, generate the API token with that tenant's `tenant_id`.

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

This response changes based on the event type, for more information the various possible responses, see
[Event Types ](https://api.docs.flare.io/event-types/overview.md).

> [!NOTE]
>
> For backwards compatibility, this endpoint is also available as `/firework/v2/activities/{index}/{source}/{id}`.

```plaintext Response Example theme={null}
This response changes based on the event type.
```


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/activities/
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/activities/:
    get:
      tags:
        - Events
      summary: Get an event
      description: >-
        Return the full detail of the event identified by `uid`, wrapped in an
        `activity` object: a `header` summarising the event, the `data` specific
        to its type and the `metadata` of its collection. The view is recorded
        in the audit log of the tenant. `tenant_id` selects another tenant the
        caller can access to read the event for; by default the tenant the
        caller is acting in is used. Returns 400 when `tenant_id` is not an
        integer (`INVALID_TENANT_ID`) or the event cannot be loaded, 403 when
        the caller cannot access that tenant and 404 when the event or the
        tenant is not found. This operation replaces the deprecated `GET
        /activities/{index}/{source}/{id}`. Deprecated: use `GET
        /firework/v4/events/` instead. It reads the event for the tenant the
        caller is acting in: to read it for another tenant, generate the API
        token with that tenant's `tenant_id`.
      operationId: get_activity_endpoint
      parameters:
        - description: >-
            Unique identifier of the event, in the form `index/source/id`, as
            found in the `uid` of search results.
          in: query
          name: uid
          required: true
          schema:
            type: string
        - description: >-
            Identifier of another tenant the caller can access, to read the
            event for that tenant; defaults to the tenant the caller is acting
            in.
          in: query
          name: tenant_id
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_activity_endpoint_200_response'
          description: Returns the activity
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: >-
            `tenant_id` is not an integer (`INVALID_TENANT_ID`) or the event
            cannot be loaded.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The caller cannot access the tenant in `tenant_id`.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: Activity not found
      deprecated: true
components:
  schemas:
    get_activity_endpoint_200_response:
      properties:
        activity:
          $ref: '#/components/schemas/Activity'
      type: object
    HttpError:
      properties:
        message:
          description: Human-readable description of the error.
          type: string
        code:
          description: Machine-readable error code.
          type: string
      type: object
    Activity:
      properties:
        data:
          description: >-
            Content of the event: common fields plus fields that depend on the
            type of event.
          properties: {}
          type: object
        duplicates:
          description: Duplicates of the event.
          items:
            properties: {}
            type: object
          type: array
        header:
          allOf:
            - $ref: '#/components/schemas/Header'
          description: Summary of the event, common to all event types.
          type: object
        history_logs:
          description: History of the event, when available.
          properties: {}
          type: object
        metadata:
          allOf:
            - $ref: '#/components/schemas/Metadata'
          description: Collection metadata of the event.
          type: object
        similar_items:
          description: Events similar to this one, when available.
          items:
            properties: {}
            type: object
          type: array
      type: object
    Header:
      properties:
        actor:
          description: Name of the actor or author of the event, if any.
          type: string
        actor_id:
          description: Identifier of the actor on the source, if any.
          type: string
        bank:
          description: Issuing bank, for financial data events.
          type: string
        bin:
          description: Bank identification number, for financial data events.
          type: string
        brand:
          description: Card brand, for financial data events.
          type: string
        credential_count:
          description: Number of credentials of a stealer log event.
          type: integer
        category_name:
          description: Name of the category the event belongs to on its source, if any.
          type: string
        content_hash:
          description: Hash of the content, used to group duplicate events.
          type: string
        content_preview:
          description: Short excerpt of the content of the event.
          type: string
        country:
          description: Country associated with the event, if any.
          type: string
        duplicates:
          description: Headers of the duplicates of the event.
          items:
            properties: {}
            type: object
          type: array
        es_score:
          description: Relevance score of the event for the search that returned it.
          type: number
        expiration:
          description: Expiration date associated with the event.
          format: date-time
          type: string
        highlights:
          description: Fragments of the event that matched the search, by field.
          properties: {}
          type: object
        id:
          description: 'Identifier of the event within its source: the last part of the uid.'
          type: string
        infection_date:
          description: Date at which the device was infected, for stealer log events.
          format: date-time
          type: string
        parent_id:
          description: Identifier of the parent event, if any.
          type: string
        parent_title:
          description: Title of the parent event, if any.
          type: string
        parent_uid:
          description: Uid of the parent event, if any.
          type: string
        parent_uids:
          description: Uids of the parent events.
          items:
            type: string
          type: array
        applications:
          description: Application labels of the event.
          items:
            type: string
          type: array
        access_types:
          description: Access type labels of the event.
          items:
            $ref: '#/components/schemas/LabelDescription'
          type: array
        analysis_labels:
          description: Analysis labels of the event.
          items:
            $ref: '#/components/schemas/LabelDescription'
          type: array
        tenant_analysis_labels:
          description: Analysis labels of the event that are specific to the tenant.
          items:
            $ref: '#/components/schemas/LabelDescription'
          type: array
        pii_type:
          description: Types of personal information found in the event.
          items:
            $ref: '#/components/schemas/LabelDescription'
          type: array
        fact_labels:
          description: Fact labels of the event.
          items:
            $ref: '#/components/schemas/LabelDescription'
          type: array
        risk:
          allOf:
            - $ref: '#/components/schemas/Risk'
          description: Risk of the event.
          type: object
        similar_items_count:
          description: Number of events similar to this one.
          type: integer
        source:
          description: Identifier of the source the event was collected from.
          type: string
        source_name:
          description: Display name of the source.
          type: string
        target_name:
          description: Name of the target of the event, if any.
          type: string
        tags:
          description: Tags of the event.
          items:
            $ref: '#/components/schemas/Tag'
          type: array
        notes:
          description: Notes of the event.
          type: string
        state_code:
          description: State code, for financial data events.
          type: string
        timestamp:
          description: Estimated date at which the content was created on its source.
          format: date-time
          type: string
        title:
          description: Title of the event.
          type: string
        type:
          description: Type of the event, for example `forum_post`.
          type: string
        uid:
          description: Unique identifier of the event, in the form `index/source/id`.
          type: string
        ignored_at:
          description: Date at which the tenant ignored the event.
          format: date-time
          type: string
        remediated_at:
          description: Date at which the tenant remediated the event.
          format: date-time
          type: string
        verb:
          description: Verb describing the event; empty for most event types.
          type: string
        can_have_duplicates:
          description: Whether duplicates are grouped for this type of event.
          type: boolean
        priority_action_uuid_related:
          description: Whether the event is related to a priority action.
          type: boolean
        analyzers_items_uids:
          description: Uids of the events derived from this event by content analyzers.
          items:
            type: string
          type: array
        victim_name:
          description: Name of the victim, for ransom leak events.
          type: string
        contains_secrets:
          description: Whether secrets were detected in the event.
          type: boolean
        secrets_metadata:
          description: >-
            Types of secrets detected in the event with their number of
            occurrences.
          items:
            $ref: '#/components/schemas/SecretMetadata'
          type: array
      type: object
    Metadata:
      properties:
        estimated_created_at:
          description: Estimated date at which the content was created on its source.
          format: date-time
          type: string
        event_id:
          description: Internal identifier of the collection event.
          type: string
        first_crawled_at:
          description: Date at which the content was first collected.
          format: date-time
          type: string
        last_crawled_at:
          description: Date at which the content was last collected.
          format: date-time
          type: string
        payload_digest:
          description: Digest of the collected payload.
          type: string
        scraped_at:
          description: Date at which the content was scraped.
          format: date-time
          type: string
        source:
          description: Identifier of the source the content was collected from.
          type: string
        crawled_by:
          description: Name of the collector that produced the event.
          type: string
        flare_url:
          description: URL of the event in the Flare web application.
          type: string
      type: object
    LabelDescription:
      properties:
        value:
          description: Value of the label.
          type: string
      type: object
    Risk:
      properties:
        score:
          description: Risk score, from 1 (info) to 5 (critical).
          type: integer
      type: object
    Tag:
      properties:
        name:
          description: Name of the tag.
          type: string
        info:
          description: Additional information about the tag.
          type: string
        type:
          description: Kind of tag, for example `user` or `classification`.
          enum:
            - classification
            - dork
            - user
            - rule
            - vulnerability-none
            - vulnerability-low
            - vulnerability-medium
            - vulnerability-high
            - vulnerability-critical
          example: classification
          type: string
      type: object
    SecretMetadata:
      properties:
        type:
          description: Type of secret detected.
          enum:
            - adafruit_io_key
            - adobe_oauth_client_secret
            - age_identity_x22519_secret_key
            - ai21_studio_api_key
            - airbrake_user_key
            - airtable_oauth_token
            - airtable_personal_access_token
            - aiven_api_key
            - alchemy_api_key
            - algolia_admin_api_key
            - alibaba_access_key_secret
            - amazon_mws_auth_token
            - amplitude_api_key
            - ansible_vault_encrypted_secret
            - anthropic_api_key
            - anypoint_api_key
            - apify_api_token
            - apollo_api_key
            - artifactory_api_key
            - asana_client_secret
            - asana_oauth_personal_access_token
            - asp_net_machinekey_decryption_key
            - asp_net_machinekey_validation_key
            - assemblyai_api_key
            - auth0_application_credentials
            - atlassian_cloud_api_token
            - authress_service_client_access_key
            - aws_api_credentials
            - aws_appsync_api_key
            - aws_secret_access_key
            - aws_session_token
            - azure_ad_client_secret
            - azure_api_management_subscription_key
            - azure_app_configuration_connection_string
            - azure_connection_string
            - azure_devops_personal_access_token
            - azure_notification_hub_access_key
            - azure_openai_api_key
            - azure_openai_api_key_extended_format
            - azure_personal_access_token
            - azure_search_query_key
            - azure_search_url
            - azure_service_principal_credentials
            - azure_storage_account_key
            - baremetrics_api_key
            - baseten_api_key
            - beamer_api_token
            - bitbucket_app_password
            - bitly_access_token
            - blynk_device_access_token
            - blynk_organization_access_token
            - blynk_organization_client_credentials
            - branch_io_live_key
            - branch_io_test_key
            - browserstack_access_key
            - buildkite_api_key
            - calendly_personal_access_token
            - cerebras_ai_api_key
            - circleci_api_personal_access_token
            - circleci_api_project_token
            - cisco_enable_password
            - cisco_meraki_api_key
            - cisco_pac_key
            - clarifai_api_key
            - clay_api_key
            - clearbit_api_key
            - clickhouse_cloud_secret_key
            - clojars_api_token
            - cloudflare_api_token
            - cloudflare_ca_key
            - cloudinary_url_credential
            - cloudsight_api_key
            - codacy_api_key
            - codeclimate_reporter_id
            - codecov_access_token
            - coderabbit_api_key
            - cohere_api_key
            - coinbase_access_token
            - coinbase_cdp_api_key_ecdsa
            - coinbase_cdp_api_key_ed25519
            - confluent_api_secret
            - confluent_api_secret_updated_format
            - connection_string_in_net_configuration
            - contentful_delivery_api_token
            - contentful_personal_access_token
            - coveralls_personal_api_token
            - coze_personal_access_token
            - crates_io_api_key
            - credentials_in_a_url
            - credentials_in_connect_viserver_invocation
            - credentials_in_mongodb_connection_string
            - credentials_in_net_system_directoryservices_directoryentry
            - credentials_in_net_system_net_networkcredential
            - credentials_in_odbc_connection_string
            - credentials_in_postgresql_connection_uri
            - credentials_in_psexec_invocation
            - curl_basic_authentication_credentials
            - curl_header_authentication
            - cursor_integrations_user_api_key
            - customer_io_app_api_key
            - customer_io_tracking_api_key
            - cypress_record_key
            - databricks_personal_access_token
            - datadog_api_key
            - datadog_application_key
            - datadog_rum_client_token
            - data_gov_api_key
            - deepgram_api_key
            - deepseek_api_key
            - defined_networking_api_token
            - delighted_api_key
            - dependency_track_api_key
            - deviantart_access_token
            - deviantart_oauth_client_secret
            - diffbot_api_key
            - digitalocean_application_access_token
            - digitalocean_personal_access_token
            - digitalocean_refresh_token
            - discord_bot_token
            - discord_webhook_url
            - disqus_api_key
            - django_secret_key
            - docker_hub_personal_access_token
            - docker_registry_credentials_auths_json
            - doppler_audit_token
            - doppler_cli_token
            - doppler_personal_token
            - doppler_scim_token
            - doppler_service_account_token
            - doppler_service_token
            - droneci_access_token
            - dropbox_access_token
            - duffel_api_token
            - dynatrace_token
            - easypost_api_token
            - elevenlabs_api_key
            - endor_labs_api_secret
            - eraser_api_key
            - eventbrite_api_key
            - exa_ai_api_key
            - facebook_access_token
            - facebook_app_credentials
            - facebook_secret_key
            - fastly_api_token
            - figma_personal_access_token
            - fileio_secret_key
            - filezilla_base64_encoded_password
            - filezilla_stored_password_pass_plaintext
            - finicity_api_token
            - finicity_client_secret
            - finnhub_api_token
            - firebase_cloud_messaging_device_token
            - firebase_cloud_messaging_server_key
            - firecrawl_api_key
            - firefox_encrypted_password
            - firefox_encrypted_username
            - fireworks_ai_api_key
            - flare_api_key
            - fleetbase_api_key
            - flickr_api_key
            - flickr_oauth_token
            - fly_io_api_token
            - foursquare_client_secret
            - frame_io_api_token
            - freshbooks_access_token
            - freshdesk_api_key
            - friendli_ai_api_key
            - gcp_api_token
            - gcp_private_key_id
            - generic_api_key
            - generic_password
            - generic_secret
            - generic_username_and_password
            - gitalk_oauth_credentials
            - github_app_token
            - github_oauth_access_token
            - github_personal_access_token
            - github_refresh_token
            - github_secret_key
            - gitlab_personal_access_token
            - gitlab_pipeline_trigger_token
            - gitlab_runner_registration_token
            - gitter_access_token
            - gocardless_api_token
            - google_api_key
            - google_oauth_access_token
            - google_oauth_client_secret
            - google_oauth_credentials
            - grafana_api_token
            - grafana_cloud_api_token
            - grafana_service_account_token
            - groq_api_key
            - group_policy_preferences_cpassword
            - guardian_api_key
            - gumroad_access_token
            - hardcoded_credential_in_json
            - hardcoded_gradle_credentials
            - harness_personal_access_token_pat
            - hashicorp_vault_batch_token
            - hashicorp_vault_recovery_token
            - hashicorp_vault_service_token
            - hashicorp_vault_unseal_key
            - helpscout_oauth_client_secret
            - here_api_key
            - heroku_api_key
            - honeycomb_api_key
            - html_password_input_pre_populated_credential
            - http_basic_authentication
            - http_bearer_token
            - hubspot_private_app_token
            - huggingface_user_access_token
            - ibm_cloud_user_api_key
            - imagekit_private_api_key
            - infracost_api_token
            - infura_api_key
            - instagram_graph_api_access_token
            - instantly_api_key
            - intercom_api_token
            - intra42_client_secret_s_s4t2udaf
            - ionic_api_token
            - ipstack_api_key
            - iterable_api_key
            - jamf_pro_credential
            - jdbc_connection_string_with_embedded_credentials
            - jenkins_setup_admin_password
            - jenkins_token_or_crumb
            - jina_search_foundation_api_key
            - jira_token
            - jotform_api_key
            - json_web_token
            - json_web_token_secret
            - jumpcloud_api_key
            - kagi_api_key
            - keen_io_api_key
            - kickbox_api_key
            - klaviyo_api_key
            - kling_ai_secret_key
            - kubernetes_bootstrap_token
            - langsmith_personal_access_token
            - langsmith_service_key
            - larksuite_app_access_token
            - larksuite_tenant_access_token
            - larksuite_user_access_token
            - launchdarkly_access_token
            - launchdarkly_client_side_id
            - linear_api_key
            - line_messaging_api_token
            - linkedin_access_token
            - linkedin_secret_key
            - lob_api_key
            - lob_publishable_api_key
            - lokalise_api_token
            - looker_client_secret
            - mailchimp_api_key
            - mailgun_api_key
            - mailjetsms_api_key
            - mailjet_basic_auth
            - mandrill_api_key
            - mapbox_public_access_token
            - mapbox_secret_access_token
            - mapbox_temporary_access_token
            - mattermost_access_token
            - mattermost_incoming_webhook_url
            - maven_settings_xml_credentials
            - maxmind_license_key
            - mergify_application_api_key
            - messagebird_api_token
            - microsoft_teams_webhook
            - mistral_ai_api_key
            - monday_com_api_key
            - mongodb_api_private_key
            - mongodb_atlas_service_account_token
            - mysql_uri_with_credentials
            - nasa_api_key
            - netlify_api_key
            - netrc_credentials
            - new_relic_admin_api_key
            - new_relic_api_service_key
            - new_relic_insights_insert_key
            - new_relic_insights_query_key
            - new_relic_license_key
            - new_relic_pixie_api_key
            - new_relic_pixie_deploy_key
            - new_relic_rest_api_key
            - new_york_times_api_key
            - ngrok_api_key
            - notion_legacy_token
            - notion_oauth_refresh_token
            - notion_token
            - npm_access_token
            - nuget_api_key
            - nvidia_nim_api_key
            - nylas_api_key
            - okta_api_token
            - ollama_api_key
            - one_password_account_secret_key
            - one_password_service_account_token
            - openai_api_key
            - openrouter_api_key
            - openweather_map_api_key
            - opsgenie_api_key
            - optimizely_personal_access_token
            - orcarouter_cyber_inference_api_key
            - owlbot_api_key
            - packagecloud_api_key
            - pagerduty_api_key
            - particle_io_access_token
            - password_hash_bcrypt
            - password_hash_cisco_ios_pbkdf2_with_sha256
            - password_hash_kerberos
            - password_hash_md5crypt
            - password_hash_sha256crypt
            - password_hash_sha512crypt
            - pastebin_api_key
            - paypal_oauth_secret
            - paystack_api_key
            - pdflayer_api_key
            - pem_encoded_private_key
            - pendo_integration_key
            - perl_dbi_connection_with_credentials
            - perplexity_ai_api_key
            - phpmailer_credentials
            - php_database_connection_with_credentials
            - php_postgresql_connection_with_credentials
            - plaid_access_token_production
            - plaid_access_token_sandbox
            - plaid_secret_production
            - plaid_secret_sandbox
            - planetscale_api_token
            - posthog_personal_api_key
            - posthog_project_api_key
            - postman_api_key
            - postmark_api_token
            - powershell_pscredential_constructor
            - powershell_securestring_conversion
            - prefect_api_token
            - pubnub_publish_key
            - pubnub_subscription_key
            - pulumi_api_key
            - pypi_upload_token
            - python_database_connection_with_credentials
            - python_database_connection_with_dsn_string
            - rabbitmq_credential
            - rapidapi_key
            - razorpay_api_key
            - razorpay_test_api_key
            - rdp_file_saved_password
            - react_app_password
            - react_app_username
            - readme_api_key
            - recaptcha_api_key
            - redis_client_debug_output
            - redis_uri_connection_string
            - replicate_api_token
            - resend_api_key
            - retell_ai_api_key
            - retool_workflow_api_key
            - riot_games_api_key
            - rubygems_api_key
            - ruby_dbi_connection_with_credentials
            - runway_api_key
            - salesforce_access_token
            - sauce_token
            - scale_api_key
            - scale_callback_auth_key
            - scalingo_api_token
            - scraperapi_key
            - segment_public_api_token
            - sendbird_api_token
            - sendgrid_api_key
            - sendinblue_api_token
            - sensitive_value_in_net_configuration
            - sentry_access_token
            - sentry_dsn
            - sentry_organization_token
            - sentry_user_token
            - shippo_api_token
            - shodan_api_key
            - shopify_access_token
            - shopify_app_secret
            - slack_app_token
            - slack_bot_token
            - slack_legacy_bot_token
            - slack_trigger_url
            - slack_user_token
            - slack_webhook
            - slack_workflow_webhook
            - snmp_read_write_community_string
            - snyk_api_key
            - sonarcloud_api_token
            - sonarqube_token
            - sourcegraph_access_token
            - spotify_access_token
            - sql_account_creation_with_password
            - square_access_token
            - square_oauth_secret
            - sslmate_api_key
            - stability_ai_api_key
            - stackhawk_api_key
            - statuspage_api_key
            - stripe_api_key
            - stripe_api_test_key
            - stripe_publishable_api_key
            - supabase_management_token
            - supabase_project_api_key
            - tailscale_api_key
            - tavily_api_key
            - teamcity_api_token
            - telegram_bot_token
            - thingsboard_access_token
            - thingsboard_provision_device_key
            - thingsboard_provision_device_secret
            - together_ai_api_key
            - travis_ci_encrypted_variable
            - travis_ci_token
            - truenas_api_key_rest_api
            - truenas_api_key_websocket
            - twilio_api_key
            - twitch_stream_key
            - twitter_access_token
            - twitter_bearer_token
            - twitter_secret_key
            - typeform_api_token
            - vast_ai_api_key
            - vercel_api_token
            - visual_studio_app_center_api_token
            - voyage_ai_api_key
            - wakatime_api_key
            - weights_and_biases_api_key
            - weights_and_biases_api_key_v1
            - windows_unattend_xml_administrator_password
            - windows_unattend_xml_autologon_password
            - wireguard_preshared_key
            - wireguard_private_key
            - wpengine_api_key
            - xai_grok_api_key
            - yandex_api_key
            - yelp_api_key
            - youtube_api_key
            - zapier_webhook_url
            - zendesk_api_token
            - zhipu_bigmodel_api_key
            - zoho_crm_api_access_token
            - zuplo_api_key
          example: adafruit_io_key
          type: string
        occurrence:
          description: Number of occurrences of this type of secret in the event.
          type: integer
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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