Voice

Edit a saved case

SPENDS NOTHING. Partial update: omitted fields are untouched, an explicit null clears a nullable one (input_context, expected_output, assertion_config).

put/voice/agents/{agent_id}/test-cases/{test_case_id}

Request

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

Path parameters

agent_idstring required

Voice agent id.

test_case_idstring required

Saved test case id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

namestring nullable
input_messagestring nullable
input_contextobject nullable
channel'chat' | 'inbound' | 'outbound' nullable
expected_outputunknown
assertion_type'exact' | 'contains' | 'not_contains' | 'expects_tool' | 'refuses' | 'cites_collection' | 'llm_judge' nullable
assertion_configobject nullable

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.