Get Target
get_targetRetrieve a target's current configuration by name. For custom endpoints, returns a clone-ready payload with redacted secrets that must be replaced before reuse.
Instructions
Check the current configuration of a test target.
Retrieves a Target by name. Works for all target types (Generation,
Custom Endpoint, and Voice).
For **custom_endpoint** Targets, the response is a flat envelope whose
keys mirror the kwargs accepted by `create_or_update_target`, so a
copilot can read the result, swap in a new name + secrets, and feed it
back to create to clone the Target. Fields the backend keeps secret
(those listed in `sensitive_fields`) appear with the literal value
`"***REDACTED***"` — these MUST be replaced with real values before
calling `create_or_update_target`, which rejects payloads still
containing the sentinel.
The `max_parallel_requests` field on custom_endpoint Targets is the
same setting the Okareo web UI labels "max concurrency".
For generation and voice Targets, the response shape is unchanged
(kept stable for existing callers).
Args:
name: Name of the target to retrieve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |