Skip to main content
POST
The stock-flow diagram as XMILE, both ways (A4)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
agent_type
string

The agent type (the document's main when empty)

document
object

The model document to emit

xmile
string

XMILE text to parse instead

Response

The XMILE text (emit) or the parsed document with its check (parse)

agent_type
string
document
object
document_key
string
ok
boolean
problems
object[]
version
string
xmile
string
xmile_key
string