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

# List Identifier Events

> Search the events matched by an identifier and return them under `items`. Events are sorted by `sort_by` (default `created`) in `order` (default `desc`); `size` defaults to 10 and is capped at 100. To get the next page, pass the `search_after` value of the previous response in `search_after` (or `from`), or follow `links.next`. Requires read access to the identifier; an invalid filter returns 400 `INVALID_SEARCH_ARGUMENTS` and an invalid `query` returns 400 `INVALID_QUERY`. Deprecated: use `POST /firework/v4/events/identifiers/{identifier_id}/_search` instead.

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

> [!WARNING]
>
> **DEPRECATED:** This endpoint should be replaced by
> [/firework/v4/events/identifiers/\{identifier\_id}/\_search ](https://api.docs.flare.io/api-reference/v4/endpoints/events/search-identifier-events.md)


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/assets/{asset_id}/feed
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/assets/{asset_id}/feed:
    get:
      tags:
        - Identifiers
      summary: Search an identifier's events
      description: >-
        Search the events matched by an identifier and return them under
        `items`. Events are sorted by `sort_by` (default `created`) in `order`
        (default `desc`); `size` defaults to 10 and is capped at 100. To get the
        next page, pass the `search_after` value of the previous response in
        `search_after` (or `from`), or follow `links.next`. Requires read access
        to the identifier; an invalid filter returns 400
        `INVALID_SEARCH_ARGUMENTS` and an invalid `query` returns 400
        `INVALID_QUERY`. Deprecated: use `POST
        /firework/v4/events/identifiers/{identifier_id}/_search` instead.
      operationId: get_asset_feed
      parameters:
        - description: ID of the identifier.
          in: path
          name: asset_id
          required: true
          schema:
            type: integer
        - description: >-
            Fields to includes in the results in a dotted form. For example,
            "data.actor_name" will include items similar to:```json
                    "items": [{
                        "data": {
                            "actor_name": "Seller123"
                        }
                    }]
                    ```

                    By default, all fields are included in the response.
                    
          explode: true
          in: query
          name: fields
          schema:
            items:
              type: string
            type: array
          style: form
        - description: |2-
              The `time` parameter is used to limit results to those found in the provided time span.  

              *Expected format* : from@to  

              *Example value* : 2019-09-03T04:00:00.000Z@2019-09-14T04:00:00.000Z
          in: query
          name: time
          schema:
            type: string
        - description: >-
            The `size` parameter is used to limit the number of results returned
            for the search query.
          in: query
          name: size
          schema:
            default: 10
            type: integer
        - description: >-
            The `search_after` parameter is used to paginate through results.  


            To get the first page of results, omit this parameter. Afterward,
            include the `search_after` parameter in your next request with the
            latest response's `search_after` value to get the next page of
            results.
          in: query
          name: search_after
          schema:
            type: string
        - description: >-
            The `from` parameter is used to paginate through results.  


            To get the first page of results, omit this parameter. Afterward,
            include the `from` parameter in your next request with the latest
            response's `next` value to get the next page of results.
          in: query
          name: from
          schema:
            type: string
        - description: User defined tags used to filter search results
          explode: true
          in: query
          name: tags
          schema:
            items:
              type: string
            type: array
          style: form
        - description: User defined operator to apply to tags filter
          in: query
          name: tags_query_operator
          schema:
            type: string
        - description: >

            Type of activities to search through.


            *Expected values* : 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, cookie, pii, experimental,
            lookalike_discovery, lookalike_title, lookalike_favicon,
            lookalike_screenshot, lookalike_ip_address, lookalike_dns,
            lookalike_whois_rdap, lookalike_ssl_certificate


            *Some search types contain others*

            - illicit_networks: stealer_log, bot, chat_message, financial_data,
            forum_profile, blog_post, seller, forum_topic, listing, forum_post,
            ransomleak

            - open_web: bucket, bucket_object, source_code_files,
            stack_exchange, source_code_secrets, docker, google, paste,
            social_media_account, service

            - leaks: invalid_credential, valid_credential, mitigated_credential,
            leak

            - domains: domain
          explode: true
          in: query
          name: types
          schema:
            items:
              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
              type: string
            type: array
          style: form
        - description: Type of experimental activities to search through.
          explode: true
          in: query
          name: experimental_types
          schema:
            items:
              type: string
            type: array
          style: form
        - description: >-
            Filter events by the action status set on them by the tenant, such
            as `ignored` or `remediated`; not used when `event_actions` is set.
          in: query
          name: event_action
          schema:
            enum:
              - default
              - ignored
              - remediated
              - risk_score_edited
              - exclude_ignored
              - ignored_or_remediated
            type: string
        - description: >-
            Filter events by any of these action statuses set on them by the
            tenant.
          explode: true
          in: query
          name: event_actions
          schema:
            items:
              enum:
                - default
                - ignored
                - remediated
                - risk_score_edited
                - exclude_ignored
                - ignored_or_remediated
              type: string
            type: array
          style: form
        - description: >-
            Return only events with one of these risk scores, from 1 (info) to 5
            (critical).
          explode: true
          in: query
          name: risks
          schema:
            items:
              type: integer
            type: array
          style: form
        - description: Sort direction, `asc` or `desc`; defaults to `desc`.
          in: query
          name: order
          schema:
            default: desc
            enum:
              - asc
              - desc
            type: string
        - description: Date field used to sort the events; defaults to `created`.
          in: query
          name: sort_by
          schema:
            default: created
            enum:
              - created
              - indexed
              - updated
              - alertable-materialized
              - materialized
              - searchable
            type: string
        - description: Whether global policies are applied to the search; defaults to true.
          in: query
          name: use_global_policies
          schema:
            default: true
            type: boolean
        - description: The time zone used to compute the statistics.
          in: query
          name: time_zone
          schema:
            type: string
        - description: >-
            Query used to filter results. Search query uses the [Lucene
            query](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/query-dsl-query-string-query.html#query-string-syntax)
            syntax.
          in: query
          name: query
          schema:
            type: string
        - description: >-
            When true, return only events whose risk score was modified;
            defaults to false.
          in: query
          name: has_modified_risk_score
          schema:
            default: false
            type: boolean
        - description: When true, return only events that have notes; defaults to false.
          in: query
          name: has_notes
          schema:
            default: false
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Search'
          description: Returns the search result(s).
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: Query is invalid.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The caller lacks the required permission (`FORBIDDEN`).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: Identifier does not exist.
      deprecated: true
components:
  schemas:
    Search:
      properties:
        items:
          description: Events matching the search.
          items:
            properties: {}
            type: object
          type: array
        nb_hits:
          description: Number of events matching the search.
          type: integer
        links:
          allOf:
            - $ref: '#/components/schemas/SearchLinks'
          description: Links related to this page of results.
          type: object
        search_after:
          description: >-
            Opaque cursor to pass as `from` or `search_after` to get the next
            page.
          type: string
      type: object
    HttpError:
      properties:
        message:
          description: Human-readable description of the error.
          type: string
        code:
          description: Machine-readable error code.
          type: string
      type: object
    SearchLinks:
      properties:
        next:
          description: URL of the next page of results; only set for GET requests.
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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