---
title: "Preview-test an unsaved capability binding"
method: POST
path: "/v1/capability-bindings/test"
tags: ["Capability Plane"]
---

# Preview-test an unsaved capability binding

`POST /v1/capability-bindings/test`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/capability-bindings/test`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- CapabilityBindingPreviewRequest
  - `provider_id` string, required
  - `profile_id` string, required
  - `scope` 'user' | 'workspace' | 'organization'
  - `scope_ref` string, nullable
  - `execution_owner` 'algenta_managed' | 'client_managed'
  - `config` object, nullable
  - `customer_metadata` object, nullable

## Response `200`

Successful Response

- CapabilityBindingTestResult
  - `success` boolean, required
  - `binding_status` 'unconfigured' | 'authorizing' | 'ready' | 'degraded' | 'quarantined', required
  - `message` string, required
  - `latency_ms` number, nullable
  - `details` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
