Integrate with PromptHub projects, retrieve heads, and run prompts.
List Projects
List Projects. List PromptHub projects for a team. Returns information about each project's head revision and groups
Get Project Head
Get Project Head. Get the production-ready version of a PromptHub project (typically the last commit on master/main branch). Useful for integrating prompts into your application
Get Current Account
Get Current Account. Get the authenticated PromptHub account associated with the API token, including its current team context
Run Prompt
Run Prompt. Run a PromptHub project with optional variables, branch/hash, and chat payload
Custom API Call
Custom API Call. Make a custom API call to a specific endpoint
You connect with: api key.
Something happens
An Agent or workflow decides what to do
A person approves, if it matters
PromptHub: run prompt
Connecting PromptHub does not give every Agent unrestricted access to it. Each Agent needs the capability granted, the identity it acts as must be allowed, and consequential actions can wait for a person to approve them.
How Nerve controls actionsStart with one conversation your team handles every day. Give the Agent what it needs to know, connect the tools it should use, and decide where a person steps in.