Workflows

Update a test case

PARTIAL update despite the verb - voice exposes it as a PUT.

Omitted fields are untouched; an explicit null CLEARS the field. Those are different instructions and only the second one is destructive.

put/skills/{action_id}/test-cases/{test_case_id}

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/skills/{action_id}/test-cases/{test_case_id}
  • Auth: HTTP bearer

Path parameters

action_idstring required

Skill or workflow action_id.

test_case_idstring required

Test case id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

object required

Any of name, input_data, expected_output, assertion_type, assertion_config.

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 2 revisions of this API.