Get an API Token
Before you can use the Soar Labs API, generate a personal access token from the Soar Labs web application’s user settings. Include it in every request via the
Authorization header.Create a Corpus
Every resource must live inside a corpus. Create one with the corpora endpoint and keep the returned
id handy for later steps.Add a Resource
Ingest content so it can be indexed. This example adds a simple string resource, but you can also upload files or URLs.
Run a Query
Once indexing completes, send a query to retrieve answers and citations from your corpus.

