# Get action execution logs

`GET /workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/executions/:execution_id/action_executions/:action_execution_id/logs`

Returns paginated console output logs of a single action execution

**Required Scopes:** `EXECUTION_INFO`

## URL Parameters

```typescript
interface URLParameters {
  /** The human-readable ID of the workspace */
  workspace: string; // Example: "my-company"
  /** The human-readable ID of the project */
  project_name: string; // Example: "my-project"
  /** The ID of the pipeline */
  pipeline_id: number; // Example: 123
  /** The ID of the execution */
  execution_id: number; // Example: 123456
  /** The ID of the action execution */
  action_execution_id: string; // Example: "68e49e0e0875a8847e0980da"
}
```

## Query Parameters

```typescript
interface QueryParameters {
  /** The starting line number (0-based). Defaults to 0 */
  offset?: number; // Example: 0
  /** The maximum number of log lines to return. Defaults to 100, max 1000 */
  limit?: number; // Example: 100
}
```

## Response Body

```typescript
interface ResponseBody {
  /** API endpoint to GET this object */
  url?: string;
  /** Web URL to view this object in Buddy.works */
  html_url?: string;
  /** The offset (starting line number) of the returned logs */
  offset?: number;
  /** The number of log lines returned in this response */
  element_count?: number;
  /** The total number of log lines available */
  total_element_count?: number;
  /** The log lines of the action execution */
  logs?: string[];
}
```

## Response Example

**Status:** `200 OK`


---
Original source: https://buddy.works/docs/api/executions/get-action-execution-logs