Base URL
- Global region:
https://app.sagepilot.ai - Europe region:
https://eu.sagepilot.ai
Create an API client
1
Open API Details
In the Sagepilot dashboard, go to Settings > API Details.
2
Create a v2 client
In API client v2, select Create key.
3
Add client details
Fill in the label, principal type, and description so the client is identifiable later.
4
Choose scopes
Select only the actions this integration needs.
5
Choose datasets
Select only the datasets this integration needs.
6
Copy the token
Copy the generated
sp_... token. It is shown once.Create form fields
string
required
Human-readable name for the client, such as
BI warehouse sync or Support MCP client.string
default:"external"
Principal category for the client. Use
external for third-party systems, customer-managed automations, and external integrations. Use internal for Sagepilot-managed internal services.string
Optional description of what the client is used for.
string[]
Action permissions granted to the client.
string[]
Dataset grants that restrict which data the client can read or export.
Current scopes
The API Details page currently exposes these API client v2 scope options:Current datasets
The API Details page currently exposes these dataset grants:
New API clients should use these canonical dataset names.
Send credentials
Send the API client token in either header form:string
Optional for API client v2 requests. If you send it, it must match the workspace bound to the API client. Find the current workspace ID in Settings > API Details > Channels.
Required access by API
Resource IDs
Use Settings > API Details in the Sagepilot dashboard to find the IDs used in API requests.
Use Settings > API Details > Channels as the current reference for workspace IDs.