taivo Projects API

The Projects API from taivo, for projects.

GitHub OpenAPI

Operations 23

GET /api/projects List Projects #
POST /api/projects Create Project #
POST /api/projects/{project}/environments Add Environment #
DELETE /api/projects/{project}/environments/{env} Delete Environment #
GET /api/projects/{project}/delete-plan Get Delete Plan #
DELETE /api/projects/{project} Delete Project #
POST /api/projects/{project}/promote Promote #
POST /api/projects/{project}/deploy Deploy Commit #
GET /api/projects/{project}/environments/{env}/vars Get Vars #
PUT /api/projects/{project}/environments/{env}/vars Put Vars #
GET /api/projects/{project}/environments/{env}/tasks Get Tasks #
PUT /api/projects/{project}/environments/{env}/tasks Put Tasks #
POST /api/projects/{project}/environments/{env}/tasks/{task}/run Run Task #
GET /api/projects/{project}/environments/{env}/tasks/{task}/log Task Log #
POST /api/projects/{project}/environments/{env}/migrations/{version}/mark-applied Mark Migration Applied #
POST /api/projects/{project}/environments/{env}/restart Restart Service #
GET /api/projects/{project}/environments/{env}/logs Service Logs #
POST /api/projects/{project}/sync Sync Data #
GET /api/projects/{project}/deploys List Deploys #
POST /api/projects/{project}/environments/{env}/supabase/update Update Env #
POST /api/projects/{project}/environments/{env}/supabase/rollback Rollback Env #
GET /api/projects/{project}/environments/{env}/restore-points Restore Points #
POST /api/projects/{project}/environments/{env}/restore Restore #

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/taivo-eu:taivo-eu-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

taivo-eu-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Supabase Provisioner Projects API
  version: 0.1.0
tags:
- name: Projects
paths:
  /api/projects:
    get:
      summary: List Projects
      operationId: list_projects_api_projects_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response List Projects Api Projects Get
      tags:
      - Projects
    post:
      summary: Create Project
      operationId: create_project_api_projects_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Create Project Api Projects Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments:
    post:
      summary: Add Environment
      operationId: add_environment_api_projects__project__environments_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvironmentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Add Environment Api Projects  Project  Environments Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}:
    delete:
      summary: Delete Environment
      description: 'Remove an environment: site, service, tasks, DNS and - if it has one - its own Supabase stack.'
      operationId: delete_environment_api_projects__project__environments__env__delete
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvDelete'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Delete Environment Api Projects  Project  Environments  Env  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/delete-plan:
    get:
      summary: Get Delete Plan
      operationId: get_delete_plan_api_projects__project__delete_plan_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Delete Plan Api Projects  Project  Delete Plan Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}:
    delete:
      summary: Delete Project
      description: 'Take a whole project down: every environment (sites, stacks, tasks, DNS), the repository,

        and - if asked - the servers that only this project used. A person, an administrator, the name typed.'
      operationId: delete_project_api_projects__project__delete
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectDelete'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Delete Project Api Projects  Project  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/promote:
    post:
      summary: Promote
      description: 'Put the commit currently live on one environment onto the next one.


        Promotion moves a commit, not a build: the target rebuilds with its own

        Supabase values, because those are inlined at build time.'
      operationId: promote_api_projects__project__promote_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromoteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Promote Api Projects  Project  Promote Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/deploy:
    post:
      summary: Deploy Commit
      description: Rebuild a commit for an environment - a rollback is just an older commit.
      operationId: deploy_commit_api_projects__project__deploy_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeployRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Deploy Commit Api Projects  Project  Deploy Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/vars:
    get:
      summary: Get Vars
      operationId: get_vars_api_projects__project__environments__env__vars_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response Get Vars Api Projects  Project  Environments  Env  Vars Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
    put:
      summary: Put Vars
      description: Replace the environment's variables. Takes effect on the next deploy or restart.
      operationId: put_vars_api_projects__project__environments__env__vars_put
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VarsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Put Vars Api Projects  Project  Environments  Env  Vars Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/tasks:
    get:
      summary: Get Tasks
      operationId: get_tasks_api_projects__project__environments__env__tasks_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response Get Tasks Api Projects  Project  Environments  Env  Tasks Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
    put:
      summary: Put Tasks
      description: Replace the environment's tasks and (re)install their schedules on the server.
      operationId: put_tasks_api_projects__project__environments__env__tasks_put
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TasksRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Put Tasks Api Projects  Project  Environments  Env  Tasks Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/tasks/{task}/run:
    post:
      summary: Run Task
      description: Run a task now. Returns when it finishes (or after 10 minutes, still running).
      operationId: run_task_api_projects__project__environments__env__tasks__task__run_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: task
        in: path
        required: true
        schema:
          type: string
          title: Task
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Run Task Api Projects  Project  Environments  Env  Tasks  Task  Run Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/tasks/{task}/log:
    get:
      summary: Task Log
      operationId: task_log_api_projects__project__environments__env__tasks__task__log_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: task
        in: path
        required: true
        schema:
          type: string
          title: Task
      - name: lines
        in: query
        required: false
        schema:
          type: integer
          default: 200
          title: Lines
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Task Log Api Projects  Project  Environments  Env  Tasks  Task  Log Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/migrations/{version}/mark-applied:
    post:
      summary: Mark Migration Applied
      description: 'Record a migration as applied without running it - for the case where what

        it creates is already there. Dev and test only; production is a person''s

        decision made with a restore point, not a shortcut.'
      operationId: mark_migration_applied_api_projects__project__environments__env__migrations__version__mark_applied_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: version
        in: path
        required: true
        schema:
          type: string
          title: Version
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Mark Migration Applied Api Projects  Project  Environments  Env  Migrations  Version  Mark Applied Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/restart:
    post:
      summary: Restart Service
      description: Restart a running service with the current variables, without rebuilding.
      operationId: restart_service_api_projects__project__environments__env__restart_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Restart Service Api Projects  Project  Environments  Env  Restart Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/logs:
    get:
      summary: Service Logs
      operationId: service_logs_api_projects__project__environments__env__logs_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      - name: lines
        in: query
        required: false
        schema:
          type: integer
          default: 200
          title: Lines
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Service Logs Api Projects  Project  Environments  Env  Logs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/sync:
    post:
      summary: Sync Data
      description: 'Copy one environment''s data down to another.


        Reads the source''s latest backup, never its live database. Only flows

        downward (prod -> test -> dev). Personal data is masked unless an

        administrator explicitly turns that off. Replaces the target''s data.'
      operationId: sync_data_api_projects__project__sync_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Sync Data Api Projects  Project  Sync Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/deploys:
    get:
      summary: List Deploys
      operationId: list_deploys_api_projects__project__deploys_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response List Deploys Api Projects  Project  Deploys Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/supabase/update:
    post:
      summary: Update Env
      operationId: update_env_api_projects__project__environments__env__supabase_update_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Env Api Projects  Project  Environments  Env  Supabase Update Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/supabase/rollback:
    post:
      summary: Rollback Env
      operationId: rollback_env_api_projects__project__environments__env__supabase_rollback_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rollback Env Api Projects  Project  Environments  Env  Supabase Rollback Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/restore-points:
    get:
      summary: Restore Points
      operationId: restore_points_api_projects__project__environments__env__restore_points_get
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Restore Points Api Projects  Project  Environments  Env  Restore Points Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
  /api/projects/{project}/environments/{env}/restore:
    post:
      summary: Restore
      description: Restore the environment's database. Administrator, typed name; a person, not a token.
      operationId: restore_api_projects__project__environments__env__restore_post
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
          title: Project
      - name: env
        in: path
        required: true
        schema:
          type: string
          title: Env
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestoreRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Restore Api Projects  Project  Environments  Env  Restore Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Projects
components:
  schemas:
    TaskDef:
      properties:
        name:
          type: string
          title: Name
        command:
          type: string
          title: Command
        schedule:
          anyOf:
          - type: string
          - type: 'null'
          title: Schedule
        enabled:
          type: boolean
          title: Enabled
          default: true
        timeout_s:
          type: integer
          title: Timeout S
          default: 3600
      type: object
      required:
      - name
      - command
      title: TaskDef
    PromoteRequest:
      properties:
        from_env:
          type: string
          title: From Env
        to_env:
          type: string
          title: To Env
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      required:
      - from_env
      - to_env
      title: PromoteRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    VarsRequest:
      properties:
        vars:
          additionalProperties:
            type: string
          type: object
          title: Vars
        secret:
          items:
            type: string
          type: array
          title: Secret
          default: []
      type: object
      required:
      - vars
      title: VarsRequest
    SyncRequest:
      properties:
        from_env:
          type: string
          title: From Env
        to_env:
          type: string
          title: To Env
        mask:
          type: boolean
          title: Mask
          default: true
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      required:
      - from_env
      - to_env
      title: SyncRequest
    ProjectDelete:
      properties:
        confirm:
          type: string
          title: Confirm
          default: ''
        destroy_servers:
          type: boolean
          title: Destroy Servers
          default: false
      type: object
      title: ProjectDelete
    UpdateRequest:
      properties:
        ref:
          type: string
          title: Ref
          default: ''
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      title: UpdateRequest
    DeployRequest:
      properties:
        environment:
          type: string
          title: Environment
        commit:
          type: string
          title: Commit
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      required:
      - environment
      - commit
      title: DeployRequest
    RestoreRequest:
      properties:
        kind:
          type: string
          title: Kind
        target:
          type: string
          title: Target
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      required:
      - kind
      - target
      title: RestoreRequest
    ProjectRequest:
      properties:
        name:
          type: string
          title: Name
        github_repo:
          type: string
          title: Github Repo
          default: ''
        github_branch:
          type: string
          title: Github Branch
          default: main
      type: object
      required:
      - name
      title: ProjectRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EnvDelete:
      properties:
        confirm:
          type: string
          title: Confirm
          default: ''
      type: object
      title: EnvDelete
    EnvironmentRequest:
      properties:
        name:
          type: string
          title: Name
        server_name:
          type: string
          title: Server Name
        domain:
          type: string
          title: Domain
          default: ''
        branch:
          type: string
          title: Branch
          default: ''
        rank:
          type: integer
          title: Rank
          default: 1
        is_production:
          type: boolean
          title: Is Production
          default: false
        stack:
          type: string
          title: Stack
          default: ''
        stack_profile:
          type: string
          title: Stack Profile
          default: full
      type: object
      required:
      - name
      - server_name
      title: EnvironmentRequest
    TasksRequest:
      properties:
        tasks:
          items:
            $ref: '#/components/schemas/TaskDef'
          type: array
          title: Tasks
      type: object
      required:
      - tasks
      title: TasksRequest