Arize Phoenix prompts API

The prompts API from Arize Phoenix — 8 operation(s) for prompts.

Operations 10

GET /v1/prompts List all prompts #
POST /v1/prompts Create a new prompt #
GET /v1/prompts/{prompt_identifier}/versions List prompt versions #
GET /v1/prompt_versions/{prompt_version_id} Get prompt version by ID #
GET /v1/prompts/{prompt_identifier}/tags/{tag_name} Get prompt version by tag #
GET /v1/prompts/{prompt_identifier}/latest Get latest prompt version #
GET /v1/prompt_versions/{prompt_version_id}/tags List prompt version tags #
POST /v1/prompt_versions/{prompt_version_id}/tags Add tag to prompt version #
DELETE /v1/prompt_versions/{prompt_version_id}/tags/{tag_name} Delete a tag from a prompt version #
DELETE /v1/prompts/{prompt_identifier} Delete a prompt #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/phoenix-prompts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

phoenix-prompts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Arize-Phoenix REST annotation_configs Prompts API
  description: Schema for Arize-Phoenix REST API
  version: '1.0'
servers:
- url: https://app.phoenix.arize.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: prompts
paths:
  /v1/prompts:
    get:
      tags:
      - prompts
      summary: List all prompts
      description: Retrieve a paginated list of all prompts in the system. A prompt can have multiple versions.
      operationId: getPrompts
      parameters:
      - name: cursor
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          description: Cursor for pagination (base64-encoded prompt ID)
          title: Cursor
        description: Cursor for pagination (base64-encoded prompt ID)
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          exclusiveMinimum: 0
          description: The max number of prompts to return at a time.
          default: 100
          title: Limit
        description: The max number of prompts to return at a time.
      responses:
        '200':
          description: A list of prompts with pagination information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptsResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
    post:
      tags:
      - prompts
      summary: Create a new prompt
      description: Create a new prompt and its initial version. A prompt can have multiple versions.
      operationId: postPromptVersion
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePromptRequestBody'
      responses:
        '200':
          description: The newly created prompt version
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatePromptResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompts/{prompt_identifier}/versions:
    get:
      tags:
      - prompts
      summary: List prompt versions
      description: Retrieve all versions of a specific prompt with pagination support. Each prompt can have multiple versions with different configurations.
      operationId: listPromptVersions
      parameters:
      - name: prompt_identifier
        in: path
        required: true
        schema:
          type: string
          description: The identifier of the prompt, i.e. name or ID.
          title: Prompt Identifier
        description: The identifier of the prompt, i.e. name or ID.
      - name: cursor
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          description: Cursor for pagination (base64-encoded promptVersion ID)
          title: Cursor
        description: Cursor for pagination (base64-encoded promptVersion ID)
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          exclusiveMinimum: 0
          description: The max number of prompt versions to return at a time.
          default: 100
          title: Limit
        description: The max number of prompt versions to return at a time.
      responses:
        '200':
          description: A list of prompt versions with pagination information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptVersionsResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
  /v1/prompt_versions/{prompt_version_id}:
    get:
      tags:
      - prompts
      summary: Get prompt version by ID
      description: Retrieve a specific prompt version using its unique identifier. A prompt version contains the actual template and configuration.
      operationId: getPromptVersionByPromptVersionId
      parameters:
      - name: prompt_version_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the prompt version.
          title: Prompt Version Id
        description: The ID of the prompt version.
      responses:
        '200':
          description: The requested prompt version
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompts/{prompt_identifier}/tags/{tag_name}:
    get:
      tags:
      - prompts
      summary: Get prompt version by tag
      description: Retrieve a specific prompt version using its tag name. Tags are used to identify specific versions of a prompt.
      operationId: getPromptVersionByTagName
      parameters:
      - name: prompt_identifier
        in: path
        required: true
        schema:
          type: string
          description: The identifier of the prompt, i.e. name or ID.
          title: Prompt Identifier
        description: The identifier of the prompt, i.e. name or ID.
      - name: tag_name
        in: path
        required: true
        schema:
          type: string
          description: The tag of the prompt version
          title: Tag Name
        description: The tag of the prompt version
      responses:
        '200':
          description: The prompt version with the specified tag
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompts/{prompt_identifier}/latest:
    get:
      tags:
      - prompts
      summary: Get latest prompt version
      description: Retrieve the most recent version of a specific prompt.
      operationId: getPromptVersionLatest
      parameters:
      - name: prompt_identifier
        in: path
        required: true
        schema:
          type: string
          description: The identifier of the prompt, i.e. name or ID.
          title: Prompt Identifier
        description: The identifier of the prompt, i.e. name or ID.
      responses:
        '200':
          description: The latest version of the specified prompt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompt_versions/{prompt_version_id}/tags:
    get:
      tags:
      - prompts
      summary: List prompt version tags
      description: Retrieve all tags associated with a specific prompt version. Tags are used to identify and categorize different versions of a prompt.
      operationId: getPromptVersionTags
      parameters:
      - name: prompt_version_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the prompt version.
          title: Prompt Version Id
        description: The ID of the prompt version.
      - name: cursor
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          description: Cursor for pagination (base64-encoded promptVersionTag ID)
          title: Cursor
        description: Cursor for pagination (base64-encoded promptVersionTag ID)
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          exclusiveMinimum: 0
          description: The max number of tags to return at a time.
          default: 100
          title: Limit
        description: The max number of tags to return at a time.
      responses:
        '200':
          description: A list of tags associated with the prompt version
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPromptVersionTagsResponseBody'
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
    post:
      tags:
      - prompts
      summary: Add tag to prompt version
      description: Add a new tag to a specific prompt version. Tags help identify and categorize different versions of a prompt.
      operationId: createPromptVersionTag
      parameters:
      - name: prompt_version_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the prompt version.
          title: Prompt Version Id
        description: The ID of the prompt version.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptVersionTagData'
      responses:
        '204':
          description: No content returned on successful tag creation
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompt_versions/{prompt_version_id}/tags/{tag_name}:
    delete:
      tags:
      - prompts
      summary: Delete a tag from a prompt version
      description: Delete a tag from a specific prompt version by tag name. The tag is resolved within the scope of the prompt linked to the version.
      operationId: deletePromptVersionTag
      parameters:
      - name: prompt_version_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the prompt version.
          title: Prompt Version Id
        description: The ID of the prompt version.
      - name: tag_name
        in: path
        required: true
        schema:
          type: string
          description: The name of the tag to delete.
          title: Tag Name
        description: The name of the tag to delete.
      responses:
        '204':
          description: No content returned on successful tag deletion
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
  /v1/prompts/{prompt_identifier}:
    delete:
      tags:
      - prompts
      summary: Delete a prompt
      description: Delete a prompt and all its versions, tags, and labels by identifier.
      operationId: deletePrompt
      parameters:
      - name: prompt_identifier
        in: path
        required: true
        schema:
          type: string
          description: The identifier of the prompt, i.e. name or ID.
          title: Prompt Identifier
        description: The identifier of the prompt, i.e. name or ID.
      responses:
        '204':
          description: Successful Response
        '403':
          content:
            text/plain:
              schema:
                type: string
          description: Forbidden
        '404':
          content:
            text/plain:
              schema:
                type: string
          description: Not Found
        '422':
          content:
            text/plain:
              schema:
                type: string
          description: Unprocessable Entity
components:
  schemas:
    PromptOpenAIInvocationParameters:
      properties:
        type:
          type: string
          const: openai
          title: Type
        openai:
          $ref: '#/components/schemas/PromptOpenAIInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - openai
      title: PromptOpenAIInvocationParameters
    PromptResponseFormatJSONSchemaDefinition:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        schema:
          additionalProperties: true
          type: object
          title: Schema
        strict:
          type: boolean
          title: Strict
      additionalProperties: false
      type: object
      required:
      - name
      title: PromptResponseFormatJSONSchemaDefinition
    PromptToolChoiceOneOrMore:
      properties:
        type:
          type: string
          const: one_or_more
          title: Type
      additionalProperties: false
      type: object
      required:
      - type
      title: PromptToolChoiceOneOrMore
    Identifier:
      type: string
      pattern: ^[a-z0-9]([_a-z0-9-]*[a-z0-9])?$
      title: Identifier
    PromptAnthropicThinkingConfigEnabled:
      properties:
        type:
          type: string
          const: enabled
          title: Type
        budget_tokens:
          type: integer
          minimum: 1024.0
          title: Budget Tokens
        display:
          type: string
          enum:
          - summarized
          - omitted
          title: Display
      additionalProperties: false
      type: object
      required:
      - type
      - budget_tokens
      title: PromptAnthropicThinkingConfigEnabled
    PromptTools:
      properties:
        type:
          type: string
          const: tools
          title: Type
        tools:
          items:
            oneOf:
            - $ref: '#/components/schemas/PromptToolFunction'
            - $ref: '#/components/schemas/PromptToolRaw'
            discriminator:
              propertyName: type
              mapping:
                function: '#/components/schemas/PromptToolFunction'
                raw: '#/components/schemas/PromptToolRaw'
          type: array
          minItems: 1
          title: Tools
        tool_choice:
          oneOf:
          - $ref: '#/components/schemas/PromptToolChoiceNone'
          - $ref: '#/components/schemas/PromptToolChoiceZeroOrMore'
          - $ref: '#/components/schemas/PromptToolChoiceOneOrMore'
          - $ref: '#/components/schemas/PromptToolChoiceSpecificFunctionTool'
          title: Tool Choice
          discriminator:
            propertyName: type
            mapping:
              none: '#/components/schemas/PromptToolChoiceNone'
              one_or_more: '#/components/schemas/PromptToolChoiceOneOrMore'
              specific_function: '#/components/schemas/PromptToolChoiceSpecificFunctionTool'
              zero_or_more: '#/components/schemas/PromptToolChoiceZeroOrMore'
        disable_parallel_tool_calls:
          type: boolean
          title: Disable Parallel Tool Calls
      additionalProperties: false
      type: object
      required:
      - type
      - tools
      title: PromptTools
    PromptXAIInvocationParameters:
      properties:
        type:
          type: string
          const: xai
          title: Type
        xai:
          $ref: '#/components/schemas/PromptXAIInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - xai
      title: PromptXAIInvocationParameters
    PromptGroqInvocationParameters:
      properties:
        type:
          type: string
          const: groq
          title: Type
        groq:
          $ref: '#/components/schemas/PromptGroqInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - groq
      title: PromptGroqInvocationParameters
    PromptAnthropicInvocationParameters:
      properties:
        type:
          type: string
          const: anthropic
          title: Type
        anthropic:
          $ref: '#/components/schemas/PromptAnthropicInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - anthropic
      title: PromptAnthropicInvocationParameters
    PromptTemplateFormat:
      type: string
      enum:
      - MUSTACHE
      - F_STRING
      - NONE
      title: PromptTemplateFormat
    PromptXAIInvocationParametersContent:
      properties:
        temperature:
          type: number
          title: Temperature
        max_tokens:
          type: integer
          title: Max Tokens
        max_completion_tokens:
          type: integer
          title: Max Completion Tokens
        frequency_penalty:
          type: number
          title: Frequency Penalty
        presence_penalty:
          type: number
          title: Presence Penalty
        top_p:
          type: number
          title: Top P
        seed:
          type: integer
          title: Seed
        stop:
          items:
            type: string
          type: array
          title: Stop
        reasoning_effort:
          type: string
          enum:
          - none
          - minimal
          - low
          - medium
          - high
          - xhigh
          title: Reasoning Effort
        extra_body:
          additionalProperties: true
          type: object
          title: Extra Body
      additionalProperties: false
      type: object
      title: PromptXAIInvocationParametersContent
    PromptResponseFormatJSONSchema:
      properties:
        type:
          type: string
          const: json_schema
          title: Type
        json_schema:
          $ref: '#/components/schemas/PromptResponseFormatJSONSchemaDefinition'
      additionalProperties: false
      type: object
      required:
      - type
      - json_schema
      title: PromptResponseFormatJSONSchema
    PromptDeepSeekInvocationParametersContent:
      properties:
        temperature:
          type: number
          title: Temperature
        max_tokens:
          type: integer
          title: Max Tokens
        max_completion_tokens:
          type: integer
          title: Max Completion Tokens
        frequency_penalty:
          type: number
          title: Frequency Penalty
        presence_penalty:
          type: number
          title: Presence Penalty
        top_p:
          type: number
          title: Top P
        seed:
          type: integer
          title: Seed
        stop:
          items:
            type: string
          type: array
          title: Stop
        reasoning_effort:
          type: string
          enum:
          - none
          - minimal
          - low
          - medium
          - high
          - xhigh
          title: Reasoning Effort
        extra_body:
          additionalProperties: true
          type: object
          title: Extra Body
      additionalProperties: false
      type: object
      title: PromptDeepSeekInvocationParametersContent
    PromptOllamaInvocationParameters:
      properties:
        type:
          type: string
          const: ollama
          title: Type
        ollama:
          $ref: '#/components/schemas/PromptOllamaInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - ollama
      title: PromptOllamaInvocationParameters
    PromptToolChoiceSpecificFunctionTool:
      properties:
        type:
          type: string
          const: specific_function
          title: Type
        function_name:
          type: string
          title: Function Name
      additionalProperties: false
      type: object
      required:
      - type
      - function_name
      title: PromptToolChoiceSpecificFunctionTool
    PromptChatTemplate:
      properties:
        type:
          type: string
          const: chat
          title: Type
        messages:
          items:
            $ref: '#/components/schemas/PromptMessage'
          type: array
          title: Messages
      additionalProperties: false
      type: object
      required:
      - type
      - messages
      title: PromptChatTemplate
    PromptToolFunction:
      properties:
        type:
          type: string
          const: function
          title: Type
        function:
          $ref: '#/components/schemas/PromptToolFunctionDefinition'
      additionalProperties: false
      type: object
      required:
      - type
      - function
      title: PromptToolFunction
    PromptToolChoiceZeroOrMore:
      properties:
        type:
          type: string
          const: zero_or_more
          title: Type
      additionalProperties: false
      type: object
      required:
      - type
      title: PromptToolChoiceZeroOrMore
    PromptAwsInvocationParameters:
      properties:
        type:
          type: string
          const: aws
          title: Type
        aws:
          $ref: '#/components/schemas/PromptAwsInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - aws
      title: PromptAwsInvocationParameters
    PromptDeepSeekInvocationParameters:
      properties:
        type:
          type: string
          const: deepseek
          title: Type
        deepseek:
          $ref: '#/components/schemas/PromptDeepSeekInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - deepseek
      title: PromptDeepSeekInvocationParameters
    TextContentPart:
      properties:
        type:
          type: string
          const: text
          title: Type
        text:
          type: string
          title: Text
      additionalProperties: false
      type: object
      required:
      - type
      - text
      title: TextContentPart
    ToolCallFunction:
      properties:
        type:
          type: string
          const: function
          title: Type
        name:
          type: string
          title: Name
        arguments:
          type: string
          title: Arguments
      additionalProperties: false
      type: object
      required:
      - type
      - name
      - arguments
      title: ToolCallFunction
    PromptCerebrasInvocationParametersContent:
      properties:
        temperature:
          type: number
          title: Temperature
        max_tokens:
          type: integer
          title: Max Tokens
        max_completion_tokens:
          type: integer
          title: Max Completion Tokens
        frequency_penalty:
          type: number
          title: Frequency Penalty
        presence_penalty:
          type: number
          title: Presence Penalty
        top_p:
          type: number
          title: Top P
        seed:
          type: integer
          title: Seed
        stop:
          items:
            type: string
          type: array
          title: Stop
        reasoning_effort:
          type: string
          enum:
          - none
          - minimal
          - low
          - medium
          - high
          - xhigh
          title: Reasoning Effort
        extra_body:
          additionalProperties: true
          type: object
          title: Extra Body
      additionalProperties: false
      type: object
      title: PromptCerebrasInvocationParametersContent
    PromptOpenAIInvocationParametersContent:
      properties:
        temperature:
          type: number
          title: Temperature
        max_tokens:
          type: integer
          title: Max Tokens
        max_completion_tokens:
          type: integer
          title: Max Completion Tokens
        frequency_penalty:
          type: number
          title: Frequency Penalty
        presence_penalty:
          type: number
          title: Presence Penalty
        top_p:
          type: number
          title: Top P
        seed:
          type: integer
          title: Seed
        stop:
          items:
            type: string
          type: array
          title: Stop
        reasoning_effort:
          type: string
          enum:
          - none
          - minimal
          - low
          - medium
          - high
          - xhigh
          title: Reasoning Effort
        extra_body:
          additionalProperties: true
          type: object
          title: Extra Body
      additionalProperties: false
      type: object
      title: PromptOpenAIInvocationParametersContent
    PromptToolChoiceNone:
      properties:
        type:
          type: string
          const: none
          title: Type
      additionalProperties: false
      type: object
      required:
      - type
      title: PromptToolChoiceNone
    CreatePromptRequestBody:
      properties:
        prompt:
          $ref: '#/components/schemas/PromptData'
        version:
          $ref: '#/components/schemas/PromptVersionData'
      type: object
      required:
      - prompt
      - version
      title: CreatePromptRequestBody
    PromptVersionData:
      properties:
        description:
          type:
          - string
          - 'null'
          title: Description
        model_provider:
          $ref: '#/components/schemas/ModelProvider'
        model_name:
          type: string
          title: Model Name
        template:
          oneOf:
          - $ref: '#/components/schemas/PromptChatTemplate'
          - $ref: '#/components/schemas/PromptStringTemplate'
          title: Template
          discriminator:
            propertyName: type
            mapping:
              chat: '#/components/schemas/PromptChatTemplate'
              string: '#/components/schemas/PromptStringTemplate'
        template_type:
          $ref: '#/components/schemas/PromptTemplateType'
        template_format:
          $ref: '#/components/schemas/PromptTemplateFormat'
        invocation_parameters:
          oneOf:
          - $ref: '#/components/schemas/PromptOpenAIInvocationParameters'
          - $ref: '#/components/schemas/PromptAzureOpenAIInvocationParameters'
          - $ref: '#/components/schemas/PromptAnthropicInvocationParameters'
          - $ref: '#/components/schemas/PromptGoogleInvocationParameters'
          - $ref: '#/components/schemas/PromptDeepSeekInvocationParameters'
          - $ref: '#/components/schemas/PromptXAIInvocationParameters'
          - $ref: '#/components/schemas/PromptOllamaInvocationParameters'
          - $ref: '#/components/schemas/PromptAwsInvocationParameters'
          - $ref: '#/components/schemas/PromptCerebrasInvocationParameters'
          - $ref: '#/components/schemas/PromptFireworksInvocationParameters'
          - $ref: '#/components/schemas/PromptGroqInvocationParameters'
          - $ref: '#/components/schemas/PromptMoonshotInvocationParameters'
          - $ref: '#/components/schemas/PromptPerplexityInvocationParameters'
          - $ref: '#/components/schemas/PromptTogetherInvocationParameters'
          title: Invocation Parameters
          discriminator:
            propertyName: type
            mapping:
              anthropic: '#/components/schemas/PromptAnthropicInvocationParameters'
              aws: '#/components/schemas/PromptAwsInvocationParameters'
              azure_openai: '#/components/schemas/PromptAzureOpenAIInvocationParameters'
              cerebras: '#/components/schemas/PromptCerebrasInvocationParameters'
              deepseek: '#/components/schemas/PromptDeepSeekInvocationParameters'
              fireworks: '#/components/schemas/PromptFireworksInvocationParameters'
              google: '#/components/schemas/PromptGoogleInvocationParameters'
              groq: '#/components/schemas/PromptGroqInvocationParameters'
              moonshot: '#/components/schemas/PromptMoonshotInvocationParameters'
              ollama: '#/components/schemas/PromptOllamaInvocationParameters'
              openai: '#/components/schemas/PromptOpenAIInvocationParameters'
              perplexity: '#/components/schemas/PromptPerplexityInvocationParameters'
              together: '#/components/schemas/PromptTogetherInvocationParameters'
              xai: '#/components/schemas/PromptXAIInvocationParameters'
        tools:
          $ref: '#/components/schemas/PromptTools'
        response_format:
          oneOf:
          - $ref: '#/components/schemas/PromptResponseFormatJSONSchema'
          discriminator:
            propertyName: type
            mapping:
              json_schema: '#/components/schemas/PromptResponseFormatJSONSchema'
          title: Response Format
      type: object
      required:
      - model_provider
      - model_name
      - template
      - template_type
      - template_format
      - invocation_parameters
      title: PromptVersionData
    PromptMoonshotInvocationParametersContent:
      properties:
        temperature:
          type: number
          title: Temperature
        max_tokens:
          type: integer
          title: Max Tokens
        max_completion_tokens:
          type: integer
          title: Max Completion Tokens
        frequency_penalty:
          type: number
          title: Frequency Penalty
        presence_penalty:
          type: number
          title: Presence Penalty
        top_p:
          type: number
          title: Top P
        seed:
          type: integer
          title: Seed
        stop:
          items:
            type: string
          type: array
          title: Stop
        reasoning_effort:
          type: string
          enum:
          - none
          - minimal
          - low
          - medium
          - high
          - xhigh
          title: Reasoning Effort
        extra_body:
          additionalProperties: true
          type: object
          title: Extra Body
      additionalProperties: false
      type: object
      title: PromptMoonshotInvocationParametersContent
    PromptPerplexityInvocationParameters:
      properties:
        type:
          type: string
          const: perplexity
          title: Type
        perplexity:
          $ref: '#/components/schemas/PromptPerplexityInvocationParametersContent'
      additionalProperties: false
      type: object
      required:
      - type
      - perplexity
      title: PromptPerplexityInvocationParameters
    PromptAnthropicOutputConfig:
      properties:
        effort:
          type: string
          enum:
          - low
          - medium
          - high
          - xhigh
          - max
          title: Effort
      additionalProperties: false
      type: object
      title:

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/phoenix/refs/heads/main/openapi/phoenix-prompts-api-openapi.yml