Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Keywords AI Prompts API

Prompt and prompt-version management.

Keywords AI Prompts API is one of 9 APIs that Keywords AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Prompts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 7 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://api.keywordsai.co/api.

7 operations 3 paths 5 schemas 1 DELETE3 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.keywordsai.co/api
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Keywords AI Prompts API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Keywords AI API key supplied as the Authorization Bearer header (Authorization: Bearer ).

Paths & Operations 7

Across 3 paths, the API surfaces 7 operations — 1 DELETE, 3 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Prompts 7

Prompt and prompt-version management.

POST
/prompts/
Create a prompt
createPrompt body → 201401
GET
/prompts/
List prompts
listPrompts → 200
GET
/prompts/{prompt_id}/
Retrieve a prompt
retrievePrompt 1 param → 200404
PATCH
/prompts/{prompt_id}/
Update a prompt
updatePrompt 1 param body → 200
DELETE
/prompts/{prompt_id}/
Delete a prompt
deletePrompt 1 param → 204
POST
/prompts/{prompt_id}/versions/
Create a prompt version
createPromptVersion 1 param body → 201
GET
/prompts/{prompt_id}/versions/
List prompt versions
listPromptVersions 1 param → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are PromptVersion (14 properties), Prompt (7 properties), Message (4 properties), PromptCreate (2 properties). Each schema is shown below with its type and property counts.

Prompt
object
7 properties
Error
object
1 property
PromptVersion
object
14 properties 2 required
Message
object
4 properties 2 required
PromptCreate
object
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

keywordsai-prompts-api-openapi.yml Raw ↑

Other APIs Keywords AI publishes across the network.

Keywords AI Datasets API
Keywords AI Evaluators API
Keywords AI Experiments API
Keywords AI Gateway API
Keywords AI Logging API
Keywords AI Threads API
Keywords AI Traces API
Keywords AI Users API