---
title: "Get deployment capabilities"
url: https://hexelstudio.com/docs/api/titan/management/get-deployment-capabilities
---

# Get deployment capabilities

**GET** `/titan/management/deployments/{id}/capabilities`

## Path parameters

- `id: string`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

## Returns

`200` Organization-scoped result. (`CapabilitiesView`)

- `data_executor: optional boolean`

  The tenant's recorded data executor choice. Present only while data executor opt-in is on.

- `data_executor_enabled: optional boolean`

  Whether the deployment's entry enables Titan's data executor now. Present only while data executor opt-in is on.

- `data_executor_listed: optional boolean`

  Whether Hexel Studio keeps the data executor on whatever the tenant chooses. Present only while data executor opt-in is on.

- `deployment_id: string`

- `enforcement_deployment_id: string`

- `selectors: array of object`

  - `capability: optional string`

    "*", a capability id prefix ending in ".*" (github.issue.*), or an exact capability id.

  - `side_effect_classes: optional array of string`

  - `toolkit: optional string`

    Toolkit slug.

## Errors

- `400` Invalid request, path, query, or idempotency key; on create, PROFILE_NOT_AVAILABLE when the region, hosting mode and exposure match no approved profile.
- `401` Missing or invalid authenticated context.
- `403` Organization mismatch or denied IAM action.
- `404` Unknown or foreign organization resource, or plan not yet prepared.
- `405` HTTP method is not supported on this route.
- `503` Local storage or preparation service unavailable.

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/management/deployments/{id}/capabilities' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "data_executor": true,
  "data_executor_enabled": true,
  "data_executor_listed": true,
  "deployment_id": "string",
  "enforcement_deployment_id": "string",
  "selectors": [
    {
      "capability": "string",
      "side_effect_classes": [
        "read_only"
      ],
      "toolkit": "string"
    }
  ]
}
```

### Response (400)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (401)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (405)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```
