PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Object Media Previews API

8 actions 8 updates phrasing extends openapi/posthog-object-media-previews-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PostHog's API. It is a proposal applied on top of the contract, not a document PostHog publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/projects/{project_id}/object_media_previews/'].get
$.paths['/api/projects/{project_id}/object_media_previews/'].post
$.paths['/api/projects/{project_id}/object_media_previews/{id}/'].get
$.paths['/api/projects/{project_id}/object_media_previews/{id}/'].put
$.paths['/api/projects/{project_id}/object_media_previews/{id}/'].delete
$.paths['/api/projects/{project_id}/object_media_previews/{id}/'].patch
$.paths['/api/projects/{project_id}/object_media_previews/preferred_for_event/'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PostHog Object Media Previews API
  version: 1.0.0
extends: openapi/posthog-object-media-previews-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/api/projects/{project_id}/object_media_previews/'].get
  update:
    x-apievangelist-phrasing:
      intent: List object media previews
      effect: read
      questions:
      - Which media previews are available for an object in my project?
      - Can I page through object media previews?
      instructions:
      - text: List object media previews in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show {limit} object media previews in project {project_id}.
        slots:
          limit: query.limit
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an object media preview
      effect: write
      questions:
      - How do I add a media preview for an object?
      - Can I link an uploaded or exported asset to an object?
      instructions:
      - text: Create a media preview in project {project_id} with media URL {media_url} and type {media_type}.
        slots:
          project_id: path.project_id
          media_url: requestBody.media_url
          media_type: requestBody.media_type
      - text: Add object media preview {id} for event {event_definition_id} in project {project_id}.
        slots:
          id: requestBody.id
          event_definition_id: requestBody.event_definition_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an object media preview
      effect: read
      questions:
      - What media preview is stored for an object?
      - Can I fetch one object media preview by ID?
      instructions:
      - text: Get object media preview {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the media URL of object media preview {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an object media preview
      effect: write
      questions:
      - How do I overwrite an object media preview completely?
      - Can I replace an object's media preview with a new URL?
      instructions:
      - text: Replace object media preview {id} in project {project_id} with media URL {media_url} and type {media_type}.
        slots:
          id: path.id
          project_id: path.project_id
          media_url: requestBody.media_url
          media_type: requestBody.media_type
      - text: Overwrite object media preview {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an object media preview
      effect: destructive
      questions:
      - How can I remove an object media preview from a project?
      - Can I delete a single media preview object?
      instructions:
      - text: Delete object media preview {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Remove media preview {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an object media preview
      effect: write
      questions:
      - Can I change just the metadata on an object media preview?
      - How do I mark an object media preview as preferred?
      instructions:
      - text: Set metadata {metadata} on object media preview {id} in project {project_id}.
        slots:
          metadata: requestBody.metadata
          id: path.id
          project_id: path.project_id
      - text: Mark object media preview {id} in project {project_id} as preferred.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/object_media_previews/preferred_for_event/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the preferred media preview for an event
      effect: read
      questions:
      - Which media preview is shown for an event definition?
      - Is the preferred object media preview uploaded or exported?
      instructions:
      - text: Get the preferred media preview for an event in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the most recent user-uploaded or exported asset for an event in project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/posthog-object-media-previews-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.