Skip to main content
GET
/
v1
/
audit-events
/
{id}
Get Audit Event by ID
curl --request GET \
  --url https://flowker.sandbox.lerian.net/v1/audit-events/{id} \
  --header 'X-API-Key: <api-key>'
{
  "eventId": "9d8e7f6a-5b4c-4321-9876-a1b2c3d4e5f6",
  "eventType": "WORKFLOW_CREATED",
  "action": "CREATE",
  "result": "SUCCESS",
  "resourceId": "550e8400-e29b-41d4-a716-446655440000",
  "resourceType": "workflow",
  "actor": {
    "type": "user",
    "id": "d4e5f6a7-b8c9-4012-d345-444444444444",
    "ipAddress": "192.168.1.100"
  },
  "context": {},
  "metadata": {},
  "timestamp": "2026-03-17T14:35:15Z",
  "hash": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
  "previousHash": "f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5"
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests to the Flowker API. Provisioned via the API_KEY environment variable during deployment.

Path Parameters

id
string<uuid>
required

Unique identifier of the audit event.

Response

Indicates that the request was successful and the response contains the requested data.

Immutable audit event record with hash chain integrity.

eventId
string<uuid>

Unique identifier of the audit event.

Example:

"9d8e7f6a-5b4c-4321-9876-a1b2c3d4e5f6"

eventType
string

Type of audit event (e.g., WORKFLOW_CREATED, EXECUTION_STARTED, PROVIDER_CONFIG_UPDATED).

Example:

"WORKFLOW_CREATED"

action
string

Action performed: CREATE, UPDATE, DELETE, ACTIVATE, DEACTIVATE, DRAFT, or EXECUTE.

Example:

"CREATE"

result
string

Outcome of the action: SUCCESS or FAILED.

Example:

"SUCCESS"

resourceId
string

Identifier of the resource that was acted upon.

Example:

"550e8400-e29b-41d4-a716-446655440000"

resourceType
string

Type of resource: workflow, execution, or provider_config.

Example:

"workflow"

actor
object

Actor who performed the audited action.

context
object

Additional context about the event.

metadata
object

Extra metadata associated with the event.

timestamp
string<date-time>

Timestamp when the event occurred (RFC 3339).

Example:

"2026-03-17T14:35:15Z"

hash
string

SHA-256 hash for this entry in the audit hash chain.

Example:

"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2"

previousHash
string

Hash of the previous entry in the chain. Empty for the first entry.

Example:

"f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5"