Balladic Tenancy API

The tenancy API from Balladic — 2 operation(s) for tenancy.

Operations 2

GET /tenancy/workspace Resolve Workspace #
GET /tenancy/workspaces List Workspaces #

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/balladic-com:balladic-com-tenancy-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

balladic-com-tenancy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Balladic Tenancy API
  description: Balladestreger
  version: 0.11.10
tags:
- name: Tenancy
paths:
  /tenancy/workspace:
    get:
      tags:
      - Tenancy
      summary: Resolve Workspace
      description: resolve a host to its org workspace; public, hit on first SPA load.
      operationId: resolve_workspace_tenancy_workspace_get
      parameters:
      - name: host
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Host
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceHostResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tenancy/workspaces:
    get:
      tags:
      - Tenancy
      summary: List Workspaces
      description: the user's workspaces - personal plus each org - for the corner switcher.
      operationId: list_workspaces_tenancy_workspaces_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WorkspaceListItemResponse'
                type: array
                title: Response List Workspaces Tenancy Workspaces Get
      security:
      - HTTPBearer: []
components:
  schemas:
    OrgInvitePolicy:
      type: string
      enum:
      - admins_only
      - all_members
      title: OrgInvitePolicy
    WorkspaceRef:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        avatar_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Key
      type: object
      required:
      - id
      - name
      - slug
      - avatar_key
      title: WorkspaceRef
    OrgResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        avatar_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Key
        default_member_role:
          $ref: '#/components/schemas/OrgRole'
        invite_policy:
          $ref: '#/components/schemas/OrgInvitePolicy'
        auto_add_to_ballads:
          type: boolean
          title: Auto Add To Ballads
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - name
      - slug
      - avatar_key
      - default_member_role
      - invite_policy
      - auto_add_to_ballads
      - created_at
      title: OrgResponse
    OrgRole:
      type: string
      enum:
      - member
      - admin
      - owner
      title: OrgRole
    WorkspaceHostResponse:
      properties:
        organization:
          anyOf:
          - $ref: '#/components/schemas/WorkspaceRef'
          - type: 'null'
      type: object
      required:
      - organization
      title: WorkspaceHostResponse
      description: public org identity a subdomain maps to; organization is null on the apex
    WorkspaceListItemResponse:
      properties:
        organization:
          anyOf:
          - $ref: '#/components/schemas/OrgResponse'
          - type: 'null'
        role:
          anyOf:
          - $ref: '#/components/schemas/OrgRole'
          - type: 'null'
        ballad_count:
          type: integer
          title: Ballad Count
      type: object
      required:
      - organization
      - role
      - ballad_count
      title: WorkspaceListItemResponse
      description: one of the user's workspaces; null organization is personal, counts are member-scoped
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer