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

# Get deployment plan

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

## 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. (`Plan`)

- `attestations: optional array of object`

  Evidence regulated production needs that no code can produce (approvals, custody, placement, audit delivery and release validation); never blocks the deployment. Same shape as blockers. Absent when there are none and from an older management: read a missing field as empty.

  - `code: string`

  - `message: string`

- `blockers: array of object`

  What stops the deployment working, derived when read from the state management has recorded. Empty once the plan is LIVE.

  - `code: string`

  - `message: string`

- `canonical_hostname: string`

- `configuration_digest: string`

- `databases: array of object`

  - `consumers: array of string`

  - `reference: string`

- `digest: optional string`

  SHA-256 over the plan as served (without this field). It changes when the derived blockers, attestations or status change, so it can differ from the plan_digest in audit events, which is the stored plan's.

- `domain_environment: map[string]`

- `enforcement_deployment_id: string`

- `exposure: string`

- `hosting_mode: string`

- `namespaces: object`

  - `agent_registry: string`

  - `agents: string`

  - `titan: string`

  - `tool_gateway: string`

- `organization_id: string`

- `policy: object`

  Unapproved unsigned default-deny draft. Publication and capability approvals remain separate.

  - `compiled_policy_digest: string`

  - `source: PolicySource`

    - `approval_profiles: array of object`

      - `approval_profile_id: string`

      - `delegator_separation_required: boolean`

      - `maximum_age_seconds: integer`

      - `notify: optional array of object`

        - `channel: optional string`

        - `type: string`

        - `url: optional string`

      - `quorum: integer`

      - `requester_separation_required: boolean`

      - `role_ids: array of string`

    - `approval_roles: array of object`

      - `delegator: optional boolean`

      - `group_ids: optional array of string`

      - `human_principal_ids: array of string`

      - `role_id: string`

    - `authorization_not_before: integer`

    - `enforcement_deployment_id: string`

    - `obligation_profile_references: array of object`

      - `conflicts_with: array of string`

      - `kind: string`

      - `profile_digest: string`

      - `profile_id: string`

      - `profile_version: integer`

    - `organization_id: string`

    - `policy_source_id: string`

    - `rules: array of object`

      - `approval_profile_ids: array of string`

      - `connection_constraints: object`

        - `allowed_principal_types: optional array of string`

        - `provider: optional string`

        - `required_destination_boundaries: optional array of string`

        - `required_permissions: optional array of string`

        - `required_tags: optional array of string`

      - `effect: string`

      - `limits: object`

        - `maximum_concurrency: optional integer`

        - `maximum_cost_microunits: optional integer`

        - `maximum_response_bytes: optional integer`

        - `timeout_ms: optional integer`

      - `match: object`

        - `agent_ids: optional array of string`

        - `agent_revision_ids: optional array of string`

        - `attributes: optional array of object`

          - `name: string`

          - `operator: string`

          - `value: any`

        - `capability_contract_digests: optional array of string`

        - `capability_ids: optional array of string`

        - `capability_revisions: optional array of integer`

        - `delegation: optional string`

        - `delegator_ids: optional array of string`

        - `deployment_ids: optional array of string`

        - `destination_boundaries_all: optional array of string`

        - `destination_providers: optional array of string`

        - `environment_ids: optional array of string`

        - `environment_states: optional array of string`

        - `excluded_delegator_ids: optional array of string`

        - `minimum_assurance: optional string`

        - `operations: optional array of string`

        - `resource_ids: optional array of string`

        - `resource_types: optional array of string`

        - `risk_classes: optional array of string`

        - `runtime_classes: optional array of string`

        - `runtime_principal_ids: optional array of string`

        - `side_effect_classes: optional array of string`

        - `toolkits: optional array of string`

        - `utc_windows: optional array of object`

          - `end_minute: integer`

          - `start_minute: integer`

          - `weekday: integer`

        - `workspace_ids: optional array of string`

      - `mode: optional string`

      - `obligations: object`

        - `audit_profile_ids: optional array of string`

        - `audit_required: optional boolean`

        - `executor_obligation_profile_ids: optional array of string`

        - `idempotency_required: optional boolean`

        - `response_filter_profile_ids: optional array of string`

      - `priority: integer`

      - `rule_id: string`

    - `source_revision: integer`

    - `version: integer`

  - `source_digest: string`

  - `status: string`

  - `template_id: string`

- `profile_digest: string`

- `profile_id: string`

- `region: string`

- `required_inputs: array of object`

  - `consumer: string`

  - `key: string`

  - `purpose: string`

- `resource_scope: string`

- `runtime: object`

  - `agent_registry_url: string`

  - `config_authority_spiffe: string`

  - `config_authority_url: string`

  - `executor_replicas: integer`

  - `executor_strategy: string`

  - `gateway_spiffe: string`

  - `registry_snapshot_url: string`

  - `runtime_audience: string`

  - `runtime_issuer: string`

  - `tool_gateway_spiffe: string`

  - `tool_gateway_url: string`

- `secrets: array of object`

  - `consumers: array of string`

  - `purpose: string`

  - `reference: string`

- `status: string`

  UNAPPROVED_BLUEPRINT: a generated blueprint. LIVE: management's recorded state says the deployment was brought live (PROVISIONED, its Authority entry stored and, for Titan Dedicated, its instance's first Ready recorded) and no blocker is left; it is not re-checked against the running services. Regulated production still needs the attestations.

- `steps: array of object`

  - `depends_on: array of string`

  - `description: string`

  - `id: string`

  - `status: string`

- `template_version: string`

- `tool_gateway_environment: map[string]`

- `version: integer`

## 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}/plan' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "attestations": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "blockers": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "canonical_hostname": "string",
  "configuration_digest": "string",
  "databases": [
    {
      "consumers": [
        "string"
      ],
      "reference": "string"
    }
  ],
  "digest": "string",
  "domain_environment": {
    "key": "string"
  },
  "enforcement_deployment_id": "string",
  "exposure": "string",
  "hosting_mode": "string",
  "namespaces": {
    "agent_registry": "string",
    "agents": "string",
    "titan": "string",
    "tool_gateway": "string"
  },
  "organization_id": "string",
  "policy": {
    "compiled_policy_digest": "string",
    "source": {
      "approval_profiles": [
        {
          "approval_profile_id": "string",
          "delegator_separation_required": true,
          "maximum_age_seconds": 0,
          "notify": [
            {
              "channel": "string",
              "type": "string",
              "url": "string"
            }
          ],
          "quorum": 0,
          "requester_separation_required": true,
          "role_ids": [
            "string"
          ]
        }
      ],
      "approval_roles": [
        {
          "delegator": true,
          "group_ids": [
            "string"
          ],
          "human_principal_ids": [
            "string"
          ],
          "role_id": "string"
        }
      ],
      "authorization_not_before": 0,
      "enforcement_deployment_id": "string",
      "obligation_profile_references": [
        {
          "conflicts_with": [
            "string"
          ],
          "kind": "string",
          "profile_digest": "string",
          "profile_id": "string",
          "profile_version": 0
        }
      ],
      "organization_id": "string",
      "policy_source_id": "string",
      "rules": [
        {
          "approval_profile_ids": [
            "string"
          ],
          "connection_constraints": {
            "allowed_principal_types": [
              "string"
            ],
            "provider": "string",
            "required_destination_boundaries": [
              "string"
            ],
            "required_permissions": [
              "string"
            ],
            "required_tags": [
              "string"
            ]
          },
          "effect": "string",
          "limits": {
            "maximum_concurrency": 0,
            "maximum_cost_microunits": 0,
            "maximum_response_bytes": 0,
            "timeout_ms": 0
          },
          "match": {
            "agent_ids": [
              "string"
            ],
            "agent_revision_ids": [
              "string"
            ],
            "attributes": [
              {
                "name": "string",
                "operator": "string",
                "value": "string"
              }
            ],
            "capability_contract_digests": [
              "string"
            ],
            "capability_ids": [
              "string"
            ],
            "capability_revisions": [
              0
            ],
            "delegation": "string",
            "delegator_ids": [
              "string"
            ],
            "deployment_ids": [
              "string"
            ],
            "destination_boundaries_all": [
              "string"
            ],
            "destination_providers": [
              "string"
            ],
            "environment_ids": [
              "string"
            ],
            "environment_states": [
              "string"
            ],
            "excluded_delegator_ids": [
              "string"
            ],
            "minimum_assurance": "string",
            "operations": [
              "string"
            ],
            "resource_ids": [
              "string"
            ],
            "resource_types": [
              "string"
            ],
            "risk_classes": [
              "string"
            ],
            "runtime_classes": [
              "string"
            ],
            "runtime_principal_ids": [
              "string"
            ],
            "side_effect_classes": [
              "string"
            ],
            "toolkits": [
              "string"
            ],
            "utc_windows": [
              {
                "end_minute": 0,
                "start_minute": 0,
                "weekday": 0
              }
            ],
            "workspace_ids": [
              "string"
            ]
          },
          "mode": "string",
          "obligations": {
            "audit_profile_ids": [
              "string"
            ],
            "audit_required": true,
            "executor_obligation_profile_ids": [
              "string"
            ],
            "idempotency_required": true,
            "response_filter_profile_ids": [
              "string"
            ]
          },
          "priority": 0,
          "rule_id": "string"
        }
      ],
      "source_revision": 0,
      "version": 0
    },
    "source_digest": "string",
    "status": "string",
    "template_id": "string"
  },
  "profile_digest": "string",
  "profile_id": "string",
  "region": "string",
  "required_inputs": [
    {
      "consumer": "string",
      "key": "string",
      "purpose": "string"
    }
  ],
  "resource_scope": "string",
  "runtime": {
    "agent_registry_url": "string",
    "config_authority_spiffe": "string",
    "config_authority_url": "string",
    "executor_replicas": 0,
    "executor_strategy": "string",
    "gateway_spiffe": "string",
    "registry_snapshot_url": "string",
    "runtime_audience": "string",
    "runtime_issuer": "string",
    "tool_gateway_spiffe": "string",
    "tool_gateway_url": "string"
  },
  "secrets": [
    {
      "consumers": [
        "string"
      ],
      "purpose": "string",
      "reference": "string"
    }
  ],
  "status": "string",
  "steps": [
    {
      "depends_on": [
        "string"
      ],
      "description": "string",
      "id": "string",
      "status": "string"
    }
  ],
  "template_version": "string",
  "tool_gateway_environment": {
    "key": "string"
  },
  "version": 0
}
```

### 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"
  }
}
```
