openapi: 3.0.0 info: version: 0.0.1 title: Snowflake account api-integration API description: The Snowflake Account API is a REST API that you can use to access, update, and perform certain actions on Account resource in Snowflake. contact: name: Snowflake, Inc. url: https://snowflake.com email: support@snowflake.com servers: - description: Snowflake Account API url: https://org-account.snowflakecomputing.com security: - KeyPair: [] - ExternalOAuth: [] - SnowflakeOAuth: [] tags: - name: api-integration paths: /api/v2/api-integrations: get: summary: List Api Integrations tags: - api-integration description: List API integrations operationId: listAPIIntegrations parameters: - $ref: common.yaml#/components/parameters/like responses: '200': description: successful headers: X-Snowflake-Request-ID: $ref: common.yaml#/components/headers/X-Snowflake-Request-ID Link: $ref: common.yaml#/components/headers/Link content: application/json: schema: type: array items: $ref: '#/components/schemas/ApiIntegration' examples: Listapiintegrations200Example: summary: Default listAPIIntegrations 200 response x-microcks-default: true value: - name: Example Title api_hook: type: AWS api_allowed_prefixes: - example_value api_blocked_prefixes: - example_value enabled: true comment: example_value created_on: '2026-01-15T10:30:00Z' '202': $ref: common.yaml#/components/responses/202SuccessAcceptedResponse '400': $ref: common.yaml#/components/responses/400BadRequest '401': $ref: common.yaml#/components/responses/401Unauthorized '403': $ref: common.yaml#/components/responses/403Forbidden '404': $ref: common.yaml#/components/responses/404NotFound '405': $ref: common.yaml#/components/responses/405MethodNotAllowed '408': $ref: common.yaml#/components/responses/408RequestTimeout '409': $ref: common.yaml#/components/responses/409Conflict '410': $ref: common.yaml#/components/responses/410Gone '429': $ref: common.yaml#/components/responses/429LimitExceeded '500': $ref: common.yaml#/components/responses/500InternalServerError '503': $ref: common.yaml#/components/responses/503ServiceUnavailable '504': $ref: common.yaml#/components/responses/504GatewayTimeout x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: Create an Api Integration tags: - api-integration description: Create an API integration operationId: createAPIIntegration parameters: - $ref: common.yaml#/components/parameters/createMode responses: '200': $ref: common.yaml#/components/responses/200SuccessResponse '202': $ref: common.yaml#/components/responses/202SuccessAcceptedResponse '400': $ref: common.yaml#/components/responses/400BadRequest '401': $ref: common.yaml#/components/responses/401Unauthorized '403': $ref: common.yaml#/components/responses/403Forbidden '404': $ref: common.yaml#/components/responses/404NotFound '405': $ref: common.yaml#/components/responses/405MethodNotAllowed '408': $ref: common.yaml#/components/responses/408RequestTimeout '409': $ref: common.yaml#/components/responses/409Conflict '410': $ref: common.yaml#/components/responses/410Gone '429': $ref: common.yaml#/components/responses/429LimitExceeded '500': $ref: common.yaml#/components/responses/500InternalServerError '503': $ref: common.yaml#/components/responses/503ServiceUnavailable '504': $ref: common.yaml#/components/responses/504GatewayTimeout requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ApiIntegration' examples: CreateapiintegrationRequestExample: summary: Default createAPIIntegration request x-microcks-default: true value: name: Example Title api_hook: type: AWS api_allowed_prefixes: - example_value api_blocked_prefixes: - example_value enabled: true comment: example_value created_on: '2026-01-15T10:30:00Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK /api/v2/api-integrations/{name}: get: summary: Fetch an Api Integration tags: - api-integration description: Fetch an API integration operationId: fetchAPIIntegration parameters: - $ref: common.yaml#/components/parameters/name responses: '200': description: successful headers: X-Snowflake-Request-ID: $ref: common.yaml#/components/headers/X-Snowflake-Request-ID Link: $ref: common.yaml#/components/headers/Link content: application/json: schema: $ref: '#/components/schemas/ApiIntegration' examples: Fetchapiintegration200Example: summary: Default fetchAPIIntegration 200 response x-microcks-default: true value: name: Example Title api_hook: type: AWS api_allowed_prefixes: - example_value api_blocked_prefixes: - example_value enabled: true comment: example_value created_on: '2026-01-15T10:30:00Z' '202': $ref: common.yaml#/components/responses/202SuccessAcceptedResponse '400': $ref: common.yaml#/components/responses/400BadRequest '401': $ref: common.yaml#/components/responses/401Unauthorized '403': $ref: common.yaml#/components/responses/403Forbidden '404': $ref: common.yaml#/components/responses/404NotFound '405': $ref: common.yaml#/components/responses/405MethodNotAllowed '408': $ref: common.yaml#/components/responses/408RequestTimeout '409': $ref: common.yaml#/components/responses/409Conflict '410': $ref: common.yaml#/components/responses/410Gone '429': $ref: common.yaml#/components/responses/429LimitExceeded '500': $ref: common.yaml#/components/responses/500InternalServerError '503': $ref: common.yaml#/components/responses/503ServiceUnavailable '504': $ref: common.yaml#/components/responses/504GatewayTimeout x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: Create an (or Alter an Existing) Api Integration tags: - api-integration description: Create an (or alter an existing) API integration. Note that API_KEY is not currently altered by this operation and is supported for a newly-created object only. Unsetting API_BLOCKED_PREFIXES is also unsupported. operationId: createOrAlterAPIIntegration parameters: - $ref: common.yaml#/components/parameters/name responses: '200': $ref: common.yaml#/components/responses/200SuccessResponse '202': $ref: common.yaml#/components/responses/202SuccessAcceptedResponse '400': $ref: common.yaml#/components/responses/400BadRequest '401': $ref: common.yaml#/components/responses/401Unauthorized '403': $ref: common.yaml#/components/responses/403Forbidden '404': $ref: common.yaml#/components/responses/404NotFound '405': $ref: common.yaml#/components/responses/405MethodNotAllowed '500': $ref: common.yaml#/components/responses/500InternalServerError '503': $ref: common.yaml#/components/responses/503ServiceUnavailable '504': $ref: common.yaml#/components/responses/504GatewayTimeout requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ApiIntegration' examples: CreateoralterapiintegrationRequestExample: summary: Default createOrAlterAPIIntegration request x-microcks-default: true value: name: Example Title api_hook: type: AWS api_allowed_prefixes: - example_value api_blocked_prefixes: - example_value enabled: true comment: example_value created_on: '2026-01-15T10:30:00Z' x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: Delete an Api Integration tags: - api-integration description: Delete an API integration operationId: deleteAPIIntegration parameters: - $ref: common.yaml#/components/parameters/name - $ref: common.yaml#/components/parameters/ifExists responses: '200': $ref: common.yaml#/components/responses/200SuccessResponse '202': $ref: common.yaml#/components/responses/202SuccessAcceptedResponse '400': $ref: common.yaml#/components/responses/400BadRequest '401': $ref: common.yaml#/components/responses/401Unauthorized '403': $ref: common.yaml#/components/responses/403Forbidden '404': $ref: common.yaml#/components/responses/404NotFound '405': $ref: common.yaml#/components/responses/405MethodNotAllowed '408': $ref: common.yaml#/components/responses/408RequestTimeout '409': $ref: common.yaml#/components/responses/409Conflict '410': $ref: common.yaml#/components/responses/410Gone '429': $ref: common.yaml#/components/responses/429LimitExceeded '500': $ref: common.yaml#/components/responses/500InternalServerError '503': $ref: common.yaml#/components/responses/503ServiceUnavailable '504': $ref: common.yaml#/components/responses/504GatewayTimeout x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: ApiHook: type: object properties: type: type: string enum: - AWS - AZURE - GC - GIT description: Type of ApiHook, can be AWS, AZURE, GC or GIT. example: AWS required: - type discriminator: propertyName: type mapping: AWS: AwsHook AZURE: AzureHook GC: GoogleCloudHook GIT: GitHook ApiIntegration: type: object description: A Snowflake API integration object. properties: name: type: string pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$ description: Name of the API integration. example: Example Title api_hook: $ref: '#/components/schemas/ApiHook' api_allowed_prefixes: type: array items: type: string description: A comma-separated list of endpoints and resources that Snowflake can access. example: [] api_blocked_prefixes: type: array items: type: string description: A comma-separated list of endpoints and resources that are not allowed to be called from Snowflake. nullable: true example: [] enabled: type: boolean description: Whether the API integration is enabled. example: true comment: type: string description: Comment for the API integration. nullable: true example: example_value created_on: type: string format: date-time readOnly: true description: Date and time when the API integration was created. example: '2026-01-15T10:30:00Z' required: - name - api_hook - api_allowed_prefixes - enabled securitySchemes: KeyPair: $ref: common.yaml#/components/securitySchemes/KeyPair ExternalOAuth: $ref: common.yaml#/components/securitySchemes/ExternalOAuth SnowflakeOAuth: $ref: common.yaml#/components/securitySchemes/SnowflakeOAuth