qURL (LayerV) API

qURL (LayerV) API as documented publicly: 27 operations. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 27

DELETE / DELETE / #
GET / GET / #
GET /layervai/qurl-integrations/blob/main/apps/cli/README.md GET /layervai/qurl-integrations/blob/main/apps/cli/README.md #
GET /v1/access-requests List the pending access requests for all your resources, without their codes #
DELETE /v1/delegated-qurls/{qurlId} Revoke a delegated qURL #
POST /v1/domains/{domain}/regenerate-token Regenerate verification token #
GET /v1/payments/account Get the connected publisher Stripe account #
GET /v1/quota Get quota information #
POST /v1/qurls POST /v1/qurls #
DELETE /v1/qurls/{id} LayerV Developer Documentation — qURL API #
PATCH /v1/qurls/{id} Update a qURL (e.g., change expiration or limits) #
POST /v1/qurls/{id}/mint_link Compatibility route for existing clients #
POST /v1/resolve LayerV Developer Documentation — qURL API #
GET /v1/resources List or get resources #
POST /v1/resources Register a resource without an access link; requires `name` #
DELETE /v1/resources/{id} LayerV Developer Documentation — qURL API #
GET /v1/resources/{id} List or get resources #
PATCH /v1/resources/{id} Update resource metadata or the allowed devices; `access_requests` turns access requests on or off for a private resource #
GET /v1/resources/{id}/access-requests List the pending access requests for one resource, without their codes #
DELETE /v1/resources/{id}/access-requests/{deviceId} Deny one access request, by the device id from the list #
POST /v1/resources/{id}/access-requests/{requestCode}/approve Approve one access request, by the six-digit code the person gave the publisher #
DELETE /v1/resources/{id}/allowed-passkeys/{deviceId} Take one approved person's access away #
PATCH /v1/resources/{id}/preview LayerV Developer Documentation — qURL API #
GET /v1/resources/{id}/qurls List all links for a resource #
POST /v1/resources/{id}/qurls Create a link with chosen access rules #
DELETE /v1/resources/{id}/qurls/{qurlId} LayerV Developer Documentation — qURL API #
POST /v1/resources/{id}/share Create a link with resource defaults; for the owner, or for a private resource a device the publisher allowed; requires qurl:resolve #

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/layerv:layerv-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

layerv-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: qURL (LayerV) API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 27 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; qURL (LayerV) has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 23
    pages-with-code: 3
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://layerv.ai/guides/share-a-frontend-and-its-local-api
  - https://layerv.ai/docs/llms.txt
  - https://layerv.ai/docs/qurls.md
  - https://layerv.ai/docs/qurls.json
servers:
- url: https://api.layerv.ai
paths:
  /:
    delete:
      operationId: delete
      tags:
      - Api
      summary: DELETE /
      x-source: https://layerv.ai/docs/qurls.json
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl 7.76 or later, jq, and uuidgen.\nSet `QURL_API_KEY` to an account API key with `qurl:read` and `qurl:write`.\nSet `TARGET_URL`
          to the HTTPS URL you want to protect, and `RESOURCE_NAME` to the public\nname recipients will see for it. Run the steps in the same
          shell.\n\n**1. Register the resource and save its CRID.**\n\n```bash\nset -euo pipefail\n: \"${QURL_API_KEY:?Set QURL_API_KEY to your
          ac'
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://layerv.ai/guides/share-a-frontend-and-its-local-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS
          or Linux, lsof -iTCP -sTCP:LISTEN -nP shows [::1]), publish ''http://[::1]:PORT'' instead, or start the dev server with --host 127.0.0.1
          and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern. The recipient
          see'
  /layervai/qurl-integrations/blob/main/apps/cli/README.md:
    get:
      operationId: get_layervai_qurl_integrations_blob_main_apps_cli_README_md
      tags:
      - Layervai
      summary: GET /layervai/qurl-integrations/blob/main/apps/cli/README.md
      x-source: https://layerv.ai/docs/llms.txt
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl on a browser share link to fetch app content. For an owner-authorized script download, use `qurl get <CRID> --file <path>`;
          see the CLI reference for custom deployment settings.

          - `-o json` provides machine-readable output; `--quiet` prints the primary value. For `qurl list`, `has_more` determines whether pagination
          is complete.

          - Current deployment instructions: https://github.com/layervai/q'
  /v1/access-requests:
    get:
      operationId: get_v1_access_requests
      tags:
      - Access Requests
      summary: List the pending access requests for all your resources, without their codes
      x-source: https://layerv.ai/docs/llms.txt
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/delegated-qurls/{qurlId}:
    delete:
      operationId: delete_v1_delegated_qurls_qurlId
      tags:
      - Delegated Qurls
      summary: Revoke a delegated qURL
      x-source: https://layerv.ai/docs/qurls.json
      parameters:
      - name: qurlId
        in: path
        required: true
        schema:
          type: string
      - name: AccountResourceOwner
        in: header
        required: true
        schema:
          type: string
        description: Account resource owner identifier (referenced component).
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteV1DelegatedQurlsQurlidResponse'
      x-evidence:
        kind: documentation
  /v1/domains/{domain}/regenerate-token:
    post:
      operationId: post_v1_domains_domain_regenerate_token
      tags:
      - Domains
      summary: Regenerate verification token
      x-source: https://layerv.ai/docs/qurls.json
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1DomainsDomainRegenerateTokenResponse'
      x-evidence:
        kind: documentation
  /v1/payments/account:
    get:
      operationId: get_v1_payments_account
      tags:
      - Payments
      summary: Get the connected publisher Stripe account
      description: Returns the publisher's connected account ID, or an empty string when no account is connected, with whether Stripe lets the
        account take payments and how many subscriptions a disconnect would stop renewing.
      x-source: https://layerv.ai/docs/qurls.json
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PaymentsAccountResponse'
      x-evidence:
        kind: documentation
  /v1/quota:
    get:
      operationId: get_v1_quota
      tags:
      - Quota
      summary: Get quota information
      x-source: https://layerv.ai/docs/qurls.json
      parameters:
      - name: AccountResourceOwner
        in: header
        required: true
        schema:
          type: string
        description: Account resource owner identifier (referenced component).
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1QuotaResponse'
      x-evidence:
        kind: documentation
  /v1/qurls:
    post:
      operationId: post_v1_qurls
      tags:
      - Qurls
      summary: POST /v1/qurls
      x-source: https://layerv.ai/docs/llms.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1QurlsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch('https://api.layerv.ai/v1/qurls', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${process.env.QURL_API_KEY}`,\n\
          \    'Content-Type': 'application/json',\n  },\n  body: JSON.stringify({\n    target_url: 'https://app.example.com/dashboard',\n   \
          \ name: 'Team dashboard',\n    expires_in: '1h',\n    session_duration: '1h',\n    one_time_use: true,\n  })"
  /v1/qurls/{id}:
    delete:
      operationId: delete_v1_qurls_id
      tags:
      - Qurls
      summary: LayerV Developer Documentation — qURL API
      description: Revoke a resource and all its links.
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_v1_qurls_id
      tags:
      - Qurls
      summary: Update a qURL (e.g., change expiration or limits)
      x-source: https://layerv.ai/docs/qurls.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1QurlsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchV1QurlsIdResponse'
      x-evidence:
        kind: documentation
  /v1/qurls/{id}/mint_link:
    post:
      operationId: post_v1_qurls_id_mint_link
      tags:
      - Qurls
      summary: Compatibility route for existing clients
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resolve:
    post:
      operationId: post_v1_resolve
      tags:
      - Resolve
      summary: LayerV Developer Documentation — qURL API
      description: Redeem an access token for headless access.
      x-source: https://layerv.ai/docs/llms.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ResolveRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources:
    get:
      operationId: get_v1_resources
      tags:
      - Resources
      summary: List or get resources
      x-source: https://layerv.ai/docs/qurls.md
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ResourcesResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_resources
      tags:
      - Resources
      summary: Register a resource without an access link; requires `name`
      x-source: https://layerv.ai/docs/llms.txt
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}:
    delete:
      operationId: delete_v1_resources_id
      tags:
      - Resources
      summary: LayerV Developer Documentation — qURL API
      description: Revoke a resource and its links.
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_resources_id
      tags:
      - Resources
      summary: List or get resources
      x-source: https://layerv.ai/docs/qurls.md
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ResourcesIdResponse'
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_v1_resources_id
      tags:
      - Resources
      summary: Update resource metadata or the allowed devices; `access_requests` turns access requests on or off for a private resource
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/access-requests:
    get:
      operationId: get_v1_resources_id_access_requests
      tags:
      - Resources
      summary: List the pending access requests for one resource, without their codes
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/access-requests/{deviceId}:
    delete:
      operationId: delete_v1_resources_id_access_requests_deviceId
      tags:
      - Resources
      summary: Deny one access request, by the device id from the list
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: deviceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/access-requests/{requestCode}/approve:
    post:
      operationId: post_v1_resources_id_access_requests_requestCode_approve
      tags:
      - Resources
      summary: Approve one access request, by the six-digit code the person gave the publisher
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: requestCode
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/allowed-passkeys/{deviceId}:
    delete:
      operationId: delete_v1_resources_id_allowed_passkeys_deviceId
      tags:
      - Resources
      summary: Take one approved person's access away
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: deviceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/preview:
    patch:
      operationId: patch_v1_resources_id_preview
      tags:
      - Resources
      summary: LayerV Developer Documentation — qURL API
      description: Rename a resource; the name cannot be cleared.
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1ResourcesIdPreviewRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/qurls:
    get:
      operationId: get_v1_resources_id_qurls
      tags:
      - Resources
      summary: List all links for a resource
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_resources_id_qurls
      tags:
      - Resources
      summary: Create a link with chosen access rules
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/qurls/{qurlId}:
    delete:
      operationId: delete_v1_resources_id_qurls_qurlId
      tags:
      - Resources
      summary: LayerV Developer Documentation — qURL API
      description: Revoke one link.
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: qurlId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/resources/{id}/share:
    post:
      operationId: post_v1_resources_id_share
      tags:
      - Resources
      summary: Create a link with resource defaults; for the owner, or for a private resource a device the publisher allowed; requires qurl:resolve
      x-source: https://layerv.ai/docs/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    DeleteV1DelegatedQurlsQurlidResponse:
      type: object
      properties:
        '204':
          type: string
          description: Delegated qURL revoked
        '400':
          type: string
          description: Bad Request
        '401':
          type: string
          description: Unauthorized
        '404':
          type: string
          description: Not Found
        '429':
          type: string
          description: Rate Limit Exceeded
        '500':
          type: string
          description: Internal Server Error
        '503':
          type: string
          description: Service Unavailable
    PostV1DomainsDomainRegenerateTokenResponse:
      type: object
      properties:
        '200':
          type: string
          description: Token regenerated successfully
        '401':
          type: string
          description: Unauthorized
        '404':
          type: string
          description: Not Found
        '409':
          type: string
          description: Token regeneration not allowed for current domain status
        '429':
          type: string
          description: Rate Limit Exceeded
        '500':
          type: string
          description: Internal Server Error
    GetV1PaymentsAccountResponse:
      type: object
      properties:
        account_id:
          type: string
          description: Connected Stripe account ID
        layerv_fee_percent:
          type: integer
          description: LayerV fee percent (always 3)
        charges_enabled:
          type: boolean
          description: Whether Stripe lets the account accept charges
        payouts_enabled:
          type: boolean
          description: Whether Stripe lets the account receive payouts
        setup_url:
          type: string
          description: URL to complete Stripe setup when needed
        renewing_subscriptions:
          type: integer
          description: Number of active renewing subscriptions
        disconnecting:
          type: boolean
          description: True if a disconnect is in progress
        revoked:
          type: boolean
          description: True if the account holder revoked LayerV access
        status_unavailable:
          type: boolean
          description: True if Stripe status is unavailable
    GetV1QuotaResponse:
      type: object
      properties:
        '200':
          type: string
          description: Quota information
        '304':
          type: string
          description: Not Modified (ETag match)
        '401':
          type: string
          description: Unauthorized
        '429':
          type: string
          description: Rate Limit Exceeded
        '500':
          type: string
          description: Internal Server Error
    PostV1QurlsRequest:
      type: object
      properties:
        target_url:
          type: string
        name:
          type: string
        expires_in:
          type: string
        session_duration:
          type: string
        one_time_use:
          type: boolean
    PatchV1QurlsIdRequest:
      type: object
      properties:
        expires_in:
          type: string
          description: New expiration duration
        max_sessions:
          type: integer
          description: Updated max concurrent sessions
        session_duration:
          type: string
          description: Updated session lifetime
        label:
          type: string
          description: Updated label
    PatchV1QurlsIdResponse:
      type: object
      properties:
        qurl_id:
          type: string
          description: Identifier of the qURL (unchanged)
        qurl_link:
          type: string
          description: Current secret access link
    PostV1ResolveRequest:
      type: object
      properties:
        access_token:
          type: string
          description: Access token to redeem.
      required:
      - access_token
    GetV1ResourcesResponse:
      type: object
      properties:
        data:
          type: array
          description: Array of resource objects
        meta:
          type: object
          description: Pagination and request metadata
    GetV1ResourcesIdResponse:
      type: object
      properties:
        data:
          type: object
          description: Resource details
        meta:
          type: object
          description: Request metadata
    PatchV1ResourcesIdPreviewRequest:
      type: object
      properties:
        name:
          type: string
          description: New resource name.
      required:
      - name
  securitySchemes:
    API_key:
      type: http
      scheme: bearer
      x-source: https://layerv.ai/compare/ngrok-alternatives-with-auth/
tags:
- name: Access Requests
- name: Api
- name: Delegated Qurls
- name: Domains
- name: Layervai
- name: Payments
- name: Quota
- name: Qurls
- name: Resolve
- name: Resources
security:
- API_key: []