Clarity · Schema
CreateFunctionRequest
Artificial IntelligenceCustomer ExperienceAI AgentsEnterprise
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique in the project: lowercase letters, digits, hyphens. |
| description | object | |
| handler | string | `module.function`, e.g. `main.handler`. |
| timeout_s | integer | Seconds before Lambda stops a run. |
| memory_mb | integer | Memory in MB; CPU scales with it. |
| code_zip_base64 | string | The zip, base64: the handler module at its root plus vendored packages. |
| http_enabled | boolean | Serve the function's own routes to mini-apps (`voc.functions.fetch`): the handler gets API Gateway HTTP API v2 events. Needs `timeout_s` <= 30. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/onclarity-com/json-schema/onclarity-com-create-function-request-schema.json",
"title": "CreateFunctionRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/onclarity-com-cloud-functions-admin-api-openapi.yml#/components/schemas/CreateFunctionRequest",
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,62}$",
"title": "Name",
"description": "Unique in the project: lowercase letters, digits, hyphens."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "Description"
},
"handler": {
"type": "string",
"title": "Handler",
"description": "`module.function`, e.g. `main.handler`.",
"default": "main.handler"
},
"timeout_s": {
"type": "integer",
"maximum": 900.0,
"minimum": 1.0,
"title": "Timeout S",
"description": "Seconds before Lambda stops a run.",
"default": 60
},
"memory_mb": {
"type": "integer",
"maximum": 2048.0,
"minimum": 128.0,
"title": "Memory Mb",
"description": "Memory in MB; CPU scales with it.",
"default": 256
},
"code_zip_base64": {
"type": "string",
"minLength": 1,
"title": "Code Zip Base64",
"description": "The zip, base64: the handler module at its root plus vendored packages."
},
"http_enabled": {
"type": "boolean",
"title": "Http Enabled",
"description": "Serve the function's own routes to mini-apps (`voc.functions.fetch`): the handler gets API Gateway HTTP API v2 events. Needs `timeout_s` <= 30.",
"default": false
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"code_zip_base64"
]
}
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/onclarity-com-create-function-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.