Create a prompt
Create a new prompt in the workspace.
Authorizations
Body
Request body for creating a new prompt.
Entity storage path.
With workspace-level API keys, use the format project/folder/subfolder/.... The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: Default Project/agents.
With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: agents. For backward compatibility, a leading project name is ignored when it matches the scoped project.
"Default Project"
Response
Prompt created.
A prompt entity with configuration, metadata, and versioning.