{ "name": "CreateServiceAccountAppKey", "fully_qualified_name": "DatadogApi.CreateServiceAccountAppKey@0.1.0", "description": "Create an application key for a service account.\n\nUse this tool to create a new application key for a specified service account on Datadog. It should be called when an application key is needed for service account integration or access.", "toolkit": { "name": "ArcadeDatadogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "service_account_identifier", "required": true, "description": "The unique identifier of the service account for which the application key will be created.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the service account." }, "inferrable": true, "http_endpoint_parameter_name": "service_account_id" }, { "name": "application_key_name", "required": true, "description": "The name for the application key to be created for the service account.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Name of the application key." }, "inferrable": true, "http_endpoint_parameter_name": "data.attributes.name" }, { "name": "application_keys_resource_type", "required": true, "description": "Specify the resource type for the application key. This should always be 'application_keys'.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "application_keys" ], "properties": null, "inner_properties": null, "description": "Application Keys resource type." }, "inferrable": true, "http_endpoint_parameter_name": "data.type" }, { "name": "application_key_scopes", "required": false, "description": "List of scopes to assign to the application key for specific permissions.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "Array of scopes to grant the application key." }, "inferrable": true, "http_endpoint_parameter_name": "data.attributes.scopes" } ] }, "output": { "description": "Response from the API endpoint 'CreateServiceAccountApplicationKey'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": null, "secrets": [ { "key": "DATADOG_API_KEY" }, { "key": "DATADOG_APPLICATION_KEY" }, { "key": "DATADOG_BASE_URL" } ], "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the Datadog API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://{datadog_base_url}/api/v2/service_accounts/{service_account_id}/application_keys", "http_method": "POST", "headers": {}, "parameters": [ { "name": "service_account_id", "tool_parameter_name": "service_account_identifier", "description": "The ID of the service account.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the service account." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.attributes.name", "tool_parameter_name": "application_key_name", "description": "Name of the application key.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Name of the application key." }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.attributes.scopes", "tool_parameter_name": "application_key_scopes", "description": "Array of scopes to grant the application key.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "Array of scopes to grant the application key." }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.type", "tool_parameter_name": "application_keys_resource_type", "description": "Application Keys resource type.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "application_keys" ], "properties": null, "inner_properties": null, "description": "Application Keys resource type." }, "accepted_as": "body", "required": true, "deprecated": false, "default": "application_keys", "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "DATADOG_API_KEY", "parameter_name": "DD-API-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_APPLICATION_KEY", "parameter_name": "DD-APPLICATION-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_BASE_URL", "parameter_name": "datadog_base_url", "accepted_as": "path", "formatted_value": null, "description": "", "is_auth_token": false } ], "request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"Request used to create an application key.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Object used to create an application key.\",\n \"properties\": {\n \"attributes\": {\n \"description\": \"Attributes used to create an application Key.\",\n \"properties\": {\n \"name\": {\n \"description\": \"Name of the application key.\",\n \"example\": \"Application Key for managing dashboards\",\n \"type\": \"string\"\n },\n \"scopes\": {\n \"description\": \"Array of scopes to grant the application key.\",\n \"example\": [\n \"dashboards_read\",\n \"dashboards_write\",\n \"dashboards_public_share\"\n ],\n \"items\": {\n \"description\": \"Name of scope.\",\n \"type\": \"string\"\n },\n \"nullable\": true,\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": {\n \"default\": \"application_keys\",\n \"description\": \"Application Keys resource type.\",\n \"enum\": [\n \"application_keys\"\n ],\n \"example\": \"application_keys\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"APPLICATION_KEYS\"\n ]\n }\n },\n \"required\": [\n \"attributes\",\n \"type\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }