> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usealmanac.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Topic



## OpenAPI

````yaml /openapi.json get /v1/wikis/{wiki_id}/topics/{topic}
openapi: 3.1.0
info:
  description: Versioned API for hosted Almanac wikis.
  title: Almanac V1 API
  version: 0.5.0
servers:
  - url: https://api.usealmanac.com
security:
  - bearerAuth: []
tags:
  - description: Session, onboarding, overview, and email preferences.
    name: Account
  - description: Workspace discovery and details.
    name: Workspaces
  - description: Wiki creation, listing, and details.
    name: Wikis
  - description: Wiki pages, search, topics, and provenance.
    name: Pages
  - description: Source records, trees, search, and original files.
    name: Sources
  - description: Source uploads and upload records.
    name: Uploads
  - description: Ingest and Garden jobs, events, and outcomes.
    name: Jobs
  - description: Workspace-scoped developer keys.
    name: API keys
  - description: Workspace membership and invitations.
    name: Members
  - description: Workspace plans, usage, and billing portal.
    name: Billing
paths:
  /v1/wikis/{wiki_id}/topics/{topic}:
    get:
      tags:
        - Pages
      summary: Topic
      operationId: topic_v1_wikis__wiki_id__topics__topic__get
      parameters:
        - in: path
          name: wiki_id
          required: true
          schema:
            title: Wiki Id
            type: string
        - in: path
          name: topic
          required: true
          schema:
            title: Topic
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostedTopicDetail'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
                required:
                  - error
                  - message
                  - request_id
                type: object
          description: Invalid request
components:
  schemas:
    HostedTopicDetail:
      additionalProperties: false
      properties:
        pages:
          items:
            $ref: '#/components/schemas/HostedPageSummary'
          title: Pages
          type: array
        topic:
          title: Topic
          type: string
      required:
        - topic
        - pages
      title: HostedTopicDetail
      type: object
    HostedPageSummary:
      additionalProperties: false
      properties:
        page_id:
          title: Page Id
          type: string
        path:
          title: Path
          type: string
        status:
          $ref: '#/components/schemas/HostedPageStatus'
        title:
          title: Title
          type: string
        updated_at:
          title: Updated At
          type: string
        wiki_id:
          title: Wiki Id
          type: string
      required:
        - page_id
        - wiki_id
        - path
        - title
        - status
        - updated_at
      title: HostedPageSummary
      type: object
    HostedPageStatus:
      enum:
        - active
        - archived
      title: HostedPageStatus
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: Almanac access token or API key
      scheme: bearer
      type: http

````