Okteto Namespaces API

Operations about namespaces (Development or Preview)

Operations 1

GET /namespaces Get list of namespaces managed by the Okteto platform #

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/okteto:okteto-namespaces-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

okteto-namespaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okteto Namespaces API
  version: 0.1.0
  contact:
    email: support@okteto.com
  description: 'Operations tagged namespaces across 2 of this provider''s published API definitions: okteto-public-api-openapi.yaml, okteto-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: Okteto's public URL
  url: https://{oktetoURL}/api/v0
  variables:
    oktetoURL:
      default: okteto.test.com
security:
- BearerAuth: []
tags:
- description: Operations about namespaces (Development or Preview)
  name: Namespaces
paths:
  /namespaces:
    get:
      description: Returns a list of namespaces managed by Okteto.
      operationId: ListNamespaces
      parameters:
      - description: Type of the namespace to filter. Possible values are 'Development' and 'Preview'.
        explode: true
        in: query
        name: type
        required: false
        schema:
          enum:
          - development
          - preview
          type: string
        style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Namespace'
                type: array
          description: Gets the list of namespaces managed by Okteto.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Some or all of the parameters are invalid
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Access token is missing or invalid
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Provided token does not have the necessary permissions to perform the operation
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: An unexpected error
      summary: Get list of namespaces managed by the Okteto platform
      tags:
      - Namespaces
    servers:
    - description: Okteto's public URL
      url: https://{oktetoURL}/api/v0
      variables:
        oktetoURL:
          default: okteto.test.com
components:
  schemas:
    Namespace:
      example:
        lastUpdated: 2000-01-23 04:56:07+00:00
        name: name
        personal: true
        creationDate: 2000-01-23 04:56:07+00:00
        persistent: true
        type: development
        uuid: uuid
        status: Active
      properties:
        creationDate:
          description: Date and time when the namespace was created.
          format: date-time
          type: string
        lastUpdated:
          description: Date and time when the namespace was last updated.
          format: date-time
          type: string
        name:
          description: Name of the namespace.
          type: string
        persistent:
          description: Indicates if the namespace is persistent.
          type: boolean
        personal:
          description: Indicates if the namespace is the default namespace for any user in the instance.
          type: boolean
        status:
          description: Status of the namespace. Possible values are 'Active', 'Inactive', 'Deleted'.
          enum:
          - Active
          - DestroyAllFailed
          - DestroyingAll
          - Deleting
          - Inactive
          - Sleeping
          - DeleteFailed
          type: string
        type:
          description: Type of the namespace. Possible values are 'Development' and 'Preview'.
          enum:
          - development
          - preview
          type: string
        uuid:
          description: Unique identifier of the namespace.
          type: string
      required:
      - creationDate
      - lastUpdated
      - name
      - persistent
      - personal
      - status
      - type
      - uuid
      type: object
    ErrorResponse:
      example:
        message: message
      properties:
        message:
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      scheme: bearer
      type: http
externalDocs:
  description: Find out more about Okteto
  url: https://okteto.com/docs
x-refined-from:
- okteto-public-api-openapi.yaml
- okteto-openapi.yml