Users API Reference
This section covers all endpoints related to users.
Get User Growth
curl -X GET "https://api.chutes.ai/users/growth"
-H "Content-Type: application/json"Authorization
Endpoint:
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
List Chute Shares
curl -X GET "https://api.chutes.ai/users/{user_id}/shares"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin User Id Lookup
curl -X GET "https://api.chutes.ai/users/user_id_lookup"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Balance Lookup
curl -X GET "https://api.chutes.ai/users/{user_id_or_username}/balance"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id_or_username | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Invoiced User List
curl -X GET "https://api.chutes.ai/users/invoiced_user_list"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Batch User Lookup
curl -X POST "https://api.chutes.ai/users/batch_user_lookup"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Balance Change
curl -X POST "https://api.chutes.ai/users/admin_balance_change"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| amount | number | Yes | |
| reason | string | Yes |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Grant Subnet Role
curl -X POST "https://api.chutes.ai/users/grant_subnet_role"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| user | string | Yes | |
| netuid | integer | Yes | |
| admin | boolean | Yes |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Revoke Subnet Role
curl -X POST "https://api.chutes.ai/users/revoke_subnet_role"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| user | string | Yes | |
| netuid | integer | Yes |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Quotas Change
curl -X POST "https://api.chutes.ai/users/{user_id}/quotas"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Get User Quotas
Load quotas for a user.
curl -X GET "https://api.chutes.ai/users/{user_id}/quotas"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Discounts Change
curl -X POST "https://api.chutes.ai/users/{user_id}/discounts"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin List Discounts
curl -X GET "https://api.chutes.ai/users/{user_id}/discounts"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Admin Enable Invoicing
curl -X POST "https://api.chutes.ai/users/{user_id}/enable_invoicing"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
My Quotas
Load quotas for the current user.
curl -X GET "https://api.chutes.ai/users/me/quotas"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
My Discounts
Load discounts for the current user.
curl -X GET "https://api.chutes.ai/users/me/discounts"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
My Price Overrides
Load price overrides for the current user.
curl -X GET "https://api.chutes.ai/users/me/price_overrides"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Chute Quota Usage
Check the current quota usage for a chute.
curl -X GET "https://api.chutes.ai/users/me/quota_usage/{chute_id}"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| chute_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Delete My User
Delete account.
curl -X DELETE "https://api.chutes.ai/users/me"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Authorization header |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Set Logo
Get a detailed response for the current user.
curl -X GET "https://api.chutes.ai/users/set_logo"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| logo_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Check Username
Check if a username is valid and available.
curl -X GET "https://api.chutes.ai/users/name_check"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | |
| readonly | boolean | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Register
Register a user.
curl -X POST "https://api.chutes.ai/users/register"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | null | No | |
| X-Chutes-Hotkey | string | Yes | The hotkey of the user |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | |
| coldkey | string | Yes | |
| logo_id | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Get Registration Token
Initial form with cloudflare + hcaptcha to generate a registration token.
curl -X GET "https://api.chutes.ai/users/registration_token"
-H "Content-Type: application/json"Authorization
Endpoint:
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
Post Rtok
Verify hCaptcha and get a short-lived registration token.
curl -X POST "https://api.chutes.ai/users/registration_token"
-H "Content-Type: application/json"Authorization
Endpoint:
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
Admin Create User
Create a new user manually from an admin account, no bittensor stuff necessary.
curl -X POST "https://api.chutes.ai/users/create_user"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | |
| coldkey | string | null | No | |
| hotkey | string | null | No | |
| logo_id | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Change Fingerprint
Reset a user's fingerprint using either the hotkey or coldkey.
curl -X POST "https://api.chutes.ai/users/change_fingerprint"
-H "Content-Type: application/json"
-d '{}'Authorization
Request Body
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | null | No | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Coldkey | string | null | No | |
| X-Chutes-Nonce | string | No | Nonce |
| X-Chutes-Signature | string | No | Hotkey signature |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| fingerprint | string | Yes |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Get Login Nonce
Get a nonce for hotkey signature login. The nonce is a UUID4 string that must be signed by the user's hotkey. Valid for 5 minutes.
curl -X GET "https://api.chutes.ai/users/login/nonce"
-H "Content-Type: application/json"Authorization
Endpoint:
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
Login
Exchange credentials for a JWT.
Supports two authentication methods:
- Fingerprint: {"fingerprint": "your-fingerprint"}
- Hotkey signature: {"hotkey": "5...", "signature": "hex...", "nonce": "uuid"}
For hotkey auth, first call GET /users/login/nonce to get a nonce, sign it with your hotkey (e.g., ), then submit the hotkey, signature, and nonce.
curl -X POST "https://api.chutes.ai/users/login"
-H "Content-Type: application/json"Authorization
Endpoint:
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
Change Bt Auth
Change the bittensor hotkey/coldkey associated with an account via fingerprint auth.
curl -X POST "https://api.chutes.ai/users/change_bt_auth"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Update Squad Access
Enable squad access.
curl -X PUT "https://api.chutes.ai/users/squad_access"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
List Usage
List usage summary data.
curl -X GET "https://api.chutes.ai/users/{user_id}/usage"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| page | integer | null | No | |
| limit | integer | null | No | |
| per_chute | boolean | null | No | |
| chute_id | string | null | No | |
| start_date | string | null | No | |
| end_date | string | null | No | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.
Get User Info
Get user info.
curl -X GET "https://api.chutes.ai/users/{user_id}"
-H "Content-Type: application/json"Authorization
Endpoint:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | Yes | |
| X-Chutes-Hotkey | string | null | No | |
| X-Chutes-Signature | string | null | No | |
| X-Chutes-Nonce | string | null | No | |
| Authorization | string | null | No |
Responses
| Status Code | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Authentication
This endpoint requires authentication.