Balladic Narrative API

The narrative API from Balladic — 8 operation(s) for narrative.

Operations 8

GET /narrative Get Narrative #
GET /narrative/first Get First Narrative #
POST /narrative/first/seen See First Narrative #
GET /narrative/ballads Get Ballad Narratives #
GET /narrative/ballads/{project_id} Get Ballad Narrative #
GET /narrative/{user_id} Get Narrative For User #
POST /narrative/refresh Refresh Narrative #
POST /narrative/ballads/refresh Refresh Ballad Narratives #

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-narrative-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-narrative-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Balladic Narrative API
  description: Balladestreger
  version: 0.11.10
tags:
- name: narrative
paths:
  /narrative:
    get:
      tags:
      - narrative
      summary: Get Narrative
      operationId: get_narrative_narrative_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NarrativeCompositionResponse'
      security:
      - HTTPBearer: []
  /narrative/first:
    get:
      tags:
      - narrative
      summary: Get First Narrative
      operationId: get_first_narrative_narrative_first_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FirstNarrativeResponse'
      security:
      - HTTPBearer: []
  /narrative/first/seen:
    post:
      tags:
      - narrative
      summary: See First Narrative
      operationId: see_first_narrative_narrative_first_seen_post
      responses:
        '204':
          description: Successful Response
      security:
      - HTTPBearer: []
  /narrative/ballads:
    get:
      tags:
      - narrative
      summary: Get Ballad Narratives
      operationId: get_ballad_narratives_narrative_ballads_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/NarrativeBalladResponse'
                type: array
                title: Response Get Ballad Narratives Narrative Ballads Get
      security:
      - HTTPBearer: []
  /narrative/ballads/{project_id}:
    get:
      tags:
      - narrative
      summary: Get Ballad Narrative
      operationId: get_ballad_narrative_narrative_ballads__project_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NarrativeBalladResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /narrative/{user_id}:
    get:
      tags:
      - narrative
      summary: Get Narrative For User
      operationId: get_narrative_for_user_narrative__user_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NarrativeCompositionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /narrative/refresh:
    post:
      tags:
      - narrative
      summary: Refresh Narrative
      operationId: refresh_narrative_narrative_refresh_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NarrativeCompositionResponse'
      security:
      - HTTPBearer: []
  /narrative/ballads/refresh:
    post:
      tags:
      - narrative
      summary: Refresh Ballad Narratives
      operationId: refresh_ballad_narratives_narrative_ballads_refresh_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/NarrativeBalladResponse'
                type: array
                title: Response Refresh Ballad Narratives Narrative Ballads Refresh Post
      security:
      - HTTPBearer: []
components:
  schemas:
    NarrativeCompositionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        spec:
          additionalProperties: true
          type: object
          title: Spec
        state:
          additionalProperties: true
          type: object
          title: State
        generated_at:
          type: string
          format: date-time
          title: Generated At
      type: object
      required:
      - id
      - spec
      - state
      - generated_at
      title: NarrativeCompositionResponse
    NarrativeBalladResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        project_id:
          type: string
          format: uuid
          title: Project Id
        project_title:
          type: string
          title: Project Title
        project_slug:
          type: string
          title: Project Slug
        project_color:
          type: string
          title: Project Color
        kind:
          $ref: '#/components/schemas/NarrativeBalladKind'
        spec:
          additionalProperties: true
          type: object
          title: Spec
        state:
          additionalProperties: true
          type: object
          title: State
        generated_at:
          type: string
          format: date-time
          title: Generated At
      type: object
      required:
      - id
      - project_id
      - project_title
      - project_slug
      - project_color
      - kind
      - spec
      - state
      - generated_at
      title: NarrativeBalladResponse
    NarrativeBalladKind:
      type: string
      enum:
      - periodic
      - retrospect
      title: NarrativeBalladKind
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FirstNarrativeResponse:
      properties:
        state:
          type: string
          enum:
          - hidden
          - gathering
          - composing
          - ready
          title: State
        step:
          type: integer
          title: Step
        steps:
          type: integer
          title: Steps
        next:
          anyOf:
          - type: string
            enum:
            - start_ballad
            - add_tasks
            - finish_task
          - type: 'null'
          title: Next
        organization_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Organization Id
      type: object
      required:
      - state
      - step
      - steps
      - next
      - organization_id
      title: FirstNarrativeResponse
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer