naftiko: 1.0.0-alpha2 info: label: Qovery API — Organization Event description: 'Qovery API — Organization Event. 2 operations. Lead operation: Get all events inside the organization. Self-contained Naftiko capability covering one Qovery business surface.' tags: - Qovery - Organization Event created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QOVERY_API_KEY: QOVERY_API_KEY capability: consumes: - type: http namespace: qovery-organization-event baseUri: https://api.qovery.com description: Qovery API — Organization Event business capability. Self-contained, no shared references. resources: - name: organization-organizationId-events path: /organization/{organizationId}/events operations: - name: getorganizationevents method: GET description: Get all events inside the organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: pageSize in: query type: number description: The number of events to display in the current page - name: fromTimestamp in: query type: string description: 'Display events triggered since this timestamp. ' - name: toTimestamp in: query type: string description: 'Display events triggered before this timestamp. ' - name: continueToken in: query type: string description: Token used to fetch the next page results - name: stepBackToken in: query type: string description: Token used to fetch the previous page results - name: eventType in: query type: string - name: targetType in: query type: string - name: targetId in: query type: string description: 'The target resource id to search. ' - name: subTargetType in: query type: string - name: triggeredBy in: query type: string description: Information about the owner of the event (user name / apitoken / automatic action) - name: origin in: query type: string - name: serviceProjectId in: query type: string description: The project chosen when filtering on a service type - name: serviceEnvironmentId in: query type: string description: The environment chosen when filtering on a service type - name: organization-organizationId-targets path: /organization/{organizationId}/targets operations: - name: getorganizationeventtargets method: GET description: Get available event targets to filter events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fromTimestamp in: query type: string description: 'Display targets available since this timestamp. ' - name: toTimestamp in: query type: string description: 'Display targets triggered before this timestamp. ' - name: eventType in: query type: string - name: targetType in: query type: string - name: triggeredBy in: query type: string description: Information about the owner of the event (user name / apitoken / automatic action) - name: origin in: query type: string - name: projectId in: query type: string description: Mandatory when requesting an environment or a service - name: environmentId in: query type: string description: Mandatory when requesting a service - name: targetLevelToFetch in: query type: string description: Used only to retrieve projects or environments linked to service typed events authentication: type: bearer token: '{{env.QOVERY_API_KEY}}' exposes: - type: rest namespace: qovery-organization-event-rest port: 8080 description: REST adapter for Qovery API — Organization Event. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organization/{organizationid}/events name: organization-organizationid-events description: REST surface for organization-organizationId-events. operations: - method: GET name: getorganizationevents description: Get all events inside the organization call: qovery-organization-event.getorganizationevents with: pageSize: rest.pageSize fromTimestamp: rest.fromTimestamp toTimestamp: rest.toTimestamp continueToken: rest.continueToken stepBackToken: rest.stepBackToken eventType: rest.eventType targetType: rest.targetType targetId: rest.targetId subTargetType: rest.subTargetType triggeredBy: rest.triggeredBy origin: rest.origin serviceProjectId: rest.serviceProjectId serviceEnvironmentId: rest.serviceEnvironmentId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/targets name: organization-organizationid-targets description: REST surface for organization-organizationId-targets. operations: - method: GET name: getorganizationeventtargets description: Get available event targets to filter events call: qovery-organization-event.getorganizationeventtargets with: fromTimestamp: rest.fromTimestamp toTimestamp: rest.toTimestamp eventType: rest.eventType targetType: rest.targetType triggeredBy: rest.triggeredBy origin: rest.origin projectId: rest.projectId environmentId: rest.environmentId targetLevelToFetch: rest.targetLevelToFetch outputParameters: - type: object mapping: $. - type: mcp namespace: qovery-organization-event-mcp port: 9090 transport: http description: MCP adapter for Qovery API — Organization Event. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-events-inside-organization description: Get all events inside the organization hints: readOnly: true destructive: false idempotent: true call: qovery-organization-event.getorganizationevents with: pageSize: tools.pageSize fromTimestamp: tools.fromTimestamp toTimestamp: tools.toTimestamp continueToken: tools.continueToken stepBackToken: tools.stepBackToken eventType: tools.eventType targetType: tools.targetType targetId: tools.targetId subTargetType: tools.subTargetType triggeredBy: tools.triggeredBy origin: tools.origin serviceProjectId: tools.serviceProjectId serviceEnvironmentId: tools.serviceEnvironmentId outputParameters: - type: object mapping: $. - name: get-available-event-targets-filter description: Get available event targets to filter events hints: readOnly: true destructive: false idempotent: true call: qovery-organization-event.getorganizationeventtargets with: fromTimestamp: tools.fromTimestamp toTimestamp: tools.toTimestamp eventType: tools.eventType targetType: tools.targetType triggeredBy: tools.triggeredBy origin: tools.origin projectId: tools.projectId environmentId: tools.environmentId targetLevelToFetch: tools.targetLevelToFetch outputParameters: - type: object mapping: $.