test0001
test0001 is an asynchronous test API that echoes a synthetic message in its final JSON result. Submit a JSON request with a required, non-null message string to POST /v1/jobs. The service accepts the request with HTTP 202 and returns a task ID. Poll GET /v1/jobs/{task_id} for the task status and read result.message when the task succeeds.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Async task · Task ID: task_id · Execution limit: 60 seconds · Result format: json
test0001
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
task_idstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
task_id?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
hong1124Current test0001 · POST · View API reference | $0.001 / call | — | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
Total $0.1
API
- Method
- POST
- Endpoint
https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
# Generate a UUID once per new task (e.g. uuidgen), save it, and set OPENANY_IDEMPOTENCY_KEY to that value.
# Reuse the saved key for the same submission; do not generate a new key on retries.
curl \
'https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Idempotency-Key: ${OPENANY_IDEMPOTENCY_KEY:?Set the UUID saved for this task before submitting}" \
-H 'Content-Type: application/json' \
--data-raw '{
"message": "hello"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
message | JSON request bodybody | string | Yes | Synthetic test message returned in the final JSON result. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 202 Published documentation example. Verify the actual response after an approved call.
{
"task_id": "job_123"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# test0001
test0001 is an asynchronous test API that echoes a synthetic message in its final JSON result. Submit a JSON request with a required, non-null message string to POST /v1/jobs. The service accepts the request with HTTP 202 and returns a task ID. Poll GET /v1/jobs/{task_id} for the task status and read result.message when the task succeeds.
Documentation: https://openany.si/apis/b4dffbf8-a75d-4b08-bbcb-c84e81b9b798
Method: POST
Endpoint: https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs
Price: $0.001 / call
Provider: hong1124
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
# Generate a UUID once per new task (e.g. uuidgen), save it, and set OPENANY_IDEMPOTENCY_KEY to that value.
# Reuse the saved key for the same submission; do not generate a new key on retries.
curl \
'https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Idempotency-Key: ${OPENANY_IDEMPOTENCY_KEY:?Set the UUID saved for this task before submitting}" \
-H 'Content-Type: application/json' \
--data-raw '{
"message": "hello"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "test0001",
"endpoint": "https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs",
"method": "POST",
"content_type": "application/json",
"execution_mode": "async",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Synthetic test message returned in the final JSON result.",
"location": "body",
"name": "message",
"nullable": false,
"pointer": "/message",
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 202,
"name": "Submit a synthetic test message",
"request": {
"body": {
"message": "hello"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"task_id": "job_123"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Submit a synthetic test message
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
message- Synthetic test message returned in the final JSON result.
Terminal · cURL# Generate a UUID once per new task (e.g. uuidgen), save it, and set OPENANY_IDEMPOTENCY_KEY to that value. # Reuse the saved key for the same submission; do not generate a new key on retries. curl \ 'https://api-dev.openany.si/v1/agent-apis/hong1124/v1/jobs' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H "Idempotency-Key: ${OPENANY_IDEMPOTENCY_KEY:?Set the UUID saved for this task before submitting}" \ -H 'Content-Type: application/json' \ --data-raw '{ "message": "hello" }'Check the response
Sample response · Documented HTTP 202
Sample response{ "task_id": "job_123" }