List topics
curl --request GET \
--url https://api.radarkit.ai/v1/projects/{project}/topics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.radarkit.ai/v1/projects/{project}/topics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.radarkit.ai/v1/projects/{project}/topics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": 17,
"name": "Pricing",
"status": "active",
"prompts_count": 12,
"created_at": "2026-05-12T09:31:00+00:00"
},
{
"id": 18,
"name": "Comparisons",
"status": "active",
"prompts_count": 36,
"created_at": "2026-05-12T09:31:00+00:00"
}
],
"meta": {
"project": "64f1a2b3c4d5e6f708192a3b",
"count": 2
},
"credits": {
"charged": 1,
"remaining": 2947
},
"request_id": "req_01j9x4n8k3l4m5n6o7p8q9r0s3"
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Missing or invalid API key. Send it as: Authorization: Bearer rk_live_YOUR_KEY"
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r6"
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "Not enough API credits."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r7"
}{
"error": {
"code": "PROJECT_FORBIDDEN",
"message": "This key cannot access that project."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r9"
}{
"error": {
"code": "PROJECT_NOT_FOUND",
"message": "No project with that id."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5s0"
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Slow down and retry.",
"details": {
"retry_after": 21
}
},
"request_id": "req_01j9x4r2s3t4u5v6w7x8y9z0a1"
}Topics
List topics
Every active topic in the project with how many prompts it holds. Sorted by name.
Use it: to find a topic_id before adding prompts.
Cost: 1 API credit.
Needs: Read.
GET
/
projects
/
{project}
/
topics
List topics
curl --request GET \
--url https://api.radarkit.ai/v1/projects/{project}/topics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.radarkit.ai/v1/projects/{project}/topics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.radarkit.ai/v1/projects/{project}/topics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": 17,
"name": "Pricing",
"status": "active",
"prompts_count": 12,
"created_at": "2026-05-12T09:31:00+00:00"
},
{
"id": 18,
"name": "Comparisons",
"status": "active",
"prompts_count": 36,
"created_at": "2026-05-12T09:31:00+00:00"
}
],
"meta": {
"project": "64f1a2b3c4d5e6f708192a3b",
"count": 2
},
"credits": {
"charged": 1,
"remaining": 2947
},
"request_id": "req_01j9x4n8k3l4m5n6o7p8q9r0s3"
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Missing or invalid API key. Send it as: Authorization: Bearer rk_live_YOUR_KEY"
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r6"
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "Not enough API credits."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r7"
}{
"error": {
"code": "PROJECT_FORBIDDEN",
"message": "This key cannot access that project."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5r9"
}{
"error": {
"code": "PROJECT_NOT_FOUND",
"message": "No project with that id."
},
"request_id": "req_01j9x4q7z8y9x0w1v2u3t4s5s0"
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Slow down and retry.",
"details": {
"retry_after": 21
}
},
"request_id": "req_01j9x4r2s3t4u5v6w7x8y9z0a1"
}Authorizations
Your API key. Create one in Settings, API keys. Send it as Authorization: Bearer rk_live_YOUR_KEY.
Path Parameters
The project id. 24 characters. From List projects.
Pattern:
^[0-9a-f]{24}$Response
The topics, whole. No paging.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
What this call cost and what is left. Also in the X-RadarKit-Credits-Charged and X-RadarKit-Credits-Remaining headers.
Show child attributes
Show child attributes
A unique id for this call. Also in the X-Request-Id header. Quote it when you contact support.
Example:
"req_01j9x4m2p7q8r9s0t1u2v3w4x5"