Tuti APIDocs

List an article's versions

List a docs article's saved versions, newest (the current one) first: the latest 50, or on tuti.so as many as the project's plan includes

GET/articles/{slug}/revisions

Authorization Bearer token

Path parameters

  • slugstring · 1–80 charactersrequired

    The article's slug: the end of its address, /docs/<slug>

Responses

  • 200The article's saved versions

    application/json · object

    The article's saved versions

    • revisionsarray of objectrequired

      The versions, newest first

      Show 7 properties
      • idstringrequired

        The version's id: for articles.restore, and revision in articles.update and articles.publish

      • titlestringrequired

        Its title then

      • bodystringrequired

        Its text then, as plain text

      • collectionobject · nullablerequired

        Its collection then, or null for none

        Show 2 properties
        • slugstringrequired

          The collection's slug

        • namestringrequired

          The collection's name

      • authorobject · nullablerequired

        Who saved it; null for Autopilot, or someone no longer there

        Show 1 property
        • namestringrequired

          Their name

      • createdAtstringrequired

        When it was saved (ISO 8601)

      • currentbooleanrequired

        Whether it's the current version: the first one

  • 400The request isn't valid: a field is missing, has the wrong type or is out of range, or the body isn't a JSON object. The message names the field.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 404Nothing by that name, number or id in this project.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 500Something went wrong on Tuti's side. Try again in a moment.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

curl 'https://tuti.so/api/v1/articles/getting-started/revisions' \
  --header 'Authorization: Bearer YOUR_API_KEY'
const response = await fetch("https://tuti.so/api/v1/articles/getting-started/revisions", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://tuti.so/api/v1/articles/getting-started/revisions",
    headers={
        "Authorization": "Bearer YOUR_API_KEY"
    },
)
print(response.text)
{
  "revisions": [
    {
      "id": "cm3x9a1b2c3d4e5f6g7h8i9j0",
      "title": "Getting started",
      "body": "Create a board, then share your portal.",
      "collection": {
        "slug": "basics",
        "name": "Basics"
      },
      "author": {
        "name": "Ada Admin"
      },
      "createdAt": "2026-11-02T09:30:00.000Z",
      "current": true
    }
  ]
}
{
  "error": {
    "code": "invalid_input",
    "message": "title: Title is too short"
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "This API key isn't valid or was revoked"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "No such post"
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Up to 600 requests a minute per key"
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong"
  }
}