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

# Get Wiki Graph Seed

> Retrieve an initial set of nodes and edges for graph visualization. Optionally filter by page type,
creation date, or search keyword.

Returns 402 if wiki is not plan-eligible or not activated.




## OpenAPI

````yaml /openapi.yaml get /v1/external/workspaces/{workspaceGuid}/wiki/graph/seed
openapi: 3.1.0
info:
  title: Tiro API
  description: AI-powered note-taking and voice file processing API
  version: 1.0.0
  contact:
    name: Tiro Support
    email: support@tiro.ooo
    url: https://tiro.ooo
servers:
  - url: https://api.tiro.ooo
    description: Production server
security:
  - BearerAuth: []
tags:
  - name: Note
    description: Operations for managing notes and their paragraphs
  - name: Note Share Link
    description: Manage share links for notes
  - name: Note Summary
    description: Operations for retrieving note summaries
  - name: Note Document
    description: Template-based document generation from notes
  - name: Note Document Template
    description: Operations for managing note document templates
  - name: Folder
    description: Operations for retrieving folders
  - name: Voice File
    description: Operations for voice file processing
  - name: Word Memory
    description: >
      Manage word memories to improve voice transcription accuracy. Register
      important terms like company names, people's names, and product names so
      Tiro recognizes them precisely during recording. Personal word memories
      (User) and a workspace's shared word memories (Workspace) are managed
      separately. The legacy team word memory endpoints
      (`/v1/external/teams/me/word-memories`) are deprecated — removed on
      2026-06-30 — in favor of the workspace-explicit
      `/v1/external/workspaces/{workspaceGuid}/word-memories`.
  - name: Wiki
    description: |
      Access workspace wikis — unified knowledge graphs built from notes.
      Requires a workspace with wiki plan and activation enabled.
  - name: Organization
    description: >
      Endpoints for organization API keys. An organization key is issued by an

      organization admin, carries fixed scopes chosen at issuance, and can reach

      the notes in every workspace that belongs to the organization. Built for

      server-to-server integrations such as CRM sync — receive `note.ended`
      webhook

      events, generate documents for notes, and reconcile with the organization

      notes list.
  - name: Organization Management
    description: Operations for the authenticated user's organization.
paths:
  /v1/external/workspaces/{workspaceGuid}/wiki/graph/seed:
    get:
      tags:
        - Wiki
      summary: Get Wiki Graph Seed
      description: >
        Retrieve an initial set of nodes and edges for graph visualization.
        Optionally filter by page type,

        creation date, or search keyword.


        Returns 402 if wiki is not plan-eligible or not activated.
      operationId: getWikiGraphSeed
      parameters:
        - name: workspaceGuid
          in: path
          description: Workspace GUID
          required: true
          schema:
            type: string
        - name: type
          in: query
          description: Filter by page type (ENTITY, MENTION, CUSTOM, etc.)
          required: false
          schema:
            type: string
        - name: since
          in: query
          description: ISO 8601 datetime — include only pages updated on or after this time
          required: false
          schema:
            type: string
            format: date-time
        - name: q
          in: query
          description: Optional search keyword to filter the seed
          required: false
          schema:
            type: string
        - name: folderId
          in: query
          description: |
            Restrict the seed graph to wiki pages mentioned by notes inside this
            folder, including its descendant folders (recursive). An empty,
            nonexistent, or inaccessible folder yields an empty graph. The value
            must be numeric; a non-numeric value returns 400.
          required: false
          schema:
            type: integer
            format: int64
        - name: limit
          in: query
          description: Maximum nodes to return (default 200, max 200)
          required: false
          schema:
            type: integer
            default: 200
            minimum: 1
            maximum: 200
      responses:
        '200':
          description: Wiki graph with nodes and edges
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WikiGraphResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Wiki plan requirement not met or not activated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WikiPlanRequired'
        '404':
          description: Workspace not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WikiGraphResponse:
      type: object
      required:
        - nodes
        - edges
      properties:
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/WikiGraphNode'
          description: List of wiki page nodes
        edges:
          type: array
          items:
            $ref: '#/components/schemas/WikiGraphEdge'
          description: List of links between nodes
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - errorType
            - message
          properties:
            code:
              type: integer
              description: >
                6-digit error code in `AAABBB` form: first 3 digits match the
                HTTP status,

                last 3 digits are a per-status serial (e.g. `404018`). Use only
                when you need

                to distinguish specific error cases within the same HTTP status
                — values may be

                added or renumbered across releases. For general client
                branching, prefer `errorType`.
              example: 404018
            errorType:
              type: string
              description: >
                Stable, coarse-grained error category. Recommended default for
                client-side

                branching: the value-to-status mapping is part of the API
                contract and will not

                change without a breaking-change notice. Typical use:
                  - `unauthorized` → trigger re-authentication
                  - `forbidden` → surface a permission error to the user
                  - `not_found` → treat as missing resource
                  - `too_many_requests` → back off and retry
                  - `internal_error` → retry with exponential backoff
              enum:
                - bad_request
                - unauthorized
                - forbidden
                - not_found
                - not_acceptable
                - conflict
                - payload_too_large
                - unprocessable_entity
                - too_many_requests
                - internal_error
              example: not_found
            message:
              type: string
              description: >-
                Human-readable error message. Not stable; do not use for
                branching.
              example: 'No team found for user #217'
            detail:
              type: string
              nullable: true
              description: Additional error details
              example: null
    WikiPlanRequired:
      type: object
      required:
        - error_code
        - message
        - status_code
      properties:
        success:
          type: boolean
          description: Always false for error responses
          example: false
        error_code:
          type: string
          enum:
            - WIKI_PLAN_REQUIRED
            - WIKI_NOT_ACTIVATED
          description: >
            Machine-readable error code:

            - `WIKI_PLAN_REQUIRED` — plan does not include wiki

            - `WIKI_NOT_ACTIVATED` — plan is eligible but admin has not
            activated wiki
          example: WIKI_PLAN_REQUIRED
        message:
          type: string
          description: Human-readable error message
          example: 위키 기능은 Pro 이상 요금제에서 사용할 수 있어요.
        current_plan:
          type: string
          nullable: true
          description: Current plan name, or null if no subscription
          example: Lite
        required_plans:
          type: array
          items:
            type: string
          nullable: true
          description: >
            Upgrade targets for `WIKI_PLAN_REQUIRED`; null for
            `WIKI_NOT_ACTIVATED`.

            Team Free Trial is intentionally excluded.
          example:
            - pro
            - max
            - team
            - enterprise
        action_url:
          type: string
          format: uri
          nullable: true
          description: >-
            Web link to act on (pricing page for users, null for team members
            without permission)
          example: https://tiro.ooo/#pricing
        status_code:
          type: integer
          description: HTTP status code (always 402)
          example: 402
    WikiGraphNode:
      type: object
      required:
        - guid
        - canonicalName
        - pageType
        - extractionStatus
        - mentionCountVisible
      properties:
        guid:
          type: string
          description: Wiki page GUID
          example: page_abc123
        canonicalName:
          type: string
          description: Canonical name of the page
          example: Alice Kim
        pageType:
          type: string
          enum:
            - ENTITY
            - MENTION
            - CUSTOM
          description: Type of wiki page
          example: ENTITY
        entitySubtype:
          type: string
          nullable: true
          description: Entity subtype
          example: PERSON
        extractionStatus:
          type: string
          enum:
            - EXTRACTED
            - EXTRACTING
            - FAILED
            - STALE
            - NOT_EXTRACTED
          description: Current extraction status
          example: EXTRACTED
        mentionCountVisible:
          type: integer
          description: Number of visible mentions
          example: 5
    WikiGraphEdge:
      type: object
      required:
        - guid
        - sourcePageGuid
        - targetPageGuid
        - linkType
        - linkTypeDisplayKo
        - linkTypeDisplayEn
        - isDirectional
      properties:
        guid:
          type: string
          description: Link GUID
          example: link_abc123
        sourcePageGuid:
          type: string
          description: Source page GUID
          example: page_src_123
        targetPageGuid:
          type: string
          description: Target page GUID
          example: page_tgt_456
        linkType:
          type: string
          description: Machine-readable link type code
          example: works_at
        linkTypeDisplayKo:
          type: string
          description: Korean display name for link type
          example: 근무처
        linkTypeDisplayEn:
          type: string
          description: English display name for link type
          example: Works At
        isDirectional:
          type: boolean
          description: Whether the link is directional
          example: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key in format {id}.{secret}

````