PromptGround API v2 API
The API v2 API from PromptGround — 2 operation(s) for api v2.
The API v2 API from PromptGround — 2 operation(s) for api v2.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/promptground:promptground-api-v2-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Fast API v2 API
version: 0.1.0
tags:
- name: API v2
paths:
/v2/prompt/messages:
post:
tags:
- API v2
summary: Messages
operationId: messages_v2_prompt_messages_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PromptUse'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
/v2/prompt/run:
post:
tags:
- API v2
summary: Run Prompt
operationId: run_prompt_v2_prompt_run_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PromptRun'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
PromptUse:
properties:
alias:
type: string
title: Alias
data:
anyOf:
- {}
- type: 'null'
title: Data
default: {}
metadata:
anyOf:
- {}
- type: 'null'
title: Metadata
default: {}
context:
anyOf:
- {}
- type: 'null'
title: Context
default: {}
version:
anyOf:
- type: string
- type: 'null'
title: Version
labels:
anyOf:
- items: {}
type: array
- type: 'null'
title: Labels
default: []
type: object
required:
- alias
title: PromptUse
PromptRun:
properties:
alias:
type: string
title: Alias
data:
anyOf:
- {}
- type: 'null'
title: Data
default: {}
metadata:
anyOf:
- {}
- type: 'null'
title: Metadata
default: {}
context:
anyOf:
- {}
- type: 'null'
title: Context
default: {}
version:
anyOf:
- type: string
- type: 'null'
title: Version
labels:
anyOf:
- items: {}
type: array
- type: 'null'
title: Labels
default: []
model:
anyOf:
- type: string
- type: 'null'
title: Model
default: gpt-4o
response_format:
anyOf:
- type: string
- type: 'null'
title: Response Format
type: object
required:
- alias
title: PromptRun
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
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: Authorization