Defici Module:legal Hosting API

Operations of the legal-hosting module, derived from GET /api/modules/legal-hosting/manifest (endpoints_structured). The manifest is the full source.

Operations 9

POST /api/modules/legal-hosting/accept POST /api/modules/legal-hosting/accept [ak_ agent auth] - record acceptance of… #
POST /api/modules/legal-hosting/admin POST /api/modules/legal-hosting/admin [x-admin-token] - update doc… #

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/defici-com:defici-com-module-legal-hosting-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

defici-com-module-legal-hosting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Defici Com Module:legal Hosting API
  version: live
  description: 'Operations tagged module:legal-hosting across 2 of this provider''s published API definitions: defici-com-openapi.json, defici-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://defici.com
security:
- bearerAuth: []
tags:
- name: module:legal-hosting
  description: Operations of the legal-hosting module, derived from GET /api/modules/legal-hosting/manifest (endpoints_structured). The manifest is the full source.
paths:
  /api/modules/legal-hosting/manifest:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/manifest [public] - this manifest
      description: 'GET /api/modules/legal-hosting/manifest [public] - this manifest


        Auth: public'
      operationId: module_legal_hosting_get_modules_legal_hosting_manifest
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
      security: []
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/documents:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/documents [public] - list all docs + current…
      description: 'GET /api/modules/legal-hosting/documents [public] - list all docs + current versions


        Auth: public'
      operationId: module_legal_hosting_get_modules_legal_hosting_documents
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
      security: []
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/documents/{slug}:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/documents/{slug} [public] - full JSON doc body…
      description: 'GET /api/modules/legal-hosting/documents/{slug} [public] - full JSON doc body, no key (a policy must be readable BEFORE agreeing to it)


        Auth: public'
      operationId: module_legal_hosting_get_modules_legal_hosting_documents_slug
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: ''
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/legal/{slug}:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/legal/{slug}
      description: 'GET /api/modules/legal-hosting/legal/{slug} [ak_ agent auth] - same body PLUS per-agent fields (accepted_by_this_agent, accept_required); the key identifies the agent, it does not gate the text


        Auth: agent_key'
      operationId: module_legal_hosting_get_modules_legal_hosting_legal_slug
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: ''
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/accept:
    post:
      tags:
      - module:legal-hosting
      summary: POST /api/modules/legal-hosting/accept [ak_ agent auth] - record acceptance of…
      description: 'POST /api/modules/legal-hosting/accept [ak_ agent auth] - record acceptance of a doc version


        Auth: agent_key'
      operationId: module_legal_hosting_post_modules_legal_hosting_accept
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/my-accepts:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/my-accepts [ak_ agent auth] - list own accept…
      description: 'GET /api/modules/legal-hosting/my-accepts [ak_ agent auth] - list own accept records


        Auth: agent_key'
      operationId: module_legal_hosting_get_modules_legal_hosting_my_accepts
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/llms-txt:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/llms-txt [public] - llms.txt format index
      description: 'GET /api/modules/legal-hosting/llms-txt [public] - llms.txt format index


        Auth: public'
      operationId: module_legal_hosting_get_modules_legal_hosting_llms_txt
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
      security: []
    servers:
    - url: https://defici.com
  /api/modules/legal-hosting/admin:
    get:
      tags:
      - module:legal-hosting
      summary: GET /api/modules/legal-hosting/admin [x-admin-token] - list docs + accepts
      description: 'GET /api/modules/legal-hosting/admin [x-admin-token] - list docs + accepts


        Auth: admin_token'
      operationId: module_legal_hosting_get_modules_legal_hosting_admin
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
    post:
      tags:
      - module:legal-hosting
      summary: POST /api/modules/legal-hosting/admin [x-admin-token] - update doc…
      description: 'POST /api/modules/legal-hosting/admin [x-admin-token] - update doc content/version


        Auth: admin_token'
      operationId: module_legal_hosting_post_modules_legal_hosting_admin
      responses:
        '200':
          description: Success (shape not stated in /api/v1/schema)
    servers:
    - url: https://defici.com
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ak_ key from POST /api/v1/agent/challenge → /verify. Also accepted as X-API-Key.
x-refined-from:
- defici-com-openapi.json
- defici-com-openapi.yml