Search the docs

Search guides, API endpoints and MCP tools.

Catalog

get_deployment

Read grantRead-onlyIdempotent

Get one product's deployment to one environment. Returns the deployment with its base URL, version and when the version last changed; not_found when the product is not deployed there. Needs read access.

Inputs

productstringRequired

The product's slug, such as storefront.

environmentstringRequired

The environment's slug, such as staging.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "get_deployment",    "arguments": {      "product": "storefront",      "environment": "production"    }  }}
POST/agent/v1/deployments:get
curl -X POST https://api.qa.clankership.net/agent/v1/deployments:get \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "product": "storefront",    "environment": "production"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.