Ashby · Capability

Ashby API — Approval Definition

Ashby API — Approval Definition. 1 operations. Lead operation: approvalDefinition.update. Self-contained Naftiko capability covering one Ashby business surface.

Run with Naftiko AshbyApproval Definition

What You Can Do

POST
Approvaldefinitionupdate — approvalDefinition.update
/v1/approvaldefinition-update

MCP Tools

approvaldefinition-update

approvalDefinition.update

Capability Spec

ashby-approval-definition.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ashby API — Approval Definition
  description: 'Ashby API — Approval Definition. 1 operations. Lead operation: approvalDefinition.update. Self-contained Naftiko
    capability covering one Ashby business surface.'
  tags:
  - Ashby
  - Approval Definition
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ASHBY_API_KEY: ASHBY_API_KEY
capability:
  consumes:
  - type: http
    namespace: ashby-approval-definition
    baseUri: https://api.ashbyhq.com
    description: Ashby API — Approval Definition business capability. Self-contained, no shared references.
    resources:
    - name: approvalDefinition.update
      path: /approvalDefinition.update
      operations:
      - name: approvaldefinitionupdate
        method: POST
        description: approvalDefinition.update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Ashby-Signature
      value: '{{env.ASHBY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: ashby-approval-definition-rest
    port: 8080
    description: REST adapter for Ashby API — Approval Definition. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/approvaldefinition-update
      name: approvaldefinition-update
      description: REST surface for approvalDefinition.update.
      operations:
      - method: POST
        name: approvaldefinitionupdate
        description: approvalDefinition.update
        call: ashby-approval-definition.approvaldefinitionupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ashby-approval-definition-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ashby API — Approval Definition. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: approvaldefinition-update
      description: approvalDefinition.update
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ashby-approval-definition.approvaldefinitionupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.