contentstack · Capability

Contentstack Automate Management API — Execution Logs

Contentstack Automate Management API — Execution Logs. 2 operations. Lead operation: Get all execution logs. Self-contained Naftiko capability covering one Contentstack business surface.

Run with Naftiko ContentstackExecution Logs

What You Can Do

GET
Getallexecutionlogs — Get all execution logs
/v1/v1/organizations/{organization-uid}/projects/{project-uid}/executions
GET
Getexecutionlog — Get an execution log
/v1/v1/organizations/{organization-uid}/projects/{project-uid}/executions/{execution-uid}

MCP Tools

get-all-execution-logs

Get all execution logs

read-only idempotent
get-execution-log

Get an execution log

read-only idempotent

Capability Spec

automate-management-execution-logs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Contentstack Automate Management API — Execution Logs
  description: 'Contentstack Automate Management API — Execution Logs. 2 operations. Lead operation: Get all execution logs.
    Self-contained Naftiko capability covering one Contentstack business surface.'
  tags:
  - Contentstack
  - Execution Logs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: automate-management-execution-logs
    baseUri: https://automations-api.contentstack.com
    description: Contentstack Automate Management API — Execution Logs business capability. Self-contained, no shared references.
    resources:
    - name: v1-organizations-organization_uid-projects-project_uid-executions
      path: /v1/organizations/{organization_uid}/projects/{project_uid}/executions
      operations:
      - name: getallexecutionlogs
        method: GET
        description: Get all execution logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-organizations-organization_uid-projects-project_uid-executions-execution_uid
      path: /v1/organizations/{organization_uid}/projects/{project_uid}/executions/{execution_uid}
      operations:
      - name: getexecutionlog
        method: GET
        description: Get an execution log
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CONTENTSTACK_API_KEY}}'
  exposes:
  - type: rest
    namespace: automate-management-execution-logs-rest
    port: 8080
    description: REST adapter for Contentstack Automate Management API — Execution Logs. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v1/organizations/{organization-uid}/projects/{project-uid}/executions
      name: v1-organizations-organization-uid-projects-project-uid-executions
      description: REST surface for v1-organizations-organization_uid-projects-project_uid-executions.
      operations:
      - method: GET
        name: getallexecutionlogs
        description: Get all execution logs
        call: automate-management-execution-logs.getallexecutionlogs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/organizations/{organization-uid}/projects/{project-uid}/executions/{execution-uid}
      name: v1-organizations-organization-uid-projects-project-uid-executions-execution-uid
      description: REST surface for v1-organizations-organization_uid-projects-project_uid-executions-execution_uid.
      operations:
      - method: GET
        name: getexecutionlog
        description: Get an execution log
        call: automate-management-execution-logs.getexecutionlog
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: automate-management-execution-logs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Contentstack Automate Management API — Execution Logs. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-all-execution-logs
      description: Get all execution logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: automate-management-execution-logs.getallexecutionlogs
      outputParameters:
      - type: object
        mapping: $.
    - name: get-execution-log
      description: Get an execution log
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: automate-management-execution-logs.getexecutionlog
      outputParameters:
      - type: object
        mapping: $.