naftiko: 1.0.0-alpha2 info: label: Datadog API — Events description: 'Datadog API — Events. 22 operations. Lead operation: Datadog Get a List of Audit Logs Events. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-events baseUri: https://{subdomain}.{site} description: Datadog API — Events business capability. Self-contained, no shared references. resources: - name: api-v2-audit-events path: /api/v2/audit/events operations: - name: listauditlogs method: GET description: Datadog Get a List of Audit Logs Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter[query] in: query type: string description: Search query following Audit Logs syntax. - name: filter[from] in: query type: string description: Minimum timestamp for requested events. - name: filter[to] in: query type: string description: Maximum timestamp for requested events. - name: sort in: query type: string description: Order of events in results. - name: page[cursor] in: query type: string description: List following results with a cursor provided in the previous query. - name: page[limit] in: query type: integer description: Maximum number of events in the response. - name: api-v2-audit-events-search path: /api/v2/audit/events/search operations: - name: searchauditlogs method: POST description: Datadog Search Audit Logs Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-ci-pipeline path: /api/v2/ci/pipeline operations: - name: createciapppipelineevent method: POST description: Datadog Send Pipeline Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-ci-pipelines-analytics-aggregate path: /api/v2/ci/pipelines/analytics/aggregate operations: - name: aggregateciapppipelineevents method: POST description: Datadog Aggregate Pipelines Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-ci-pipelines-events path: /api/v2/ci/pipelines/events operations: - name: listciapppipelineevents method: GET description: Datadog Get a List of Pipelines Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter[query] in: query type: string description: Search query following log syntax. - name: filter[from] in: query type: string description: Minimum timestamp for requested events. - name: filter[to] in: query type: string description: Maximum timestamp for requested events. - name: sort in: query type: string description: Order of events in results. - name: page[cursor] in: query type: string description: List following results with a cursor provided in the previous query. - name: page[limit] in: query type: integer description: Maximum number of events in the response. - name: api-v2-ci-pipelines-events-search path: /api/v2/ci/pipelines/events/search operations: - name: searchciapppipelineevents method: POST description: Datadog Search Pipelines Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-ci-tests-analytics-aggregate path: /api/v2/ci/tests/analytics/aggregate operations: - name: aggregateciapptestevents method: POST description: Datadog Aggregate Tests Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-ci-tests-events path: /api/v2/ci/tests/events operations: - name: listciapptestevents method: GET description: Datadog Get a List of Tests Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter[query] in: query type: string description: Search query following log syntax. - name: filter[from] in: query type: string description: Minimum timestamp for requested events. - name: filter[to] in: query type: string description: Maximum timestamp for requested events. - name: sort in: query type: string description: Order of events in results. - name: page[cursor] in: query type: string description: List following results with a cursor provided in the previous query. - name: page[limit] in: query type: integer description: Maximum number of events in the response. - name: api-v2-ci-tests-events-search path: /api/v2/ci/tests/events/search operations: - name: searchciapptestevents method: POST description: Datadog Search Tests Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-dora-deployment path: /api/v2/dora/deployment operations: - name: createdoradeployment method: POST description: Datadog Send a Deployment Event for Dora Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-dora-deployments path: /api/v2/dora/deployments operations: - name: listdoradeployments method: POST description: Datadog Get a List of Deployment Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-dora-deployments-deployment_id path: /api/v2/dora/deployments/{deployment_id} operations: - name: getdoradeployment method: GET description: Datadog Get a Deployment Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deployment_id in: path type: string description: The ID of the deployment event. required: true - name: api-v2-dora-failures path: /api/v2/dora/failures operations: - name: listdorafailures method: POST description: Datadog Get a List of Failure Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-dora-failures-failure_id path: /api/v2/dora/failures/{failure_id} operations: - name: getdorafailure method: GET description: Datadog Get a Failure Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: failure_id in: path type: string description: The ID of the failure event. required: true - name: api-v2-dora-incident path: /api/v2/dora/incident operations: - name: createdoraincident method: POST description: Datadog Send an Incident Event for Dora Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-events path: /api/v2/events operations: - name: listevents method: GET description: Datadog Get a List of Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter[query] in: query type: string description: Search query following events syntax. - name: filter[from] in: query type: string description: Minimum timestamp for requested events, in milliseconds. - name: filter[to] in: query type: string description: Maximum timestamp for requested events, in milliseconds. - name: sort in: query type: string description: Order of events in results. - name: page[cursor] in: query type: string description: List following results with a cursor provided in the previous query. - name: page[limit] in: query type: integer description: Maximum number of events in the response. - name: createevent method: POST description: Datadog Post an Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-events-search path: /api/v2/events/search operations: - name: searchevents method: POST description: Datadog Search Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-logs-analytics-aggregate path: /api/v2/logs/analytics/aggregate operations: - name: aggregatelogs method: POST description: Datadog Aggregate Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-rum-analytics-aggregate path: /api/v2/rum/analytics/aggregate operations: - name: aggregaterumevents method: POST description: Datadog Aggregate Rum Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-rum-events path: /api/v2/rum/events operations: - name: listrumevents method: GET description: Datadog Get a List of Rum Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter[query] in: query type: string description: Search query following RUM syntax. - name: filter[from] in: query type: string description: Minimum timestamp for requested events. - name: filter[to] in: query type: string description: Maximum timestamp for requested events. - name: sort in: query type: string description: Order of events in results. - name: page[cursor] in: query type: string description: List following results with a cursor provided in the previous query. - name: page[limit] in: query type: integer description: Maximum number of events in the response. - name: api-v2-rum-events-search path: /api/v2/rum/events/search operations: - name: searchrumevents method: POST description: Datadog Search Rum Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DATADOG_API_KEY}}' exposes: - type: rest namespace: datadog-events-rest port: 8080 description: REST adapter for Datadog API — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/audit/events name: api-v2-audit-events description: REST surface for api-v2-audit-events. operations: - method: GET name: listauditlogs description: Datadog Get a List of Audit Logs Events call: datadog-events.listauditlogs with: filter[query]: rest.filter[query] filter[from]: rest.filter[from] filter[to]: rest.filter[to] sort: rest.sort page[cursor]: rest.page[cursor] page[limit]: rest.page[limit] outputParameters: - type: object mapping: $. - path: /v1/api/v2/audit/events/search name: api-v2-audit-events-search description: REST surface for api-v2-audit-events-search. operations: - method: POST name: searchauditlogs description: Datadog Search Audit Logs Events call: datadog-events.searchauditlogs with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/pipeline name: api-v2-ci-pipeline description: REST surface for api-v2-ci-pipeline. operations: - method: POST name: createciapppipelineevent description: Datadog Send Pipeline Event call: datadog-events.createciapppipelineevent with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/pipelines/analytics/aggregate name: api-v2-ci-pipelines-analytics-aggregate description: REST surface for api-v2-ci-pipelines-analytics-aggregate. operations: - method: POST name: aggregateciapppipelineevents description: Datadog Aggregate Pipelines Events call: datadog-events.aggregateciapppipelineevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/pipelines/events name: api-v2-ci-pipelines-events description: REST surface for api-v2-ci-pipelines-events. operations: - method: GET name: listciapppipelineevents description: Datadog Get a List of Pipelines Events call: datadog-events.listciapppipelineevents with: filter[query]: rest.filter[query] filter[from]: rest.filter[from] filter[to]: rest.filter[to] sort: rest.sort page[cursor]: rest.page[cursor] page[limit]: rest.page[limit] outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/pipelines/events/search name: api-v2-ci-pipelines-events-search description: REST surface for api-v2-ci-pipelines-events-search. operations: - method: POST name: searchciapppipelineevents description: Datadog Search Pipelines Events call: datadog-events.searchciapppipelineevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/tests/analytics/aggregate name: api-v2-ci-tests-analytics-aggregate description: REST surface for api-v2-ci-tests-analytics-aggregate. operations: - method: POST name: aggregateciapptestevents description: Datadog Aggregate Tests Events call: datadog-events.aggregateciapptestevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/tests/events name: api-v2-ci-tests-events description: REST surface for api-v2-ci-tests-events. operations: - method: GET name: listciapptestevents description: Datadog Get a List of Tests Events call: datadog-events.listciapptestevents with: filter[query]: rest.filter[query] filter[from]: rest.filter[from] filter[to]: rest.filter[to] sort: rest.sort page[cursor]: rest.page[cursor] page[limit]: rest.page[limit] outputParameters: - type: object mapping: $. - path: /v1/api/v2/ci/tests/events/search name: api-v2-ci-tests-events-search description: REST surface for api-v2-ci-tests-events-search. operations: - method: POST name: searchciapptestevents description: Datadog Search Tests Events call: datadog-events.searchciapptestevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/deployment name: api-v2-dora-deployment description: REST surface for api-v2-dora-deployment. operations: - method: POST name: createdoradeployment description: Datadog Send a Deployment Event for Dora Metrics call: datadog-events.createdoradeployment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/deployments name: api-v2-dora-deployments description: REST surface for api-v2-dora-deployments. operations: - method: POST name: listdoradeployments description: Datadog Get a List of Deployment Events call: datadog-events.listdoradeployments with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/deployments/{deployment-id} name: api-v2-dora-deployments-deployment-id description: REST surface for api-v2-dora-deployments-deployment_id. operations: - method: GET name: getdoradeployment description: Datadog Get a Deployment Event call: datadog-events.getdoradeployment with: deployment_id: rest.deployment_id outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/failures name: api-v2-dora-failures description: REST surface for api-v2-dora-failures. operations: - method: POST name: listdorafailures description: Datadog Get a List of Failure Events call: datadog-events.listdorafailures with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/failures/{failure-id} name: api-v2-dora-failures-failure-id description: REST surface for api-v2-dora-failures-failure_id. operations: - method: GET name: getdorafailure description: Datadog Get a Failure Event call: datadog-events.getdorafailure with: failure_id: rest.failure_id outputParameters: - type: object mapping: $. - path: /v1/api/v2/dora/incident name: api-v2-dora-incident description: REST surface for api-v2-dora-incident. operations: - method: POST name: createdoraincident description: Datadog Send an Incident Event for Dora Metrics call: datadog-events.createdoraincident with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/events name: api-v2-events description: REST surface for api-v2-events. operations: - method: GET name: listevents description: Datadog Get a List of Events call: datadog-events.listevents with: filter[query]: rest.filter[query] filter[from]: rest.filter[from] filter[to]: rest.filter[to] sort: rest.sort page[cursor]: rest.page[cursor] page[limit]: rest.page[limit] outputParameters: - type: object mapping: $. - method: POST name: createevent description: Datadog Post an Event call: datadog-events.createevent with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/events/search name: api-v2-events-search description: REST surface for api-v2-events-search. operations: - method: POST name: searchevents description: Datadog Search Events call: datadog-events.searchevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/logs/analytics/aggregate name: api-v2-logs-analytics-aggregate description: REST surface for api-v2-logs-analytics-aggregate. operations: - method: POST name: aggregatelogs description: Datadog Aggregate Events call: datadog-events.aggregatelogs with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/rum/analytics/aggregate name: api-v2-rum-analytics-aggregate description: REST surface for api-v2-rum-analytics-aggregate. operations: - method: POST name: aggregaterumevents description: Datadog Aggregate Rum Events call: datadog-events.aggregaterumevents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/rum/events name: api-v2-rum-events description: REST surface for api-v2-rum-events. operations: - method: GET name: listrumevents description: Datadog Get a List of Rum Events call: datadog-events.listrumevents with: filter[query]: rest.filter[query] filter[from]: rest.filter[from] filter[to]: rest.filter[to] sort: rest.sort page[cursor]: rest.page[cursor] page[limit]: rest.page[limit] outputParameters: - type: object mapping: $. - path: /v1/api/v2/rum/events/search name: api-v2-rum-events-search description: REST surface for api-v2-rum-events-search. operations: - method: POST name: searchrumevents description: Datadog Search Rum Events call: datadog-events.searchrumevents with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-events-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-get-list-audit-logs description: Datadog Get a List of Audit Logs Events hints: readOnly: true destructive: false idempotent: true call: datadog-events.listauditlogs with: filter[query]: tools.filter[query] filter[from]: tools.filter[from] filter[to]: tools.filter[to] sort: tools.sort page[cursor]: tools.page[cursor] page[limit]: tools.page[limit] outputParameters: - type: object mapping: $. - name: datadog-search-audit-logs-events description: Datadog Search Audit Logs Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.searchauditlogs with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-send-pipeline-event description: Datadog Send Pipeline Event hints: readOnly: false destructive: false idempotent: false call: datadog-events.createciapppipelineevent with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-aggregate-pipelines-events description: Datadog Aggregate Pipelines Events hints: readOnly: false destructive: false idempotent: false call: datadog-events.aggregateciapppipelineevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-list-pipelines-events description: Datadog Get a List of Pipelines Events hints: readOnly: true destructive: false idempotent: true call: datadog-events.listciapppipelineevents with: filter[query]: tools.filter[query] filter[from]: tools.filter[from] filter[to]: tools.filter[to] sort: tools.sort page[cursor]: tools.page[cursor] page[limit]: tools.page[limit] outputParameters: - type: object mapping: $. - name: datadog-search-pipelines-events description: Datadog Search Pipelines Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.searchciapppipelineevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-aggregate-tests-events description: Datadog Aggregate Tests Events hints: readOnly: false destructive: false idempotent: false call: datadog-events.aggregateciapptestevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-list-tests-events description: Datadog Get a List of Tests Events hints: readOnly: true destructive: false idempotent: true call: datadog-events.listciapptestevents with: filter[query]: tools.filter[query] filter[from]: tools.filter[from] filter[to]: tools.filter[to] sort: tools.sort page[cursor]: tools.page[cursor] page[limit]: tools.page[limit] outputParameters: - type: object mapping: $. - name: datadog-search-tests-events description: Datadog Search Tests Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.searchciapptestevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-send-deployment-event-dora description: Datadog Send a Deployment Event for Dora Metrics hints: readOnly: false destructive: false idempotent: false call: datadog-events.createdoradeployment with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-list-deployment-events description: Datadog Get a List of Deployment Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.listdoradeployments with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-deployment-event description: Datadog Get a Deployment Event hints: readOnly: true destructive: false idempotent: true call: datadog-events.getdoradeployment with: deployment_id: tools.deployment_id outputParameters: - type: object mapping: $. - name: datadog-get-list-failure-events description: Datadog Get a List of Failure Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.listdorafailures with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-failure-event description: Datadog Get a Failure Event hints: readOnly: true destructive: false idempotent: true call: datadog-events.getdorafailure with: failure_id: tools.failure_id outputParameters: - type: object mapping: $. - name: datadog-send-incident-event-dora description: Datadog Send an Incident Event for Dora Metrics hints: readOnly: false destructive: false idempotent: false call: datadog-events.createdoraincident with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-list-events description: Datadog Get a List of Events hints: readOnly: true destructive: false idempotent: true call: datadog-events.listevents with: filter[query]: tools.filter[query] filter[from]: tools.filter[from] filter[to]: tools.filter[to] sort: tools.sort page[cursor]: tools.page[cursor] page[limit]: tools.page[limit] outputParameters: - type: object mapping: $. - name: datadog-post-event description: Datadog Post an Event hints: readOnly: false destructive: false idempotent: false call: datadog-events.createevent with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-search-events description: Datadog Search Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.searchevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-aggregate-events description: Datadog Aggregate Events hints: readOnly: false destructive: false idempotent: false call: datadog-events.aggregatelogs with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-aggregate-rum-events description: Datadog Aggregate Rum Events hints: readOnly: false destructive: false idempotent: false call: datadog-events.aggregaterumevents with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-list-rum-events description: Datadog Get a List of Rum Events hints: readOnly: true destructive: false idempotent: true call: datadog-events.listrumevents with: filter[query]: tools.filter[query] filter[from]: tools.filter[from] filter[to]: tools.filter[to] sort: tools.sort page[cursor]: tools.page[cursor] page[limit]: tools.page[limit] outputParameters: - type: object mapping: $. - name: datadog-search-rum-events description: Datadog Search Rum Events hints: readOnly: true destructive: false idempotent: false call: datadog-events.searchrumevents with: body: tools.body outputParameters: - type: object mapping: $.