Eevo console
Contents
Reference
POST

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
curl -X POST https://eevo.io/api/v1/decisions/dec_7b1c0e4f9a2d4c6b8e3f5a1d2c4b6e8f/publication \
  -H "Authorization: Bearer $EEVO_API_KEY"

The response:

JSON
{
  "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}/publication

Path 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
  • 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.

StatusTitleDescription
400Bad RequestThe request is invalid; the message says which field and why.
401UnauthorizedNo valid API key.
402Payment RequiredNo credit left for the request, or an EU request from an organization that has neither bought credit nor has credit.
403ForbiddenOnly the person who made the decision, or the API key it was made with, can change who sees it or publish it.
409ConflictThe model is not served yet, or the revised decision already has a newer revision.
410GoneNo such decision that you can see: none in your organization, or one not shared with you.
429Too Many RequestsRate limit or concurrent request limit reached; retry after Retry-After seconds.
502Bad GatewayThe model failed to answer, or the decision could not be completed. Nothing is billed.
503Service UnavailableThe 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}/publication

Path 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
  • 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.

StatusTitleDescription
400Bad RequestThe request is invalid; the message says which field and why.
401UnauthorizedNo valid API key.
402Payment RequiredNo credit left for the request, or an EU request from an organization that has neither bought credit nor has credit.
403ForbiddenOnly the person who made the decision, or the API key it was made with, can change who sees it or publish it.
409ConflictThe model is not served yet, or the revised decision already has a newer revision.
410GoneNo such decision that you can see: none in your organization, or one not shared with you.
429Too Many RequestsRate limit or concurrent request limit reached; retry after Retry-After seconds.
502Bad GatewayThe model failed to answer, or the decision could not be completed. Nothing is billed.
503Service UnavailableThe 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.