naftiko: 1.0.0-alpha2 info: label: Datadog API — Cap description: 'Datadog API — Cap. 2 operations. Lead operation: Datadog Get the On-demand Concurrency Cap. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Cap created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-cap baseUri: https://{subdomain}.{site} description: Datadog API — Cap business capability. Self-contained, no shared references. resources: - name: api-v2-synthetics-settings-on_demand_concurrency_cap path: /api/v2/synthetics/settings/on_demand_concurrency_cap operations: - name: getondemandconcurrencycap method: GET description: Datadog Get the On-demand Concurrency Cap outputRawFormat: json outputParameters: - name: result type: object value: $. - name: setondemandconcurrencycap method: POST description: Datadog Save New Value for On-demand Concurrency Cap 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-cap-rest port: 8080 description: REST adapter for Datadog API — Cap. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/synthetics/settings/on-demand-concurrency-cap name: api-v2-synthetics-settings-on-demand-concurrency-cap description: REST surface for api-v2-synthetics-settings-on_demand_concurrency_cap. operations: - method: GET name: getondemandconcurrencycap description: Datadog Get the On-demand Concurrency Cap call: datadog-cap.getondemandconcurrencycap outputParameters: - type: object mapping: $. - method: POST name: setondemandconcurrencycap description: Datadog Save New Value for On-demand Concurrency Cap call: datadog-cap.setondemandconcurrencycap with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-cap-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Cap. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-get-demand-concurrency-cap description: Datadog Get the On-demand Concurrency Cap hints: readOnly: true destructive: false idempotent: true call: datadog-cap.getondemandconcurrencycap outputParameters: - type: object mapping: $. - name: datadog-save-new-value-demand description: Datadog Save New Value for On-demand Concurrency Cap hints: readOnly: false destructive: false idempotent: false call: datadog-cap.setondemandconcurrencycap with: body: tools.body outputParameters: - type: object mapping: $.