Create a prompt
Create a new prompt with an initial version.
Payload Requirements
- The prompt name must be unique within the given space.
- At least one message is required.
<Note>This endpoint is in beta, read more here.</Note>
Request body
Response
A prompt object with a resolved version
Changes
Changed in 3 of the 16 revisions of this API.551
- ○
added the optional property
allOf[subschema #2]/version/invocation_params/allOf[InvocationParams]/service_tierto the response with the201statusresponse-optional-property-added
- ○
- ▲
added
ToolConfigRequestto theversion/invocation_params/tool_configrequest propertyallOflistrequest-property-all-of-added
- ●
removed
ToolConfigfrom theversion/invocation_params/tool_configrequest propertyallOflistrequest-property-all-of-removed
- ▲
- ▲
added
AnthropicHeadersRequestto theversion/provider_params/anthropic_headersrequest propertyallOflistrequest-property-all-of-added
- ▲
added
AzureParamsRequestto theversion/provider_params/azure_paramsrequest propertyallOflistrequest-property-all-of-added
- ▲
added
BedrockOptionsRequestto theversion/provider_params/bedrock_optionsrequest propertyallOflistrequest-property-all-of-added
- ▲
added
ResponseFormatRequestto theversion/invocation_params/response_formatrequest propertyallOflistrequest-property-all-of-added
- ●
removed
AnthropicHeadersfrom theversion/provider_params/anthropic_headersrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
AzureParamsfrom theversion/provider_params/azure_paramsrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
BedrockOptionsfrom theversion/provider_params/bedrock_optionsrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
ResponseFormatfrom theversion/invocation_params/response_formatrequest propertyallOflistrequest-property-all-of-removed
- ▲
Of the 16 revisions, 1 has no diff computed.