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

Humanloop Prompts API

The Prompts API from Humanloop — 4 operation(s) for prompts.

Humanloop Prompts API is one of 7 APIs that Humanloop publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Prompts. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 4 paths. It is described by OpenAPI 3.1.0, at version 5.0.0.

Requests are made against a single base URL, https://api.humanloop.com/v5.

6 operations 4 paths 0 schemas 1 DELETE2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
5.0.0
Base URL
https://api.humanloop.com/v5
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Humanloop Prompts API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (API Key) (bearerAuth). An API key is passed in the header as X-API-KEY (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 6

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

Prompts 6
GET
/prompts
List Prompts
listPrompts → 200
POST
/prompts
Create or upsert Prompt
upsertPrompt body → 200
GET
/prompts/{id}
Get Prompt
getPrompt 1 param → 200
DELETE
/prompts/{id}
Delete Prompt
deletePrompt 1 param → 204
POST
/prompts/call
Call a Prompt (invoke the underlying model and log the result)
callPrompt body → 200
POST
/prompts/log
Log a Prompt call
logPrompt body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

humanloop-prompts-api-openapi.yml Raw ↑

Other APIs Humanloop publishes across the network.

Humanloop LLM Platform API
Humanloop Datasets API
Humanloop Evaluators API
Humanloop Logs API
Humanloop Sessions API
Humanloop Tools API