Deno · Capability

Deno Deploy REST API — Organizations

Deno Deploy REST API — Organizations. 2 operations. Lead operation: Get organization. Self-contained Naftiko capability covering one Deno business surface.

Run with Naftiko DenoOrganizations

What You Can Do

GET
Getorganization — Get organization
/v1/organizations/{organizationid}
GET
Getorganizationanalytics — Get organization analytics
/v1/organizations/{organizationid}/analytics

MCP Tools

get-organization

Get organization

read-only idempotent
get-organization-analytics

Get organization analytics

read-only idempotent

Capability Spec

deploy-rest-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Deno Deploy REST API — Organizations
  description: 'Deno Deploy REST API — Organizations. 2 operations. Lead operation: Get organization. Self-contained Naftiko
    capability covering one Deno business surface.'
  tags:
  - Deno
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DENO_API_KEY: DENO_API_KEY
capability:
  consumes:
  - type: http
    namespace: deploy-rest-organizations
    baseUri: https://api.deno.com/v1
    description: Deno Deploy REST API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId
      path: /organizations/{organizationId}
      operations:
      - name: getorganization
        method: GET
        description: Get organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organizationId-analytics
      path: /organizations/{organizationId}/analytics
      operations:
      - name: getorganizationanalytics
        method: GET
        description: Get organization analytics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: since
          in: query
          type: string
          description: Start of the analytics time range in RFC 3339 format
          required: true
        - name: until
          in: query
          type: string
          description: End of the analytics time range in RFC 3339 format
          required: true
    authentication:
      type: bearer
      token: '{{env.DENO_API_KEY}}'
  exposes:
  - type: rest
    namespace: deploy-rest-organizations-rest
    port: 8080
    description: REST adapter for Deno Deploy REST API — Organizations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}
      name: organizations-organizationid
      description: REST surface for organizations-organizationId.
      operations:
      - method: GET
        name: getorganization
        description: Get organization
        call: deploy-rest-organizations.getorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/analytics
      name: organizations-organizationid-analytics
      description: REST surface for organizations-organizationId-analytics.
      operations:
      - method: GET
        name: getorganizationanalytics
        description: Get organization analytics
        call: deploy-rest-organizations.getorganizationanalytics
        with:
          since: rest.since
          until: rest.until
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: deploy-rest-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Deno Deploy REST API — Organizations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-organization
      description: Get organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deploy-rest-organizations.getorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-analytics
      description: Get organization analytics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deploy-rest-organizations.getorganizationanalytics
      with:
        since: tools.since
        until: tools.until
      outputParameters:
      - type: object
        mapping: $.