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

# Get Automation Action Log

> Returns the action log for a specific automation within a specified time period

Returns the action log for a specific automation within a specified time period. This endpoint provides detailed information about all actions performed by the automation, including timestamps and action details. Use the `from` and `to` query parameters to filter by date range.


## OpenAPI

````yaml GET /automations/{id}/actionLog
openapi: 3.0.1
info:
  title: Drippi Public API
  description: API for accessing Drippi automation and lead management data
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.drippi.ai/api/v1
    description: Production API server
security:
  - apiKeyAuth: []
paths:
  /automations/{id}/actionLog:
    get:
      tags:
        - Automations
      summary: Get automation action log
      description: >-
        Returns the action log for a specific automation within a specified time
        period
      parameters:
        - name: id
          in: path
          description: Automation ID
          required: true
          schema:
            type: string
        - name: from
          in: query
          description: Start date (ISO 8601 format)
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          description: End date (ISO 8601 format)
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Successfully retrieved action log
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  actionLog:
                    type: array
                    items:
                      $ref: '#/components/schemas/ActionLog'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ActionLog:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the action log entry
        automationId:
          type: string
          description: ID of the automation
        action:
          type: string
          description: >-
            Type of action performed. Possible values include: 'automation
            paused - too many messages', 'automation paused -
            daily_message_limit_reached', 'quality check failed', 'error
            generating message', 'sent followup', 'error sending followup',
            'canceled followups', 'error scheduling followups', 'scheduled
            followups', 'simulated sent cold dm', 'error finding eligible lead',
            'ineligible lead', 'error sending cold dm', 'sent cold dm', 'sent
            auto dm', 'out of leads', 'out of credits', 'automation paused - end
            time reached', 'skipped previously contacted lead', 'skipped lead -
            dms closed', 'skipped lead - error generating message', 'received
            reply', 'disconnected pause', 'resumed account reconnected',
            'automation paused - account is not verified', 'paused -
            account_automation_not_enabled', 'paused - no_active_subscription',
            'paused - out_of_trial_messages'
        message:
          type: string
          description: Human-readable message describing the action
        leadData:
          $ref: '#/components/schemas/LeadData'
          description: Lead information associated with this action
        error:
          type: object
          description: Error details if the action failed
          properties:
            message:
              type: string
              description: Error message
            code:
              type: string
              description: Error code
        logsAndUsage:
          type: object
          description: Logging and usage information
          properties:
            creditsUsed:
              type: integer
              description: Number of credits used
            tokensUsed:
              type: integer
              description: Number of tokens used
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
          description: When the action was last updated
        details:
          type: object
          description: Additional details about the action
          additionalProperties: true
    Error:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Something went wrong
    LeadData:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the lead
        name:
          type: string
          description: Lead's name
        username:
          type: string
          description: Lead's Twitter username
        twid:
          type: string
          description: Lead's Twitter ID
        profileImageUrl:
          type: string
          description: URL to the lead's profile image
        bio:
          type: string
          description: Lead's bio/description
        location:
          type: string
          description: Lead's location
        website:
          type: string
          description: Lead's website URL
        followersCount:
          type: integer
          description: Number of followers
        followingCount:
          type: integer
          description: Number of accounts the lead follows
        tweetCount:
          type: integer
          description: Number of tweets
        listedCount:
          type: integer
          description: Number of lists the lead is on
        verified:
          type: boolean
          description: Whether the lead's account is verified
        protected:
          type: boolean
          description: Whether the lead's account is protected
        sourceId:
          type: string
          description: ID of the lead source
        status:
          type: string
          description: Lead status (e.g., 'new', 'contacted', 'responded')
        createdAt:
          $ref: '#/components/schemas/Timestamp'
          description: When the lead was created
        updatedAt:
          $ref: '#/components/schemas/Timestamp'
          description: When the lead was last updated
    Timestamp:
      type: object
      properties:
        _seconds:
          type: integer
          description: Unix timestamp in seconds
        _nanoseconds:
          type: integer
          description: Nanoseconds part of the timestamp
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````