taskIdpath · RequiredRead MV workflow events
/api/v1/tasks/{taskId}/workflow/eventsAuthentication · x-api-key
Read durable workflow events after a cursor. Save nextCursor and honor resetRequired when reconciling retained history.
Request
afterquery · OptionalResponses
200 OK
application/json
-
Response 200 ·
hasMoreRequiredboolean -
Response 200 ·
historyRequired"tracked" | "legacy_incomplete" -
Response 200 ·
itemsRequiredarray<object>1 field
-
Response 200 ·
items[]Each itemobject8 fields
-
Response 200 ·
items[].dataRequiredobject11 fields
-
Response 200 ·
items[].data.attemptRequiredinteger | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.attempt · anyOf 1Alternativeinteger1 field
-
Response 200 ·
items[].data.attempt · anyOf 1See schemaintegerExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.attempt · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.attempt · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.changesRequiredobject -
Response 200 ·
items[].data.codeRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.code · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.code · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.code · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.code · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.entityIdRequiredstring -
Response 200 ·
items[].data.entityTypeRequiredstring -
Response 200 ·
items[].data.evidenceIdRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.evidenceId · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.evidenceId · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.evidenceId · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.evidenceId · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.logicalItemRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.logicalItem · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.logicalItem · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.logicalItem · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.logicalItem · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.nextActionAtRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.nextActionAt · anyOf 1AlternativestringFormat: date-time.
1 field
-
Response 200 ·
items[].data.nextActionAt · anyOf 1See schemastringExpand this value in the interactive reference.
Format: date-time.
-
-
Response 200 ·
items[].data.nextActionAt · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.nextActionAt · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.phaseRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.phase · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.phase · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.phase · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.phase · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.previousStateRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.previousState · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.previousState · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.previousState · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.previousState · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
Response 200 ·
items[].data.stateRequiredstring | nullMay be null. Must match at least one alternative.
2 fields / alternatives
-
Response 200 ·
items[].data.state · anyOf 1Alternativestring1 field
-
Response 200 ·
items[].data.state · anyOf 1See schemastringExpand this value in the interactive reference.
-
-
Response 200 ·
items[].data.state · anyOf 2Alternativenull1 field
-
Response 200 ·
items[].data.state · anyOf 2See schemanullExpand this value in the interactive reference.
-
-
-
-
Response 200 ·
items[].idRequiredstring -
Response 200 ·
items[].sequenceRequiredstring -
Response 200 ·
items[].sourceRequiredstring -
Response 200 ·
items[].specversionRequired"1.0" -
Response 200 ·
items[].subjectRequiredstring -
Response 200 ·
items[].timeRequiredstring -
Response 200 ·
items[].typeRequiredstring
-
-
-
Response 200 ·
nextCursorRequiredstring -
Response 200 ·
resetRequiredRequiredboolean -
Response 200 ·
taskIdRequiredstring
400 Bad Request
application/json
-
Response 400 ·
errorRequiredobject3 fields
-
Response 400 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 400 ·
error.messageRequiredstringHuman readable error message
-
Response 400 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 400 ·
successRequiredfalseAlways false for error responses
401 Unauthorized
application/json
-
Response 401 ·
errorRequiredobject3 fields
-
Response 401 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 401 ·
error.messageRequiredstringHuman readable error message
-
Response 401 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 401 ·
successRequiredfalseAlways false for error responses
403 Forbidden
application/json
-
Response 403 ·
errorRequiredobject3 fields
-
Response 403 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 403 ·
error.messageRequiredstringHuman readable error message
-
Response 403 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 403 ·
successRequiredfalseAlways false for error responses
404 Not Found
application/json
-
Response 404 ·
errorRequiredobject3 fields
-
Response 404 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 404 ·
error.messageRequiredstringHuman readable error message
-
Response 404 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 404 ·
successRequiredfalseAlways false for error responses
429 Too Many Requests
Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.
application/json
-
Response 429 ·
errorRequiredobject3 fields
-
Response 429 ·
error.codeRequiredstringRATE_LIMITED for request and task admission rejections.
-
Response 429 ·
error.messageRequiredstring -
Response 429 ·
error.detailsOptionalobjectOptional and scope-dependent. Request limits supply scope/policy/type/limit/current/retryAfterSec. Task admission supplies inFlight/limit/tier, plus scope=apiKey for a key cap. IP rejection can omit details. In-flight rejection does not promise Retry-After.
8 fields
-
Response 429 ·
error.details.currentOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.inFlightOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.limitOptionalintegerMinimum: 0.
-
Response 429 ·
error.details.policyOptional"operation" | "query" -
Response 429 ·
error.details.retryAfterSecOptionalintegerMinimum: 1.
-
Response 429 ·
error.details.scopeOptional"user" | "api-key" | "ip" | "apiKey" -
Response 429 ·
error.details.tierOptional"FREE" | "PREMIUM" | "ENTERPRISE" -
Response 429 ·
error.details.typeOptional"rps" | "daily" | "monthly"
-
-
-
Response 429 ·
successRequiredfalseDefault: false.
500 Internal Server Error
application/json
-
Response 500 ·
errorRequiredobject3 fields
-
Response 500 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 500 ·
error.messageRequiredstringHuman readable error message
-
Response 500 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 500 ·
successRequiredfalseAlways false for error responses
503 Service Unavailable
application/json
-
Response 503 ·
errorRequiredobject3 fields
-
Response 503 ·
error.codeRequiredstringApplication-specific error code (see error catalog)
-
Response 503 ·
error.messageRequiredstringHuman readable error message
-
Response 503 ·
error.detailsOptionalobjectAdditional error details (optional)
-
-
Response 503 ·
successRequiredfalseAlways false for error responses