Antfly · Schema
Permission
Specify exactly one of a legacy literal resource or a structured table_target; table_target requires resource_type table.
Artificial IntelligenceSearchRetrievalVectorsHybrid
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | Resource name (e.g., table name, target username, or '*' for all inference operations or a global grant). |
| table_target | object | |
| resource_type | object | |
| type | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/antfly/json-schema/antfly-permission-schema.json",
"title": "Permission",
"description": "Specify exactly one of a legacy literal resource or a structured table_target; table_target requires resource_type table.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/antfly-permission-api-openapi.yml#/components/schemas/Permission",
"type": "object",
"properties": {
"resource": {
"type": "string",
"description": "Resource name (e.g., table name, target username, or '*' for all inference operations or a global grant)."
},
"table_target": {
"$ref": "#/$defs/CatalogTableScope"
},
"resource_type": {
"$ref": "#/$defs/ResourceType"
},
"type": {
"$ref": "#/$defs/PermissionType"
}
},
"required": [
"resource_type",
"type"
],
"$defs": {
"CatalogTableScope": {
"type": "object",
"description": "A table or all tables in an explicit namespace. A missing table selects the namespace; a table named '*' remains literal.",
"properties": {
"database": {
"type": "string",
"default": "default"
},
"namespace": {
"type": "string",
"default": "public"
},
"table": {
"type": "string"
}
},
"additionalProperties": false
},
"PermissionType": {
"type": "string",
"enum": [
"read",
"write",
"curator",
"admin"
],
"description": "Type of permission."
},
"ResourceType": {
"type": "string",
"enum": [
"table",
"database",
"namespace",
"tablespace",
"user",
"inference",
"*"
],
"description": "Type of resource: table, user, inference, or global ('*'). Use inference with resource '*' to grant access to unified inference routes."
}
}
}
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/antfly-permission"
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.