Agent Observability

Update an Agent Observability prompt

Update the title, the description, or both, for an Agent Observability prompt.

patch/api/v2/llm-obs/v1/prompts/{prompt_id}

Request

Path parameters

prompt_idstring required

The customer-provided identifier of the Agent Observability prompt.

Request body

Example request

{
  "data": {
    "type": "prompt-templates"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "author": "3b12f1df-14fd-4e12-bd6f-4a2f5c8b3d1e",
      "created_at": "2025-01-15T10:00:00Z",
      "created_from": "sdk-registry",
      "description": "Answers customer questions using the company knowledge base.",
      "in_registry": true,
      "last_version_created_at": "2025-01-15T10:00:00Z",
      "num_versions": 1,
      "prompt_id": "customer-support-assistant",
      "source": "registry",
      "title": "Customer Support Assistant"
    },
    "id": "4a1a28ff-8a25-5f0f-946f-f48264d772eb",
    "type": "prompt-templates"
  }
}

Changes

Changes to this operation have not been checked yet.