Token Canopy Navigation API

The navigation API from Token Canopy, for navigation.

GitHub OpenAPI

Operations 2

GET /v0/drives/{drive_id}/entries List Entries #
GET /v0/drives/{drive_id}/lookup Lookup #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tokencanopy-com:tokencanopy-com-navigation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tokencanopy-com-navigation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgentDrive Navigation API
  description: 'AgentDrive is an agent-focused artifact store: drive-scoped folders, artifacts, and immutable versions, with local grants, possession-based share links, drive-scoped search, and a cursor-resumable change feed. Bearer-authenticated with Hub-issued product tokens (see /.well-known/oauth-protected-resource); every mutation takes an Idempotency-Key, and existing-state mutations take If-Match.'
  version: 0.0.1
servers:
- url: https://drive.tokencanopy.com
  description: This deployment
- url: http://127.0.0.1:8000
  description: Local dev
tags:
- name: Navigation
paths:
  /v0/drives/{drive_id}/entries:
    get:
      tags:
      - Navigation
      summary: List Entries
      description: 'List one folder''s direct children across the shared namespace.


        ``state`` (active|deleted|all) exposes soft-deleted entries, matching

        every other v0 collection. Unknown query parameters are rejected.'
      operationId: entries_list
      parameters:
      - name: drive_id
        in: path
        required: true
        schema:
          type: string
          title: Drive Id
      - name: parent_id
        in: query
        required: true
        schema:
          type: string
          title: Parent Id
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      - name: label
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
      - name: content_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Type
      - name: updated_after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated After
      - name: updated_before
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated Before
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: active
          title: State
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
        deprecated: true
        description: 'Deprecated: redundant with the operation''s `bearerAuth` security requirement, which is how a generated client should learn to authenticate. Scheduled for removal.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntryListOut'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '404':
          description: The resource was not found or is not visible to the caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            WWW-Authenticate:
              description: RFC 6750 bearer authentication challenge.
              schema:
                type: string
        '403':
          description: Token lacks a required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            Retry-After:
              description: Seconds until the caller should retry.
              schema:
                type: integer
                minimum: 0
        '503':
          description: Token verification is temporarily unavailable (the Hub JWKS could not be fetched). This is the API's unavailability, not a problem with the presented credential.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            Retry-After:
              description: Seconds until the caller should retry.
              schema:
                type: integer
                minimum: 0
        '400':
          description: Malformed request (invalid query parameter, cursor, or argument).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
      security:
      - bearerAuth: []
      x-required-scopes:
      - content:read
      x-stability-level: beta
  /v0/drives/{drive_id}/lookup:
    get:
      tags:
      - Navigation
      summary: Lookup
      description: Resolve a complete root-relative path to one stable resource id.
      operationId: lookup
      parameters:
      - name: drive_id
        in: path
        required: true
        schema:
          type: string
          title: Drive Id
      - name: path
        in: query
        required: true
        schema:
          type: string
          title: Path
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
        deprecated: true
        description: 'Deprecated: redundant with the operation''s `bearerAuth` security requirement, which is how a generated client should learn to authenticate. Scheduled for removal.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookupOut'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '404':
          description: The resource was not found or is not visible to the caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            WWW-Authenticate:
              description: RFC 6750 bearer authentication challenge.
              schema:
                type: string
        '403':
          description: Token lacks a required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            Retry-After:
              description: Seconds until the caller should retry.
              schema:
                type: integer
                minimum: 0
        '503':
          description: Token verification is temporarily unavailable (the Hub JWKS could not be fetched). This is the API's unavailability, not a problem with the presented credential.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
            Retry-After:
              description: Seconds until the caller should retry.
              schema:
                type: integer
                minimum: 0
        '400':
          description: Malformed request (invalid query parameter, cursor, or argument).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V0ErrorEnvelope'
          headers:
            X-Request-Id:
              description: Request correlation identifier.
              schema:
                type: string
      security:
      - bearerAuth: []
      x-required-scopes:
      - content:read
      x-stability-level: beta
components:
  schemas:
    ArtifactEntryOut:
      properties:
        type:
          type: string
          const: artifact
          title: Type
        id:
          type: string
          pattern: ^art_[a-f0-9]{16}$
          title: Id
        name:
          type: string
          title: Name
        revision:
          type: string
          pattern: ^rev_[a-f0-9]{16}$
          title: Revision
        updated_at:
          type: string
          format: date-time
          title: Updated At
        state:
          type: string
          enum:
          - active
          - deleted
          title: State
        deleted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Deleted At
        size_bytes:
          type: integer
          minimum: 0.0
          title: Size Bytes
        content_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Type
        head_version_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Head Version Id
      type: object
      required:
      - type
      - id
      - name
      - revision
      - updated_at
      - state
      - deleted_at
      - size_bytes
      - content_type
      - head_version_id
      title: ArtifactEntryOut
      description: Compact D13 artifact member; content and rich metadata stay excluded.
    V0ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code (see the error-catalog).
              enum:
              - ARTIFACT_NOT_FOUND
              - ARTIFACT_PATH_CONFLICT
              - ARTIFACT_TOO_LARGE
              - AUTHENTICATION_REQUIRED
              - AUTH_UNAVAILABLE
              - BAD_REQUEST
              - BANDWIDTH_LIMIT_EXCEEDED
              - CHANGE_CURSOR_EXPIRED
              - CHECKSUM_MISMATCH
              - CONFLICT
              - DOWNLOAD_SIGNING_UNAVAILABLE
              - DRIVE_LIMIT_EXCEEDED
              - DRIVE_NOT_FOUND
              - FOLDER_NOT_FOUND
              - FOLDER_PATH_CONFLICT
              - FOLDER_RECURSIVE_REQUIRED
              - GRANT_CONFLICT
              - GRANT_NOT_FOUND
              - GRANT_PERMANENT
              - IDEMPOTENCY_CONFLICT
              - IDEMPOTENCY_IN_PROGRESS
              - IDEMPOTENCY_KEY_REQUIRED
              - INTERNAL_ERROR
              - INVALID_ARGUMENT
              - INVALID_CURSOR
              - INVALID_PARAMETER
              - INVALID_QUERY
              - INVALID_REQUEST
              - METHOD_NOT_ALLOWED
              - NAME_CONFLICT
              - NOT_ACCEPTABLE
              - NOT_AUTHORIZED
              - NOT_FOUND
              - OBJECT_METADATA_MISMATCH
              - OBJECT_SIZE_MISMATCH
              - PAYLOAD_TOO_LARGE
              - PERMISSION_DENIED
              - PRECONDITION_FAILED
              - PRECONDITION_REQUIRED
              - RATE_LIMITED
              - SEARCH_MODE_UNAVAILABLE
              - SHARE_NOT_FOUND
              - SHEET_EDIT_LIMIT_EXCEEDED
              - SHEET_NOT_FOUND
              - SHEET_SESSION_ALREADY_COMPLETED
              - SHEET_SESSION_EXPIRED
              - SHEET_SESSION_NOT_FOUND
              - SUBTREE_TOO_LARGE
              - TRANSFER_DISABLED
              - TRANSFER_LIMIT_EXCEEDED
              - TRANSFER_UNAVAILABLE
              - UNSUPPORTED_MEDIA_TYPE
              - UPLOAD_ALREADY_COMPLETED
              - UPLOAD_BUSY
              - UPLOAD_EXPIRED
              - UPLOAD_INCOMPLETE
              - UPLOAD_NOT_COMPLETABLE
              - VALIDATION_ERROR
              - VERSION_NOT_FOUND
              - VIEWER_DISABLED
              - VIEWER_SESSION_NOT_FOUND
              - WORKBOOK_NOT_EDITABLE
              - WORKBOOK_TOO_LARGE
              - WORKBOOK_UNPARSEABLE
            message:
              type: string
            details:
              type: object
              description: Error-code-specific context (optional).
          additionalProperties: true
    LookupOut:
      properties:
        type:
          type: string
          enum:
          - folder
          - artifact
          title: Type
        id:
          type: string
          title: Id
        parent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Parent Id
        revision:
          type: string
          pattern: ^rev_[a-f0-9]{16}$
          title: Revision
      type: object
      required:
      - type
      - id
      - parent_id
      - revision
      title: LookupOut
    EntryListOut:
      properties:
        entries:
          items:
            oneOf:
            - $ref: '#/components/schemas/FolderEntryOut'
            - $ref: '#/components/schemas/ArtifactEntryOut'
            discriminator:
              propertyName: type
              mapping:
                artifact: '#/components/schemas/ArtifactEntryOut'
                folder: '#/components/schemas/FolderEntryOut'
          type: array
          title: Entries
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
      type: object
      required:
      - entries
      - next_cursor
      title: EntryListOut
    FolderEntryOut:
      properties:
        type:
          type: string
          const: folder
          title: Type
        id:
          type: string
          pattern: ^fld_[a-f0-9]{16}$
          title: Id
        name:
          type: string
          title: Name
        revision:
          type: string
          pattern: ^rev_[a-f0-9]{16}$
          title: Revision
        updated_at:
          type: string
          format: date-time
          title: Updated At
        state:
          type: string
          enum:
          - active
          - deleted
          title: State
        deleted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Deleted At
      type: object
      required:
      - type
      - id
      - name
      - revision
      - updated_at
      - state
      - deleted_at
      title: FolderEntryOut
      description: Compact D13 folder member returned by the unified namespace list.
    ValidationErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
              properties:
                fields:
                  type: array
                  items:
                    type: object
                    properties:
                      location:
                        type: string
                      reason:
                        type: string
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Hub-issued bearer token. Scopes: drives:*, content:*, sharing:*, changes:read, usage:read. See the OAuth-protected-resource discovery document (RFC 9728).'
x-agentdrive-compatibility-policy: 2