UNPKG

mcp-datadog-server

Version:

Clean, robust MCP server for Datadog API with curated tools and schema-based generation

1,291 lines 6.61 MB
{ "info": { "_postman_id": "809b13c1-4ada-46c1-af65-ab276c434068", "name": "Datadog API Collection", "description": "**Note**: The Datadog API Collection features a streamlined process for configuring authentication through [Collection variables](https://learning.postman.com/docs/sending-requests/variables/variables/#defining-collection-variables). This eliminates the previous need to configure and select the Datadog Authentication environment. To access the legacy Datadog API Collection and authentication process, see the [Legacy Datadog API Collection](https://www.postman.com/datadog/workspace/datadog-s-public-workspace/collection/31135111-690dad6a-a926-4eb5-a826-bd7140530209).\n\nIf you're new to Postman, see the [Navigating Postman](https://learning.postman.com/docs/getting-started/basics/navigating-postman/) page to learn about the tools, views, and controls that help you manage your API projects.\n\nDatadog recommends using the **Validate API key** request to ensure that you’ve correctly configured the collection variables with your Datadog credentials.\n\nIf you haven’t already, configure the Datadog API Collection’s `api_key` and `application_key` values with your valid [Datadog API and application key](https://docs.datadoghq.com/account_management/api-app-keys/) values, respectively:\n\n<img src=\"https://lh7-us.googleusercontent.com/YDIVdEB5ZmXJXMgTka3R9rQ4rBm_LHceARzLzQAT17ME88tPHIp5-3XpmRWMNqPYvRSh9ZPJN0mJIGmPTRi8bnpbkWW1kGMx270P8kg3fmSAHQqkucg-L2xd_RR98CMASng-H9m_hI3RBkI2ozVjErM\" alt=\"The%20collection%20variables%20with%20the%20api_key%20and%20application_key%20variables%20configured\">\n\nWith the collection variables configured, send the [Validate API key](https://www.postman.com/datadog/workspace/datadog-s-public-workspace/request/20651290-e4c2d752-526c-4686-a5eb-5a35e1321236) request to get your first 200 response code. Now you’re ready to explore the Datadog API!\n\nFor the official documentation, see the [API reference](https://docs.datadoghq.com/api/latest/).\n\nThis API collection was last updated on September 5, 2025.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "12585580", "_collection_link": "https://www.postman.com/datadog/datadog-s-public-workspace/collection/yp38wxl/datadog-api-collection?action=share&source=collection_link&creator=12585580" }, "item": [ { "name": "Get started", "item": [ { "name": "Step 1: Fork the collection", "item": [], "description": "1. [Fork this collection](https://www.postman.com/datadog/workspace/datadog-s-public-workspace/collection/20651290-809b13c1-4ada-46c1-af65-ab276c434068/fork).\n2. Optionally, update the default label.\n3. Confirm that **My Workspace** is selected in the **Workspace** dropdown.\n \n4. Click **Fork Collection**." }, { "name": "Step 2: Configure authentication", "item": [], "description": "1. Retrieve or create your valid API and application key values from the [Organization Settings](https://app.datadoghq.com/organization-settings/) page in Datadog, or through the [Datadog API](https://docs.datadoghq.com/api/latest/key-management/).\n2. Select the **Datadog API Collection** in Postman.\n3. Click the **Variables** tab.\n4. Enter your API and application key values in the **Current value** field of the `api_key` and `application_key` variables, respectively:\n \n\n<img src=\"https://lh7-us.googleusercontent.com/UKyhmQE2XiYJ01KieWhuX0Tkr-FcTWaqW4lnmIJr_LQ7bm2yFTfuqcrf8mx00q_RZgYXhPbl98S-tRDWVrpE65CRrP9Fv1m_jvCi6Sr0aQWjX_3bGcw4bhsOFprNEADqyJZ-gQ9Dr2RE1MsoTxhmj1Y\">\n\n5\\. Click **Save**." } ], "description": "This folder provides instructions for the initial setup of your Datadog Postman environment." }, { "name": "Action Connection", "item": [ { "name": "Get an existing Action Connection", "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id", "value": "consectetur consequat dolor" } ] }, "description": "Get an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key)." }, "response": [ { "name": "Successfully get Action Connection", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"mollit aliquip esse eu adipisicing\"\n }\n}" }, { "name": "Bad Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Forbidden", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Not Found", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Too Many Request", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" } ] }, { "name": "Create a new Action Connection", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"et dolore\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections" ] }, "description": "Create a new Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key)." }, "response": [ { "name": "Successfully created Action Connection", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"et dolore\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections" ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"culpa deserunt minim\"\n }\n}" }, { "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"et dolore\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"et dolore\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Too Many Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"et dolore\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" } ] }, { "name": "Update an existing Action Connection", "request": { "auth": { "type": "noauth" }, "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id", "value": "consectetur consequat dolor" } ] }, "description": "Update an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key)." }, "response": [ { "name": "Successfully updated Action Connection", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"My AWS Connection\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"role\": \"my-role\",\n \"external_id\": \"33a1011635c44b38a064cf14e82e1d8f\",\n \"principal_id\": \"123456789012\"\n }\n }\n },\n \"id\": \"commodo labore Ut\"\n }\n}" }, { "name": "Bad Request", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Forbidden", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Not Found", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Too Many Request", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"account_id\": \"111222333444\",\n \"generate_new_external_id\": false,\n \"role\": \"my-role\"\n }\n },\n \"name\": \"My AWS Connection\"\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" } ] }, { "name": "Delete an existing Action Connection", "request": { "auth": { "type": "noauth" }, "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id", "value": "consectetur consequat dolor" } ] }, "description": "Delete an existing Action Connection. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access)." }, "response": [ { "name": "The resource was deleted successfully.", "originalRequest": { "method": "DELETE", "header": [ { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "body": "" }, { "name": "Forbidden", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Not Found", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Too Many Request", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/connections/:connection_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "connections", ":connection_id" ], "variable": [ { "key": "connection_id" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" } ] }, { "name": "Register a new App Key", "request": { "auth": { "type": "noauth" }, "method": "PUT", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/app_key_registrations/:app_key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "app_key_registrations", ":app_key_id" ], "variable": [ { "key": "app_key_id", "value": "consectetur consequat dolor" } ] }, "description": "Register a new App Key" }, "response": [ { "name": "Created", "originalRequest": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/app_key_registrations/:app_key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "app_key_registrations", ":app_key_id" ], "variable": [ { "key": "app_key_id" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"data\": {\n \"type\": \"app_key_registration\",\n \"id\": \"46f7232c-96c3-5381-cbb9-1de873221679\"\n }\n}" }, { "name": "Bad request", "originalRequest": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/app_key_registrations/:app_key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "app_key_registrations", ":app_key_id" ], "variable": [ { "key": "app_key_id" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n },\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"adipisicingb3\": {},\n \"nulla_70\": {}\n },\n \"source\": {\n \"header\": \"Authorization\",\n \"parameter\": \"limit\",\n \"pointer\": \"/data/attributes/title\"\n },\n \"status\": \"400\",\n \"title\": \"Bad Request\"\n }\n ]\n}" }, { "name": "Forbidden", "originalRequest": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "DD-API-KEY", "value": "<API Key>", "description": "Added as a part of security scheme: apikey" } ], "url": { "raw": "{{baseUrl}}/api/v2/actions/app_key_registrations/:app_key_id", "host": [ "{{baseUrl}}" ], "path": [ "api", "v2", "actions", "app_key_registrations", ":app_key_id" ], "variable": [ { "key": "app_key_id" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"errors\": [\n {\n \"detail\": \"Missing required attribute in body\",\n \"meta\": {\n \"aliqua95\": {}\n },\n \"source\": {\n \"header