Get operation state history
curl --request GET \
--url https://slc.sandbox.lerian.net/v1/operations/{operationId}/history \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://slc.sandbox.lerian.net/v1/operations/{operationId}/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://slc.sandbox.lerian.net/v1/operations/{operationId}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://slc.sandbox.lerian.net/v1/operations/{operationId}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"fromState": "CREATED",
"timestamp": "2026-06-15T10:50:00Z",
"toState": "QUEUED",
"trigger": "WINDOW_ASSIGNED"
}
]
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Get operation state history
Returns the append-only state-transition log for an operation, ordered oldest first (the auditability proof). 404 when the operation does not exist.
GET
/
v1
/
operations
/
{operationId}
/
history
Get operation state history
curl --request GET \
--url https://slc.sandbox.lerian.net/v1/operations/{operationId}/history \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://slc.sandbox.lerian.net/v1/operations/{operationId}/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://slc.sandbox.lerian.net/v1/operations/{operationId}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://slc.sandbox.lerian.net/v1/operations/{operationId}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"fromState": "CREATED",
"timestamp": "2026-06-15T10:50:00Z",
"toState": "QUEUED",
"trigger": "WINDOW_ASSIGNED"
}
]
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Operation id (UUID).
Example:
"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"
Response
OK
State-transition entries ordered oldest first.
Show child attributes
Show child attributes
Was this page helpful?

