synlake-ai Execution API

Validate execution kits (Terraform/CLI)

Operations 1

POST /execution/validate Validate an execution kit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/synlake-ai:synlake-ai-execution-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

synlake-ai-execution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Synlake Ai Execution API
  version: 0.1.0
  contact:
    name: Synlake
    url: https://synlake.ai
    email: contactcharly00@gmail.com
  license:
    name: Proprietary
  description: 'Operations tagged Execution across 2 of this provider''s published API definitions: api-synlake-openapi.json, synlake-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.synlake.ai/api/v1
  description: Production
security:
- BearerAuth: []
tags:
- name: Execution
  description: Validate execution kits (Terraform/CLI)
paths:
  /execution/validate:
    post:
      operationId: validateExecution
      summary: Validate an execution kit
      description: 'Dry-run validation of Terraform or CLI code. Checks security issues (public access, encryption, IAM), estimates costs, and validates against budget limits. Never executes anything. Cost: $0.05/call.'
      tags:
      - Execution
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateRequest'
            example:
              provider: aws
              execution_type: terraform
              code: "resource \"aws_instance\" \"main\" {\n  ami = \"ami-0c55b159cbfafe1f0\"\n  instance_type = \"t3.xlarge\"\n  root_block_device {\n    volume_size = 100\n    encrypted = true\n  }\n}"
              agent_budget_limit: 150
      responses:
        '200':
          description: Validation result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.synlake.ai/api/v1
      description: Production
components:
  schemas:
    ValidateRequest:
      type: object
      required:
      - provider
      - execution_type
      - code
      properties:
        provider:
          $ref: '#/components/schemas/Provider'
        execution_type:
          type: string
          enum:
          - terraform
          - cli
        code:
          type: string
          description: Terraform HCL or CLI command to validate
        agent_budget_limit:
          type: number
          description: Monthly budget limit in USD
    ValidateResponse:
      type: object
      properties:
        valid:
          type: boolean
        estimated_cost:
          type:
          - number
          - 'null'
        budget_status:
          type: string
          enum:
          - WITHIN_LIMIT
          - EXCEEDS_LIMIT
          - NOT_APPLICABLE
        warnings:
          type: array
          items:
            type: string
        security_checks:
          type: object
          properties:
            public_access:
              type: boolean
            encryption_at_rest:
              type: boolean
            iam_attached:
              type: boolean
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            suggestions:
              type: array
              items:
                type: string
    Provider:
      type: string
      enum:
      - aws
      - gcp
      - azure
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Too many requests
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: UNAUTHORIZED
              message: Missing Authorization Bearer token
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key in format: sk_synlake_...'
x-refined-from:
- api-synlake-openapi.json
- synlake-ai-openapi.json