Api Playgrounds Columns Create

Default POST handler with automatic organization injection. For CREATE operations: - Superadmins can specify organization_id in request body (API key only) - Regular users always use their own organization Override this method for: - POST-for-filtering pattern (delegate to self.get()) - Custom pre-create validation Note: ``inject_target_organization`` is a DEPRECATED ``request.data``-mutating shim kept for backward-compat during the DEV-9410 migration. The blessed path stamps org via ``get_create_save_kwargs`` → ``perform_create`` → a ``read_only`` serializer field. The shim (and these overrides' reliance on it) is removed in C18 (DEV-9430) once every view's org field is read_only.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

playground_idstringRequired

Request

This endpoint expects an object.
playgroundstringRequired>=1 character
namestringRequired1-255 characters
orderintegerOptional0-2147483647Defaults to 0
column_typeenumOptional
  • prompt - Prompt
source_typeenumOptional
  • prompt - Prompt
  • log - Log
  • scratch - Scratch
linked_prompt_idstring or nullOptional>=1 character
linked_prompt_versioninteger or nullOptional0-2147483647
promptanyOptional
is_archivedbooleanOptional

Response

idstringRead-only
playgroundstring
namestring<=255 characters
orderinteger0-2147483647Defaults to 0
column_typeenum
  • prompt - Prompt
source_typeenum
  • prompt - Prompt
  • log - Log
  • scratch - Scratch
linked_prompt_idstring or null
linked_prompt_versioninteger or null0-2147483647
promptany
is_archivedboolean