curl --request GET \
--url https://api.hebbianrobotics.com/api/access \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hebbianrobotics.com/api/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebbianrobotics.com/api/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"capabilities": [],
"scope": {
"kind": "public"
},
"writes_require_admin": true
}{
"code": "<string>",
"message": "<string>"
}Check the access granted by a bearer token.
Use this endpoint to confirm the token’s organization scope and capabilities before requesting dataset measurements.
curl --request GET \
--url https://api.hebbianrobotics.com/api/access \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hebbianrobotics.com/api/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hebbianrobotics.com/api/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));false{
"capabilities": [],
"scope": {
"kind": "public"
},
"writes_require_admin": true
}{
"code": "<string>",
"message": "<string>"
}Authorizations
Capability-bearing token issued by a squash operator. Required for curation, exports, dataset registration, and job control when the deployment runs in gated mode; public reads stay open. GET /api/access reports the capabilities a given credential actually carries.
Headers
Bearer access token. Omit only to inspect unauthenticated access.
Operator-only organization selector. Customers must omit this header.
Response
Resolved scope and capabilities
Scope and capabilities granted to the request.
Actions allowed for this token. Customer tokens include view_data.
Finite wire values returned by GET /api/access.
view_data, view_internals, curate_data, export_data, manage_datasets, manage_jobs Data scope used for dataset requests.
- Option 1
- Option 2
Show child attributes
Show child attributes
Whether privileged write endpoints require an admin token.
