> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hebbianrobotics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get access details.

> Returns the organization scope and capabilities granted to the current
token.



## OpenAPI

````yaml https://api.hebbianrobotics.com/public-openapi.json get /api/access
openapi: 3.1.0
info:
  description: >-
    Use content diversity, frame-quality, and hand-activity metrics to evaluate
    robot and egocentric video datasets. Start with `GET /api/access`, then list
    available datasets with `GET /api/quality/datasets`.
  license:
    identifier: Apache-2.0
    name: Apache-2.0
  title: Robotics Data Quality API
  version: 0.0.0
servers:
  - description: Production API
    url: https://api.hebbianrobotics.com
security:
  - {}
  - bearer_token: []
tags:
  - description: >-
      Content diversity, frame-quality, and hand-activity metrics for robotics
      video data.
    name: quality
  - description: Scope and capabilities granted by a bearer token.
    name: access
paths:
  /api/access:
    get:
      tags:
        - access
      summary: Get access details.
      description: |-
        Returns the organization scope and capabilities granted to the current
        token.
      operationId: get_access
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessResponse'
          description: Resolved scope and capabilities
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
          description: The bearer token is invalid or expired
      security:
        - bearer_token: []
components:
  schemas:
    AccessResponse:
      description: Scope and capabilities granted to the request.
      properties:
        capabilities:
          description: Actions allowed for this token. Customer tokens include `view_data`.
          items:
            $ref: '#/components/schemas/Capability'
          type: array
        scope:
          $ref: '#/components/schemas/DataScope'
          description: Data scope used for dataset requests.
        writes_require_admin:
          description: Whether privileged write endpoints require an admin token.
          type: boolean
      required:
        - scope
        - capabilities
        - writes_require_admin
      type: object
    ApiErrorBody:
      description: Error payload returned for handled API failures.
      properties:
        code:
          description: Machine-readable error code, e.g. `dataset_not_found`.
          type: string
        message:
          description: Human-readable message.
          type: string
      required:
        - code
        - message
      type: object
    Capability:
      description: Action granted to a request.
      enum:
        - view_data
        - view_internals
        - curate_data
        - export_data
        - manage_datasets
        - manage_jobs
      type: string
    DataScope:
      description: Data scope granted to the request.
      oneOf:
        - description: Public data.
          properties:
            kind:
              enum:
                - public
              type: string
          required:
            - kind
          type: object
        - description: Data available to one organization.
          properties:
            kind:
              enum:
                - organization
              type: string
            organization_id:
              $ref: '#/components/schemas/OrganizationId'
          required:
            - organization_id
            - kind
          type: object
    OrganizationId:
      description: Organization identifier associated with the request.
      type: string
  securitySchemes:
    bearer_token:
      description: Bearer access token issued through OAuth 2.0 client credentials.
      scheme: bearer
      type: http

````