Local API routes
Use the route map and request examples below for the supported local HTTP baseline. Endpoint versions are separate from Apex source and LWC API versions.
The checked endpoint set is 60.0, 65.0, 66.0, 67.0, and 68.0 (default 65.0).
That route version does not change an Apex project's source default or an LWC bundle's metadata version. A supported route is a local contract, not evidence that Salesforce was contacted or that every hosted API under the same version is implemented.
Use this page when you need the local Salesforce-style HTTP route map. The detailed guide carries the route groups and request examples.
Start here
Start glade server when a local integration test or tool needs org-shaped HTTP. Add --project . when source metadata matters. Add --db <path> when the local data should persist.
The server covers a checked local baseline. It does not implement live OAuth, Streaming, Pub/Sub, GraphQL, or hosted metadata deploy and retrieve. Keep it on a trusted local interface unless a real auth layer stands in front.
Route map and requests
The server exposes a Salesforce-style baseline for local work: API discovery, object describe and CRUD-style record operations, SOQL query execution, limits and record counts, source-backed Tooling metadata reads, virtual schema metadata queries, Composite sObject inserts, Composite Batch and Tree local requests, Composite Graph local requests over supported local subrequests, Bulk API v2 simple scalar query job create/status/whole-result CSV routes, layout/default-value metadata, metadata job status, and execute-anonymous routes where supported by the runtime.
Check what Glade runs locally before relying on live auth, Bulk API locator paging, Streaming, Pub/Sub, GraphQL, live metadata deploy/retrieve, or Tooling APIs outside the checked local source/schema metadata baseline.
| Area | Endpoint | Status |
|---|---|---|
| API discovery | /services/data/ | supported |
| Describe | /services/data/vXX.X/sobjects/<Object>/describe | supported baseline |
| Query | /services/data/vXX.X/query?q=... | supported baseline |
| SObject CRUD | /services/data/vXX.X/sobjects/<Object>/<Id> | supported baseline |
| Record counts | /services/data/vXX.X/limits/recordCount?sObjects=Account,Contact | supported baseline |
| Execute Anonymous | Tooling executeAnonymous route | supported where runtime supports code |
| SOAP Apex executeAnonymous | /services/Soap/s/vXX.X/<OrgId> | supported for sf apex run |
| Partner SOAP describe/upsert | /services/Soap/u/vXX.X | supported baseline for local data import tools |
| Tooling source metadata | Tooling ApexClass, ApexTrigger, ApexPage, ApexComponent, StaticResource, CustomObject, CustomField, Layout, CompactLayout, RecordType, and ValidationRule query/read paths | supported local baseline |
| Tooling schema metadata | Tooling EntityDefinition, EntityParticle, FieldDefinition, and RelationshipDomain query paths | supported local baseline |
| Composite sObject insert | /services/data/vXX.X/composite/sobjects | supported baseline |
| Composite Batch | /services/data/vXX.X/composite/batch | supported local subrequests |
| Composite Tree | /services/data/vXX.X/composite/tree/<Object> | supported local tree requests |
| Composite Graph | /services/data/vXX.X/composite/graph | supported local subrequests |
| Bulk API v1 ingest | /services/async/vXX.X/job... | supported insert/upsert CSV baseline |
| Bulk API v2 query | /services/data/vXX.X/jobs/query and /results | supported simple scalar local query whole-result CSV |
| Layout and default metadata | local layout/default-value REST routes | supported local metadata baseline |
| Metadata job status | local metadata job status routes | supported local status baseline |
| Glade reset endpoints | /services/data/vXX.X/glade/reset and scoped reset routes | supported local-only baseline |
Example request:
curl -s http://127.0.0.1:8080/services/data/
curl -s http://127.0.0.1:8080/services/data/v60.0/sobjects/Account/describe
curl -s 'http://127.0.0.1:8080/services/data/v60.0/query?q=SELECT+Id,Name+FROM+Account'
curl -s 'http://127.0.0.1:8080/services/data/v60.0/limits/recordCount?sObjects=Account'Example query response:
{
"totalSize": 1,
"done": true,
"records": [
{
"attributes": {
"type": "Account"
},
"Name": "Twin Lakes"
}
]
}Local server only
The local API server does not implement full OAuth or production Salesforce authentication. Do not expose it to untrusted networks unless an authenticating reverse proxy stands in front of it.
Detailed source
Run local Salesforce API routes