Explicitly save a private snapshot
Current verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.
/platform/organizations/{organizationId}/projects/{projectId}/playground/runsCurrent verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.
Authorization
accountSession Better Auth signed HttpOnly session cookie; HTTPS uses the __Secure-better-auth.session_token name. Sign in through /api/auth. Browser clients send cookies automatically; do not paste secrets into docs.
In: cookie
Path Parameters
uuiduuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Complete request maximum 1 MiB. Client UUID permits identical retries. Limit 50 unexpired runs per user across projects; expiry 30 days from database creation time.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/platform/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/playground/runs" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "snapshot": { "request": { "operation": "detect", "payload": { "text": "string" } }, "mode": "local", "build": "string", "elapsedMs": 0, "profiles": [ "string" ] } }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "payloadSize": 1, "snapshot": { "request": { "operation": "detect", "payload": { "text": "string" } }, "mode": "local", "build": "string", "elapsedMs": 0, "profiles": [ "string" ], "httpStatus": 100, "requestId": "string", "error": { "code": "string", "message": "string" }, "result": { "input": "string", "encoding": "unicode", "confidence": 0, "profile": "zawgyi-unicode-v1", "segments": [ { "text": "string", "encoding": "unicode", "zawgyiProbability": 0, "start": 0, "end": 0 } ] } }}List owned unexpired saved runs GET
Current verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.
Retrieve an owned snapshot without execution GET
Current verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.