{ "name": "CreateDatadogRestrictionQuery", "fully_qualified_name": "DatadogApi.CreateDatadogRestrictionQuery@0.1.0", "description": "Create a new restriction query in Datadog.\n\nThis tool creates a restriction query for your organization in Datadog. Use it to manage log access and configurations.", "toolkit": { "name": "ArcadeDatadogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "restriction_query", "required": false, "description": "A string representing the restriction query to manage log access and configurations.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The restriction query." }, "inferrable": true, "http_endpoint_parameter_name": "data.attributes.restriction_query" }, { "name": "restriction_query_resource_type", "required": false, "description": "Specifies the type of restriction query resource. Must be 'logs_restriction_queries'.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "logs_restriction_queries" ], "properties": null, "inner_properties": null, "description": "Restriction query resource type." }, "inferrable": true, "http_endpoint_parameter_name": "data.type" } ] }, "output": { "description": "Response from the API endpoint 'CreateRestrictionQuery'.", "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/logs/config/restriction_queries", "http_method": "POST", "headers": {}, "parameters": [ { "name": "data.attributes.restriction_query", "tool_parameter_name": "restriction_query", "description": "The restriction query.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The restriction query." }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.type", "tool_parameter_name": "restriction_query_resource_type", "description": "Restriction query resource type.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "logs_restriction_queries" ], "properties": null, "inner_properties": null, "description": "Restriction query resource type." }, "accepted_as": "body", "required": false, "deprecated": false, "default": "logs_restriction_queries", "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\": \"Create a restriction query.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Data related to the creation of a restriction query.\",\n \"properties\": {\n \"attributes\": {\n \"description\": \"Attributes of the created restriction query.\",\n \"properties\": {\n \"restriction_query\": {\n \"description\": \"The restriction query.\",\n \"example\": \"env:sandbox\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": {\n \"default\": \"logs_restriction_queries\",\n \"description\": \"Restriction query resource type.\",\n \"enum\": [\n \"logs_restriction_queries\"\n ],\n \"example\": \"logs_restriction_queries\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"LOGS_RESTRICTION_QUERIES\"\n ]\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }