> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# WikiAddSourceInputGql

GraphQL input

Body for `jonnaWikiAddSource`. Registers a typed external document reference. Idempotent on `(ref_type, ref_id)`.

Reference: https://docs.revvue.ai/api-reference/knowledge-hub/types/inputs/wiki-add-source-input-gql

## Fields

- `scope` — Which bucket the source belongs to.
- `refType` — Kind of document being referenced (e.g. 'pdf', 'menu', 'url', 'image').
- `refId` — Opaque external id for the document (whatever the upstream service uses).
- `title` — Human-readable label for the reference.
- `uri` — Optional fetchable URI for the document.
- `frontmatter` — Arbitrary JSON metadata attached to the reference.

## Definition

```graphql
input WikiAddSourceInputGql {
  scope: WikiScopeInputGql!
  refType: String!
  refId: String!
  title: String!
  uri: String
  frontmatter: JSON
}
```