Publish a decision page
Give a decision a public page on eevo.io that anyone with the link can read without signing in: the context, options, stakeholders and the result, nothing that names your organization, key or people. Only for a finished decision made with this key whose result is stored. DELETE takes the page down for good. Free.
Quick example
Below is a quick example of publishing a decision page via curl:
curl -X POST https://eevo.io/api/v1/decisions/dec_7b1c0e4f9a2d4c6b8e3f5a1d2c4b6e8f/publication \
-H "Authorization: Bearer $EEVO_API_KEY"The response:
{
"id": "dec_7b1c0e4f9a2d4c6b8e3f5a1d2c4b6e8f",
"createdAt": "2026-11-14T09:12:04.000Z",
"model": "eevo-1.2",
"mode": "default",
"status": "ok",
"errorMessage": null,
"progress": null,
"best": "A",
"bestByStakeholder": {
"customers": "A"
},
"contentStored": true,
"expiresAt": "2026-12-14T09:12:04.000Z",
"chosen": null,
"sharedWithOrg": true,
"canChangeSharing": true,
"publication": {
"url": "https://eevo.io/d/k3v9q2m7x4r8t1w6",
"publishedAt": "2026-11-14T10:20:12.000Z",
"publishedBy": null
},
"canPublish": true,
"source": "api"
}Publish a decision page
POST/api/v1/decisions/{id}/publicationPath parameters
- idstringRequired
The decision id (
dec_…) its creation returned.
Response body
application/json- idstring
- createdAtstring <date-time>
- modelstring
- modestring
- defaultEach option lists its consequences; Eevo gives each option’s expected value per stakeholder.
- directEevo picks each stakeholder’s best option in one pass, without consequences.
- statusstring
- okDone: the answer is in `response`.
- errorFailed: `errorMessage` says why.
- runningStill running: fetch it again until it is done.
- errorMessagestring or null
- progressobject or null
While
running: the model calls answered (done) of those the request needs (total).- doneinteger
- totalinteger
- beststring or null
- bestByStakeholdermap of strings
- contentStoredboolean
- requestobject or null
- responseobject or null
- expiresAtstring or null
- sharedWithOrgboolean
Whether everyone in your organization sees the decision; when false, only its owner does.
- canChangeSharingboolean
Whether this key can change
sharedWithOrg: the decision was made with it. - publicationobject or null
The decision’s public page while it is published (
POST /v1/decisions/{id}/publication); null otherwise.- urlstring
The page’s address, which anyone can open.
- publishedAtstring <date-time>
- publishedByobject or null
The person who published it in the console; null when an API key did.
- idinteger
- namestring
- urlstring
- canPublishboolean
Whether this key can publish the decision: it was made with the key and its result is stored.
- sourcestring or null
- apiAn API key.
- mcpAn agent over MCP.
- playgroundThe console’s API playground.
- connectorA connector app, such as Claude or ChatGPT.
Error responses
An error answers with its status and a body with its type and a message. See Errors for the format and every type.
| Status | Title | Description |
|---|---|---|
| 400 | Bad Request | The request is invalid; the message says which field and why. |
| 401 | Unauthorized | No valid API key. |
| 402 | Payment Required | No credit left for the request, or an EU request from an organization that has neither bought credit nor has credit. |
| 403 | Forbidden | Only the person who made the decision, or the API key it was made with, can change who sees it or publish it. |
| 409 | Conflict | The model is not served yet, or the revised decision already has a newer revision. |
| 410 | Gone | No such decision that you can see: none in your organization, or one not shared with you. |
| 429 | Too Many Requests | Rate limit or concurrent request limit reached; retry after Retry-After seconds. |
| 502 | Bad Gateway | The model failed to answer, or the decision could not be completed. Nothing is billed. |
| 503 | Service Unavailable | The model is starting after being idle (`model_warming`), or a request for the EU found no EU server available (`region_unavailable`); retry after Retry-After seconds. Nothing is billed. |
Take a decision page down
DEL/api/v1/decisions/{id}/publicationPath parameters
- idstringRequired
The decision id (
dec_…) its creation returned.
Response body
application/json- idstring
- createdAtstring <date-time>
- modelstring
- modestring
- defaultEach option lists its consequences; Eevo gives each option’s expected value per stakeholder.
- directEevo picks each stakeholder’s best option in one pass, without consequences.
- statusstring
- okDone: the answer is in `response`.
- errorFailed: `errorMessage` says why.
- runningStill running: fetch it again until it is done.
- errorMessagestring or null
- progressobject or null
While
running: the model calls answered (done) of those the request needs (total).- doneinteger
- totalinteger
- beststring or null
- bestByStakeholdermap of strings
- contentStoredboolean
- requestobject or null
- responseobject or null
- expiresAtstring or null
- sharedWithOrgboolean
Whether everyone in your organization sees the decision; when false, only its owner does.
- canChangeSharingboolean
Whether this key can change
sharedWithOrg: the decision was made with it. - publicationobject or null
The decision’s public page while it is published (
POST /v1/decisions/{id}/publication); null otherwise.- urlstring
The page’s address, which anyone can open.
- publishedAtstring <date-time>
- publishedByobject or null
The person who published it in the console; null when an API key did.
- idinteger
- namestring
- urlstring
- canPublishboolean
Whether this key can publish the decision: it was made with the key and its result is stored.
- sourcestring or null
- apiAn API key.
- mcpAn agent over MCP.
- playgroundThe console’s API playground.
- connectorA connector app, such as Claude or ChatGPT.
Error responses
An error answers with its status and a body with its type and a message. See Errors for the format and every type.
| Status | Title | Description |
|---|---|---|
| 400 | Bad Request | The request is invalid; the message says which field and why. |
| 401 | Unauthorized | No valid API key. |
| 402 | Payment Required | No credit left for the request, or an EU request from an organization that has neither bought credit nor has credit. |
| 403 | Forbidden | Only the person who made the decision, or the API key it was made with, can change who sees it or publish it. |
| 409 | Conflict | The model is not served yet, or the revised decision already has a newer revision. |
| 410 | Gone | No such decision that you can see: none in your organization, or one not shared with you. |
| 429 | Too Many Requests | Rate limit or concurrent request limit reached; retry after Retry-After seconds. |
| 502 | Bad Gateway | The model failed to answer, or the decision could not be completed. Nothing is billed. |
| 503 | Service Unavailable | The model is starting after being idle (`model_warming`), or a request for the EU found no EU server available (`region_unavailable`); retry after Retry-After seconds. Nothing is billed. |