> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veadk.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Evaluation targets

Inference experiments can call runtimes, A2A Center registrations or custom HTTP services. Select the source by resource type. A runtime using A2A transport still has source type Runtime.

First select [an evaluation workspace](https://docs.veadk.xyz/productions/agentkit-cli/archives/0.57.4/en/commands/eval/workspace.md) and set `WORKSPACE_ID` to its ID. Use resource IDs and revisions returned in that workspace.

| Resource | Lookup source | Experiment reference |
| - | - | - |
| Runtime | Runtime | RuntimeAgent |
| A2A Center | A2ACenter | A2AAgent |
| Custom HTTP | Custom | CustomHttpAgent |

## eval evaluation-target create

Save a POST connection for a custom HTTP target.

| Option | Description | Default |
| - | - | - |
| `--connection-endpoint <value>` | HTTP(S) invocation URL of the custom target | — |
| `--header <value>` | Required for custom HTTP. Base64-encode a UTF-8 JSON object of headers. Use e30= for empty headers | — |
| `--input-path <value>` | Path in the HTTP request body for the input. The root is \$ | \$ |
| `--input-schema <value>` | Request-body JSON Schema text, Draft 2020-12 | — |
| `--response-mode <value>` | HTTP target response mode `NonStreaming`, `Sse` | — |
| `--rpm <number>` | Maximum requests per minute, a positive integer | — |
| `--timeout-seconds <number>` | Target invocation timeout in seconds | — |
| `--description <value>` | Resource or version description | — |
| `--dry-run [boolean]` | Ask the service to preflight the request without writing the resource | false |
| `--name <value>` | Resource name | Generated |
| `--workspace-id <value>` | Authorized evaluation workspace ID. Required. | — |

```bash theme={null}
agentkit eval evaluation-target create --json --workspace-id "$WORKSPACE_ID" \
  --name answers-http --connection-endpoint "$TARGET_ENDPOINT" --header e30= \
  --response-mode NonStreaming
```

## eval evaluation-target delete

Delete a saved custom HTTP target.

> [!WARNING]
>
> A live deletion removes the selected resource or cases in the workspace. Verify the IDs and revisions before submitting.

| Option | Description | Default |
| - | - | - |
| `--dry-run [boolean]` | Ask the service to preflight the request without writing the resource | false |
| `--evaluation-target-id <value>` | Saved custom HTTP target ID. Required. | — |
| `--workspace-id <value>` | Authorized evaluation workspace ID. Required. | — |
| `-y, --yes` | Skip the deletion prompt. Required for unattended deletion, except during a supported dry run | false |

```bash theme={null}
agentkit eval evaluation-target delete --json --workspace-id "$WORKSPACE_ID" \
  --evaluation-target-id "$EVALUATION_TARGET_ID" --dry-run
```

## eval evaluation-target get

Read a versioned runtime, an A2A Center resource or a saved HTTP target. For a runtime without suitable connection settings, this command calls the target and saves a successful probe.

> [!WARNING]
>
> This operation can invoke a target or consume evaluation resources, which may incur charges.

| Option | Description | Default |
| - | - | - |
| `--evaluation-target-id <value>` | Saved custom HTTP target ID | — |
| `--target-id <value>` | Source runtime or A2A Center resource ID | — |
| `--source-type <value>` | Source type for the data or target `Runtime`, `A2ACenter`, `Custom` | — |
| `--target-version <value>` | Exact platform resource version. For a runtime use a canonical decimal i32 string, including 0 | — |
| `--workspace-id <value>` | Authorized evaluation workspace ID. Required. | — |

```bash theme={null}
agentkit eval evaluation-target get --json --workspace-id "$WORKSPACE_ID" \
  --source-type Runtime --target-id "$RUNTIME_ID" --target-version 0
```

## eval evaluation-target list

List saved custom HTTP targets.

| Option | Description | Default |
| - | - | - |
| `--names <value...>` | Filter by resource names | — |
| `--evaluation-target-ids <value...>` | Filter by custom target IDs | — |
| `--page-number <number>` | One-based page number | 1 |
| `--page-size <number>` | Results per page from 1 to 100 | 10 |
| `--workspace-id <value>` | Authorized evaluation workspace ID. Required. | — |

```bash theme={null}
agentkit eval evaluation-target list --json --workspace-id "$WORKSPACE_ID" --page-number 1
```

## eval evaluation-target validate

Probe the target. Even after a zero exit code, inspect `Result.Validation.Status` for `Passed` and read `Failure.Code` on failure.

> [!WARNING]
>
> This operation can invoke a target or consume evaluation resources, which may incur charges.

| Option | Description | Default |
| - | - | - |
| `--evaluation-target-id <value>` | Saved custom HTTP target ID | — |
| `--target-revision <value>` | Required to validate a custom target. Read CustomTargetReference.Revision from the target lookup | — |
| `--target-id <value>` | Source runtime or A2A Center resource ID | — |
| `--input-path <value>` | Path in the HTTP request body for the input. The root is \$ | — |
| `--response-mode <value>` | HTTP target response mode `NonStreaming`, `Sse` | — |
| `--source-type <value>` | Source type for the data or target `Runtime`, `A2ACenter`, `Custom` | — |
| `--timeout-seconds <number>` | Target invocation timeout in seconds | — |
| `--target-version <value>` | Exact platform resource version. For a runtime use a canonical decimal i32 string, including 0 | — |
| `--workspace-id <value>` | Authorized evaluation workspace ID. Required. | — |

```bash theme={null}
agentkit eval evaluation-target validate --json --workspace-id "$WORKSPACE_ID" \
  --source-type Runtime --target-id "$RUNTIME_ID" --target-version 0
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.