Red Hat Ansible Automation Platform · Schema
GenerationRoleRequest
AutomationConfiguration ManagementDevOpsEnterpriseRed HatAnsibleIT OperationsEvent-Driven ArchitectureInfrastructure as CodeMCP
Properties
| Name | Type | Description |
|---|---|---|
| name | string | You can force a specific role name for the role with this key. |
| text | string | Can be in one or a few sentences. WCA will do HAP filtering as appropriate, and reject input above a certain HAP threshold. |
| outline | string | An outline of the role should be a numbered list. |
| createOutline | boolean | Indicates whether the answer should also include an outline of the Ansible Role. |
| additionalContext | object | Parameter use for the inline suggestions. |
| fileTypes | array | The file types generated by the model. Default is ['task', 'default']. The file type name is based on the inner role directories, without the trailing 's' |
| generationId | string | A UUID that identifies the particular generation data is being requested for. |
| wizardId | string | A UUID to track the succession of interaction from the user. |
| model | string | |
| metadata | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-generation-role-request-schema.json",
"title": "GenerationRoleRequest",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/red-hat-ansible-automation-platform-ai-api-openapi.yml#/components/schemas/GenerationRoleRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"default": "",
"title": "the name of the role",
"description": "You can force a specific role name for the role with this key."
},
"text": {
"type": "string",
"title": "the goal of the role",
"description": "Can be in one or a few sentences. WCA will do HAP filtering as appropriate, and reject input above a certain HAP threshold."
},
"outline": {
"type": "string",
"default": "",
"title": "an outline of the role",
"description": "An outline of the role should be a numbered list."
},
"createOutline": {
"type": "boolean",
"default": false,
"title": "generate outline",
"description": "Indicates whether the answer should also include an outline of the Ansible Role."
},
"additionalContext": {
"type": "object",
"additionalProperties": true,
"title": "inline suggestions",
"description": "Parameter use for the inline suggestions."
},
"fileTypes": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"task",
"default"
],
"title": "file types",
"description": "The file types generated by the model. Default is ['task', 'default']. The file type name is based on the inner role directories, without the trailing 's'"
},
"generationId": {
"type": "string",
"format": "uuid",
"title": "generation ID",
"description": "A UUID that identifies the particular generation data is being requested for."
},
"wizardId": {
"type": "string",
"format": "uuid",
"title": "wizard ID",
"description": "A UUID to track the succession of interaction from the user."
},
"model": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/Metadata"
}
},
"required": [
"text"
],
"$defs": {
"Metadata": {
"type": "object",
"properties": {
"ansibleExtensionVersion": {
"type": "string",
"title": "Ansible vscode/vscodium extension version",
"description": "User's installed Ansible extension version, in format vMAJOR.MINOR.PATCH",
"pattern": "v?\\d+\\.\\d+\\.\\d+"
}
}
}
}
}
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/red-hat-ansible-automation-platform-generation-role-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.