Nukez Viewer Auth API

The viewer-auth API from Nukez — 4 operation(s) for viewer-auth.

GitHub OpenAPI

Operations 4

POST /v1/viewer/auth/passkey/register/options Register Options #
POST /v1/viewer/auth/passkey/register/complete Register Complete #
POST /v1/viewer/auth/passkey/login/options Login Options #
POST /v1/viewer/auth/passkey/login/complete Login Complete #

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/nukez-xyz:nukez-xyz-viewer-auth-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

nukez-xyz-viewer-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nukez — Permissionless Storage for Autonomous Agents Viewer…
  version: 1.0.0
tags:
- name: viewer-auth
paths:
  /v1/viewer/auth/passkey/register/options:
    post:
      tags:
      - viewer-auth
      summary: Register Options
      description: 'Generate WebAuthn registration (creation) options.


        Requires a valid registration token (Bearer header) obtained from

        POST /v1/owner/auth/login. The token contains the pubkey that will

        be bound to the new passkey credential.'
      operationId: register_options_v1_viewer_auth_passkey_register_options_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/viewer/auth/passkey/register/complete:
    post:
      tags:
      - viewer-auth
      summary: Register Complete
      description: 'Complete WebAuthn registration: verify the credential and store it.


        Stores credential at _meta/passkey_credentials/{b64url_id}.json

        and updates the per-owner reverse index.

        Mints an owner session token (same as /v1/owner/auth/login).'
      operationId: register_complete_v1_viewer_auth_passkey_register_complete_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterCompleteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/viewer/auth/passkey/login/options:
    post:
      tags:
      - viewer-auth
      summary: Login Options
      description: 'Generate WebAuthn assertion options for passkey login.


        No auth required. Uses discoverable credentials (empty allowCredentials)

        so the authenticator presents all passkeys registered for this RP.'
      operationId: login_options_v1_viewer_auth_passkey_login_options_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/viewer/auth/passkey/login/complete:
    post:
      tags:
      - viewer-auth
      summary: Login Complete
      description: 'Complete WebAuthn login: verify the assertion and mint a session.


        Looks up the credential from _meta/passkey_credentials/{b64url_id}.json,

        extracts the bound pubkey, verifies the assertion with py-webauthn,

        and mints an owner session JWT.'
      operationId: login_complete_v1_viewer_auth_passkey_login_complete_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginCompleteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LoginCompleteRequest:
      properties:
        challenge_token:
          type: string
          minLength: 10
          title: Challenge Token
        id:
          type: string
          minLength: 1
          title: Id
        rawId:
          type: string
          minLength: 1
          title: Rawid
        response:
          additionalProperties: true
          type: object
          title: Response
        type:
          type: string
          title: Type
          default: public-key
      type: object
      required:
      - challenge_token
      - id
      - rawId
      - response
      title: LoginCompleteRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RegisterCompleteRequest:
      properties:
        challenge_token:
          type: string
          minLength: 10
          title: Challenge Token
        id:
          type: string
          minLength: 1
          title: Id
        rawId:
          type: string
          minLength: 1
          title: Rawid
        response:
          additionalProperties: true
          type: object
          title: Response
        type:
          type: string
          title: Type
          default: public-key
      type: object
      required:
      - challenge_token
      - id
      - rawId
      - response
      title: RegisterCompleteRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError