# List function execution logs

> A list of function execution logs.

GET

/functions/{function\_api\_name}/executions/{execution\_id}/logs/

Returns a paginated list of function execution logs.

#### Helpful resources

-   [Get started with functions](https://developer.rippling.com/documentation/rippling-platform/developer/functions/getting-started)
-   [Create and manage functions](https://developer.rippling.com/documentation/rest-api/guides/functions)

### Required Scopes

-   function-executions.read
    
-   function-executions.read-write
    
-   function-executions.read-write.owner
    

### Request

Path Parameters

**function\_api\_name** string required

The API name of the function.

**execution\_id** string required

The unique identifier of the execution.

## Responses

-   200
-   400
-   401
-   403
-   503

Successful response

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**results** object\[\]

Array \[

**message** string required

The log message

**sequence\_num** integer required

The sequence number of the log line

**timestamp** string

The log timestamp

**level** string

The log level

**params** object

Parameters associated with the log line

\]

```json
{
  "results": [
    {
      "message": "string",
      "sequence_num": 0,
      "timestamp": "string",
      "level": "string",
      "params": {}
    }
  ]
}
```

The request failed validation. The response body describes the error.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**detail** string

A human-readable explanation of why the request failed.

```json
{
  "detail": "string"
}
```

Authentication is required or the supplied credentials are invalid.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

-   Matches one or more of these formats:
    
    1.  **Format 1**
        
        **ok** boolean required
        
        Whether the request succeeded. Always false for an authentication error.
        
        **Possible values:** \[false\]
        
        **error** string required
        
        A human-readable explanation of why authentication failed.
        
    2.  **Format 2**
        
        **detail** string required
        
        A human-readable explanation of the authentication error.
        

**Format 1**

```json
{
  "ok": false,
  "error": "Incorrect authentication credentials."
}
```

**Format 2**

```json
{
  "detail": "string"
}
```

The caller is not authorized to perform this action.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**detail** string

A human-readable explanation of why the request failed.

```json
{
  "detail": "string"
}
```

Unable to retrieve function logs because of an internal service error. Retry the read later.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**message** string required

Human-readable explanation of the error.

```json
{
  "message": "string"
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/list-functions-function-api-name-executions-execution-id-logs

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
