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"
    }
  ]
}

Changes

Changed in 1 of the 17 revisions of this API.1

Of the 17 revisions, 1 has no diff computed.