> For the complete documentation index, see [llms.txt](https://docs.epic-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.epic-ai.com/api-dokumentation/chatbot-deployments.md).

# Chatbot Deployments

## Retrieves the status of active deployments for all environments.

> \
> \
> \*\*Required Permission:\*\* \`chatbots.deployments.status\`\
> \
> \*\*Resource:\*\* \`chatbots/:chatbotId\`

```json
{"openapi":"3.0.0","info":{"title":"ChatCaptain API","version":"1.0"},"tags":[{"name":"Chatbot deployments","description":""}],"servers":[{"url":"https://api.chatcaptain.com","description":"Production"}],"security":[{},{}],"paths":{"/v1/chatbots/{chatbotId}/deployments/status":{"get":{"operationId":"ChatbotDeploymentController_getActiveDeploymentStatus[1]_v1","parameters":[{"name":"chatbotId","required":true,"in":"path","description":"The ID of the chatbot.","schema":{"type":"string"}}],"responses":{"200":{"description":"The status of deployments for the test, prod, and dev environments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetActiveDeploymentsStatusResponseDto"}}}},"403":{"description":"Insufficient permissions."}},"summary":"Retrieves the status of active deployments for all environments.","tags":["Chatbot deployments"],"description":"\n\n**Required Permission:** `chatbots.deployments.status`\n\n**Resource:** `chatbots/:chatbotId`"}}},"components":{"schemas":{"GetActiveDeploymentsStatusResponseDto":{"type":"object","properties":{"test":{"description":"The status of the deployment in the test environment.","allOf":[{"$ref":"#/components/schemas/DeploymentStatusDto"}]},"prod":{"description":"The status of the deployment in the production environment.","allOf":[{"$ref":"#/components/schemas/DeploymentStatusDto"}]},"dev":{"description":"The status of the deployment in the development environment.","allOf":[{"$ref":"#/components/schemas/DeploymentStatusDto"}]},"error":{"type":"string","description":"An optional error message."}}},"DeploymentStatusDto":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the Deployments."},"version":{"type":"string","description":"The version number that is deployed."},"deployed":{"type":"string","description":"The deployment timestamp in ISO format."},"modelId":{"type":"string","description":"The ID of the model that this version is based on."}},"required":["id","version","deployed","modelId"]}}}}
```
