Kestra Files API

Manage namespace files.

Operations 3

GET /api/v1/namespaces/{namespace}/files List namespace files #
GET /api/v1/namespaces/{namespace}/files/file Download a namespace file #
POST /api/v1/namespaces/{namespace}/files/file Upload a namespace file #

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/kestra-files-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

kestra-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kestra Open Source REST Executions Files API
  description: 'REST API for the Kestra open source workflow orchestration platform. Covers

    flow definitions, executions, namespaces, triggers, key-value store, and

    namespace files. Documented at https://kestra.io/docs/api-reference/open-source.

    The Kestra server defaults to basic authentication and exposes the API under

    the `/api/v1/` prefix on the configured host.

    '
  version: 1.0.0
  contact:
    name: Kestra
    url: https://kestra.io/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:8080
  description: Default local Kestra server.
- url: https://{host}
  description: Self-hosted Kestra deployment.
  variables:
    host:
      default: kestra.example.com
security:
- basicAuth: []
tags:
- name: Files
  description: Manage namespace files.
paths:
  /api/v1/namespaces/{namespace}/files:
    parameters:
    - $ref: '#/components/parameters/Namespace'
    get:
      tags:
      - Files
      summary: List namespace files
      operationId: listNamespaceFiles
      parameters:
      - name: path
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: A list of files at the given path.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NamespaceFile'
  /api/v1/namespaces/{namespace}/files/file:
    parameters:
    - $ref: '#/components/parameters/Namespace'
    get:
      tags:
      - Files
      summary: Download a namespace file
      operationId: downloadNamespaceFile
      parameters:
      - name: path
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: File contents.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
    post:
      tags:
      - Files
      summary: Upload a namespace file
      operationId: uploadNamespaceFile
      parameters:
      - name: path
        in: query
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                fileContent:
                  type: string
                  format: binary
      responses:
        '204':
          description: File uploaded.
components:
  parameters:
    Namespace:
      name: namespace
      in: path
      required: true
      schema:
        type: string
  schemas:
    NamespaceFile:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
          enum:
          - DIRECTORY
          - FILE
        size:
          type: integer
        lastModifiedTime:
          type: string
          format: date-time
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Optional HTTP basic authentication for self-hosted Kestra instances.