Skip to content
Developers
GuidesAPI reference
slimwiki.comGet an API key

Guides

  • Quickstart
  • Authentication
  • Errors
  • Pagination
  • Rate limits
  • Content format
  • Versioning

Tools and agents

  • CLI
  • MCP server
  • Agent skill

API reference

  • Overview

Users

  • Retrieve the key ownerget

Accounts

  • List accountsget

Wikis

  • List wikisget
  • Retrieve a wikiget

Pages

  • List pages in a wikiget
  • Search pages in a wikiget
  • Find a page by slug or hashget
  • Create a pagepost
  • Retrieve a pageget
  • Delete a pagedelete
  • Archive a pagepost
  • Restore a pagepost

API reference / Users

Retrieve the key owner

get/v1/me

Returns the user the API key belongs to. Useful for checking that a key works.

Responses

  • 200

    The user.

    Fields of the 200 response of Retrieve the key owner
    FieldDescription
    object
    string

    Always "user".

    id
    string (uuid)

    The user ID.

    name
    string | nulloptional

    Full name.

    email
    string (email)
    —
  • 401

    The API key is missing, invalid, revoked or expired. Error code: unauthorized.

    Error body fields
    Fields of the 401 error body of Retrieve the key owner
    FieldDescription
    error
    object
    —
    error.code
    string

    A stable, machine-readable error code.

    One of invalid_request, unauthorized, insufficient_scope, forbidden, not_found, conflict, rate_limited, internal_error.

    error.message
    string

    A description for people. The wording may change.

    error.details
    object[]optional

    For invalid_request: the fields that failed validation.

    error.details[].field
    stringoptional
    —
    error.details[].message
    stringoptional
    —
    error.request_id
    string | nulloptional

    Quote this when contacting support.

  • 429

    Rate limit exceeded. See the Retry-After header. Error code: rate_limited.

    Error body fields
    Fields of the 429 error body of Retrieve the key owner
    FieldDescription
    error
    object
    —
    error.code
    string

    A stable, machine-readable error code.

    One of invalid_request, unauthorized, insufficient_scope, forbidden, not_found, conflict, rate_limited, internal_error.

    error.message
    string

    A description for people. The wording may change.

    error.details
    object[]optional

    For invalid_request: the fields that failed validation.

    error.details[].field
    stringoptional
    —
    error.details[].message
    stringoptional
    —
    error.request_id
    string | nulloptional

    Quote this when contacting support.

Any request can also fail with 500 internal_error. See Errors for every code.

Example

Request
curl "https://api.slimwiki.com/v1/me" \
  -H "Authorization: Bearer $SLIMWIKI_API_KEY"
Response
200 · application/json
{
  "object": "user",
  "id": "0b9f6a52-3c1d-4e8a-b7f4-2d5c8e1a9f30",
  "name": "Ada Lovelace",
  "email": "ada@example.com"
}

Next

List accounts
GET /v1/accounts

SlimWiki Developers

slimwiki.com