Check a name
const url = 'https://app.nurseshark.org/api/names/check?name=example';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/check?name=example' \ --header 'Authorization: Bearer <token>'Whether a name is free among the account’s projects. Names are compared by slug, so Nurse Shark and nurse-shark clash.
Same as the check_name MCP tool.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”OK
object
The name as it would be stored: lowercase with hyphens between words.
The project using the name, if it’s taken.
object
Globally unique and never changes, even when the project is renamed.
Lowercase with hyphens between words, e.g. whale-shark.
Unique among the account’s projects. Use it, the name or the UUID to look the project up.
One line saying what the project does, e.g. “CLI that renames photos by EXIF date”.
A few paragraphs of plain text: purpose, how it works, stack, how to run it.
Defaults to active.
Short lowercase labels such as language, framework, or area (e.g. rails, cli, home-automation).
Http(s) URL of the source repository.
Http(s) URL where the project is deployed or documented.
The theme the name came from, if one was given when the project was created.
Picked at random when the project is created.
An SVG square in the project’s color, to use as its favicon.
Newest first. Only from getting one project, which includes 10 unless notes says otherwise.
object
Example
{ "existing_project": { "status": "idea" }}A required parameter is missing.
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 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" ] }}