For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at /guide/api/endpoints/test-cases/test-cases-update.md.

APIEndpointsTest Cases

Update a test case

Decrypted Request Payload: Responses use the standard envelope { "success": true, "message": "...", "data": ...

POST/api/v1/partner/test-cases/update

#Authorizations

X-API-KEYstringrequired

Developer API key (starts with pk_)

Example: pk_1234567890abcdef1234567890abcdef1234567890abcdef1234567890

X-TIMESTAMPintegerrequired

Unix timestamp in seconds (within ±5 minutes of server time)

Example: 1704806400

X-NONCEstringrequired

One-time random string (min 8 chars, prevents replay)

Example: b7f91c2e5a8d3f1e

X-SIGNATUREstringrequired

HMAC-SHA256 signature of canonical string (hex-encoded)

Example: a1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890

#Headers

Acceptstringrequired

Content type of response

Example: application/json

Content-Typestringrequired

Content type of request

Example: application/json

#Request body

Encrypted request data (AES-256-CBC). The decrypted payload fields are described above.

encrypted_datastringrequired

Base64-encoded encrypted JSON data. Encryption: AES-256-CBC with 16-byte IV prepended. Key: SHA256 hash of secret key.

#Responses

200Update a test case — success
400Bad request — validation failed or invalid reference
401Unauthorized — invalid or missing API key
404Resource not found
500Server error