Boards

Add an answer-card to a board

Stores the question (prompt + resolved params), never the data. On load the app re-runs /v1/data for each item, so a board is always live.

post/v1/dashboards/{did}/items

Request

  • Base URL: https://api.stackdata.io
  • URL: https://api.stackdata.io/v1/dashboards/{did}/items
  • Auth: one of:
    • none
    • API key in header X-API-Key

Request body

promptstring required

The question to save (trimmed to 500 chars).

paramsobject

Resolved parameters for the prompt (start, end, dataset, …).

Example request

{
  "prompt": "unemployment rate in Japan"
}

Response

The created item.

item_idinteger
positioninteger

Changes

No recorded changes to this operation across all 1 revision of this API.