Home
Amazon Step Functions
Amazon Step Functions History Event Structure
Amazon Step Functions History Event Structure
Contains details about the events of an execution.
Type: object
Properties: 38
Required: 3
Orchestration Serverless State Machine Workflows
HistoryEvent is a JSON Structure definition published by Amazon Step Functions, describing 38 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
timestamp
type
id
previousEventId
activityFailedEventDetails
activityScheduleFailedEventDetails
activityScheduledEventDetails
activityStartedEventDetails
activitySucceededEventDetails
activityTimedOutEventDetails
taskFailedEventDetails
taskScheduledEventDetails
taskStartFailedEventDetails
taskStartedEventDetails
taskSubmitFailedEventDetails
taskSubmittedEventDetails
taskSucceededEventDetails
taskTimedOutEventDetails
executionFailedEventDetails
executionStartedEventDetails
executionSucceededEventDetails
executionAbortedEventDetails
executionTimedOutEventDetails
mapStateStartedEventDetails
mapIterationStartedEventDetails
mapIterationSucceededEventDetails
mapIterationFailedEventDetails
mapIterationAbortedEventDetails
lambdaFunctionFailedEventDetails
lambdaFunctionScheduleFailedEventDetails
lambdaFunctionScheduledEventDetails
lambdaFunctionStartFailedEventDetails
lambdaFunctionSucceededEventDetails
lambdaFunctionTimedOutEventDetails
stateEnteredEventDetails
stateExitedEventDetails
mapRunStartedEventDetails
mapRunFailedEventDetails
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"type": "object",
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-structure/amazon-step-functions-history-event-structure.json",
"name": "HistoryEvent",
"description": "Contains details about the events of an execution.",
"properties": {
"timestamp": {
"allOf": [
{
"$ref": "#/components/schemas/Timestamp"
},
{
"description": "The date and time the event occurred."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/HistoryEventType"
},
{
"description": "The type of the event."
}
]
},
"id": {
"allOf": [
{
"$ref": "#/components/schemas/EventId"
},
{
"description": "The id of the event. Events are numbered sequentially, starting at one."
}
]
},
"previousEventId": {
"allOf": [
{
"$ref": "#/components/schemas/EventId"
},
{
"description": "The id of the previous event."
}
]
},
"activityFailedEventDetails": {
"$ref": "#/components/schemas/ActivityFailedEventDetails"
},
"activityScheduleFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/ActivityScheduleFailedEventDetails"
},
{
"description": "Contains details about an activity schedule event that failed during an execution."
}
]
},
"activityScheduledEventDetails": {
"$ref": "#/components/schemas/ActivityScheduledEventDetails"
},
"activityStartedEventDetails": {
"$ref": "#/components/schemas/ActivityStartedEventDetails"
},
"activitySucceededEventDetails": {
"$ref": "#/components/schemas/ActivitySucceededEventDetails"
},
"activityTimedOutEventDetails": {
"$ref": "#/components/schemas/ActivityTimedOutEventDetails"
},
"taskFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskFailedEventDetails"
},
{
"description": "Contains details about the failure of a task."
}
]
},
"taskScheduledEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskScheduledEventDetails"
},
{
"description": "Contains details about a task that was scheduled."
}
]
},
"taskStartFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskStartFailedEventDetails"
},
{
"description": "Contains details about a task that failed to start."
}
]
},
"taskStartedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskStartedEventDetails"
},
{
"description": "Contains details about a task that was started."
}
]
},
"taskSubmitFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskSubmitFailedEventDetails"
},
{
"description": "Contains details about a task that where the submit failed."
}
]
},
"taskSubmittedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskSubmittedEventDetails"
},
{
"description": "Contains details about a submitted task."
}
]
},
"taskSucceededEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskSucceededEventDetails"
},
{
"description": "Contains details about a task that succeeded."
}
]
},
"taskTimedOutEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/TaskTimedOutEventDetails"
},
{
"description": "Contains details about a task that timed out."
}
]
},
"executionFailedEventDetails": {
"$ref": "#/components/schemas/ExecutionFailedEventDetails"
},
"executionStartedEventDetails": {
"$ref": "#/components/schemas/ExecutionStartedEventDetails"
},
"executionSucceededEventDetails": {
"$ref": "#/components/schemas/ExecutionSucceededEventDetails"
},
"executionAbortedEventDetails": {
"$ref": "#/components/schemas/ExecutionAbortedEventDetails"
},
"executionTimedOutEventDetails": {
"$ref": "#/components/schemas/ExecutionTimedOutEventDetails"
},
"mapStateStartedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapStateStartedEventDetails"
},
{
"description": "Contains details about Map state that was started."
}
]
},
"mapIterationStartedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapIterationEventDetails"
},
{
"description": "Contains details about an iteration of a Map state that was started."
}
]
},
"mapIterationSucceededEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapIterationEventDetails"
},
{
"description": "Contains details about an iteration of a Map state that succeeded."
}
]
},
"mapIterationFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapIterationEventDetails"
},
{
"description": "Contains details about an iteration of a Map state that failed."
}
]
},
"mapIterationAbortedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapIterationEventDetails"
},
{
"description": "Contains details about an iteration of a Map state that was aborted."
}
]
},
"lambdaFunctionFailedEventDetails": {
"$ref": "#/components/schemas/LambdaFunctionFailedEventDetails"
},
"lambdaFunctionScheduleFailedEventDetails": {
"$ref": "#/components/schemas/LambdaFunctionScheduleFailedEventDetails"
},
"lambdaFunctionScheduledEventDetails": {
"$ref": "#/components/schemas/LambdaFunctionScheduledEventDetails"
},
"lambdaFunctionStartFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/LambdaFunctionStartFailedEventDetails"
},
{
"description": "Contains details about a lambda function that failed to start during an execution."
}
]
},
"lambdaFunctionSucceededEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/LambdaFunctionSucceededEventDetails"
},
{
"description": "Contains details about a Lambda function that terminated successfully during an execution."
}
]
},
"lambdaFunctionTimedOutEventDetails": {
"$ref": "#/components/schemas/LambdaFunctionTimedOutEventDetails"
},
"stateEnteredEventDetails": {
"$ref": "#/components/schemas/StateEnteredEventDetails"
},
"stateExitedEventDetails": {
"$ref": "#/components/schemas/StateExitedEventDetails"
},
"mapRunStartedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapRunStartedEventDetails"
},
{
"description": "Contains details, such as <code>mapRunArn</code>, and the start date and time of a Map Run. <code>mapRunArn</code> is the Amazon Resource Name (ARN) of the Map Run that was started."
}
]
},
"mapRunFailedEventDetails": {
"allOf": [
{
"$ref": "#/components/schemas/MapRunFailedEventDetails"
},
{
"description": "Contains error and cause details about a Map Run that failed."
}
]
}
},
"required": [
"timestamp",
"type",
"id"
]
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/amazon-step-functions-history-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.