latestOpenAPI 3.0.3Apache-2.02026-08-20144388691.9 KB

ddf93df2c295

Prompts

Get a prompt's webhook subscriptions

Get the webhooks attached to a prompt and the events each receives.

<Warning>This endpoint is in alpha, read more here.</Warning>

get/v2/prompts/{prompt_id}/webhook-subscriptions

Path parameters

prompt_idstring required

A universally unique identifier (base64-encoded opaque string).

Example:RW50aXR5OjEyMzQ1

The unique prompt identifier (base64)

Response

The complete set of webhook subscriptions attached to the resource

Example response

{
  "subscriptions": [
    {
      "webhook_id": "RW50aXR5OjEyMzQ1"
    }
  ]
}