Tinybird Environment Variables API

Create and manage workspace variables

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v0/env_vars List environment variables · List Environment Variables #
Ask an LLM
“Which environment variables are set in my workspace?”
“What values do my pipe environment variables have?”
Tell an agent
List all environment variables.
Show every workspace environment variable and its value.
POST /v0/env_vars Create an environment variable · Create Environment Variable #
Ask an LLM
“How do I add a new environment variable for use in my pipes?”
“Can I set a value for a new environment variable?”
Tell an agent
Create environment variable {name} with value {value}.
Add a new workspace environment variable {name} set to {value}.
PUT /v0/env_vars/{name} Update an environment variable · Update Environment Variable #
Ask an LLM
“How do I change the value of an existing environment variable?”
“Can I overwrite a pipe environment variable's value?”
Tell an agent
Set environment variable {name} to {value}.
Update the value of existing environment variable {name}.
DELETE /v0/env_vars/{name} Delete an environment variable · Delete Environment Variable #
Ask an LLM
“How do I remove an environment variable from my workspace?”
“Can I delete an environment variable I no longer use?”
Tell an agent destructive · confirm first
Delete environment variable {name}.
Remove the {name} environment variable from the workspace.

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/tinybird:tinybird-environment-variables-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

tinybird-environment-variables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tinybird Environment Variables API
  description: Tinybird is a real-time data platform that allows you to ingest, process, and expose data through low-latency, high-concurrency APIs. The Tinybird API provides endpoints for managing data sources, pipes, queries, tokens, jobs, organizations, events, environment variables, and sink pipes.
  version: v0
  contact:
    name: Tinybird Support
    url: https://www.tinybird.co/docs
  x-logo:
    url: https://www.tinybird.co/logo.png
servers:
- url: https://api.tinybird.co
  description: Europe (Frankfurt) - Default
- url: https://api.us-east.tinybird.co
  description: US East (Virginia)
- url: https://api.europe-west2.gcp.tinybird.co
  description: Europe (London)
- url: https://api.northamerica-northeast2.gcp.tinybird.co
  description: North America (Toronto)
security:
- bearerAuth: []
tags:
- name: Environment Variables
  description: Create and manage workspace variables
paths:
  /v0/env_vars:
    get:
      operationId: listEnvironmentVariables
      summary: List Environment Variables
      description: List all environment variables in the workspace.
      tags:
      - Environment Variables
      responses:
        '200':
          description: List of environment variables
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvVarList'
    post:
      operationId: createEnvironmentVariable
      summary: Create Environment Variable
      description: Create a new environment variable for use within pipes.
      tags:
      - Environment Variables
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvVarCreate'
      responses:
        '200':
          description: Environment variable created
  /v0/env_vars/{name}:
    put:
      operationId: updateEnvironmentVariable
      summary: Update Environment Variable
      description: Update an existing environment variable's value.
      tags:
      - Environment Variables
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvVarUpdate'
      responses:
        '200':
          description: Environment variable updated
    delete:
      operationId: deleteEnvironmentVariable
      summary: Delete Environment Variable
      description: Delete an environment variable from the workspace.
      tags:
      - Environment Variables
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Environment variable deleted
components:
  schemas:
    EnvVarUpdate:
      type: object
      properties:
        value:
          type: string
    EnvVarCreate:
      type: object
      required:
      - name
      - value
      properties:
        name:
          type: string
        value:
          type: string
    EnvVar:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
    EnvVarList:
      type: object
      properties:
        env_vars:
          type: array
          items:
            $ref: '#/components/schemas/EnvVar'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Tinybird authentication token