warehouse_suggestions

post/api/projects/{project_id}/warehouse_suggestions/{id}/resume/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/warehouse_suggestions/{id}/resume/
  • Auth: HTTP bearer

Path parameters

idstring required
project_idstring required

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

Response

evidenceobject required

The usage numbers that led to this suggestion.

created_assetobject nullable required

What accepting this suggestion created. Null until accepted.

kind'certify' | 'deprecate' | 'materialize' required
  • certify - Certify
  • deprecate - Deprecate
  • materialize - Materialize
subject_kind'saved_query' | 'table' required
  • saved_query - Saved query
  • table - Table
status'proposed' | 'accepted' | 'dismissed' | 'expired' | 'auto_resolved' required
  • proposed - Proposed
  • accepted - Accepted
  • dismissed - Dismissed
  • expired - Expired
  • auto_resolved - Auto-resolved
idstring uuid required

Suggestion identifier.

subject_idstring uuid required

Id of the view or table the suggestion is about.

payload_versioninteger required

Version of the payload shape for this kind.

evidence_window_startstring date-time required

Start of the usage window the evidence covers.

evidence_window_endstring date-time required

End of the usage window the evidence covers.

last_seen_atstring date-time required

When the daily job last found evidence for this suggestion.

scorenumber double required

How strongly the evidence supports the suggestion. Higher comes first.

surfaced_atstring date-time nullable required

When the suggestion was first shown. Null while it waits for a slot.

reviewed_atstring date-time nullable required

When the suggestion was accepted or dismissed.

dismissal_notestring nullable required

Free-text note left when dismissing.

can_actboolean required

Whether the caller has edit access to the subject and so may accept, dismiss or resume.

Changes

No recorded changes to this operation across all 1 revision of this API.