naftiko: 1.0.0-alpha2 info: label: Flyte Admin API — Tasks description: 'Flyte Admin API — Tasks. 5 operations. Lead operation: List task identifiers. Self-contained Naftiko capability covering one Flyte business surface.' tags: - Flyte - Tasks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLYTE_API_KEY: FLYTE_API_KEY capability: consumes: - type: http namespace: admin-tasks baseUri: http://localhost:30080 description: Flyte Admin API — Tasks business capability. Self-contained, no shared references. resources: - name: api-v1-task_ids-project-domain path: /api/v1/task_ids/{project}/{domain} operations: - name: listtaskids method: GET description: List task identifiers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: domain in: path type: string required: true - name: api-v1-tasks path: /api/v1/tasks operations: - name: createtask method: POST description: Register a task outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-tasks-id.project-id.domain path: /api/v1/tasks/{id.project}/{id.domain} operations: - name: listtasks method: GET description: List tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.project in: path type: string required: true - name: id.domain in: path type: string required: true - name: api-v1-tasks-id.project-id.domain-id.name path: /api/v1/tasks/{id.project}/{id.domain}/{id.name} operations: - name: listtasksbyname method: GET description: List tasks for a name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.project in: path type: string required: true - name: id.domain in: path type: string required: true - name: id.name in: path type: string required: true - name: api-v1-tasks-id.project-id.domain-id.name-id.version path: /api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version} operations: - name: gettask method: GET description: Retrieve a task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id.project in: path type: string required: true - name: id.domain in: path type: string required: true - name: id.name in: path type: string required: true - name: id.version in: path type: string required: true exposes: - type: rest namespace: admin-tasks-rest port: 8080 description: REST adapter for Flyte Admin API — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/task-ids/{project}/{domain} name: api-v1-task-ids-project-domain description: REST surface for api-v1-task_ids-project-domain. operations: - method: GET name: listtaskids description: List task identifiers call: admin-tasks.listtaskids with: project: rest.project domain: rest.domain outputParameters: - type: object mapping: $. - path: /v1/api/v1/tasks name: api-v1-tasks description: REST surface for api-v1-tasks. operations: - method: POST name: createtask description: Register a task call: admin-tasks.createtask outputParameters: - type: object mapping: $. - path: /v1/api/v1/tasks/{id-project}/{id-domain} name: api-v1-tasks-id-project-id-domain description: REST surface for api-v1-tasks-id.project-id.domain. operations: - method: GET name: listtasks description: List tasks call: admin-tasks.listtasks with: id.project: rest.id.project id.domain: rest.id.domain outputParameters: - type: object mapping: $. - path: /v1/api/v1/tasks/{id-project}/{id-domain}/{id-name} name: api-v1-tasks-id-project-id-domain-id-name description: REST surface for api-v1-tasks-id.project-id.domain-id.name. operations: - method: GET name: listtasksbyname description: List tasks for a name call: admin-tasks.listtasksbyname with: id.project: rest.id.project id.domain: rest.id.domain id.name: rest.id.name outputParameters: - type: object mapping: $. - path: /v1/api/v1/tasks/{id-project}/{id-domain}/{id-name}/{id-version} name: api-v1-tasks-id-project-id-domain-id-name-id-version description: REST surface for api-v1-tasks-id.project-id.domain-id.name-id.version. operations: - method: GET name: gettask description: Retrieve a task call: admin-tasks.gettask with: id.project: rest.id.project id.domain: rest.id.domain id.name: rest.id.name id.version: rest.id.version outputParameters: - type: object mapping: $. - type: mcp namespace: admin-tasks-mcp port: 9090 transport: http description: MCP adapter for Flyte Admin API — Tasks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-task-identifiers description: List task identifiers hints: readOnly: true destructive: false idempotent: true call: admin-tasks.listtaskids with: project: tools.project domain: tools.domain outputParameters: - type: object mapping: $. - name: register-task description: Register a task hints: readOnly: false destructive: false idempotent: false call: admin-tasks.createtask outputParameters: - type: object mapping: $. - name: list-tasks description: List tasks hints: readOnly: true destructive: false idempotent: true call: admin-tasks.listtasks with: id.project: tools.id.project id.domain: tools.id.domain outputParameters: - type: object mapping: $. - name: list-tasks-name description: List tasks for a name hints: readOnly: true destructive: false idempotent: true call: admin-tasks.listtasksbyname with: id.project: tools.id.project id.domain: tools.id.domain id.name: tools.id.name outputParameters: - type: object mapping: $. - name: retrieve-task description: Retrieve a task hints: readOnly: true destructive: false idempotent: true call: admin-tasks.gettask with: id.project: tools.id.project id.domain: tools.id.domain id.name: tools.id.name id.version: tools.id.version outputParameters: - type: object mapping: $.