Suggest names
const url = 'https://app.nurseshark.org/api/names/suggestions?long_names=skip';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.nurseshark.org/api/names/suggestions?long_names=skip' \ --header 'Authorization: Bearer <token>'Random names from one theme, or from every theme, leaving out names the account’s projects already use. Unlike taking the next name, this reserves nothing.
Same as the suggest_names MCP tool.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Theme key from list_name_themes, e.g. sharks.
How many names to return. Defaults to 10.
Longest name to hand out, in characters, before any suffix. Defaults to the user’s account setting, if any.
What to do with names over max_length: skip them, or truncate them to fit. Defaults to the user’s account setting.
Responses
Section titled “Responses”OK
object
object
Lowercase with hyphens between words, with any suffix or truncation applied.
The key of the theme it came from.
How many more unused names the theme (or themes) has.
Example generated
{ "names": [ { "name": "example", "slug": "example", "theme": "example" } ], "remaining_in_pool": 1}The token is missing, invalid or expired.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}The request was understood but can’t be done, for example a value over its limit or a name already in use. error says what to change.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}Over the rate limit. Try again in a minute.
object
What went wrong and what to change.
For validation failures, the messages for each field.
object
Example generated
{ "error": "example", "errors": { "additionalProperty": [ "example" ] }}