naftiko: 1.0.0-alpha2 info: label: Render Public API — Workflow Tasks (Beta) description: 'Render Public API — Workflow Tasks (Beta). 7 operations. Lead operation: List task runs. Self-contained Naftiko capability covering one Render business surface.' tags: - Render - Workflow Tasks (Beta) created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RENDER_API_KEY: RENDER_API_KEY capability: consumes: - type: http namespace: render-workflow-tasks-beta baseUri: https://api.render.com/v1 description: Render Public API — Workflow Tasks (Beta) business capability. Self-contained, no shared references. resources: - name: task-runs path: /task-runs operations: - name: listtaskruns method: GET description: List task runs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: rootTaskRunId in: query type: array description: An array of root task run IDs to filter on - name: createtask method: POST description: Run task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: task-runs-events path: /task-runs/events operations: - name: streamtaskrunsevents method: GET description: Stream realtime events (SSE) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: taskRunIds in: query type: array description: Filter to a subset of task run IDs. required: true - name: Accept in: header type: string description: Must be `text/event-stream`. - name: task-runs-taskRunId path: /task-runs/{taskRunId} operations: - name: gettaskrun method: GET description: Retrieve task run outputRawFormat: json outputParameters: - name: result type: object value: $. - name: canceltaskrun method: DELETE description: Cancel task run outputRawFormat: json outputParameters: - name: result type: object value: $. - name: tasks path: /tasks operations: - name: listtasks method: GET description: List tasks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: tasks-taskId path: /tasks/{taskId} operations: - name: gettask method: GET description: Retrieve task outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.RENDER_API_KEY}}' exposes: - type: rest namespace: render-workflow-tasks-beta-rest port: 8080 description: REST adapter for Render Public API — Workflow Tasks (Beta). One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/task-runs name: task-runs description: REST surface for task-runs. operations: - method: GET name: listtaskruns description: List task runs call: render-workflow-tasks-beta.listtaskruns with: rootTaskRunId: rest.rootTaskRunId outputParameters: - type: object mapping: $. - method: POST name: createtask description: Run task call: render-workflow-tasks-beta.createtask with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/task-runs/events name: task-runs-events description: REST surface for task-runs-events. operations: - method: GET name: streamtaskrunsevents description: Stream realtime events (SSE) call: render-workflow-tasks-beta.streamtaskrunsevents with: taskRunIds: rest.taskRunIds Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/task-runs/{taskrunid} name: task-runs-taskrunid description: REST surface for task-runs-taskRunId. operations: - method: GET name: gettaskrun description: Retrieve task run call: render-workflow-tasks-beta.gettaskrun outputParameters: - type: object mapping: $. - method: DELETE name: canceltaskrun description: Cancel task run call: render-workflow-tasks-beta.canceltaskrun outputParameters: - type: object mapping: $. - path: /v1/tasks name: tasks description: REST surface for tasks. operations: - method: GET name: listtasks description: List tasks call: render-workflow-tasks-beta.listtasks outputParameters: - type: object mapping: $. - path: /v1/tasks/{taskid} name: tasks-taskid description: REST surface for tasks-taskId. operations: - method: GET name: gettask description: Retrieve task call: render-workflow-tasks-beta.gettask outputParameters: - type: object mapping: $. - type: mcp namespace: render-workflow-tasks-beta-mcp port: 9090 transport: http description: MCP adapter for Render Public API — Workflow Tasks (Beta). One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-task-runs description: List task runs hints: readOnly: true destructive: false idempotent: true call: render-workflow-tasks-beta.listtaskruns with: rootTaskRunId: tools.rootTaskRunId outputParameters: - type: object mapping: $. - name: run-task description: Run task hints: readOnly: false destructive: false idempotent: false call: render-workflow-tasks-beta.createtask with: body: tools.body outputParameters: - type: object mapping: $. - name: stream-realtime-events-sse description: Stream realtime events (SSE) hints: readOnly: true destructive: false idempotent: true call: render-workflow-tasks-beta.streamtaskrunsevents with: taskRunIds: tools.taskRunIds Accept: tools.Accept outputParameters: - type: object mapping: $. - name: retrieve-task-run description: Retrieve task run hints: readOnly: true destructive: false idempotent: true call: render-workflow-tasks-beta.gettaskrun outputParameters: - type: object mapping: $. - name: cancel-task-run description: Cancel task run hints: readOnly: false destructive: true idempotent: true call: render-workflow-tasks-beta.canceltaskrun outputParameters: - type: object mapping: $. - name: list-tasks description: List tasks hints: readOnly: true destructive: false idempotent: true call: render-workflow-tasks-beta.listtasks outputParameters: - type: object mapping: $. - name: retrieve-task description: Retrieve task hints: readOnly: true destructive: false idempotent: true call: render-workflow-tasks-beta.gettask outputParameters: - type: object mapping: $.