v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
Agents Platform

Delete Agent Draft

Delete a draft for an agent

delete/v1/convai/agents/{agent_id}/drafts

Path parameters

agent_idstring required

The id of an agent. This is returned on agent creation.

Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz

The id of an agent. This is returned on agent creation.

Query parameters

branch_idstring required

The ID of the agent branch to use

Example:agtbrch_8901k4t9z5defmb8vh3e9361y7nj

The ID of the agent branch to use

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

{"stackTrail":"paths:/v1/convai/agents/{agent_id}/drafts:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}