Contextual AI icon

Contextual AI

Access Contextual AI tools for agents, parsing, querying, and reranking.

Agent → Delete Agent

AI-generated

Summary

Deletes a given agent permanently via the Contextual AI API.

Inputs

  • agentId (required) — ID of the agent to delete. Must be a valid UUID format (validated server-side).
  • authentication — Choose which authentication method to use. Defaults to contextualAiApi (API Key).

Output shape

object

Returns a success confirmation from the API.

Examples

Example 1: Delete an agent by its UUID.

Provide the agentId parameter with a valid UUID string. The authentication parameter is optional and defaults to the Contextual AI API key connection if not specified.

Discussion