GET /v1/ask is the recommended way to query your workspace knowledge. It automatically uses the Slite Agent if your workspace has access to it.includeDescendants=true on the children endpointGET /v1/ask — automatically uses the Slite Agent if your workspace has accessformat=sliteml ) or HTML with css=inline or css=nonehttps://api.slite.com/v1/{path}.GET /v1/ask. It automatically routes to the Slite Agent for workspaces that have access to it. The /v1/super routes are legacy — use /v1/agent for direct agent calls instead.Settings from the menu, then go to the API section.Create a new key and follow the on-screen instructions. You'll see an option to make the key read-only.
x-slite-api-key header (or as Authorization: Bearer <key>):curl --location 'https://api.slite.com/v1/notes' \--header 'Content-Type: application/json' \--header 'Accept: application/json' \--header 'x-slite-api-key: <API Key>' \--data '{"title": "<string>","parentNoteId": "<string>","templateId": "<string>","markdown": "<string>","attributes": ["<string>","<string>"]}'