provider agent_platformagent_applications GET /api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/env_keys/{key}/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/env_keys/{key}/
agent_revisions_env_keys_get
GET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.
application_id path required
string
id path required
A UUID string identifying this agent revision.
string
key path required
The env variable name. Conventionally UPPER_SNAKE_CASE; the API does not enforce a shape.
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

Try it

Authentication
Configure credentials for PostHog API
agentRevisionsEnvKeysGet
GET/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/env_keys/{key}/
GET / PUT / DELETE one secret by name on this revision. - `GET` → `{ key, is_set }` (never returns the value). - `PUT` → upserts `{ value }` into the env block. - `DELETE` → removes the key. No-op when it wasn't set. Per-method scope: GET is treated as a write action so the single action name maps to one consistent scope; reading whether a secret is set is restricted to writers in any case.

Parameters

required
required

A UUID string identifying this agent revision.

required

The env variable name. Conventionally UPPER_SNAKE_CASE; the API does not enforce a shape.

required

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

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.agentRevisionsEnvKeysGet()