GET/
Root
Root endpoint - provides API information.
جاۋابلار
| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
Small REST surface exposed by the TensorCash core-node alongside the JSON-RPC server. Used by the miner-api to query model metadata and node metrics. The full chain surface is the JSON-RPC at /docs/rpc/.
زەنجىرنىڭ تولۇق ئارايۈزى JSON-RPC دۇر. بۇ بولسا تۈگۈننىڭ يېنىدىكى كىچىك REST ئارايۈزى بولۇپ، يەرلىك كان قېزىش API سى ئۇنى مودېل مېتا سانلىق مەلۇماتى ۋە تۈگۈن كۆرسەتكۈچلىرى ئۈچۈن ئىشلىتىدۇ. ئىشلەپچىقىرىش مۇھىتىدا ئېغىز 8050.
/Root
Root endpoint - provides API information.
| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
/healthHealth Check
Health check endpoint - no auth required.
| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
/api/v1/modelsGet Models List
Get list of models with rate limiting.
| ئاتى | ئورنى | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|---|
extended | query | boolean | — |
HTTPAuthorizationCredentials | null| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response | |
422 | Validation Error |
/api/v1/blockchaininfoGet Blockchain Info
Pass-through to the node's getblockchaininfo RPC.
Used by the verification orchestrator to compute distance-to-verdict for
PendingVerification model records and trigger anticipatory smell-stat
pre-bake before a model flips to Registered.
HTTPAuthorizationCredentials | null| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
422 | Validation Error |
/api/v1/models/{model_hash}Get Model Info
Get model information with input validation.
| ئاتى | ئورنى | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|---|
model_hash | path | string | ھەئە |
HTTPAuthorizationCredentials | null| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
422 | Validation Error |
/api/v1/miner/metricsGet Miner Metrics
Get mining throughput metrics from the miner proxy. Returns token throughput (tokens/sec), completion rate, and totals.
HTTPAuthorizationCredentials | null| ھالەت | چۈشەندۈرۈش | مەزمۇن |
|---|---|---|
200 | Successful Response |
|
422 | Validation Error |
HTTPAuthorizationCredentialsThe HTTP authorization credentials in the result of using HTTPBearer or
HTTPDigest in a dependency.
The HTTP authorization header value is split by the first space.
The first part is the scheme, the second part is the credentials.
For example, in an HTTP Bearer token scheme, the client will send a header
like:
``
Authorization: Bearer deadbeef12346
`
In this case:
* scheme will have the value "Bearer"
* credentials will have the value "deadbeef12346"`
| مەيدان | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|
scheme | string | ھەئە | |
credentials | string | ھەئە |
HTTPValidationError| مەيدان | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|
detail | ValidationError[] | — |
ModelInfo| مەيدان | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|
model_hash | string | ھەئە | |
model_name | string | ھەئە | |
model_commit | string | ھەئە | |
difficulty | integer | ھەئە | |
status | integer | null | — | |
cid | string | null | — | |
extra | string | null | — | |
txid | string | null | — | |
block_hash | string | null | — | |
block_height | integer | null | — | |
deposit_txid | string | null | — | |
deposit_vout | integer | null | — | |
deposit_amount | integer | null | — | |
owner_key_hash | string | null | — | |
deposit_block_hash | string | null | — | |
deposit_block_height | integer | null | — | |
commit_txid | string | null | — | |
commit_block_hash | string | null | — | |
commit_block_height | integer | null | — | |
verification_code | integer | null | — | |
verification_details | string | null | — |
ValidationError| مەيدان | تىپ | زۆرۈر | چۈشەندۈرۈش |
|---|---|---|---|
loc | string | integer[] | ھەئە | |
msg | string | ھەئە | |
type | string | ھەئە |