---
title: "Search and retrieve action execution logs"
method: POST
path: "/api/v3.1/internal/action_execution/logs"
tags: ["Logs", "x-internal"]
---

# Search and retrieve action execution logs

`POST /api/v3.1/internal/action_execution/logs`

## Request body

- object
  - `cursor` number, nullable, required — cursor_that_can_be_used_to_paginate_through_the_logs
  - `limit` number — number_of_logs_to_return
  - `case_sensitive` boolean, nullable — whether_the_search_is_case_sensitive_or_not
  - `from` number — start_time_of_the_logs_in_epoch_time
  - `to` number — end_time_of_the_logs_in_epoch_time
  - `search_params` object[]
    - `field` string
    - `operation` string
    - `value` string

## Response `200`

Successfully retrieved action execution fields

- object
  - `data` object[], required
    - `id` string, required
    - `actionKey` string, required
    - `appKey` string, required
    - `app` object, required
      - `icon` string, required
      - `name` string, required
    - `connectedAccountId` string, required
    - `entityId` string, required
    - `status` 'success' | 'failed', required
    - `executionTime` number, required
    - `minimalResponse` string, required
    - `metadata` object
      - `recipe_id` string
    - `createdAt` number, required
  - `nextCursor` number, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1.md) · [All operations](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api-v3-1/versions/4239836857f8/schema)
