provider agent_platformagent_applications GET /api/projects/{project_id}/agent_applications/{id}/preview-proxy/{rest}/
@utdk/posthog /api/projects/{project_id}/agent_applications/{id}/preview-proxy/{rest}/
agent_applications_preview_proxy_get
GET passthrough for the preview-proxy — used for `/listen` SSE.
format query
enum: json, sse
id path required
A UUID string identifying this agent application.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
rest path required
Ingress sub-path under the agent slug. One of: `run`, `send`, `cancel`, `listen`.
string
revision_id query required
Target draft revision. Must belong to this application and not be live.
string

Try it

Authentication
Configure credentials for PostHog API
agentApplicationsPreviewProxyGet
GET/api/projects/{project_id}/agent_applications/{id}/preview-proxy/{rest}/
GET passthrough for the preview-proxy — used for `/listen` SSE.

Parameters

required

A UUID string identifying this agent application.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

required

Ingress sub-path under the agent slug. One of: `run`, `send`, `cancel`, `listen`.

required

Target draft revision. Must belong to this application and not be live.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.agentApplicationsPreviewProxyGet()