curl -X GET "https://nunu.ai/api/v1/project/your-project-id/credential-kinds?page=0&page_size=25" \
-H "X-Api-Key: YOUR_API_TOKEN"
{
"data": [
{
"id": "ck_steam_account",
"name": "Steam Account",
"description": "Steam credentials",
"exclusive": true
}
],
"pagination": {
"page": 0,
"page_size": 25,
"total_count": 1,
"total_pages": 1
}
}
Configs
List Credential Kinds
Retrieve a paginated list of credential kinds for your project.
GET
/
project
/
{projectId}
/
credential-kinds
curl -X GET "https://nunu.ai/api/v1/project/your-project-id/credential-kinds?page=0&page_size=25" \
-H "X-Api-Key: YOUR_API_TOKEN"
{
"data": [
{
"id": "ck_steam_account",
"name": "Steam Account",
"description": "Steam credentials",
"exclusive": true
}
],
"pagination": {
"page": 0,
"page_size": 25,
"total_count": 1,
"total_pages": 1
}
}
Permission Required:
project:view-configsid matches the credential_kind_id field on test player credentials, so
this endpoint is useful when constructing tests that reference credentials.
Query Parameters
integer
default:"0"
Page number (0-indexed)
integer
default:"25"
Results per page (1-100)
Response
CredentialKind[]
required
Array of credential kind objects
object
required
Pagination metadata (
page, page_size, total_count, total_pages)CredentialKind Object
string
required
Credential kind ID (use as
credential_kind_id on test player credentials)string
required
Credential kind name
string
Optional description
boolean
required
Whether each credential of this kind can be used by at most one concurrent run
curl -X GET "https://nunu.ai/api/v1/project/your-project-id/credential-kinds?page=0&page_size=25" \
-H "X-Api-Key: YOUR_API_TOKEN"
{
"data": [
{
"id": "ck_steam_account",
"name": "Steam Account",
"description": "Steam credentials",
"exclusive": true
}
],
"pagination": {
"page": 0,
"page_size": 25,
"total_count": 1,
"total_pages": 1
}
}
Authorizations
API key for authentication
Path Parameters
The project ID. You can copy it from the project settings page or the project URL in the dashboard.
Query Parameters
Page number (0-indexed)
Results per page (1-100)
Required range:
1 <= x <= 100