PromptGround Prompts API

The Prompts API from PromptGround — 8 operation(s) for prompts.

Operations 10

GET /projects/{project_id}/prompts Get Prompts #
POST /projects/{project_id}/prompts Create Prompt #
POST /projects/{project_id}/prompts/runs Get Prompt Runs #
POST /projects/{project_id}/prompts/fresh-runs Get Prompt Runs #
POST /projects/{project_id}/prompts/runs/{run_id} Get Prompt Runs #
GET /projects/{project_id}/prompts/{prompt_id} Get Prompt Details #
POST /projects/{project_id}/prompts/{prompt_id} Update Prompt #
POST /projects/{project_id}/prompts/{prompt_id}/delete Delete Prompt #
GET /projects/{project_id}/prompts/{prompt_id}/versions/{prompt_version_id}/variables Get Version Variables #
POST /projects/{project_id}/prompts/{prompt_id}/run/{prompt_version_id} Post Run 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/promptground:promptground-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

promptground-prompts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Prompts API
  version: 0.1.0
tags:
- name: Prompts
paths:
  /projects/{project_id}/prompts:
    get:
      tags:
      - Prompts
      summary: Get Prompts
      operationId: get_prompts_projects__project_id__prompts_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: page
        in: query
        required: false
        schema:
          default: 0
          title: Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Prompts
      summary: Create Prompt
      operationId: create_prompt_projects__project_id__prompts_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Prompt'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/runs:
    post:
      tags:
      - Prompts
      summary: Get Prompt Runs
      operationId: get_prompt_runs_projects__project_id__prompts_runs_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: last_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Last Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptRunsFilter'
              default: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/fresh-runs:
    post:
      tags:
      - Prompts
      summary: Get Prompt Runs
      operationId: get_prompt_runs_projects__project_id__prompts_fresh_runs_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: latest_id
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Latest Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptRunsFilter'
              default: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/runs/{run_id}:
    post:
      tags:
      - Prompts
      summary: Get Prompt Runs
      operationId: get_prompt_runs_projects__project_id__prompts_runs__run_id__post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/{prompt_id}:
    get:
      tags:
      - Prompts
      summary: Get Prompt Details
      operationId: get_prompt_details_projects__project_id__prompts__prompt_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: prompt_id
        in: path
        required: true
        schema:
          title: Prompt Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Prompts
      summary: Update Prompt
      operationId: update_prompt_projects__project_id__prompts__prompt_id__post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: prompt_id
        in: path
        required: true
        schema:
          title: Prompt Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Prompt'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/{prompt_id}/delete:
    post:
      tags:
      - Prompts
      summary: Delete Prompt
      operationId: delete_prompt_projects__project_id__prompts__prompt_id__delete_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: prompt_id
        in: path
        required: true
        schema:
          title: Prompt Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/{prompt_id}/versions/{prompt_version_id}/variables:
    get:
      tags:
      - Prompts
      summary: Get Version Variables
      operationId: get_version_variables_projects__project_id__prompts__prompt_id__versions__prompt_version_id__variables_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: prompt_id
        in: path
        required: true
        schema:
          title: Prompt Id
      - name: prompt_version_id
        in: path
        required: true
        schema:
          title: Prompt Version Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/prompts/{prompt_id}/run/{prompt_version_id}:
    post:
      tags:
      - Prompts
      summary: Post Run Prompt
      operationId: post_run_prompt_projects__project_id__prompts__prompt_id__run__prompt_version_id__post
      security:
      - APIKeyHeader: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          title: Project Id
      - name: prompt_id
        in: path
        required: true
        schema:
          title: Prompt Id
      - name: prompt_version_id
        in: path
        required: true
        schema:
          title: Prompt Version Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromptDashboardRun'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Prompt:
      properties:
        alias:
          anyOf:
          - type: string
          - type: 'null'
          title: Alias
        messages:
          anyOf:
          - items:
              $ref: '#/components/schemas/PromptMessage'
            type: array
          - type: 'null'
          title: Messages
          default: []
        variables:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Variables
          default: []
      type: object
      title: Prompt
    PromptMessage:
      properties:
        position:
          type: integer
          title: Position
        role:
          type: string
          title: Role
        content:
          type: string
          title: Content
        canChangeRole:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Canchangerole
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        prompt_version:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt Version
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
      type: object
      required:
      - position
      - role
      - content
      title: PromptMessage
    PromptRunsFilter:
      properties:
        prompt_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt Id
        prompt_version_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt Version Id
        from_date:
          anyOf:
          - type: string
          - type: 'null'
          title: From Date
        to_date:
          anyOf:
          - type: string
          - type: 'null'
          title: To Date
      type: object
      title: PromptRunsFilter
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PromptDashboardRun:
      properties:
        messages:
          items: {}
          type: array
          title: Messages
        variables:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Variables
          default: []
        metadata:
          anyOf:
          - {}
          - type: 'null'
          title: Metadata
          default: {}
        model:
          anyOf:
          - type: string
          - type: 'null'
          title: Model
          default: gpt-4o
        context:
          anyOf:
          - {}
          - type: 'null'
          title: Context
          default: {}
      type: object
      required:
      - messages
      title: PromptDashboardRun
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization