The institution's workflows (latest signed version of each) and the cases running them
const url = 'https://api.hardstate.net/v1/issuers/example/workflows';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.hardstate.net/v1/issuers/example/workflowsA workflow is a workflow.define record whose public.workflow is a WorkflowDefinition; each new version is
signed on top of the last, and cases keep the version they opened with. A case runs a workflow when its opening
step says so in public.workflow (and public.wfv, the version), or when its number matches one of the
workflow’s cases patterns. Cases are those with a step since since (default: 3 days ago). With after (an
entry number), only the steps past it, for polling. To design one in plain words, see
https://docs.hardstate.net/agents/ (the HardState MCP server).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”ISO 8601
Only the steps after this entry number
Responses
Section titled “Responses”OK
object
The institution’s last entry when this was read
object
One line
The process explained for someone outside: what it is for, who takes part, how to read it (paragraphs separated by a blank line)
The department it belongs to
Out of service: its history and cases stay verifiable
SQL LIKE patterns of case numbers it claims
Opened from outside: the institution’s public page offers it, and each case is numbered PREFIX-YEAR-N
object
Whoever opens it may leave no way to be reached
object
Record types its steps carry (alternatives)
Who signs it
A detour off the main line
Happens again and again
Its steps declare where they happened
What happens at this stage, in one line, for someone outside
How long it may take, counted from the day the case reached stage from (the first stage when not given). Anyone checks it against the log’s times
object
Business days (Monday to Friday)
An earlier stage’s id
object
Another workflow’s id
The stage it hands over from
object
object
Example
{ "workflows": [ { "stages": [ { "by": "person" } ] } ]}Error
object
Example generated
{ "error": "example"}HardState is a Zevlat Intelligence venture. © 2026 Zevlat Intelligence.