---
title: "POST /api/{org_id}/playground/snapshots"
method: POST
path: "/api/{org_id}/playground/snapshots"
tags: ["Playground"]
---

# POST /api/{org_id}/playground/snapshots

`POST /api/{org_id}/playground/snapshots`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/playground/snapshots`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/playground/snapshots/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required

## Request body

- object
  - `parentSnapshotId` string, nullable: The snapshot this one was forked from, if any. A parent that has since been purged is accepted: lineage is a weak reference.
  - `payload` unknown, required

## Response `200`

- object
  - `createdAt` integer, required
  - `createdBy` string, required
  - `id` string, required
  - `lastAccessedAt` integer, required
  - `parentSnapshotId` string, nullable
  - `payload` unknown, required

## Other responses

- `400`: Payload is malformed or over a workbench limit

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
