Quickstart
From zero to a queryable workspace in five requests.
This walkthrough takes you from a fresh API key to a workspace that can answer questions over an uploaded document.
X-Account-Id UUID for the account you’ll work withWe’ll use these shell variables throughout:
Expected:
Pick an org from the response. Save both slugs — you’ll need each in different places:
The response includes the document’s location — that’s its docpath:
Find a workspace under your org and grab its hex slug:
Add the document:
You can skip step 4 by passing addToWorkspaces at upload time. Note: this field uses the original workspace slug, not the hex form.