๐ ๏ธ Build
๐ฐ Tokenomics
๐ค IntentKit
๐ API Reference
Update Worker Deployment Status
Modifies the operational status of an existing worker deployment, reflecting its current state.
POST
/
deployments
/
worker
/
status
curl --request POST \
--url https://api.testnet.crestal.xyz/v1/deployments/worker/status \
--header 'Content-Type: application/json' \
--data '{
"user_address": "<string>",
"signature": "<string>",
"siwe_msg": "<string>",
"privy_token": "<string>"
}'
{
"id": 123,
"request_id": "<string>",
"user_address": "0x2975b28D83aBE09623e4ceb9522070B8bC10468a",
"worker_name": "worker1",
"worker_uuid": "worker uuid",
"proposal_hash": "<string>",
"proposal_id": 123,
"deployment_details": {},
"proposal": {
"init_cost": 123,
"maintenance_cost": 123,
"pay_period": 123,
"accept_currency": "<string>",
"cost": 100,
"fit": 123,
"throughput": 100,
"sla": 100,
"error_rate": 0.1,
"rank": 123,
"extra_attribute": {}
},
"Status": "init"
}
Body
application/json
Authentication request parameters
Response
200
application/json
Successfully updated deployment status
Comprehensive deployment configuration and status
curl --request POST \
--url https://api.testnet.crestal.xyz/v1/deployments/worker/status \
--header 'Content-Type: application/json' \
--data '{
"user_address": "<string>",
"signature": "<string>",
"siwe_msg": "<string>",
"privy_token": "<string>"
}'
{
"id": 123,
"request_id": "<string>",
"user_address": "0x2975b28D83aBE09623e4ceb9522070B8bC10468a",
"worker_name": "worker1",
"worker_uuid": "worker uuid",
"proposal_hash": "<string>",
"proposal_id": 123,
"deployment_details": {},
"proposal": {
"init_cost": 123,
"maintenance_cost": 123,
"pay_period": 123,
"accept_currency": "<string>",
"cost": 100,
"fit": 123,
"throughput": 100,
"sla": 100,
"error_rate": 0.1,
"rank": 123,
"extra_attribute": {}
},
"Status": "init"
}