cURL
curl https://api.neuraldraft.io/v1/tags \
-H "Authorization: Bearer ndsk_live_yourkey"const tags = await nd.tags.list();
tags = requests.get("https://api.neuraldraft.io/v1/tags",
headers={"Authorization": f"Bearer {key}"}).json()["data"]
<?php
$tags = json_decode((string) $client->get('tags', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true)['data'];
{
"data": [
{
"id": 21,
"name": "breathwork",
"slug": "breathwork"
}
]
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Blog
List tags
Read-only.
GET
/
tags
cURL
curl https://api.neuraldraft.io/v1/tags \
-H "Authorization: Bearer ndsk_live_yourkey"const tags = await nd.tags.list();
tags = requests.get("https://api.neuraldraft.io/v1/tags",
headers={"Authorization": f"Bearer {key}"}).json()["data"]
<?php
$tags = json_decode((string) $client->get('tags', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true)['data'];
{
"data": [
{
"id": 21,
"name": "breathwork",
"slug": "breathwork"
}
]
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Response
Array of tags.
Show child attributes
Show child attributes