Directory search is the primitive for private corpora in Orbit Search. To search private data, use an organization API key withDocumentation Index
Fetch the complete documentation index at: https://docs.orbitsearch.com/llms.txt
Use this file to discover all available pages before exploring further.
search:read, grant that key access to the target directory, then pass the directory UUID in searchScope.
Find organization and directory IDs
You need two IDs for directory search setup:organizationId— the organization that owns the directory.directoryId— the private corpus to search.
curl
id as DIRECTORY_ID. For multi-directory search, collect the id for each directory you want to search.
Grant directory access
An organization API key can search a directory only when a matching grant exists. For most developer integrations, grant either:- the whole organization, when all organization keys may search the directory
- the specific API key, when one integration should have access
curl
API_KEY_UUID is the dashboard-visible key ID or metadata ID for the organization key. It is not the raw sk_orb_... secret.
Search one directory
UsesearchScope.type: "directory" with the directory UUID:
curl
Search multiple directories
UsesearchScope.type: "directories" with an array of directory UUIDs. All directories must belong to the same organization.