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

# Get Identity Limits

> Retrieve usage limits and consumption data for a specific action on a given identity

This endpoint retrieves the current usage limits and consumption data for a specific action on a given identity. It helps you monitor how close an identity is to reaching its limits for a particular action.

Edges applies **Smart Limits** to prevent LinkedIn accounts from getting restricted. These limits operate on a 24-hour sliding window and help stay within LinkedIn's daily action caps.

<Info>
  This endpoint is specific to Edges Smart Limits and tracks only actions performed within the platform. It does not guarantee that LinkedIn won't impose its own restrictions.
</Info>

<Warning>
  Evaluating limits in real-time is a consuming operation. Use this endpoint sparingly to avoid performance issues. It is rate limited along with other identity management operations.
</Warning>

For more details about Smart Limits, best practices, and how to handle rate limits, see our [LinkedIn Rate Limits documentation](/v1/linkedin/limits).

## Understanding the Response

<Info>
  Some actions consume **multiple limits** internally. For example, `linkedin-message-profile` may consume `LK_MESSAGES_SENT`, `LK_PROFILE_ENRICHMENTS`, and `LK_GET_CONTACT_INFO` depending on the operation. This is why querying limits for a single action may return multiple limit objects in the `limits` array.
</Info>

<Tip>
  When checking if an action can be performed, ensure **all** returned limits have `has_reached_limit: false`. If any limit is reached, the action may be blocked.
</Tip>

For a full list of limit slugs and their meanings, see the [LinkedIn Commercial Limits table](/v1/linkedin/limits#linkedin-commercial-limits).


## OpenAPI

````yaml v1/api/actions.json get /identities/{identity_uid}/actions/{action_slug}/limits
openapi: 3.1.0
info:
  title: ED Automation External API
  description: This is the External API documentation for ED Automation
  version: dev
servers:
  - url: https://api.edges.run/v1
security:
  - XApiKeyAuth: []
paths:
  /identities/{identity_uid}/actions/{action_slug}/limits:
    get:
      tags:
        - public / identities
      summary: Get the integrations limit for an identity on a specific action
      operationId: getIdentityActionsLimits
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: identity_uid
          required: true
          description: Account UID
        - schema:
            type: string
          in: path
          name: action_slug
          required: true
          description: Action slug
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                summary: Limits usage, indexed by limit ID
                type: object
                properties:
                  identity_uid:
                    type: string
                    format: uuid
                    description: Unique identifier for the identity
                  action_slug:
                    type: string
                    description: >-
                      Slug representing the action (e.g.
                      linkedin-extract-people)
                  level:
                    type: string
                    description: Integration level of the account required for the action
                  standard_level:
                    type: string
                    description: >-
                      Standardized Integration level of the account required for
                      the action
                  limits:
                    type: array
                    description: List of usage limits and consumption data
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          description: Unique ID of the limit
                        name:
                          type: string
                          description: Human-readable name of the integration limit
                        slug:
                          type: string
                          description: Slug identifier of the limit
                        started_at:
                          type: string
                          format: date-time
                          description: Start datetime of the limit period
                        ended_at:
                          type: string
                          format: date-time
                          description: End datetime of the limit period
                        max_limit:
                          type: number
                          description: Maximum allowed value for this limit
                        consumed:
                          type: number
                          description: Current consumption value
                        has_reached_limit:
                          type: boolean
                          description: Whether the limit has been reached
                        remaining:
                          type: number
                          description: Remaining value before reaching the limit
                        last_consumption_at:
                          type: string
                          format: date-time
                          description: Datetime of the last recorded consumption.
                        first_consumption_at:
                          type: string
                          format: date-time
                          description: Datetime of the first recorded consumption.
                        available_at:
                          type: string
                          format: date-time
                          description: Datetime when the limit will be available again.
                      required:
                        - id
                        - name
                        - slug
                        - max_limit
                        - consumed
                        - has_reached_limit
                additionalProperties: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
components:
  schemas:
    def-0:
      title: APIError
      description: >-
        Represents an error returned by the API. This schema defines the
        standard structure of error messages to ensure consistent error handling
        across the application.
      type: object
      properties:
        error_label:
          type: string
          nullable: true
        error_scope:
          type: string
          enum:
            - input
            - integ
            - param
            - config
          nullable: true
        error_ref:
          type: string
          nullable: true
          example: ERR-12345
        message:
          type: string
        status_code:
          type: integer
          nullable: true
        params:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  type: string
          nullable: true
        data:
          type: object
          nullable: true
          additionalProperties: true
          description: Additional data about the error
      additionalProperties: false
  securitySchemes:
    XApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````