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

# Get identity performance metrics

> Retrieve identity performance metrics for a date range.

    > **Required scope:** `IDENTITIES_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/identities/performance
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/identities/performance:
    get:
      tags:
        - Identities
      summary: Get identity performance metrics
      description: |-
        Retrieve identity performance metrics for a date range.

            > **Required scope:** `IDENTITIES_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            description: Start date in ISO 8601 format.
          required: true
          description: Start date in ISO 8601 format.
          name: startDate
          in: query
        - schema:
            type: string
            description: End date in ISO 8601 format (must be after startDate).
          required: true
          description: End date in ISO 8601 format (must be after startDate).
          name: endDate
          in: query
        - schema:
            type: string
            enum:
              - day
              - week
              - month
            description: Time grouping for metrics. Defaults to day.
          required: false
          description: Time grouping for metrics. Defaults to day.
          name: granularity
          in: query
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
            description: >-
              Optional identity IDs (comma-separated string or repeated query
              parameter).
          required: false
          description: >-
            Optional identity IDs (comma-separated string or repeated query
            parameter).
          name: identityIds
          in: query
      responses:
        '200':
          description: Successful response with identity performance metrics
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      startDate:
                        type: string
                        format: date-time
                      endDate:
                        type: string
                        format: date-time
                      granularity:
                        type: string
                        enum:
                          - day
                          - week
                          - month
                      identities:
                        type: array
                        items:
                          type: object
                          properties:
                            identityId:
                              type: number
                              description: Identity ID.
                            identityName:
                              type:
                                - string
                                - 'null'
                              description: Identity display name.
                            identityEmail:
                              type:
                                - string
                                - 'null'
                              description: Identity email.
                            totals:
                              type: object
                              properties:
                                emailsSent:
                                  type: number
                                  description: Total emails sent in the selected period.
                                linkedinActions:
                                  type: object
                                  properties:
                                    connectionRequests:
                                      type: number
                                      description: Total LinkedIn connection requests sent.
                                    messages:
                                      type: number
                                      description: Total LinkedIn messages sent.
                                    profileViews:
                                      type: number
                                      description: >-
                                        Total LinkedIn profile view actions
                                        executed.
                                    postLikes:
                                      type: number
                                      description: >-
                                        Total LinkedIn post like actions
                                        executed.
                                    total:
                                      type: number
                                      description: >-
                                        Total LinkedIn actions across all action
                                        types.
                                  required:
                                    - connectionRequests
                                    - messages
                                    - profileViews
                                    - postLikes
                                    - total
                                  description: >-
                                    Total LinkedIn actions in the selected
                                    period.
                              required:
                                - emailsSent
                                - linkedinActions
                            timeSeries:
                              type: array
                              items:
                                type: object
                                properties:
                                  periodStart:
                                    type: string
                                    format: date-time
                                    description: >-
                                      Bucket start timestamp based on selected
                                      granularity.
                                  emailsSent:
                                    type: number
                                    description: Emails sent during this time bucket.
                                  linkedinActions:
                                    type: object
                                    properties:
                                      connectionRequests:
                                        type: number
                                        description: Total LinkedIn connection requests sent.
                                      messages:
                                        type: number
                                        description: Total LinkedIn messages sent.
                                      profileViews:
                                        type: number
                                        description: >-
                                          Total LinkedIn profile view actions
                                          executed.
                                      postLikes:
                                        type: number
                                        description: >-
                                          Total LinkedIn post like actions
                                          executed.
                                      total:
                                        type: number
                                        description: >-
                                          Total LinkedIn actions across all action
                                          types.
                                    required:
                                      - connectionRequests
                                      - messages
                                      - profileViews
                                      - postLikes
                                      - total
                                    description: >-
                                      LinkedIn action counts during this time
                                      bucket.
                                required:
                                  - periodStart
                                  - emailsSent
                                  - linkedinActions
                              description: Performance buckets over time.
                          required:
                            - identityId
                            - identityName
                            - identityEmail
                            - totals
                            - timeSeries
                    required:
                      - startDate
                      - endDate
                      - granularity
                      - identities
                required:
                  - status
                  - message
                  - data
        '400':
          description: Bad request - invalid query parameters
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````