Get an API reference as the team sees it: its groups in the team's order, its operations and types, which of them are on the help center, and what the spec's reader couldn't read.
Path parameters
slugstring · 1–80 charactersrequiredThe API reference's slug: its address in the docs
Query parameters
specboolean or stringtrueadds the spec's text (spec)
Responses
200The API referenceapplication/json · object
The API reference
slugstringrequiredIts address in the docs (
/docs/<slug>): from its name when it was added, and kept when it's renamednamestringrequiredIts name in the docs' tree
tabstring · nullablerequiredIts tab's slug; null when the docs have no tabs
formatstringrequiredWhat the spec is: OpenAPI, or a GraphQL schema
One of
"openapi""graphql"sourcestringrequiredWhere 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.syncOne of
"upload""url""github"sourceUrlstring · nullablerequiredThe address a
urlreference's spec is read from, as a URL parser writes it; null otherwiserepoIdinteger · nullablerequiredGitHub's id for a
githubreference's repository (githubRepositories.list); null otherwisepathstring · nullablerequiredThe file's path in that repository; null otherwise
refstring · nullablerequiredThe branch the file is read on; null otherwise
baseUrlstring · nullablerequiredWhere requests go when the spec's servers have no host; null when none is set
treeStylestringrequiredHow it sits in the docs' tree: each group a folder (
folders) or a heading (headings), or oneentrythat lists the operationsOne of
"folders""headings""entry"tryItbooleanrequiredWhether readers can send requests from its pages
countsobjectrequiredIts operations, counted
ShowHide 3 properties
operationsintegerrequiredHow many operations the spec has
onHelpCenterintegerrequiredHow many of them are on the help center
newintegerrequiredHow many a read added since the team last looked
publishedbooleanrequiredWhether it's on the help center: a draft is on it nowhere
syncedAtstringrequiredWhen the spec was last read successfully
syncTriedAtstringrequiredWhen its source was last read, whether that worked or not
changedAtstringrequiredWhen a read last changed what the spec has
syncErrorstring · nullablerequiredWhy the last read failed, or found no operations, so the pages stayed as they were; null once one works
titlestringrequiredThe API's own name, from the spec; empty when it has none
versionstring · nullablerequiredThe API's version, from the spec
descriptionstringrequiredThe API's description, from the spec, in Markdown
groupsarray of objectrequiredIts groups, in the team's order
ShowHide 4 properties
keystringrequiredWhat the team's order and choices go by: its name in the spec (an OpenAPI tag), or GraphQL's
queries,mutationsandsubscriptionsnamestringrequiredIts name
descriptionstringrequiredWhat it's for, from the spec, in Markdown
onHelpCenterbooleanrequiredWhether the team left the group on the help center
groupOrderarray of stringrequiredThe groups' keys the team ordered, in that order; the others come after
operationsarray of objectrequiredIts operations, in the spec's order
ShowHide 11 properties
keystringrequiredWhat it's known by across reads, so the team's choices stay: its method and path with each parameter's name left out, or
mutation createPostslugstringrequiredIts page's address under the reference
titlestringrequiredIts title on its page
kindstringrequiredIts method, or GraphQL's
query,mutationorsubscriptionOne of
"GET""POST""PUT""PATCH""DELETE""HEAD""OPTIONS""TRACE""query""mutation""subscription"pathstringrequiredOpenAPI: its path with its parameters. GraphQL: the field's name
groupstringrequiredThe key of the group it's listed in
alsoInarray of stringrequiredThe keys of the other groups it's in
deprecatedbooleanrequiredWhether the spec marks it deprecated
onHelpCenterbooleanrequiredWhether it's on the help center: it's off when the team took it off itself (
hidden), and while a group it's in ishiddenbooleanrequiredWhether the team took it off the help center itself
newbooleanrequiredWhether a read added it since the team last looked
typesarray of objectrequiredIts named types (OpenAPI's schemas, GraphQL's types)
ShowHide 4 properties
namestringrequiredIts name in the spec
slugstringrequiredIts page's address under the reference
kindstringrequiredWhat kind of type it is
One of
"object""input""enum""scalar""union""interface"onHelpCenterbooleanrequiredWhether it has a page: only while an operation on the help center uses it
warningsarray of objectrequiredWhat the reader couldn't read, by kind: its pages are built without it
ShowHide 4 properties
codestringrequiredThe kind of problem
messagestringrequiredThe problem in a sentence
countintegerrequiredHow many places have it
wherearray of stringrequiredThe first 20 places in the spec
specstringThe spec's text, with
spec=true
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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat 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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
404Nothing by that name, number or id in this project.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat 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
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change
500Something went wrong on Tuti's side. Try again in a moment.application/json · Error
errorobjectrequiredShowHide 2 properties
codestringrequiredWhat went wrong, for code to check: stays the same
messagestringrequiredWhat went wrong, for a person: may change

