Skip to content
Design preview: examples use a local mock server.
EndpointsTerms

List terms

GET
/v1/terms

Lists the entries in the terminology list, in alphabetical order. Each entry gives the preferred word, the words it replaces with their status, and the rule that enforces it.

Authorization

apiKey
headerAuthorizationBearer <API key>

Send your API key as a bearer token: Authorization: Bearer <key>. Test keys start with wsk_test_. The mock server accepts any key, but it rejects a request with no Authorization header.

Query parameters

limit?integer

The most items to return in one page.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 200
status?string

Only entries whose headword has this status.

Value in"preferred""restricted""prohibited""obsolete"
q?string

Words to look for in the headword, its alternatives, and its usage notes.

Length1 <= length <= 200

Response body

One page of terms.

application/json
  1. response
data*array<>
has_more*boolean

true if there is another page.

next_cursor*|

Pass this as cursor to get the next page. null on the last page.

Example request
curl -X GET 'http://127.0.0.1:4010/v1/terms?q=login'
Example response
{  "data": [    {      "id": "sign-in",      "term": "sign in",      "status": "preferred",      "definition": "To start a session in a product by proving who you are, such as with a password or a one-time code.",      "usage": [        "Write “sign in,” not “log in,” “login,” or “log on.” Use two words as a verb (“sign in to your account”), and hyphenate only as a modifier, as in “the sign-in page.”"      ],      "examples": [        {          "instead": "Login to Acme Cloud, then logout when you’re done.",          "write": "Sign in to Acme Cloud, then sign out when you’re done."        }      ],      "alternatives": [        {          "term": "log in",          "status": "prohibited"        },        {          "term": "log-in",          "status": "prohibited"        },        {          "term": "login",          "status": "prohibited"        },        {          "term": "log on",          "status": "prohibited"        },        {          "term": "logon",          "status": "prohibited"        }      ],      "rule": {        "id": "term-sign-in",        "tier": "avoid",        "check": "mechanical"      },      "related": [        "sign-out"      ]    }  ],  "has_more": true,  "next_cursor": "dGVybTpzaWduLWlu"}