Skip to content

Request paths

A message in the chat, an approval, the board and a top-up, step by step.

Applies to EngineCloud
View as Markdown
On this page
  1. A message
  2. Stored
  3. Handed to the agent
  4. Streamed back
  5. An approval
  6. The board
  7. A top-up
  8. Order
  9. Pay
  10. Capture
  11. Receipt

A message

  1. Stored

    POST /sessions/{id}/messages saves the message with the session.
  2. Handed to the agent

    The server passes it to Sypnia Agent with the project, your level, the memory notes that apply and the attachments.
  3. Streamed back

    The agent’s events come back as a stream (text, question, approval, panel, task, done). If the connection drops, the interface reconnects and picks up from the last event it saw.

An approval

You choose Approve. The server records who approved, when and from which device, and passes the decision to the agent, which carries it out through the product. Only a person’s session can make this call.

The board

GET /projects/{project}/board asks every product the project uses at the same time, with your session, and waits up to 3 seconds for each. Each card says when it was read. The result is kept for 60 seconds for you and that project.

A top-up

  1. Order

    POST /credits/top-ups creates a PayPal order and returns its address.
  2. Pay

    You approve the payment in PayPal and come back to App.
  3. Capture

    App captures the payment. PayPal’s confirmation (its signature is checked) or the capture result adds the credits, once per PayPal order, so a repeated message never adds them twice.
  4. Receipt

    The ledger shows the top-up and a receipt arrives by e-mail.
  1. A message
  2. Stored
  3. Handed to the agent
  4. Streamed back
  5. An approval
  6. The board
  7. A top-up
  8. Order
  9. Pay
  10. Capture
  11. Receipt

    Search pages, sections and terms