---
title: "Test a signing-key candidate"
method: POST
path: "/api/{org_id}/tasks/{entity_id}/signing/test"
tags: ["RemoteTasks"]
---

# Test a signing-key candidate

`POST /api/{org_id}/tasks/{entity_id}/signing/test`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/tasks/{entity_id}/signing/test`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/tasks/:entity_id/signing/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends one explicit request signed with the candidate. Only a successful test permits activation.

## Path parameters

- `org_id` string, required
- `entity_id` string, required

## Request body

- object: The sample a test connection sends. Hand-entered, because the wizard's Test connection stays at one row.
  - `input` unknown
  - `metadata` unknown

## Response `200`

- object
  - `error` string, nullable
  - `report` VerificationReportBody, required: The raw exchange a test connection produced, shown to the operator whether it passed or failed.
    - `latencyMs` integer, required
    - `parsedOutput` unknown
    - `rawRequest` string, required
    - `rawResponse` string, required
    - `statusCode` integer, nullable
  - `secret` RemoteTaskSecretMetadataBody
    - `createdAt` integer, required
    - `graceExpiresAt` integer, nullable
    - `keyId` string, nullable
    - `lastVerifiedAt` integer, nullable
    - `purpose` 'auth' | 'signing', required
    - `state` string, required
    - `updatedAt` integer, required
  - `verified` boolean, required

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
