huggingbay-xyz · Schema
OAuthTokenRequest
Artificial IntelligenceOpen SourceModelsPlatformMachine Learning
Properties
| Name | Type | Description |
|---|---|---|
| grant_type | string | Use urn:bay-run:grant-type:demo for zero-secret public demo access; client_credentials is reserved for confidential registered clients. |
| scope | string | The zero-secret demo scope is exactly mcp:demo. inference:invoke is a separate developer/spend scope, not a demo scope. |
| resource | string | Allowed public resource: the API origin or canonical /mcp/. The selected resource pre-binds the token and returned next_call for convenience. |
| client_id | string | |
| client_secret | string | |
| code | string | |
| code_verifier | string | |
| redirect_uri | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-oauth-token-request-schema.json",
"title": "OAuthTokenRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/huggingbay-xyz-oauth-api-openapi.yml#/components/schemas/OAuthTokenRequest",
"type": "object",
"required": [
"grant_type"
],
"additionalProperties": true,
"properties": {
"grant_type": {
"type": "string",
"description": "Use urn:bay-run:grant-type:demo for zero-secret public demo access; client_credentials is reserved for confidential registered clients."
},
"scope": {
"type": "string",
"description": "The zero-secret demo scope is exactly mcp:demo. inference:invoke is a separate developer/spend scope, not a demo scope."
},
"resource": {
"type": "string",
"format": "uri",
"description": "Allowed public resource: the API origin or canonical /mcp/. The selected resource pre-binds the token and returned next_call for convenience."
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string",
"format": "password",
"x-sensitive": true
},
"code": {
"type": "string",
"x-sensitive": true
},
"code_verifier": {
"type": "string",
"x-sensitive": true
},
"redirect_uri": {
"type": "string",
"format": "uri"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/huggingbay-xyz-oauth-token-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.