CustomDomain · Schema

AgentConsentRequest

CompanyCustom DomainsDNSSSLEdge ProxySaaS InfrastructureWhite LabelMCP

Properties

Name Type Description
client_id string
client_name string
redirect_uri string Where the authorization code goes if the person approves.
scopes array What the agent asked for.
state string The agent's own state value, echoed back to it.
redirect_host string The host of `redirect_uri`. The client cannot choose it freely the way it chooses its name, so show it.
verified boolean True when `redirect_host` is a known assistant's own callback host or a loopback address, and the name imitates no brand.
verified_as string The known assistant `redirect_host` belongs to.
local boolean True when the code goes to a program on the approver's own computer (a loopback redirect).
imitates string The brand the name claims without owning the redirect host. Such a request cannot be approved.
registration string How the client identified itself, by RFC 7591 registration or by a Client ID Metadata Document.
registered_at string When a dynamically registered client registered.
client_id_host string The host that publishes a metadata document client's document.
View JSON Schema on GitHub

JSON Schema

customdomain-ai-agent-consent-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customdomain-ai/json-schema/customdomain-ai-agent-consent-request-schema.json",
  "title": "AgentConsentRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customdomain-ai-agents-api-openapi.yml#/components/schemas/AgentConsentRequest",
  "type": "object",
  "required": [
    "client_id",
    "client_name",
    "redirect_uri",
    "scopes",
    "redirect_host",
    "verified",
    "local",
    "registration"
  ],
  "properties": {
    "client_id": {
      "type": "string"
    },
    "client_name": {
      "type": "string"
    },
    "redirect_uri": {
      "type": "string",
      "description": "Where the authorization code goes if the person approves."
    },
    "scopes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentScope"
      },
      "description": "What the agent asked for."
    },
    "state": {
      "type": "string",
      "description": "The agent's own state value, echoed back to it."
    },
    "redirect_host": {
      "type": "string",
      "description": "The host of `redirect_uri`. The client cannot choose it freely the way it chooses its name, so show it."
    },
    "verified": {
      "type": "boolean",
      "description": "True when `redirect_host` is a known assistant's own callback host or a loopback address, and the name imitates no brand."
    },
    "verified_as": {
      "type": "string",
      "description": "The known assistant `redirect_host` belongs to."
    },
    "local": {
      "type": "boolean",
      "description": "True when the code goes to a program on the approver's own computer (a loopback redirect)."
    },
    "imitates": {
      "type": "string",
      "description": "The brand the name claims without owning the redirect host. Such a request cannot be approved."
    },
    "registration": {
      "type": "string",
      "enum": [
        "dynamic",
        "metadata_document"
      ],
      "description": "How the client identified itself, by RFC 7591 registration or by a Client ID Metadata Document."
    },
    "registered_at": {
      "type": "string",
      "format": "date-time",
      "description": "When a dynamically registered client registered."
    },
    "client_id_host": {
      "type": "string",
      "description": "The host that publishes a metadata document client's document."
    }
  },
  "$defs": {
    "AgentScope": {
      "type": "string",
      "enum": [
        "domains:read",
        "domains:connect",
        "domains:disconnect",
        "domains:purchase"
      ],
      "description": "What an agent grant may do. `domains:read` looks: availability, connections, records, certificates, diagnoses, orders and the billing standing. `domains:connect` changes: connect a domain, recheck it, reapply its records, start a one click setup. `domains:disconnect` removes a connected domain, and the call must name the domain. `domains:purchase` spends, up to the grant's monthly cap."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/customdomain-ai-agent-consent-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.