> 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.

# WikiSource

GraphQL object

A typed reference to an external document — opaque to the wiki.

Reference: https://docs.revvue.ai/api-reference/knowledge-hub/types/objects/wiki-source

## Fields

- `id` — Source UUID.
- `tenantId` — Tenant the source belongs to.
- `scopeType` — Bucket kind: GROUP or LOCATION.
- `scopeId` — UUID of the scope.
- `namespace` — Slash-delimited folder-style label within the scope.
- `refType` — Kind of document being referenced (e.g. 'pdf', 'menu', 'url').
- `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.
- `processedAt` — UTC timestamp the source was folded into wiki pages; null while it still awaits curation.
- `processedPageIds` — Page UUIDs the source contributed to, recorded when it was marked processed.
- `createdBy` — Actor that created the reference.
- `createdAt` — UTC timestamp the reference was added.

## Definition

```graphql
type WikiSource {
  id: String
  tenantId: String
  scopeType: WikiScope
  scopeId: String
  namespace: String
  refType: String
  refId: String
  title: String
  uri: String
  frontmatter: JSON
  processedAt: DateTime
  processedPageIds: [String!]
  createdBy: String
  createdAt: DateTime
}
```