> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# Search resource action history documents

GET http://localhost:3000/lifecycle-manager/action-executions

Searches resource action history documents.

Reference: https://docs.itential.com/itential-platform/6/api-reference/lifecycle-manager/get-action-executions

## Authentication

- `Authorization` header (basic auth, required) — Basic authentication of the form `Basic <base64(username:password)>`.

## Response

### 200

response

- `data` (list of object, optional)
  - `_id` (any, required)
  - `modelId` (any, required)
  - `modelName` (string, required) — The name of the model as it was when the action was run
  - `instanceId` (any, required)
  - `instanceName` (string, required) — The name of the instance as it was when the action was run
  - `actionId` (any, required) — Identifier of the action that was run
  - `actionName` (string, required) — The name of the action as it was when the action was run
  - `jobId` (string, required, nullable) — Identifier of the job associated with the action
  - `startTime` (string, required) — The time at which the action was started
  - `endTime` (string, required, nullable) — The time at which the action ended
  - `progress` (object, required) — A sequence of key points in the action describing its overall progress
  - `status` (enum, required) — A single string describing the current activity status of this action
    - Allowed values: `running`, `error`, `complete`, `canceled`, `paused`
  - `errors` (list of object, required) — A list of any errors which occurred while the action was running
    - `message` (string, optional) — A human-readable message summarizing the issue
    - `origin` (enum, optional) — Designates where the error came from
      - Allowed values: `preTransformation`, `workflow`, `postTransformation`, `finishAction`, `system`
    - `timestamp` (string, optional) — An ISO 8601 date string
    - `metadata` (any, optional) — Additional properties that help describe the issue
    - `stepId` (string, optional) — A 4-digit hexadecimal id
  - `initiator` (any, required)
  - `initialInstanceData` (object, required, nullable) — The data for the resource instance
  - `finalInstanceData` (object, required, nullable) — The data for the resource instance
- `metadata` (object, optional) — Properties describing search result pagination
  - `skip` (integer, optional)
  - `limit` (integer, optional)
  - `total` (integer, optional)
  - `nextPageSkip` (integer, optional)
  - `previousPageSkip` (integer, optional)
  - `currentPageSize` (integer, optional)

## Errors

### 500 Internal Server Error

Error response from API

- `any`

## Examples

**Response**

```json
{
  "data": [
    {
      "modelName": "string",
      "instanceName": "string",
      "actionId": null,
      "actionName": "string",
      "jobId": "62a1f3d2ebedfc54e6e0065c",
      "startTime": "2024-01-15T09:30:00Z",
      "endTime": "2024-01-15T09:30:00Z",
      "progress": {},
      "status": "running",
      "errors": [
        {
          "message": "string",
          "origin": "preTransformation",
          "timestamp": "2024-01-15T09:30:00Z",
          "metadata": null,
          "stepId": "0a2f"
        }
      ],
      "initialInstanceData": {},
      "finalInstanceData": {}
    }
  ],
  "metadata": {
    "skip": 1,
    "limit": 1,
    "total": 1,
    "nextPageSkip": 1,
    "previousPageSkip": 1,
    "currentPageSize": 1
  },
  "message": "Successfully created the requested item"
}
```

**SDK Code**

```python
import requests

url = "http://localhost:3000/lifecycle-manager/action-executions"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'http://localhost:3000/lifecycle-manager/action-executions';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "http://localhost:3000/lifecycle-manager/action-executions"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("http://localhost:3000/lifecycle-manager/action-executions")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://localhost:3000/lifecycle-manager/action-executions")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:3000/lifecycle-manager/action-executions');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("http://localhost:3000/lifecycle-manager/action-executions");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:3000/lifecycle-manager/action-executions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```