Tuti APIAPI references

List API references

List the docs' API references in order: by tab, then their order in it.

GET/api-references

Authorization Bearer token

Responses

  • 200The docs' API references

    application/json · object

    The docs' API references

    • apiReferencesarray of ApiReferencerequired

      Every API reference, in order

      Show 18 properties
      • slugstringrequired

        Its address in the docs (/docs/<slug>): from its name when it was added, and kept when it's renamed

      • namestringrequired

        Its name in the docs' tree

      • tabstring · nullablerequired

        Its tab's slug; null when the docs have no tabs

      • formatstringrequired

        What the spec is: OpenAPI, or a GraphQL schema

        One of"openapi""graphql"

      • sourcestringrequired

        Where the spec is read from: text uploaded and replaced by hand (apiReferences.replace), an address (sourceUrl) or a file on GitHub (repoId, path, ref), read again every 6 hours and on apiReferences.sync

        One of"upload""url""github"

      • sourceUrlstring · nullablerequired

        The address a url reference's spec is read from, as a URL parser writes it; null otherwise

      • repoIdinteger · nullablerequired

        GitHub's id for a github reference's repository (githubRepositories.list); null otherwise

      • pathstring · nullablerequired

        The file's path in that repository; null otherwise

      • refstring · nullablerequired

        The branch the file is read on; null otherwise

      • baseUrlstring · nullablerequired

        Where requests go when the spec's servers have no host; null when none is set

      • treeStylestringrequired

        How it sits in the docs' tree: each group a folder (folders) or a heading (headings), or one entry that lists the operations

        One of"folders""headings""entry"

      • tryItbooleanrequired

        Whether readers can send requests from its pages

      • countsobjectrequired

        Its operations, counted

        Show 3 properties
        • operationsintegerrequired

          How many operations the spec has

        • onHelpCenterintegerrequired

          How many of them are on the help center

        • newintegerrequired

          How many a read added since the team last looked

      • publishedbooleanrequired

        Whether it's on the help center: a draft is on it nowhere

      • syncedAtstringrequired

        When the spec was last read successfully

      • syncTriedAtstringrequired

        When its source was last read, whether that worked or not

      • changedAtstringrequired

        When a read last changed what the spec has

      • syncErrorstring · nullablerequired

        Why the last read failed, or found no operations, so the pages stayed as they were; null once one works

  • 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

  • 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/api-references' \
  --header 'Authorization: Bearer YOUR_API_KEY'
const response = await fetch("https://tuti.so/api/v1/api-references", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://tuti.so/api/v1/api-references",
    headers={
        "Authorization": "Bearer YOUR_API_KEY"
    },
)
print(response.text)
{
  "apiReferences": [
    {
      "slug": "public-api",
      "name": "Public API",
      "tab": "developers",
      "format": "openapi",
      "source": "url",
      "sourceUrl": "https://api.example.com/openapi.json",
      "repoId": null,
      "path": null,
      "ref": null,
      "baseUrl": "https://api.example.com",
      "treeStyle": "folders",
      "tryIt": true,
      "counts": {
        "operations": 24,
        "onHelpCenter": 22,
        "new": 2
      },
      "published": true,
      "syncedAt": "2026-11-19T09:00:00.000Z",
      "syncTriedAt": "2026-11-19T09:00:00.000Z",
      "changedAt": "2026-11-18T16:30:00.000Z",
      "syncError": null
    }
  ]
}
{
  "error": {
    "code": "unauthorized",
    "message": "This API key isn't valid or was revoked"
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Up to 600 requests a minute per key"
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong"
  }
}