POST
/
super
Ask a question
curl --request POST \
  --url https://api.super.work/v1/super \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question": [
    "What are the onboarding steps?"
  ],
  "parentId": "<string>",
  "assistantId": "<string>"
}'
{
  "answer": "The onboarding steps are...",
  "sources": [
    {
      "title": "Onboarding",
      "url": "https://slite.slite.page/p/S1TSuHnZf/Security-at-Slite",
      "id": "S1TSuHnZf",
      "updatedAt": "2021-01-01T00:00:00.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
question
string
required

Question to ask on super

Example:
["What are the onboarding steps?"]
parentId
string

Optional filter to only return data under this parent note id

assistantId
string

Optional filter to use a specific assistant for super only

Response

Ok

sources
object[]
required

Array of sources that were used to answer the question

answer
string
required

Answer to the question